...
In today's implementation, vSphere VMware DC is invisible to CloudStack, we allow multiple clusters (vSphere VMware DC) even from different vCenter instances to be added to CloudStack zone. This implies following,
- Multiple vCenter instances can exist in same cloudstack zone.
- Multiple DCs can exist in same cloudstack zone.
- 1:1 mapping of N1kv VSM instance with cluster is enforced.
- 1:1 mapping of ASA instance with cluster is enforced.
- 1:1 mapping of cluster to vmware DC is recommended to support multiple cloudstack deployments in same DC.
- vDS - zone wide traffic label override is required in case of a zone with multiple DCs.
- A primary storage of the scope zone is not inherently possible because datastore is an object scoped at DC, if a zone contains more than 1 DC this is not supported.
- Live migration of VM across clusters in a zone is not inherently possible if 2 clusters are in different DC's.
To address these issues, let Cloudstack should explicitly manage vSphere DCs. Treat CloudStack zone as capacity-planning and operating unit, in case of deployment with multiple DCs use multiple CloudStack zones configured per DC and share the same network infrastructure, they only need to carefully allocate IPs/VLANs etc. to multiple CloudStack zones to make it happen.
...
- Migration support
- Existing CloudStack Deployments - Existing cloudstack deployments with multiple DC's in a zone
- Decide a DC as the final DC that contains all clusters.
- Move all clusters to the chosen DC.
- For each cluster create cluster with same name in target DC.
- Edit dc name to match that of chosen DC where ever the dc name is present (Ex: 'guid' field in hosts table)
- Cold migrate each of the instance to this new cluster in chosen DC.
- Fresh CloudStack Deployments - Existing VMware deployments with clusters to be managed by cloudstack spread in multiple DC's
- Move all clusters meant for single zone into 1 DC
- For each cluster create cluster with same name in target DC.
- Put each host, in that cluster, in maintenance mode
- Remove each host in maintenance mode from the cluster
- Add each host to new cluster in target DC
- Get the host out of maintenance mode