[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] DomU clock out of sync



Hi,

Generally that will work but I would advise configuring your ntp
deamon to do it for you if you are going to use ntp.
If you are just using cron then run:
# update system time
ntpdate <ntp.example.org>
# write time to hwclock
hwclock --systohc

This should suffice but isn't best practices in my opinion except for boot.
After boot I prefer to use ntpd to adjust the time ( ntpdate is just
required as ntpd has issues adjusting large offsets in reasonable
timeframes)

I will add this to the list of articles I need to write.

Joseph.

On 14 May 2011 22:45, Dmitry Nedospasov <dmitry@xxxxxxxxx> wrote:
> Hey Joseph,
>
> Thanks for your reply!
>
> On Sat, May 14, 2011 at 09:18:25PM +1000, Joseph Glanville wrote:
>> Ensure that ntpdate or ntpd is adjusting the hwclock in the dom0 as
>> this is what is passed through to guests.
>
> What do you generally do? Is it sufficent to just do a hwclock --adjust
> on an hourly basis?
>
> Thanks,
>
> D.
> --
> Dmitry Nedospasov <dmitry@xxxxxxxxx> -- Twitter: @nedos
> Web: http://nedos.net -- Github: http://github.com/nedos
>



-- 
Kind regards,
Joseph.
Founder | Director
Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56
99 52 | Mobile: 0428 754 846

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.