6.5.1
Table Of Contents
- vSphere Availability
- Contents
- About vSphere Availability
- Business Continuity and Minimizing Downtime
- Creating and Using vSphere HA Clusters
- Providing Fault Tolerance for Virtual Machines
- vCenter High Availability
- Plan the vCenter HA Deployment
- Configure the Network
- Configure vCenter HA With the Basic Option
- Configure vCenter HA With the Advanced Option
- Manage the vCenter HA Configuration
- Set Up SNMP Traps
- Set Up Your Environment to Use Custom Certificates
- Manage vCenter HA SSH Keys
- Initiate a vCenter HA Failover
- Edit the vCenter HA Cluster Configuration
- Perform Backup and Restore Operations
- Remove a vCenter HA Configuration
- Reboot All vCenter HA Nodes
- Change the Appliance Environment
- Collecting Support Bundles for a vCenter HA Node
- Troubleshoot Your vCenter HA Environment
- Patching a vCenter High Availability Environment
- Using Microsoft Clustering Service for vCenter Server on Windows High Availability
- Index
To use the Shutdown and restart VMs seing, you must install VMware Tools in the guest operating system
of the virtual machine. Shuing down the virtual machine provides the advantage of preserving its state.
Shuing down is beer than powering o the virtual machine, which does not ush most recent changes to
disk or commit transactions. Virtual machines that are in the process of shuing down take longer to fail
over while the shutdown completes. Virtual Machines that have not shut down in 300 seconds, or the time
specied in the advanced option das.isolationshutdowntimeout, are powered o.
After you create a vSphere HA cluster, you can override the default cluster seings for Restart Priority and
Isolation Response for specic virtual machines. Such overrides are useful for virtual machines that are used
for special tasks. For example, virtual machines that provide infrastructure services like DNS or DHCP
might need to be powered on before other virtual machines in the cluster.
A virtual machine "split-brain" condition can occur when a host becomes isolated or partitioned from a
master host and the master host cannot communicate with it using heartbeat datastores. In this situation, the
master host cannot determine that the host is alive and so declares it dead. The master host then aempts to
restart the virtual machines that are running on the isolated or partitioned host. This aempt succeeds if the
virtual machines remain running on the isolated/partitioned host and that host lost access to the virtual
machines' datastores when it became isolated or partitioned. A split-brain condition then exists because
there are two instances of the virtual machine. However, only one instance is able to read or write the virtual
machine's virtual disks. VM Component Protection can be used to prevent this split-brain condition. When
you enable VMCP with the aggressive seing, it monitors the datastore accessibility of powered-on virtual
machines, and shuts down those that lose access to their datastores.
To recover from this situation, ESXi generates a question on the virtual machine that has lost the disk locks
for when the host comes out of isolation and cannot reacquire the disk locks. vSphere HA automatically
answers this question, allowing the virtual machine instance that has lost the disk locks to power o, leaving
just the instance that has the disk locks.
Virtual Machine Dependencies
You can create dependencies between groups of virtual machines. To do so, you must rst create the VM
groups in the vSphere Web Client by going to the tab for the cluster and selecting VM/Host
Groups. Once the groups have been created, you can create restart dependency rules between the groups by
browsing toVM/Host Rules and in the Type drop-down menu, select Virtual Machines to Virtual
Machines. These rules can specify that certain VM groups cannot be restarted until other, specied VM
groups have been Ready rst.
Factors Considered for Virtual Machine Restarts
After a failure, the cluster's master host aempts to restart aected virtual machines by identifying a host
that can power them on. When choosing such a host, the master host considers a number of factors.
File accessibility
Before a virtual machine can be started, its les must be accessible from one
of the active cluster hosts that the master can communicate with over the
network
Virtual machine and
host compatibility
If there are accessible hosts, the virtual machine must be compatible with at
least one of them. The compatibility set for a virtual machine includes the
eect of any required VM-Host anity rules. For example, if a rule only
permits a virtual machine to run on two hosts, it is considered for placement
on those two hosts.
Resource reservations
Of the hosts that the virtual machine can run on, at least one must have
sucient unreserved capacity to meet the memory overhead of the virtual
machine and any resource reservations. Four types of reservations are
considered: CPU, Memory, vNIC, and Virtual ash. Also, sucient network
ports must be available to power on the virtual machine.
vSphere Availability
14 VMware, Inc.