Run Time drift in NUTANIX cluster

To sync the time backwards, do the following.

  1. Verify that the NTP servers are set correctly.
  2. Activate the time drift script by using the following command.

$ allssh ‘(/usr/bin/crontab -l && echo “*/5 * * * * bash -lc /home/nutanix/serviceability/bin/fix_time_drift”) | /usr/bin/crontab -‘

The script begins to gradually synchronize the time backwards. Lab tests show that time is synchronized backwards ,until the clock is completely in synchronization with the external time source.

  1. Display the progress of the time synchronization by using the following command.


$ allssh grep offset ~/data/logs/genesis.out


  1. Turn off the time synchronization script after the time synchronization is complete by using the following command.


$ allssh “(/usr/bin/crontab -l | sed ‘/fix_time_drift/d’ | /usr/bin/crontab -)”




2 thoughts on “Run Time drift in NUTANIX cluster

  1. Great article thanks Nishant Panchal, what was the time interval for this backwards time sync?
    I have experience this same issue and the Nutanix support provided the same solution however the value was ” */1****** ” instead of 5. In my case the script made a correction of 20 minutes per day.
    Do you know how to speed up the correction time?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s