1753529 Members
4823 Online
108795 Solutions
New Discussion юеВ

NTP

 
SOLVED
Go to solution
kunjuttan
Super Advisor

NTP

How to setup a local NTP server?
5 REPLIES 5
Sunny123_1
Esteemed Contributor
Solution

Re: NTP

Hi

Please refer below document


http://docs.hp.com/en/B2355-90147/ch07.html

Regards
Sunny
SoorajCleris
Honored Contributor

Re: NTP

Hi,

Which NTP server you want to configure?

1. which Stratum?

Regarsds,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: NTP

If you want to configure an NTP server to use its own system clock as an authoritative time source, add
the following lines to the server's /etc/ntp.conf file:
server 127.127.1.1 prefer
fudge 127.127.1.1 stratum 10
broadcast 128.1.255.255

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
sarfaraj ahmad
Trusted Contributor

Re: NTP

Hi,
please find the Local NTP server and NTP Client Configuration procedure as below,

Server Side Configuration:
**************************
Open the below file and modify the below lines as below,
vi /etc/rc.config.d/netdaemons

export INETD=1

NTPDATE_SERVER=
export XNTPD=1
export XNTPD_ARGS=

Now open below file and modify,

# vi /etc/ntp.conf

server 127.127.1.1
fudge 127.127.1.1 stratum=10
broadcast

now start the ntp service.

# /sbin/init.d/xntpd start

check the status that server is synchronizing locally through below command.

#ntpq -p

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Client Side Configuration:
*************************

vi /etc/rc.config.d/netdaemons

export INETD=1

export NTPDATE_SERVER=" "
export XNTPD=1

vi /etc/ntp.conf
server prefer
server

start the ntp service.

# /sbin/init.d/xntpd start

now check that client is synchrozing with primary NTP server which IP you have mentioned in netdaemon/ntp.conf

#ntpq -p


Thanks
Sarfaraj
kunjuttan
Super Advisor

Re: NTP

Thank you very much Mr.Sarfaraj Ahmad