- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: To Sync time or not
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
05-16-2002 05:38 AM
05-16-2002 05:38 AM
To Sync time or not
What I want to do is just compare the HP 9000 with our master clock server and then have it email when the time are not with in 5 minute or so.
This way I can check it and not change the time unless I what to.
The reason to compare is because today the time clock server was off 23 days. In the Unix world we can use people to set clocks if needed.
Can you help?
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 05:41 AM
05-16-2002 05:41 AM
Re: To Sync time or not
HTH,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 05:44 AM
05-16-2002 05:44 AM
Re: To Sync time or not
It actually would be easier to just go ahead & setup ntp & it's daemon xntpd than it would be to write the script you mention. And besides if you ever start using NFS you'll HAVE to use NTP or strange things will happen because NFS needs all systems connected to be fairly close time-wise.
Do a man on ntp for instructions - trust me it's easy.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 05:45 AM
05-16-2002 05:45 AM
Re: To Sync time or not
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 05:46 AM
05-16-2002 05:46 AM
Re: To Sync time or not
I can't think of a reason why I would *not* want to synchronize to a reliable external time source!!!
You wrote that the "reason to compare is because today the time clock server was off 23 days."
You clearly have a problem. Network Time Protocol ('ntp') is easy to setup and there are many ultra accurate time sources freely available.
A very simple guide to setting up Network Time Protocol (NTP) is found in the "Installing and Administering Internet Services" manual:
http://docs.hp.com/hpux/onlinedocs/B2355-90685/B2355-90685.html
For a good list of available time sources, see:
http://www.eecis.udel.edu/~mills/ntp/clock1.htm
If you wish to merely synchronize locally take a look at Knowledge Base document #A5864817. You can use one of your servers as a "master" clock for the remaining ones without going outside of your local network.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 05:51 AM
05-16-2002 05:51 AM
Re: To Sync time or not
You are really doing this the fundamentally wrong way. First of all, 5 minutes is an enormous time error; secondly, you don't not want abrupt time changes especially backwards. The problem with your approach is this. Consider an application that has a sequential transaction number and a timestamp. In your world, transaction 999 could have a later timestamp than transaction 1000 if the time were reset. Yoy really need to setup NTP and let the system maintain time to withing a few tens of milliseconds constantly. Moreover, the adjustments are made by speeding up or slowing down clock ticks so that abrupt changes are avoided. You will need to do an initial fix for your 23 day problem but after that it's set it and forget it. You can actually set all this up using sam.
Man xntpd for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 07:57 AM
05-16-2002 07:57 AM
Re: To Sync time or not
I must agree with everyone else that NTP is the way to go, however you can choose for yourself.
Good luck,
Pete
Pete