1825678 Members
3668 Online
109686 Solutions
New Discussion

NTP !!

 
Chapaya
Frequent Advisor

NTP !!

Hello ,
I have 3 servers on my network ,
how do i set a time server ?
i want 2 servers to be synchronised from the third one .

Eran .
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: NTP !!

Hi Eran,

http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html

click on the chapter,

Configuring the Network Time Protocol (NTP)

Hope it helps,

Robert-Jan.
Caesar_3
Esteemed Contributor

Re: NTP !!

Caesar_3
Esteemed Contributor

Re: NTP !!

Sorry didn't added the rdate.

Here!

Caesar
Michael Steele_2
Honored Contributor

Re: NTP !!

NTP Time server
===========
# cd /etc/
# /sbin/init.d/xntp stop
# vi ntp.conf
server 127.127.1.1 minpoll 3 maxpoll 4 prefer
fudge 127.127.1.1 stratum 10
broadcast ip

# /sbin/init.d/xntp start

NTP Client
======
# cd /etc/rc.config.d
# /sbin/init.d/xntp stop
# vi netdaemons

export NTPDATE_SERVER=node name
export XNTPD=1

# ntpdate
# /sbin/init.d/xntp start

Wait for about 5-8 min, run the follwoing to check the status:
# ntpq -p
chk for output of "reftime" it should not be zero if the servers are in sync.
Support Fatherhood - Stop Family Law
Kevin Wallace
Occasional Advisor

Re: NTP !!

Also look on your server in /usr/share/doc/NTP_Primer.txt
Good reference!