Use this procedure to update the NTP server configuration across VMware Cloud Foundation components.

SDDC Manager uses NTP servers to synchronize time between the components in the system. You must have at least one NTP server. When you update the NTP server configuration, SDDC Manager performs NTP configuration updates for the following components:
  • SDDC Manager
  • vCenter Servers
  • ESXi hosts
  • NSX Managers
  • NSX Edge nodes
  • vRealize Suite Lifecycle Manager
  • vRealize Log Insight
  • vRealize Operations
  • vRealize Automation
Note: To update the NTP settings for VxRail Manager, see the Dell EMC documentation.
If the update fails, SDDC Manager rolls back the NTP settings for the failed component. Fix the underlying issue and retry the update starting with the failed component.
Note: There is no rollback for the vRealize Suite Lifecycle Manager. Check the logs, resolve any issues, and retry the update.

Updating the NTP server configuration can take some time to complete, depending on the size of your environment. Schedule NTP updates at a time that minimizes the impact to the system users.

This procedure uses the VMware Cloud Foundation API using the Developer Center from within the SDDC Manager UI.

Prerequisites

  • Verify the new NTP server is reachable from the VMware Cloud Foundation components.
  • Verify the time skew between the new NTP servers and the VMware Cloud Foundation components is less than 5 minutes.
  • Verify all VMware Cloud Foundation components are reachable from SDDC Manager.
  • Verify all VMware Cloud Foundation components are in an Active state.

Procedure

  1. In a text editor, create a JSON specification with the following content:
    {
        "ntpServers": [
            { "ipAddress": " IP/FQDN of First NTP Server " },
            { "ipAddress": " IP/FQDN of Second NTP Server " }
        ]
    }
  2. In the SDDC Manager UI, click Developer Center > API Explorer.
  3. Validate the NTP configuration JSON specification and ensure the system is healthy.
    1. Expand the APIs for managing DNS & NTP configuration section, and expand POST /v1/system/ntp-configuration/validations.
    2. In the ntpConfiguration text box, paste the contents of the JSON specification and click Execute.
    3. In the Response section, click Validation to expand the task and copy the id.
    4. Expand the APIs for managing DNS & NTP configuration section, and click GET /v1/system/ntp-configuration/validations.
    5. In the executeStatus text box, paste the validation id and click Execute.
    6. In the Response section, click Validation and verify that resultStatus states SUCCEEDED.

      If the resultStatus indicates that validation failed, expand validationChecks and review which component failed.

  4. Perform the NTP configuration using the validated JSON specification.
    1. Expand the APIs for managing DNS & NTP configuration section and click PUT /v1/system/ntp-configuration.
    2. In the ntpConfiguration text box, paste the contents of the JSON specification and click Execute.
    3. On the Are you sure dialog, click Continue.