- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Synchronize system 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
Forums
Discussions
Discussions
Discussions
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
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
04-06-2004 01:24 PM
04-06-2004 01:24 PM
all servers access the internet to update the time ( I may wrong ) , could suggest the way ? thx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 01:38 PM
04-06-2004 01:38 PM
SolutionYou can set up your own NTP *SERVER* and get every machine to sync off that, but it's probably easier to use the 'rdate' command, and have the 'time' port open (udp 37).
Simply put, enable the time UDP service on one server ('chkconfig time on' on a RH system), and on your remote systems:
rdate -s
Schedule it (with cron) to run semi-regularly, and you're done!
Quick way to sync time on multiple servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 02:14 PM
04-06-2004 02:14 PM
Re: Synchronize system time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 02:17 PM
04-06-2004 02:17 PM
Re: Synchronize system time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 02:43 PM
04-06-2004 02:43 PM
Re: Synchronize system time
setting up one central server as the NTP provider for your network is also easy enough. Thats what I do at home here ;-). If you do not can/want to connect this server to the Internet you can buy an external clock to hook-up to your server.
E.g. http://www.linux-mag.com/cgi-bin/printer.pl?issue=2000-12&article=guru
has a discussion on this.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 08:16 PM
04-06-2004 08:16 PM
Re: Synchronize system time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 01:47 AM
04-07-2004 01:47 AM
Re: Synchronize system time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 04:47 AM
04-07-2004 04:47 AM
Re: Synchronize system time
I agree with John, this is the beauty of NTP. You setup the server, they configure it on their end and you do not need any access to the remote system. Else setting the date/time usually does require privs (and this for good reasons since this can wreck havoc on applications).
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 10:44 AM
04-07-2004 10:44 AM
Re: Synchronize system time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2004 11:03 AM
04-07-2004 11:03 AM
Re: Synchronize system time
but rdate would need to be executed on the remote system, so again privs on the remote system are required or do I have this wrong?
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2004 03:24 AM
04-08-2004 03:24 AM
Re: Synchronize system time
Use NTP on one or two servers to get the time from a stratum 1 server on the internet. Have these two servers be a peer to each other. That way you can have one off line while the other continues on.
Lets say you have 10 additonal servers. Have 5 get their time from off, your now stratum 2 servers, and do a peer between all 10. Repeat process for other 5.
Once everything is set up and synced you should be able to even take the two main time sync systems off line at the the same time and the other 10 will sync to themselves.
It works here. We then sync our Windows servers from our UNIX boxes and some individual pc's as well.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2004 10:56 AM
04-08-2004 10:56 AM
Re: Synchronize system time
Once configured however, they are all leave-alone.
They all also require the central server to have it's firewall opened up to allow the associated protocol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2004 01:30 PM
04-08-2004 01:30 PM
Re: Synchronize system time
The original suggestion, ntp is the way to go. Its easy to implement, just do this:
Pick a time server.
chkconfig --level 12345 xntpd on
service xntpd start
Mr. Browne and others have given of their time in hopes that you would show the courtesy of assigning points.
Your record 1 of 155 at this time is atrocious.
Please Click here:
http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1084347&listType=unassigned&forumId=1
Fix the problem.
I'm sure you'd have more suggestions if you were a better citizen of the itrc community.
0 points from me, and this is the last you'll hear from me on your questions until you improve your assignment record.
Apologies to any itrc membership offended by my tirade.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com