VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
3 Replies Last post: Jun 29, 2008 10:51 AM by AWo  

Time synchronization problem posted: Jun 29, 2008 6:45 AM

Click to view jon80's profile Enthusiast 48 posts since
Dec 13, 2007

Having noted a time synchronisation error between the guestOS (various - see attached) and the hostOS (+MS Win XP x64 SP2+), I tried:

1. Ensuring that VMWare tools is installed

2. Updating the .vmx files with the following lines:

tools.syncTime = "TRUE"
tools.synchronize.restore = "TRUE"
tools.synchronize.resume.disk = "TRUE"

tools.synchronize.continue = "TRUE"
tools.syncrhonize.shrink = "TRUE"

(source: http://www.vmware.com/support/gsx3/doc/tools_guestd_sync_gsx.html)- GSX documentation (I am using *VMWare Workstation*)

3. Testing when restarting and pausing/resuming.

One guest machine running Win x64 is not updating the time with the hostOS (Win x64) when I tried:

1. pausing the guestOS

2. updating the time on the hostOS to 1 hour back

3. resuming the guestOS

Restarting the hostOS resolves the problem and the OSs are synchronized.

Is this a bug, or not supported?

It was also noted that

1. .vmx file needs to be updated when the hostOS is down.

2. there were issues in installing VMWare tools Red Hat Fedora 9, but unfortunately this OS seems to be unsupported.

(source: http://communities.vmware.com/message/953870#953870)


Attachments:

Re: Time synchronization problem

1. Jun 29, 2008 6:58 AM in response to: jon80
Click to view AWo's profile Champion 3,667 posts since
Nov 27, 2003
jon80 wrote:
It was also noted that
1. .vmx file needs to be updated when the hostOS is down.
What needs to be updated in the .vmx file?

To verify if the Tools are running do a:

"ps -e | grep ".vm."

You shold see several process starting with "vm". Post them.

Re: Time synchronization problem

3. Jun 29, 2008 10:52 AM in response to: jon80
Click to view AWo's profile Champion 3,667 posts since
Nov 27, 2003
Your log file shows that first your system was missing the compiler "gcc" which you have installed, yet. Now is still the kernel source missing. That means you can't install the VMware Tools as they can't get compiled without the kernel source:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
What is the location of the directory of C header files that match your running
Kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

You have to install the kernel source and update them accordingly if your actual running kernel is newer than th eone on the installation media you use (that means if you did a kernel update since it was installed).

By the way, "tools.SyncTime" appears twice in your .vmx.

So, now I go and watch Germany beating Spain (hopefully) in the european football championship :-)

Message was edited by: AWo

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities