- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Time drift in HP UX servers
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
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
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
тАО02-22-2011 05:25 AM
тАО02-22-2011 05:25 AM
Time drift in HP UX servers
Our 4 HP-UX (version 11.31)servers are some minutes ahead of the real world time, 2 servers are in Oracle RAC Cluster, Node1 is NTP server for Node2, they are ahead with 11 minutes, the other server has their own time and NTP is not configured on it.
Two weeks back when I checked the times on all the servers say it was 11 minutes ahead and now the time difference has increased by 28 seconds on RAC nodes and 25 seconds on third server and 2 seconds on the fourth server. That means the RAC nodes are now 11.28 seconds ahead.
Why there is increased in time difference?
We have Windows 2008 server which is The DNS and NTP server in our organization.
Can we configure the HP-UX servers with Windows 2008 NTP server?
If yes then please share the procedure.
Thanks and Best Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 05:39 AM
тАО02-22-2011 05:39 AM
Re: Time drift in HP UX servers
ntp is there to keep the time same on every hosts. if especially the time on one host is increasing, there may be a problem with the mainboard etc.
i don't suggest ntp server on windows if it's in domain. we had a lot issue. some servers lost synranisation with time server,time differences between cluster nodes went away so cluster nodes rebooted itself etc.
at least we got the ntp server out of domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 05:39 AM
тАО02-22-2011 05:39 AM
Re: Time drift in HP UX servers
There are many Internet time clock servers. Find one closest to you in your timezone.
Then internally you can then set your other servers to sync to those one or two internal servers that maintain true time with the outside source.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 05:46 AM
тАО02-22-2011 05:46 AM
Re: Time drift in HP UX servers
Yes you could set your HPUX clocks to sync to the Windows server. But, again, that may not be true time. Does the windows server use a true time source?
And, when you go to fix your time, remember to be sure to shut Oracle down as it's transactions are very time dependent. And turning time back on Oracle is far more damaging than moving it forward. So be sure to shutdown/let those minutes pass/ then set your time and when all is syncing good/ turn Oracle back on.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 05:49 AM
тАО02-22-2011 05:49 AM
Re: Time drift in HP UX servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 06:36 PM
тАО02-22-2011 06:36 PM
Re: Time drift in HP UX servers
http://en.wikipedia.org/wiki/Network_Time_Protocol
If you point your servers at the Windows NTP server, accuracy will not be very good but all your servers will drift right along with the Windows boxes. I would rather keep a stable environment for Unix servers. Check to see if you can reach the Internet with one of your servers:
ntpq -p us.pool.ntp.org
If you can see several entries, then you can point one of your servers to the pool servers, and the rest of your servers can point to the first one.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 02:56 AM
тАО02-23-2011 02:56 AM
Re: Time drift in HP UX servers
Please read the docs:
http://docs.hp.com/en/B2355-90110/ch08.html?btnPrev=%AB%A0prev
You should runt ntp on all 4 nodes and those would sync to an external ntp server (or even your windows server if this would be the only one connected to the 'ouside' world).
Best regards
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 03:21 AM
тАО02-23-2011 03:21 AM
Re: Time drift in HP UX servers
Our management decided that the time on each and every system in the organization will be the same and hence they want us to configure the HP-UX servers with Win 2008 NTP server.
The Win2008 NTP server is getting time from Microsoft's NTP server, I think from "time.microsoft.com"
Does any specific port needed to be open in the firewall for communication between the different platforms for setting NTP?
Please share the procedure to configure NTP on HP-UX servers with Windows server as NTP server for all.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 04:38 AM
тАО02-23-2011 04:38 AM
Re: Time drift in HP UX servers
Edit /etc/rc.config.d/netdaemons
export NTPDATE_SERVER='your ntp server'
export XNTPD=1
Edit /etc/ntp.conf
server
driftfile /etc/ntp.drift
Then do a:
touch /etc/ntp.drift
Then start ntp:
/sbin/init.d/xntpd start
To check it:
ntpq -p
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 08:00 AM
тАО02-23-2011 08:00 AM
Re: Time drift in HP UX servers
Now we have Linux boxes as our local masters syncing with public NTP sources and all HP-UX servers and the Windows DCs referencing them. (The Domain Controllers then pass time to the remaining Windows servers and PCs.)
I believe there were some registry changes on the DCs to work correctly with NTP. I can dig them up if there is any interest in this method.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 10:15 PM
тАО02-23-2011 10:15 PM
Re: Time drift in HP UX servers
Usually, firewalls are placed between the local network (organization's) and the exterior world.
Anyway, NTP uses UDP on port 123. So the firewall should pass traffic originated/to this port.
More info at official web site:
http://www.ntp.org/
http://www.eecis.udel.edu/~mills/ntp/html/build.html
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 10:40 AM
тАО02-24-2011 10:40 AM
Re: Time drift in HP UX servers
The other option would be to make HP-UX your masters, syncing to the external servers of your choice, then configuring Windows boxes to sync to them with the attached NTP-client registry changes. The Windows boxes can still pass the correct time to PCs via Windows_Time_Service with no changes required on the clients.
Good Luck
p.s. My apologies for posting a Windows Registry hack in an HP-UX forum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2011 06:58 PM
тАО02-24-2011 06:58 PM
Re: Time drift in HP UX servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2011 01:07 AM
тАО03-13-2011 01:07 AM
Re: Time drift in HP UX servers
Thank you all for your help!