Operating System - HP-UX
1826417 Members
3873 Online
109692 Solutions
New Discussion

Any timeserver client on HP-UX other than NTP ???

 
Patrick Chim
Trusted Contributor

Any timeserver client on HP-UX other than NTP ???

Hi,

I want to config my HP-UX as a time server client. Besides using NTP, any other tools can I use? I can see there is another port 37 named timeserver in /etc/services. Is there any application/tools associated with it ?

My server runs HP-UX 11i.

Regards,
Patrick
3 REPLIES 3
U.SivaKumar_2
Honored Contributor

Re: Any timeserver client on HP-UX other than NTP ???

Hi,
Have a look at this link.
http://www.umich.edu/~rsug/services/ntp.html

regards,
U.SivaKumar

Innovations are made when conventions are broken
Pete Randall
Outstanding Contributor

Re: Any timeserver client on HP-UX other than NTP ???

Patrick,

Other than using date, I'm unaware of any alternatives. Before we configured NTP, we use to use a simple script that remsh'd to other servers to sync their times to a central server:

echo "yes" > /tmp/yes_time
CTIME=`date +%m%d%H%M%y`
LIST="george ralph henry larry"
for SERVER in $LIST
do
remsh $SERVER date $CTIME < /tmp/yes_time
done

Hope this helps,
Pete

Pete
Bill Hassell
Honored Contributor

Re: Any timeserver client on HP-UX other than NTP ???

Be very careful with time sync software other than NTP. A number of home-grown tools will perform a step change to make the clocks the same and this means that the time of day will jump forward or backward--not good for the health of databases. Not only is NTP a secure protocol, but it is extremely lightweight (very short messages spaced many seconds to minutes apart) and will not lose or gain a single second. Instead, it will add or shave a fraction of a second so that the clock will catch up to the correct time.


Bill Hassell, sysadmin