- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Making two NTP servers as peer with different time...
Operating System - HP-UX
1753360
Members
4837
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО11-22-2008 02:16 AM
тАО11-22-2008 02:16 AM
Making two NTP servers as peer with different timezones
There are two NTP servers with two different timezones but with a same time!
Suppose that one is Central America Time and the other one is GMT.
But because of some reasons the time is same and we can't change time or timezone.
I want to make these two NTP servers as peer together. But because of timezone difference the time of one server will be changed.
Is there any way to peer two NTP servers only on date and time without concern of timezone.
Thanks.
Suppose that one is Central America Time and the other one is GMT.
But because of some reasons the time is same and we can't change time or timezone.
I want to make these two NTP servers as peer together. But because of timezone difference the time of one server will be changed.
Is there any way to peer two NTP servers only on date and time without concern of timezone.
Thanks.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2008 04:56 AM
тАО11-22-2008 04:56 AM
Re: Making two NTP servers as peer with different timezones
Hi Leonard:
NTP works in UTC so this is not a problem. In fact, a server synchronized with a valid time source can use mutliple 'TZ' variable settings to satisfy the local, geographic sense of time for different users. For example, a user logging in from London, England would think it was 1300 whereas a user logging in from New York in the US would perceive the time to be 0800. Different user profiles would have different 'TZ' settings. The server servicing the London and New York users could be synchronized with time sources anywhere (although servers closest to it would probably provide the most consistent undrifting time).
Regards!
...JRF...
NTP works in UTC so this is not a problem. In fact, a server synchronized with a valid time source can use mutliple 'TZ' variable settings to satisfy the local, geographic sense of time for different users. For example, a user logging in from London, England would think it was 1300 whereas a user logging in from New York in the US would perceive the time to be 0800. Different user profiles would have different 'TZ' settings. The server servicing the London and New York users could be synchronized with time sources anywhere (although servers closest to it would probably provide the most consistent undrifting time).
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2008 09:18 AM
тАО11-22-2008 09:18 AM
Re: Making two NTP servers as peer with different timezones
Timzones in HP-UX are nothing more than translations -- HP-UX never changes time, it is always UTC (aka, GMT or Zulu). NTP never knows anything about local timezones. When you type the command: date -u, you are seeing the HP-UX system time. Without the -u, then the date command (and all library routines for time) will follow the rules in /usr/lib/tztab to translate the internal HP-UX time into a form suitable for your local timezone.
You can see this by temporarily change the TZ value (which is a flag to look in the tztab file):
TZ=GMT0 date
TZ=PST8PDT date
TZ=CST6CDT date
By temporarily setting TZ, the date command shows you the time translated for the specified zone. So there is nothing to be concerned about for servers in different locations around the world. Just use the closest NTP-pool server set to synchronize to UTC, then login to each one and use the date -u command to see that no matter where they are, the internal time is GMT0. To verify that each remote server can correctly represent time for a different timezone, use the above commands.
The NTP-pool is extremely accurate (to within 1 second) so all your seervers will be exactly the same around the world. No need to use peer connections.
Bill Hassell, sysadmin
You can see this by temporarily change the TZ value (which is a flag to look in the tztab file):
TZ=GMT0 date
TZ=PST8PDT date
TZ=CST6CDT date
By temporarily setting TZ, the date command shows you the time translated for the specified zone. So there is nothing to be concerned about for servers in different locations around the world. Just use the closest NTP-pool server set to synchronize to UTC, then login to each one and use the date -u command to see that no matter where they are, the internal time is GMT0. To verify that each remote server can correctly represent time for a different timezone, use the above commands.
The NTP-pool is extremely accurate (to within 1 second) so all your seervers will be exactly the same around the world. No need to use peer connections.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP