https://issues.apache.org/jira/browse/CLOUDSTACK-1963
master, 4.2.0
In today's implementation, vSphere DC is invisible to CloudStack, we allow multiple clusters (vSphere DC) even from different vCenter instances to be added to CloudStack zone. This implies following,
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.
This document describes the specifications and design of new data model for cloudstack zone for VMware environment.
1 http://www.vmware.com/pdf/vsphere5/r51/vsphere-51-configuration-maximums.pdf
2 http://www.vmware.com/pdf/vsphere5/r50/vsphere-50-configuration-maximums.pdf
3 http://www.vmware.com/pdf/vsphere4/r41/vsp_41_config_max.pdf
Author |
Description |
Date |
|---|---|---|
Sateesh Chodapuneedi |
Initial Revision |
04/09/2013 |
DC - VMware vCenter Data Center.
N1kv - Cisco Nexus 1000v Distributed Virtual Switch
vDS - VMware vNetwork Distributed Virtual Switch.
vSwitch - VMware vNetwork Standard Virtual Switch
dvPortgroup - VMware vNetwork Distributed Virtual Portgroup
Portgroup - VMware vNetwork Standard Virtual Portgroup
With this feature, Vmware datacenter will be put under management of CloudStack zone.
In previous releases, Vmware datacenter is hidden behind a CloudStack cluster, we need an explicit mapping policy for Vmware datacenter both for zone-wide storage and zone-wide network resources. This makes datastore in a DC to span across clusters scoped by cloudstack zone. Also this means dvSwitch in DC spans across clusters in the zone. VM live migration across clusters in zone can be realized with this model.
1:1 relationship between vSphere DC to CloudStack zone is a natural mapping from resource point of view, whether it's storage (datastore) or network (distributed switches etc.). Within the zone/DC, it's possible to have multiple vSphere clusters (within the same DC). And this will have the implication that CloudStack zone size (how many hosts within a zone) will be limited to what vSphere allows. See 1, 2 & 3 in References section.
VMware hypervisor plugin logs all the successful operations to INFO, all exceptions/failures to ERROR, and all synchronization checks to DEBUG.
In addition to looking at the management server logs, administrators can look up the vcenter logs for analysis.
It allows the system administrator to configure cloudstack zone per DC to manage all the the resources in DC.
Vmware datacenter will be put under management of CloudStack zone.
In this explicit model, CloudStack will understand the relationship between a Vmware datacenter and resources underneath it, so when resources like a Vmware cluster or dvSwitch that is added to CloudStack, the underlying Vmware resource relationship between these objects will become constraint information for CloudStack to use.
For example, a Vmware cluster can't be added to a CloudStack zone if it's Vmware DC is not under the CloudStack zone, also an ASA instance cannot be added to a Vmware cluster that its Vmware DC is not in the zone.
The model itself will not limit how many Vmware clusters that a N1kv VSM instance or ASA or vDS will manage, as long as N1kv or ASA or vDS and its managed cluster are within the same Vmware DC.
CloudStack manages resources at the level of DC.