- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Time synchronisation
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
03-26-2001 10:19 PM
03-26-2001 10:19 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 10:46 PM
03-26-2001 10:46 PM
SolutionYou can synchronize the time clocks of all your servers through xntpd (Network Time Protocol daemon).
Say, your servers are named A, B, C, D. And server A will be the master server such that server B, C and D will synchronize to it.
Steps,
- to server A, create the file /etc/ntp.conf containing one single line "server 127.127.1.1"
- to server B, C and D, create the file /etc/ntp.conf containing one single line "server A version 3" /* replace "A" with your hostname */
- to server A, B, C and D, edit the file /etc/rc.config.d/netdaemons, change XNTPD to "1".
- you'll have to reboot all your servers for that to take effect, OR, run /sbin/init.d/xntpd instead.
One reminder is that if your server times are too far off from the master, xntpd may refuse to synchronize the time. If this is the case you'll have to manually adjust the times close enough (perhaps 1 to 2 minutes behind) to the master server for them to start with.
Hope this help.
Rgds,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 10:47 PM
03-26-2001 10:47 PM
Re: Time synchronisation
check Time in Sam:
setup NTP broadcasting on one (or more) server(s)
and define this server as the NTP source on the other servers
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 10:49 PM
03-26-2001 10:49 PM
Re: Time synchronisation
The more effective method is using NTP (network time protocol). Out of the 4 servers, you need to assign one as the NTP server and the rest as the NTP clients.
You can man xntpd for more details.
Alternatively, you have to rlogin or remsh to each client from a control server to update the time on each client at periodic intervals.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 10:54 PM
03-26-2001 10:54 PM
Re: Time synchronisation
you can configure NTP by.
1. Choose one of server as a time server.
2. at all client add
server
to /etc/ntp.conf
3. all server and client that want to sync time
set XNTPD=1 in /etc/rc.config.d/netdaemons
reboot and hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 10:56 PM
03-26-2001 10:56 PM
Re: Time synchronisation
Another idea would be to synchronise your time with one fo the internet time servers if your servers are connected to the
internet.This will give you accurate timing in all servers.
Refer man ntp for more info .
Cheers
Karthik...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2001 11:55 PM
03-26-2001 11:55 PM
Re: Time synchronisation
For security reasons, it is safer to synchronize with your own NTP time servers (which you have more control over) rather than other time servers across the Internet.
If someone compromises any of the NTP time servers and either fast forward or rewind the time backwards, it may cause the NTP clients especially database servers to perform erratically. Database servers are most sensitive to time changes, especially if the time is tuned backwards.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 09:42 AM
03-28-2001 09:42 AM
Re: Time synchronisation
another reason I suppose why one should always configure several sources of time and not just one time server.