To provide name translation and resolution between the protected and recovery VMware Cloud Foundation instances for vRealize Automation, configure the domain search parameters on the vRealize Automation appliances. To use name translation and resolution from each instance, you configure the domain and the domain search parameters for all three vRealize Automation nodes.

For the following procedure, use the VMware Cloud Foundation Planning and Preparation Workbook.

UI Procedure

  1. Log in to the primary vRealize Automation node by using a Secure Shell (SSH) client at <vrealize_automation_node_fqdn>:22​​ as root​​.

  2. Edit the /etc/systemd/resolved.conf file.

    vi /etc/systemd/resolved.conf
  3. Modify the DNS and Domains entries according to your VMware Cloud Foundation Planning and Preparation Workbook, and save the file.

    Note:

    You add an entry for the additional VMware Cloud Foundation instance only. You use space separated domains.

  4. Restart the DNS resolver service.

    systemctl restart systemd-resolved.service
  5. Repeat this procedure for the remaining vRealize Automation nodes.

PowerShell Procedure

  1. Start Windows 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 = "administrator@vsphere.local"
    $sddcManagerPass = "VMw@re1!"
    
    $vraUser = "configadmin"
    $vraPass = "VMw@re1!"
    $environmentName = "xint-env"
    $dnsServers = "172.16.11.4 172.17.11.4"
    $dnsSearchDomains = "rainpole.io"
  3. Perform the configuration by running the command in the PowerShell console.

    Set-vRADnsConfig -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -vraUser $vraUser -vraPass $vraPass -environmentName $environmentName -dnsServers $dnsServers -dnsSearchDomains $dnsSearchDomains