Operating System - HP-UX
1836301 Members
2326 Online
110098 Solutions
New Discussion

Defining multiple stratum 2 servers

 
SOLVED
Go to solution
Anu Mathew
Valued Contributor

Defining multiple stratum 2 servers

Hi,
I am to define settings for setting up NTP. I've a radio clock at certain IP in the intranet and is being used as the stratum 1 source. Now, I want to use two Stratum 2 servers, each should poll the radio clock at the 1st priority, then the other st:2 server and then, finally its own local clock. Was wondering whether ntp.conf will allow multiple server statements, with the preference as stated above?

Besides this, all other hosts in our network should be querying these 2 st:2 servers. This way,even if one St:2 is down, the client should get the time from the other St:2 server. Here also, the question Xle servers comes up.

What should i put in ntp.conf to attain these objectives in ntp client and server hosts?

Thanks in advance for your time and replies.

Regards

Anu Mathew
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Defining multiple stratum 2 servers

Hi Anu:
I think I understand you question. I'll call your Stratum 1 server node 'Clock'; your Stratum 2 servers 'Yogi' and 'Booboo'.

Yogi's ntp.conf entry should include:
server Clock version 3 prefer
peer Booboo version 3

Booboo's ntp.conf entry should include:
server Clock version 3 prefer
peer Yogi version 3

Now the client's should have entries which include:
server Yogi version 3 prefer
server Booboo version 3

I like to actually list one of the servers as preferred.

Hope this helps, Clay

If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: Defining multiple stratum 2 servers

Anu

It goes like this

In the two servers whioch you have to define as stratum 2 servers , in ntp.conf
server
peer

The same is true for the other server too.
Then you can other server pointing to these two servers , so you make a cluster of them or (group them in case one of then conks of it can refernce to the peer for the correct time )


Manoj

Also look at the docs.hp.com for NTP it helped me setup the same at my work place too.