Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


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

Rep: Reputation: 0
NTP Local Server Configuration

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 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= hostname=ABC_UDB01
for client ntp servers
ip= hostname=ABC_UDB02
ip= hostname=ABC_UAPP01
ip= 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, 05:45 AM   #2
Omer Fadul
LQ Newbie
Registered: Feb 2005
Location: Khartoum, Sudan
Distribution: Redhat+Suse
Posts: 12

Rep: Reputation: 0
NTP Configuration

for ntp server configuration:
choose one of ur server to be your primary NTP server i.e. 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":
3- Restrict the type of access you allow these servers:
restrict mask 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 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
5- Determining if the NTP is synchronized properly
ntpq p
thats all folks.


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

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

All times are GMT -5. The time now is 10:38 PM.

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