Complete this task to create a VM to Hosts rule for each of the TKG Service cluster worker node VM Groups.
Create two VM to Hosts rules, one that assigns the worker VM Group 1 to site 1 and another that assigns worker VM Group 2 to site 2.
Prerequisites
Complete the following prerequisite tasks:
Procedure
- In vCenter Server, select the vSphere Cluster object where Supervisor is enabled.
- Select .
- Configure the first VM to Hosts rule for the worker 1 VM Group.
- Name: Enter the name for the VM to Hosts rule, such as:
tkgs-workers1-site1-rule
- Enable rule: Yes (checked)
- Type: Select Virtual Machines to Hosts from the menu
- VM Group: Select the workers 1 VM Group, such as
tkgs-workers1-VmGroup
, and select Should run on hosts in group - Host Group: Select the site 1 Host Group, such as
site1-HostGroup
- Click OK
- Name: Enter the name for the VM to Hosts rule, such as:
- Configure the second VM to Hosts rule for the worker 2 VM Group.
- Name: Enter a name for the VM to Hosts rule, such as:
tkgs-workers1-site1-rule
- Enable rule: Yes (checked).
- Type: Virtual Machines to Hosts
- VM Group: Select the workers 2 VM Group, such as
tkgs-workers2-VmGroup
, and select Should run on hosts in group - Host Group: Select the site 2 Host Group, such as
site2-HostGroup
- Click OK
- Name: Enter a name for the VM to Hosts rule, such as: