To protect the VMware Aria Automation cluster virtual machines from a host-level failure, configure vSphere DRS to run the virtual machines on different hosts in the default management vSphere cluster.

UI Procedure

  1. Log in to the management domain vCenter Server at https://<management_vcenter_server_fqdn>/ui as [email protected].
  2. In the Hosts and clusters inventory, expand the management domain vCenter Server tree and expand the management domain data center.
  3. Select the default management vSphere cluster and click the Configure tab.

  4. In the left pane, select Configuration > VM/Host rules and click Add VM/Host rule.

  5. Configure the following settings, enter your values from the VMware Cloud Foundation Planning and Preparation Workbook, and click OK.

    Setting

    Value

    Enable rule

    Selected

    Type

    Separate virtual machines

PowerShell Procedure

  1. Start PowerShell.

  2. Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.

    $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
    $sddcManagerUser = "[email protected]"
    $sddcManagerPass = "VMw@re1!"
    
    $sddcDomainName = "sfo-m01"
    
    $antiAffinityRuleName = "anti-affinity-rule-vra"
    $antiAffinityVMs = "xint-vra01a,xint-vra01b,xint-vra01c"
  3. Perform the configuration by running the command in the PowerShell console.

    Add-AntiAffinityRule -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -domain $sddcDomainName -ruleName $antiAffinityRuleName -antiAffinityVMs $antiAffinityVMs