- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Syncronize time using NTP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2001 08:13 AM
тАО01-11-2001 08:13 AM
I setup an NTP server (Started NTP, Added my broadcast Clients, Authentication disable, Receiving time broadcasts Disable, NTP local clock with system clock).
All my six NTP clients setup are: Started NTP, Receiving time broadcasts Enable, NTP local clock with no clock.
All the setup is done by SAM.
Have any idea? Do I need a reboot for all my servers? Is there any delay? ....
Thx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2001 09:56 AM
тАО01-11-2001 09:56 AM
Re: Syncronize time using NTP
no, you don't need to reboot (since ntp runs as a deamon). Why are you using broadcast ??. do the setup with using one station (the one with the local clock) as the master, and the other stations would be client (in this case, the time egts pushed from the master to the clients.
To your question...what is ntpq saying (can you see the master ??, did they try to sync ??, did you build the ntp or did you use a binary distribution ??). there is alot (of little things) who can go wrong with ntp. Other than that read the stuff on www.eecis.udel.edu/~ntp/.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2001 10:28 AM
тАО01-11-2001 10:28 AM
SolutionOn the server you want to be the master clock.
Edit /etc/rc.config.d/netdaemons
export NTP_SERVER=
XNTPD=1
export XNTP_ARGS=
Edit /etc/ntp.conf
At end of file add the following:
server 127.127.1.1
fudge 127.127.1.1 stratum 10
Now on all other servers you want to sync their time:
Edit /etc/rc.config.d/netdaemons
export NTP_SERVER=
XNTPD=1
export XNTP_ARGS=
Edit /etc/ntp.conf
At the end of file at the following:
server=
driftfile /etc/ntp.drift
touch /etc/ntp.drift
NOW....go back to your masterclock server and make sure your time is set to what you want it....then:
/sbin/init.d/xntpd stop
/sbin/init.d/xntpd start
And do this on all your other servers...
Then check after a few minutes to see if your time sync'ing ntpq -p
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2001 02:43 PM
тАО01-11-2001 02:43 PM
Re: Syncronize time using NTP
The suggestion made already to use /usr/sbin/ntpq to help diagnose your problem. I find this tool extremely helpful.
If the time difference between your servers is 1000 seconds or greater, xntpd will ignore the servers time. If a client cannot find a server to which to synchronize in about 320 seconds, the xntpd daemon will die. Therefore, check the time differences when you startup and manually adjust them if necessary, first. Once ntpq shows an association it will still take some time for the server and client to come to a common time. Be patient. Here again, ntpq is invaluable.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2001 06:16 AM
тАО01-12-2001 06:16 AM
Re: Syncronize time using NTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2001 05:44 PM
тАО01-12-2001 05:44 PM
Re: Syncronize time using NTP
Just a note about changing the time as a large step: databases won't be very happy. As a result, the ntpdate command has a new option -B which slews the time slowly, about 50ms per second. Run this prior to starting xntpd and wait until the clock is accurate.
ntpdate is called at boot time to make a step change before any user processes are run, so if you can reboot, you won't have to wait for ntpdate -B to slew the clock.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2001 09:45 PM
тАО01-15-2001 09:45 PM
Re: Syncronize time using NTP
In the post-mortem, we all felt that there should be a reasonableness test on time correction. Thanks for adding it.
BPF