- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MC/SG, NTP and "date -a"
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-28-2004 08:19 PM
04-28-2004 08:19 PM
* The servers run Oracle (containing mostly static configuration data)
* They also run mission critical telecoms application.
* The servers have NTP configured, with each machine setup as the other's peer.
* The machines are load-sharing and not active-standby.
The time on the machines happens to about 12 minutes ahead of the actual time. I want to know if there is any way in which I can change the time backwards safely without bringing down both systems together (and hence causing a service outage).
I tried issuing a "date -a" on one of the machines expecting the other to sync, but it didn't seem to have any effect. I wonder if it has anything to do with the setting up of the machine as NTP peers.
Any help will be greatly appeciated.
Many thanks,
Abhik.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 08:40 PM
04-28-2004 08:40 PM
Re: MC/SG, NTP and "date -a"
run the same "date -a -60" command on all your NTP peers at about the same time (e.g.via cron or at)
Then verify that all are only 11 minutes ahead. Then either use a larger number or repeat the cronjob a couple of times.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 08:41 PM
04-28-2004 08:41 PM
Re: MC/SG, NTP and "date -a"
1.Disable the ntp daemon on both the server.
2. Issue date -a command on both the servers.
3. Check after a day or two whether both the servers time are sync with the actual time. then enable the ntp daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 08:50 PM
04-28-2004 08:50 PM
Re: MC/SG, NTP and "date -a"
Thanks for your replies.
Tamil, I have thought of your idea before, but I wonder if SG has somekind of dependency on NTP. Is it OK to disable NTP on a SG cluster?
Thanks,
Abhik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 08:53 PM
04-28-2004 08:53 PM
Re: MC/SG, NTP and "date -a"
It is OK. No problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 08:57 PM
04-28-2004 08:57 PM
Re: MC/SG, NTP and "date -a"
No there is no problem disableling ntp on a service guard cluster for a period to sync the time ( using date -a As Bernard and Tamil suggested).
HTH,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2004 10:04 PM
04-28-2004 10:04 PM
Re: MC/SG, NTP and "date -a"
I will try the following on the live servers and let you know the result:
* Disable NTP on both nodes.
* Add the cron jobs on both nodes
* Check after a few hours if the time has synced with the actual time.
* Re-start NTP on both nodes.
Best regards,
Abhik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 05:26 AM
04-30-2004 05:26 AM
Re: MC/SG, NTP and "date -a"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 05:34 AM
04-30-2004 05:34 AM
Solutioneven with databases because it doesn't actually set time backwards. It allows the local clock to "tick" more slowly until the real world "catches up". Time continutes to march forward so that all database timestamps while not necessarily accurate are logically consistant. You are too far out of sync at the moment for NTP to operate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 05:34 AM
04-30-2004 05:34 AM
Re: MC/SG, NTP and "date -a"
even with databases because it doesn't actually set time backwards. It allows the local clock to "tick" more slowly until the real world "catches up". Time continutes to march forward so that all database timestamps while not necessarily accurate are logically consistant. You are too far out of sync at the moment for NTP to operate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2004 02:06 AM
05-05-2004 02:06 AM
Re: MC/SG, NTP and "date -a"
Thanks for your answers and comments. Though I am still waiting for the customer's final confirmation that the time is OK, I checked this morning and I think that it's fine.
Thanks again,
Abhik.