Creating a vSphere HA Cluster
You can name clusters in any way you see fit – Gold, Silver, Bronze or by their location in the datacenter HALL2-RACK55 for instance. The new-cluster cmdlet support the enablement of both High Availability (HA), Distributed Resource Manager (DRS) and Enhanced vMotion Compatibility (EVC). With the advent of VMware’s VSAN technology, the new-cluster cmdlet all so supports its functionality as well. We have chosen to document the enablement of all these features in this section as this is the most like the requirement in most environments.
Each setting with – often support multiple parameters not shown in the sample below. These have been documented below the sample.
Note:
The New-Cluster cmdlet does NOT support:
- Enabling the VM Monitoring feature
- Enabling Distributed Power Management (DPM)
- Cannot configure the datastore heartbeat parameter. This cannot be modified until ESXi hosts have been added to the vSphere Cluster
- Setting Admission Control using a percentage allocation of resources. However, blogger vNiklas does have his blog an article called PowerCLI function to set HA Admission Control Policy in percent which shows it can be down using the SDK.
This article has been donated to the VMUG Wiki – Click here to read on…