NTP Backup Server HP-Ux


 
Thread Tools Search this Thread
Operating Systems HP-UX NTP Backup Server HP-Ux
# 8  
Old 04-13-2012
Thanks peasnat.

I have configured netdaemons config file.

However NTPDATE_SERVER address have the address of primary time server only.

Code:
 
/etc/ntp.conf file
server SERVER_A prefer
server SERVER_B
 
netdaemons file
export NTPDATE_SERVER=SERVER_A
export XNTPD=1

Now say SERVER_A goes down and xntpd uses SERVER_B for time synchronization then I need to manually change the netdaemons file and update the NTPDATE_SERVER=SERVER_B.

Please confirm above understanding.
# 9  
Old 04-13-2012
Hi Sai,

need some details :-

1. Are u making two NTP server, using those clients will sync.
2. If you are configuring NTP client only, the ur configuration is right now. u just need to run /sbin/init.d/xntpd stop and the start. ur client will sync everytime to available NTP server. (no manual intervention needed)
3. after this run ntpq -np (after 3 -4 min). ur NTP client will be sync.
# 10  
Old 04-13-2012
Hi Amit,

Thanks for the reply.

Yes I want to make two ntp servers using which clients will sync, main purpose here is if one of the ntp server fails,client should automatically sync using another server.
# 11  
Old 04-13-2012
I can confirm that placing space separated values work (machines boots and gets the proper time )

This was done on HPVM host HPUX v2, with SERVER_A alive and this setup :
Code:
export NTPDATE_SERVER="SERVER_A SERVER_B"

Now i can't test if SERVER_A is not alive, but i belive it should work.
This User Gave Thanks to Peasant For This Post:
# 12  
Old 04-15-2012
Thanks Peasnt!!!

I will configure the netdaemons file accordingly.

Will post the configurations and findings after testing it.
This User Gave Thanks to sai_2507 For This Post:
# 13  
Old 04-24-2012
Hi Experts,

I configured ntp as below, and it is working fine now.

Code:
 
/etc/ntp.conf
server server1 minpoll 1 prefer
server server2 minpoll 1
driftfile /etc/ntp.drift
 
netdaemons
export NTPDATE_SERVER="server1 server2"
export XNTPD=1
export XNTPD_ARGS=

Thank you so much your help.
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