To keep the cluster nodes synchronized with the other SDDC components in the recovery VMware Cloud Foundation instance, you configure the time synchronization as a cluster wide setting in the vRealize Automation cluster to use NTP sources from each VMware Cloud Foundation instance.

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. Configure the NTP source of the vRealize Automation cluster according to your VMware Cloud Foundation Planning and Preparation Workbook by running the command.

    vracli ntp systemd --set <ntp_server_list>
    Note:

    You can add multiple NTP servers by separating their network addresses with a comma. Each network address must be placed inside single quotation marks. For example vracli ntp systemd --set 'ntp.sfo.rainpole.io','ntp.lax.rainpole.io'

  3. To validate the NTP configuration, run the command.

    vracli ntp show-config

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"
    $ntpServers = "ntp.sfo.rainpole.io ntp.lax.rainpole.io"
    
  3. Perform the configuration by running the command in the PowerShell console.

    Set-vRANtpConfig -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -vraUser $vraUser -vraPass $vraPass -environmentName $environmentName -ntpServers $ntpServers