Time and Date in Suspended machines

Ray

Member
Is there any way in which a suspended os can connect with the system time and date to reset the date and time correctly when the os is activated. (Other than adjust date and time in case someone suggests it :) )

Ray
 
Andrew,

I am looking to syncronize the date and time with the host pc. Currently when resuming a suspended host the date/time displayed is the date/time at the time of suspension.

The result of course is when resuming the guest os it's date and time is much earlier than the actual date/time. Old date/time doesn't seem to be particularly relevant to me, although it might be to others.

Regards

Ray
 
Last edited:
Andrew @ Parallels said:
Please install Parallels Tools in guest OS - it includes special time synchronization tool.

Andrew,

I was under the impression that the Parallels Tools were only available in Windows Guests. I'll check out my Parallels installation later but I don't think they are available for Linux/Bsd guests.

Ray
 
Andrew @ Parallels said:
Yes - you didn't mention your guest OS in your post. In case of Linux/BSD you may use some kind of network timesync utility.

Andrew,

Thanks for that reply :confused: is it more difficult for Parallels to provide a Tools version for Linux/Bsd guests than it is for Windows guests. This seems to be a Giant step backward when you suggest that everyone using Parallels with Linux/Bsd guests should devote time to 'find some kind of network timesync utility' to reset the clock function when a suspended guest is restarted.

Ray
 
We are working on Parallels Tools for Linux guests and it will be available in future versions. But in current version you should use some 3-rd party tools for that - sorry :(
 
time synchronization

Any modern *nix implementation is going to include NTP. When NTP senses that the time is out of sync by a "large" amount (for some value of "large") it will reset the time in one big jump instead of slewing it over a period of time. You'll usually be able to do "man ntpd" to get a man page on this facility. You should be able to sync the VM to your host system's NTP server or to one on the net (e.g., time.apple.com).

Btw, it's possible for some applications to get a bit out of whack when the time jumps. This would be a general potential problem that would also apply to putting a system to sleep. Not unique to using VMs, I just mention it for completeness. An example would be statistics that are based on time, such as network bandwidth or disk accesses per second, where there's no mechanism in place (or utilized) to compensate for NTP jumps or system sleep.

Cheers,
-Sam
 
Back
Top