1833323 Members
3116 Online
110051 Solutions
New Discussion

NTP

 
James Odak
Valued Contributor

NTP

How can i make a HP9000 server running hp-ux
10.20 or 11.00 a stratum-1 server?

In the documention it states to do this by making a NFS diskless file and setting it as stratum-1?
7 REPLIES 7
Rick Garland
Honored Contributor

Re: NTP

The HP server would need some kind of time keeper (e.g., GPS system) that it would look to for time sync.

Go to http://www.eecis.udel.edu/~ntp/ntpfaq
The University of Delaware
James R. Ferguson
Acclaimed Contributor

Re: NTP

James:

I assume that you want one of your local servers to serve as the master clock for one or more others. If that is, in fact, the case, edit /etc/ntp.conf on the "master" and add the entry "server 127.127.1.1" at the end. Then, for each of the "slaves" add the line "server x.x.x.x" or "server xxx.xxx.xxx" to the end of each /etc/ntp.conf, where 'x.x.x.x' is the IPADDRESS of your "master", or the DNS name of the same if you are using DNS.

...JRF...
Tim Malnati
Honored Contributor

Re: NTP

Your question sort of begs for info on what your trying to accomplish. If all your trying to do is provide reliable NTP clocking to your organization, any of the existing stratum 1 or 2 servers out there is probably more than adequate for your needs. The key to this is having more than one server that you sync with; two is good, and three is probably best. The technical details and requirements for you to actually establish a real stratum 1 server arrangement are almost certainly beyond your needs. There are a variety of radio, satellite, and dialup methods available for you to do this, but using your existing internet connection is usually the cheapest and easiest to implement. If you have a firewall, it needs to pass traffic on port 123. The software and standard itself handles the propagation delays. NTP also supports its own security protocol if your needs are that sensitive. I've never had a need to set it up though. Your best bet is to choose your three most reliable HP servers and set each one of them to three stratum 1 or 2 servers available on the internet. Sam makes this a breeze. Then the rest of your organization machines can sync to these three HP boxes.
James Odak
Valued Contributor

Re: NTP

I can not use any outside source for the time
i want to set one server as my time source and broadcast it's time (right or wrong) to all the other servers

ive tried setting the main server as
server 127.127.1.1
and the others calling to that server but i get that
no server suitable for synchronization found
message

Kofi ARTHIABAH
Honored Contributor

Re: NTP

In order to set up one server as the reference server, make sure that you modify the /etc/rc.config.d/netdaemons and set XNTPD=1

then run /sbin/init.d/xntpd start

do a ps -ef | grep [x]ntpd to ensure that the xntpd is running on the reference server.

now try synchronising the time from another server with:

ntpdate -v

you should get more verbose information about what may be wrong...

good luck
nothing wrong with me that a few lines of code cannot fix!
James Odak
Valued Contributor

Re: NTP

Ahhh JRF's solution worked, i just had to reboot the main server was using

Thanks all for the help
and James (JRF) reply to this and ill give ya more points heh

Jim
James R. Ferguson
Acclaimed Contributor

Re: NTP

James:

Glad to have been of help. Kofi's additions were certainly quite germane.

I have found the /usr/sbin/ntpq utility to be useful in checking the state of [x]ntpd services and/or that time synchronization is occuring. Check the man pages for 'ntpq' and/or the "Installing and Administering Internet Services" manual.

...JRF...