Operating System - HP-UX
1753842 Members
7628 Online
108806 Solutions
New Discussion

How to configure NTP server

 
SOLVED
Go to solution

How to configure NTP server

Hi All.

 

I have five HP unix servers and os is hpux 11.23. I want to configure NTP server on db machine using local time with no internet and want to sync all other four machines with the db server.

 

Please help me to setup NTP with all steps.

 

Thannks

 

Muhammad Bilal

3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: How to configure NTP server

To configure your DB server to sync to itself, use the following in /etc/ntp.conf:

 

# cat /etc/ntp.conf

server 127.127.1.1

fudge 127.127.1.1 stratum 10

driftfile /etc/ntp.drift

 

On your other servers:

 

# cat /etc/ntp.conf

server <ip of db server>

driftfile /etc/ntp.drift

 

Now on ALL servers check the file /etc/rc.config.d/netdaemons and look for the XNTPD arguments:

 

set the line 'export XNTPD=0' to be 'export XNTPD=1'.

 

Then start xntpd by doing:

 

/sbin/init.d/xntpd start

Re: How to configure NTP server

Dear Patrick Wallek
Thanks for reply it is working on unix machine but when i try to sync a window machine with this unix machine ntp server it is not working
Patrick Wallek
Honored Contributor

Re: How to configure NTP server

I don't think Windows uses a real NTP compliant time sync client.