...
- Only clusters of the associated DC can be added to a zone.
- Retrieve name of DC which encompasses this cluster. Compare the retrieved DC name with name of DC (being) associated with this zone.
- Only N1kv VSM of the associated DC can be added to a zone.
- N1kv's vCenter server connection's properties would need to be checked to retrieve the association of N1kv with a vCenter and a DC. Compare the retrieved vCenter IP and DC name with vCenter IP and DC name of current zone
- DC is not associated with any other zone already.
- Check guid, of new DC being added, doesn't already exist in table 'cloud'.'data_center_zone_map'. The guid is a string that encapsulates MOR of DC and vCenter host name/ip. By tracking both vCenter host name/ip and MOR of DC, it's possible to distinguish DC's across multiple vCenters.
- DC is not associated with any other cloudstack deployment.
- Check custom property over VMware's DC object if this DC is already associated with a zone of a cloudstack deployment. Custom property of type boolean can represent this, 'cloudstackzone'
- While adding resource adding to cloudstack zone, approaches to apply constraint checks are,
...
- 'cloud'.'vmware_dc' table to track all DC specific information along with details of resources & vCenter.
- Implement Dao & VO for this table.
- Columns in this table are id, vCenter host/ip, DC name, DC Mor, guid
- id is primary key field of this table
- 'cloud'.'zone_dc_map' table will be added to store persist the mapping of zone to DC.
- Columns in this table are id, vmware_dc_id, zone_id
- Foreign key id from vmware_dc table
- Foreign key id from data_center table
- Implement Dao & VO for this table.
- 'cloud'.'cluster_vsm_map' would be removed.
- 'cloud'.'zone_vsm_map' would be added. Also a zone can be associated with more than 1 VSM instances.
- Columns in this table are id, zone_id & vsm_id where id is Primary key of this table.
- Foreign key zone_id from data_center table.
- Foreign key vsm_id from virtual_supervisor_module table.
- Implement Dao & VO classes for this table.
Web Services APIs
- AddCluster will be modified
- Make vCenter credentials and DC name optional based on vmwaredc keyzone id's presence in datazone_centerdc_detailsmap.
UI Flow
- Changes required in UI for live migrating a volume from one storage pool to another.
- Add Cluster form in zone wizard
- Add Cluster wizard
- Add NexusVSM instance to zone
- Add ASA instance to zone
...
{"serverDuration": 137, "requestCorrelationId": "07b3e2616ec23040"}