- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- synchronize time
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-03-2001 11:52 AM
тАО01-03-2001 11:52 AM
synchronize time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2001 01:09 PM
тАО01-03-2001 01:09 PM
Re: synchronize time
I use the Network Time Protocol to establish a Pool of Time servers and then allocate the time synching to the machines which need it.
NTP is alvailable on both HP-UX (9, 10, 11) and all varieties of Linux.
Hope that helps, if not get back to me and I be glad to assit you further.
Have a Great Day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2001 02:21 PM
тАО01-03-2001 02:21 PM
Re: synchronize time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2001 06:01 PM
тАО01-03-2001 06:01 PM
Re: synchronize time
In ntp.conf, comment out the two lines:
# server 127.127.1.0 # local clock
# fudge 127.127.1.0 stratum 10
Then you need to add two (or more) server lines to some time standard machines on the internet. Something like:
server 199.240.130.1 # kansasnet npt1
server 199.240.130.12 # kansasnet npt2
The server IP addresses should be taken from the list at http://www.eecis.udel.edu/~mills/ntp/clock2.htm This is a list of stratum 2 servers located around the world. Stratum 2 is more than adequate for a single workstation. Track up this website and you will have more information that you ever wanted on how ntp works. If you have DNS running on your machine, you can use the address name instead.
I would also add a line to log the output like:
logfile /var/log/ntp
At this point you are configured. So now you need a method of starting and stopping the daemon. I suggest you create a file in /etc/rc.d/init.d called ntpd to do this work for you. There is a good chance that it is already there for your distribution, but I've attached a copy used in Redhat 7.0. Now you need to add the appropriate startup/kill links in /etc/rc.d/rc0.d thru /etc/rc.d/rc6.d. It should be started some time after DNS is started and can be killed just about anywhere in the shutdown sequence. Your done.
There are lots of other options you can add, but what you have here will get you up and running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2001 05:52 AM
тАО01-04-2001 05:52 AM
Re: synchronize time
I found an entire directory devoted to ntp under the /usr/doc/xntp3-5.93/index.html
Some of the files in this tree are text, some are HTML.
Hope that helps.
Have a Great Day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2001 10:41 AM
тАО01-04-2001 10:41 AM
Re: synchronize time
Here's what I get when I do a telnet to the timeport on my other machines:
tonyp%
tonyp% NETTIME
Connected to localhost.
Thu Jan 4 10:41:59 2001
Connected to m24dptjp.
Thu Jan 4 10:41:59 2001
Connected to m24dprjb.
Thu Jan 4 10:41:59 2001
Connected to m24dps1t.
Thu Jan 4 10:41:59 2001
regards,
tonyp