To sync the time backwards, do the following.
- Verify that the NTP servers are set correctly.
- 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.
- Display the progress of the time synchronization by using the following command.
$ allssh grep offset ~/data/logs/genesis.out
- 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 -)”
Like this:
Like Loading...