LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-14-2006, 01:09 PM   #1
saqis
LQ Newbie
 
Registered: Jun 2006
Posts: 7

Rep: Reputation: 0
NTP Local Server Configuration


Hello,
I have total 4 servers on which Redhat AS 3.0 installed all server time are different with each other, i want to sync one time to all servers..for that i want to use ntp server configuration...As there is no internet connection..so from these 4 server ..i have to made one local ntp server and the rest its client ntp servers...As i want steps how to configure local ntp server and its client so that the time appears to be same in all servers.. the ip address and host name are as follows

for ntp server
ip=172.22.36.110 hostname=ABC_UDB01
for client ntp servers
ip=172.22.36.112 hostname=ABC_UDB02
ip=172.22.36.114 hostname=ABC_UAPP01
ip=172.22.36.116 hostname=ABC_UAPP02

so kindly tell me steps so that i can configure ntp server and ntp client on Redhat Linux AS 3.0

Waiting for your reply as soon as poosible
 
Old 10-16-2006, 04:45 AM   #2
Omer Fadul
LQ Newbie
 
Registered: Feb 2005
Location: Khartoum, Sudan
Distribution: Redhat+Suse
Posts: 12

Rep: Reputation: 0
NTP Configuration

hi,
for ntp server configuration:
choose one of ur server to be your primary NTP server i.e. 172.22.36.110. then follow the following instructions:
1- backup current configuration file: cp /etc/ntp.conf ~ntp/ntp.conf.yymmdd.UID
2- Specify the servers you are interested on them to the configuration file"/etc/ntp.conf":
server 127.0.0.1.
3- Restrict the type of access you allow these servers:
restrict 172.22.36.0 mask 255.255.255.0 notrust nomodify notrap
4- Restart the ntpd server:
/etc/init.d/ntpd restart
On the client side:
1- repeate step 1
2- repeate step 2 but change 127.0.0.1 to map to your ntp server.
3- repeate step 3 and 4.
4- Synchronize your local time with the server(do it 3 times):
ntpdate -u 172.22.36.112
5- Determining if the NTP is synchronized properly
ntpq p
thats all folks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LOcal NTP server sawan Linux - Software 3 07-24-2005 11:08 PM
Same Domain name configuration for local and registered server and Mx rec configure cbekannan Linux - Software 0 02-07-2005 04:46 AM
Configuration of NTP srikz Suse/Novell 1 01-18-2005 02:04 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 02:22 PM
Ntp Server Configuration rodel Linux - Software 1 10-20-2003 03:10 PM


All times are GMT -5. The time now is 04:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration