...
Tip |
---|
If any of the above criteria is not met, meaning that VMs are not properly separated or related, notifications will be sent to virtual machine administrators. |
Domain Separation
The ITS Private Cloud provides four (4) public domain (FD), which consist of one or more ESXI hosts and Datastore Clusters grouped together according to their physical location in the datacenter. Domain separation indicates that a group of VMs, say App-Node[1-4]
, must be running in different domains:
App-Node1 -> FD1
App-Node2 -> FD2
App-Node3 -> FD3
App-Node4 -> FD4
Group Relationship
All virtual machines must be tagged properly.
Code Block |
---|
vss-cli --columns name,moref,domain.name,'group[*]' compute vm get {vmId} ha-group |
\uD83D\uDCD8 Create HA Group
Get list of virtual machines to create group, for this example:
App-Node[1-4]
Run the following command:
Code Block vss-cli compute vm set App-Node1 ha-group -r App-Node2 App-Node3 App-Node4
For further options to create an HA group run
--help
.From the moment the HA Group is created, our automated check will verify its validity every 3 hours (domain separation and relationship).
To verify the ha-group run the following command:
Code Block vss-cli compute vm get App-Node1 ha-group
Info |
---|
Note that if membership exceeds the number of public FDs (4), no alerts will be triggered as long as 4 nodes are compliant. |
Remove member from HA Group
Removing a virtual machine from an HA group is simply done by running the following command:
Code Block vss-cli compute vm set App-Node4 ha-group rm
To verify the ha-group run the following command:
Code Block vss-cli --columns name,moref,domain.name,'group[*]' compute vm get App-Node1 ha-group
Info |
---|
Virtual machine decommissioning updates any related HA Group automatically. |
\uD83D\uDCCB Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|