[CentOS] timekeeping on VMware guests

Tue Oct 13 21:42:43 UTC 2009
Carlos Santana <neubyr at gmail.com>

Howdy,

I am having time-drift issues on my CentOS VM. I had referred to
following documentation:
http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't
help. I used kickstart for creating this VM and I am listing important
steps in ref to timekeeping issue. Any comments or suggestion would be
appreciated.

-
CS.

-------------------
# For EL5 virtual machines, Append the following in Grub to help keep
the clock from drifting
# and to reduce the interupt requests
#   32bit: --append="rhgb quiet divider=10 clocksource=acpi_pm"
#   64bit: --append="rhgb quiet notsc divider=10"
bootloader --location=mbr
--md5pass=$1$mXSD1l6mO$BBCk1gYArAATS7dlCQGthN. --append="rhgb quiet
divider=10 clocksource=acpi_pm"

%packages --nobase
# Other packages not listed here
# ntp was installed
ntp

### Add step-tickers ###
cat > /etc/ntp/step-tickers <<\EOF2
0.centos.pool.ntp.org
1.centos.pool.ntp.org
EOF2
### End of step-ticker file ###
--------------------

# Applied patch mentioned on CentOS page
# http://wiki.centos.org/TipsAndTricks/VMWare_Server
patch --verbose -b -l -i /root/ntp.patch

--------------------

VMware Tools not installed.

--------------------

Thanks,
CS.