Use the following steps to set up Microsoft Cluster Service (MSCS) as an availability solution for vCenter Server.
Before you begin
Create a virtual machine (VM) with one of the following guest operating systems:
Windows 2008 R2 Datacenter
Windows 2012 R2 Datacenter
Add two raw device mapping (RDM) disks to this VM. These disks must be mounted when they are added and the RDM disks must also be independent and persistent.
Create a separate SCSI controller with the bus sharing option set to physical.Note:
Since this configuration uses a SCSI controller with the Bus Sharing option set to Physical, backup and restore is not supported. You must to use a host-based agent for backup or restore.
Set the Virtual Device Node to newly created SCSI controller 1.
Open the MSCS drive and create two folders: one for VC data and another for VC installation.
Install a Platform Services Controller instance before you install vCenter Server and provide its FQDN during the installation.
MSCS as an availability solution for vCenter Server is provided only for management nodes of vCenter Server (M node). For infrastructure nodes, customers must deploy multiple N nodes for high availability. You cannot have M and N nodes on the same VM for MSCS protection.
- Power on the VM.
- Format the two RDM disks, assign them drive letters, and convert them to MBR.
- Using , install .net.
- Install vCenter Server on one of the RDM disks and set the start option to manual.
- Power off the VM.
- Detach the RDM disks.
Detaching the RDM disks is not a permanent deletion. Do not select Delete from disk and do not delete the vmdk files.
- Clone the VM and select the Customize the operating system option, so that the clone has a unique identity.
Create a unique identity through either the default sysrep file or the custom sysrep file.
- Attach the shared RDMs to both VMs and power them on.
- Change the host name and IP address on the first VM (VM1).
Note the original IP address and host name that were used at the time of the installation of vCenter Server on VM1. This information is used to assign a cluster role IP.
- Install failover clustering on both nodes.
- To create an MSCS cluster on VM1, include both nodes in the cluster. Also select the validation option for the new cluster.
- To start configuring roles, select Generic Service and click Next.
- Select VMware Service Lifecycle Manager from the listed services and click Next.
- Enter the host name and IP used for the VM1. Then assign the RDM to the role.
- In the Replicate Registry Settings wizard, add the registry key SYSTEM\CurrentControlSet\Services\VMwareDirectoryService and click Next.
- Using Add Resource, add the VMware AFD and VMware vCenter Configuration services to the role.
- Stop and restart the role.
You have created an MSCS cluster that can support vCenter Server availability.
What to do next
After you have created the MSCS cluster, verify that failover is occurring by powering off the VM hosting vCenter Server (VM1).In a few minutes, verify that the services are running on the other VM (VM2).