Author Topic: Time handling in Xen VPS  (Read 1686 times)

Whitenoise

  • Administrator
  • Full Member
  • *****
  • Posts: 144
    • View Profile
Time handling in Xen VPS
« on: April 10, 2011, 12:24:02 pm »
The VPS time is usually inherited from the host system, but individual VPS can be set to maintain independent times

From a root prompt on the VM, type the command:

Code: [Select]
echo 1 > /proc/sys/xen/independent_wallclock
This can be persisted across reboots by changing the /etc/sysctl.conf configuration file and adding:

Code: [Select]
# Set independent wall clock time
xen.independent_wallclock=1