How to configure NTP server settings for the Photon OS appliances in vCloud Availability 3.0.x
search cancel

How to configure NTP server settings for the Photon OS appliances in vCloud Availability 3.0.x

book

Article ID: 314964

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

This article provides information on how to manually set the NTP server for a Photon OS appliance when:
  • The NTP server previously configured is no longer valid.
  • The vCloud Availability appliance is not synchronizing with a valid NTP server set during deployment.


Environment

VMware vCloud Availability 3.0.x

Resolution

To configure an NTP server on a vCloud Availability appliance post-deployment, update the settings via command line operations on each appliance:
  1. SSH to the appliance whose NTP settings you need to update and login as the root user.
  2. Edit the timesyncd.conf file with a text editor such as vi:
vi /etc/systemd/timesyncd.conf
  1. In the [Time] section edit the NTP entry with the correct NTP server address:
[Time]
#FallbackNTP=time1.google.com time2.google.com time3.google.com time4.google.com
NTP=ntpAddress
  1. Restart the network service:
systemctl restart systemd-networkd
  1. Restart the timesync service:
systemctl restart systemd-timesyncd
  1. Verify that the time on the appliance is now synchronizing with the NTP server.