Enable NTP on vCenter Appliance

From Peter Pap's Technowiki
Jump to: navigation, search

To enable NTP on the vCenter Server Appliance 6.0:

1. Open a console session to the vCenter Server Appliance and press ALT+F1.

2. Log in using the root user credentials.

3. Run this command to view the current settings:

  ntp.get

For example:

  Config:
  Status: Down
  Servers:

4. Run this command to add an NTP server:

  ntp.server.add --servers ntp_servername

5. Run this command to enable the NTP server:

  timesync.set --mode NTP

6. Run this command to verify the NTP server settings:

  ntp.get

Note: To remove an NTP server, run this command:

  ntp.server.delete –-servers ntp_servername

Taken from here.