Search the VMware Knowledge Base (KB)
View by Article ID

Enabling Slew Mode for NTP (2121016)

  • 1 Ratings

Purpose

This article provides the steps to enable slew mode for NTP. Slew mode may be required if a VMware product is affected by the leap second change.

A leap second is a one-second adjustment that is occasionally applied to Coordinated Universal Time (UTC) in order to correspond to the mean solar time.

An adjustment of +1 second is scheduled for 23:59 UTC on the 31st December 2016.

Systems configured as Network Time Protocol (NTP) clients will receive a NTP packet with a leap second flag on the day of the adjustment.

Note: ESXi/ESX are unaffected by the leap second change. For more information, see VMware ESXi and Leap Seconds (2121190).

For more information, see Support for Leap Seconds in VMware Products (2115818).

Resolution

Switch the ntp daemon to slew mode 24 hours prior to the leap second, continue in slew mode for 48 hours afterwards and then revert to normal operation.

To switch the ntp daemon to slew mode:

  1. Open a console or SSH session to the virtual appliance.
  2. Open the /etc/sysconfig/ntp configuration file using a text editor.
  3. Find the NTPD_OPTIONS setting. It looks similar to:

    NTPD_OPTIONS="-g -u ntp:ntp"

  4. Change the configuration parameter to add the -x switch.

    NTPD_OPTIONS="-x -g -u ntp:ntp"

  5. Save and close the file.
  6. Restart the ntp service by running this command:

    service ntp restart

When the leap second window is over, the NTP mode can be safely changed back again.

To switch the ntp daemon back to regular operation after the leap second:

  1. Open a console or SSH session to the virtual appliance.
  2. Open the /etc/sysconfig/ntp configuration file using a text editor.
  3. Find the NTPD_OPTIONS setting. It looks similar to:

    NTPD_OPTIONS="-x -g -u ntp:ntp"

  4. Change the configuration parameter to remove the -x switch.

    NTPD_OPTIONS="-g -u ntp:ntp"

  5. Save and close the file.
  6. Restart the ntp service by running this command:

    service ntp restart

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 1 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 1 Ratings
Actions
KB: