Operating System - HP-UX
1847860 Members
3136 Online
104021 Solutions
New Discussion

Re: Time synchronisation - without NTP

 
David Whitehead
Advisor

Time synchronisation - without NTP

Hi guys,

Just a quick question - what is the best/easiest way to synchronise server times across several servers in HP-UX without using NTP?

Thanks

David
6 REPLIES 6
Andreas Voss
Honored Contributor

Re: Time synchronisation - without NTP

Hi,

without ntp you can use ie. mdate for time synchronisation:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/mdate-1.00/

Regards

Andrew
FOREST Michel
Frequent Advisor

Re: Time synchronisation - without NTP

Hi David,

For me there is no way better than NTP...

We have recently achieved a study about the ntp daemon and it is very convenient to synchronise systems clocks. Of course you need to own a ntp server to provide the hour (the master) but after, it is very easy to start it on the clients.

I'm not sure you fill find my answer very helpfull, but this is my point of view.

Francois H.
A rookie in the HP Forum :)
Kofi ARTHIABAH
Honored Contributor

Re: Time synchronisation - without NTP

Depending on what you want to do, you could use mdate available at:
http://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/mdate-1.00/

or you could check out this thread.

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc89a0559ff7cd4118fef0090279cd0f9,00.html

If I may ask why do you not want to use ntp?
nothing wrong with me that a few lines of code cannot fix!
Stefan Farrelly
Honored Contributor

Re: Time synchronisation - without NTP


NTP is the only HP supported method. If you use something else and it screws up your system clock and any app/db then good luck. Who is so against NTP ?
Im from Palmerston North, New Zealand, but somehow ended up in London...
James R. Ferguson
Acclaimed Contributor

Re: Time synchronisation - without NTP

David:

Do a search within this forum for NTP. There have been many discussions, cross-references and references to external documentation. Happy searching.

...JRF...
Alan Riggs
Honored Contributor

Re: Time synchronisation - without NTP

Do you have a requirement to not use ntp at all? Or do you just not want to run xntpd continually?

An alternative is to use the ntpdate command to update time on a box from one (or more -- recommended) sources. This command can be croned periodically. See man ntpdate for details.