Xen Enterprise - Change the date on a VM

From wiki.morphey.org

Jump to: navigation, search

In the VMs of xen Enterprise 3.2, if you try to adjourn the date she is not correctly changed. To obviate to the problem to give this command,:

 
[root@vm1_xen ~]# echo 1 > /proc/sys/xen/independent_wallclock
[root@vm1_xen ~]# cat /proc/sys/xen/independent_wallclock
1
[root@vm1_xen ~]# date
Fri Jul  6 10:54:11 CEST 2007
[root@vm1_xen ~]# rdate -sp tempo.ien.it; hwclock --systohc
[root@vm1_xen ~]# date
Fri Jul  6 09:55:19 CEST 2007
[root@vm1_xen ~]#
 
 
Personal tools