Jan 5 2012

Xen domU guest gaining time.

Posted by john at 7:52 PM
0 comments
- Categories: (Tech) Linux | (Tech) Open Source | (Tech) Xen

Recently I had setup a Centos Xen  dom0 and noticed that the centos guest was gaining time by significant amounts. after some research and a couple chats with folks on irc xen I found the below answer worked best:

edit your grub.conf file

nano /etc/grub.conf

so that

kernel /vmlinuz-2.6.18-274.12.1.el5.centos.plus ro root=/dev/VolGroup00/LogVol00

reads:

kernel /vmlinuz-2.6.18-274.12.1.el5.centos.plus ro root=/dev/VolGroup00/LogVol00 divider=10

and reboot.

Sidenote: in your guest configuration file if you do not want to use UTC time set localtime = 1

Final note: Do not run ntp on your guest system as it pulls time from the dom0 instead run ntp on the dom0.

Comments

Write your comment



(it will not be displayed)