Adjusting the hardware clock on a Smart Server

Posted: March 26th, 2018

 

Synchronizing the clock on your Smart Server with the system's clock will provide accurate data and ensure trouble-free server administration. Follow these steps:

 

In the XenVM console, type the command:

 

echo 1 > /proc/sys/xen/independent_wallclock

 

To set the date, use this format for the date command:  <MMDDhhmm>. For example, the following command would set the date to 23:25:00 31st August 2015:

 

date 08312325

 

 If you want this setting to persist through a reboot of the virtual machine, change the sysctl configuration file /etc/sysctl.conf by adding the following lines:

 

Independent wall clock time to XenServer Host

 

xen/independent_wallclock = 1