NTP Backup Server HP-Ux


 
Thread Tools Search this Thread
Operating Systems HP-UX NTP Backup Server HP-Ux
# 1  
Old 04-12-2012
NTP Backup Server HP-Ux

Hi Can Anyone guide me in how to setup NTP backup server? say if server_A fails then client should automatically adjust time using server_B.

Currently my /etc/ntp.conf file is configured as following
server= server_A
peer=server_B

Will this configuration solve my purpose?

Need Urgent Help Smilie

Thanks in Advance.
# 2  
Old 04-12-2012
Well, in the man page for xntpd on HP-UX 11.11, I read that:-
Quote:
The peer command specifies that the local server is to operate in
symmetric active mode with the remote server. In this mode, the local
server can be synchronized to the remote server and, in addition, the
remote server can be synchronized by the local server. This is useful
in a network of servers where, depending on various failure scenarios,
either the local or remote server may be the better source of time.
This, to me, means that you are agreeing the time between yourself and server_B, i.e. local server can affect server_B. I would expect you can code more than one server statement. On AIX I have:-
Code:
broadcastclient
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
server u-dc-01.*****.co.uk version 3 prefer
server u-dc-02.*****.co.uk version 3 prefer

and that seems to work quite well.

There are other things to consider if your NTP server goes pop and you use this server for other things, such as DNS. You would need an alternate and a suitable timeout setting up.



I hope that this helps,
Robin
Liverpool/Blackburn
UK
This User Gave Thanks to rbatte1 For This Post:
# 3  
Old 04-12-2012
Thanks for the quick reply.

So if I configure /etc/ntp.conf as

server=server_A
server=server_B

now if server_A goes down, will client automatically adjust the time using server_B?

Moreover, does it require any other config changes?
# 4  
Old 04-12-2012
Quote:
server=server_A
server=server_B
Your syntax is wrong. There are no equals signs.
Code:
server server_A
server server_B

# 5  
Old 04-12-2012
We have one NTP server on the Intranet which has an external connection through the firewall to multiple time servers on the Internet. This is not perfect but it works. For resilience we should have at least two more time servers such that the NTP algorithms can determine the correct time.

One basic point about using NTP is that you should run your server clock in UTC and ensure that the correct $TZ (timezone) variable is set for any processes run by users or background processes.
This User Gave Thanks to methyl For This Post:
# 6  
Old 04-12-2012
Thanks methyl.

I will change the configuraitons accodringly.
# 7  
Old 04-13-2012
Be sure to setup /etc/rc.config.d/netdaemons

With values in :

Code:
export NTPDATE_SERVER=yourntp
export XNTPD=1

This way, if server is rebooted, it will run ntpdate command against your ntp server during boot to sync time before services are started.
This User Gave Thanks to Peasant For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

What is the best OS for NTP server?

Hello I need to create NTP server for all my devices, What is the best OS for NTP Server? "CentOS, Redhat, Ubuntu " I tried before Ubuntu but some of device not detect the server Need your recommendation Thank you (2 Replies)
Discussion started by: moudmm
2 Replies

2. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies

3. Red Hat

NTP Server issue

Hi team, I was like try to create an NTP time server under my RHEL6 box, but once I try to sync other Windows clients (and some Linux) I alway get an error with syncing with my NTP server, here is my non-hashed ntp.conf file parameters: driftfile /var/lib/ntp/drift restrict 192.168.238.0... (14 Replies)
Discussion started by: leo_ultra_leo
14 Replies

4. HP-UX

Setting up NTP HP-UX clients from solaris NTP server

Hi I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server? FR (3 Replies)
Discussion started by: fretagi
3 Replies

5. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

6. Red Hat

NTP server

Hi All.... I need to configure NTP server in my network, which is heterogeneous, containing Linux as well as windows systems. I'm planning to configure it on RHEL 5.0. What are the prerequisites for this and do I need to register this server? Can anyone give me as many information as... (1 Reply)
Discussion started by: Amol21
1 Replies

7. IP Networking

server is not getting synchronized with ntp server

Hello Guys, i have a problem my local server is not getting synchronized with ntpd server. 1)ntpq -p is giving the following output remote refid st t when poll reach delay offset jitter ============================================================================== ... (9 Replies)
Discussion started by: mannam srinivas
9 Replies

8. BSD

NTP Server on FreeBSD

Hello, I'm trying to create a NTP server on a FreeBSD machine inside my local network, so all the clients of that network can actually query for that machine. Should be of no problem right? Here's the configuration of the /etc/ntp.conf on the FreeBSD machine: server br.pool.ntp.org burst ... (1 Reply)
Discussion started by: Zarnick
1 Replies

9. Solaris

ntp server and ntp client

All, How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server. Any... (1 Reply)
Discussion started by: bubba112557
1 Replies

10. UNIX for Advanced & Expert Users

Ntp Server

Hi. i was wondering if anyone can show me or direct me on setting up a ntp server under redhat.. Is there any howtos so i can get familar to it "any good sites" (3 Replies)
Discussion started by: souldier
3 Replies
Login or Register to Ask a Question