VMware Guest Time Synchronization on Linux Based Systems

first on edit your boot.conf:

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.17-1.2187_FC5)
root (hd0,0)
kernel /vmlinuz-2.6.17-1.2187_FC5 ro root=/dev/VolGroup00/LogVol00 clock=pit nosmp noapic nolapic
initrd /initrd-2.6.17-1.2187_FC5.img

then check the configuration on VMware tools to time synchronization Vcenter or direct on vmx file from Virtual Machine

tools.syncTime = "TRUE"

on 64bit Systems is needed to install the ntp-service

yum install ntp

Check and Disable the cpuspeed service:

chkconfig --level 12345 cpuspeed off

Since the vmware’s guest timeclock is not reliable we have to disable ntp from using it as a backup. If you do not do this ntp will not function. Comment out the below lines in /etc/ntp.conf

#server 127.127.1.0     # local clock
#fudge  127.127.1.0 stratum 10

Before starting the ntp service we need to get the system clock within 1 second of the ntp time source. Run ntpdate a few times until the offset settles.

ntpdate pool.ntp.org

Start ntpd and configure it to run at system startup.

service ntpd start
chkconfig ntpd on

Wait 10-15 min and check the server reach which should be 377.

ntpq -p

Also check the stratum this should be 5 or below.

ntpq -c rv | grep stratum
service ntpd start

chkconfig ntpd on
Speichere in deinen Favoriten diesen permalink.

Schreibe einen Kommentar