1831593 Members
2946 Online
110027 Solutions
New Discussion

Re: Ntp server & client

 
Luigi Berengan
Advisor

Ntp server & client

How to configure an hpux 11.00 server to be both ntp client and server ?
9 REPLIES 9
Justo Exposito
Esteemed Contributor

Re: Ntp server & client

Hi,

You can use SAM go to the time.

Regards,

Justo.
Help is a Beatiful word
Pete Randall
Outstanding Contributor

Re: Ntp server & client

If it's a server, it doesn't need to be a client!


Pete



Pete
Helen French
Honored Contributor

Re: Ntp server & client

Pete Randall
Outstanding Contributor

Re: Ntp server & client

Now that I think about it, you probably didn't mean that you wanted it to be a client of itself, did you?

Sorry!


Pete



Pete
Camel_1
Valued Contributor

Re: Ntp server & client

The server should be either ntp broadcast or client. Edit /etc/ntp.conf, then start up the daemon /sbin/init.d/xntpd start
Bill Thorsteinson
Honored Contributor

Re: Ntp server & client

Configure the ntp client on the system you
would like to be a server. Unless you secure
the interface to prevent other ntp clients
from talking to it your client is available
as a server to other clients.

If you want to make it a broadcast server, then
you need to define the broadcast parameters
in the ntp.conf file.

PVR
Valued Contributor

Re: Ntp server & client

Since the system is configured as an NTP server, client configuration entries will not have any effect.
Don't give up. Try till success...
Michael Steele_2
Honored Contributor

Re: Ntp server & client


HP-UX 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
Bill Hassell
Honored Contributor

Re: Ntp server & client

HP-UX is automatically a server when xntpd is running. But before you start, make sure your system can talk to the NTP servers you are going to use. Most firewalls deny access on port 123 so you must enable the port on your firewall. To test access, use ntpq (or xntpdc) with:

ntpq -p ntp-cup.external.hp.com

You should see a status report. If you see an error such as "Can't find host" (a DNS problem) or no response, you'll have to fix your networking. Once you get responses, you can edit /etc/ntp.conf, then enable xntpd as mentioned previously. Always use 4-6 different servers for reliability. A list of NTP servers is available from http://www.ntp.org/


Bill Hassell, sysadmin