- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: DST and NTP Interaction
Operating System - Tru64 Unix
1748092
Members
5573
Online
108758
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
тАО02-22-2007 01:10 AM
тАО02-22-2007 01:10 AM
DST and NTP Interaction
Good Morning,
Essentials:
DS20, ES40 and ES45 running
Tru64 5.1B-3 (PK4)
DST patch is loaded on DS20 and ES40, and will be loaded on ES45 real soon now.
At 00:30 every day the three nodes synch to an MS 200x time server via cron job
30 00 * * * /usr/bin/ntp -s -f timeserver 0
Our IT group plans to test during daytime on the DS20 as follows:
- use btcreate to backup all file systems
- move date/time ahead to 11-March-2007 1:55:00
- observe time shift
- test applications
After success (?) at that date-time,
- move date/time to 04-November-2007 01:55:00,
- observe time shift
- test applications
- boot btcreate tape and restore all file systems
We won't be running tests at 12:30 A.M.
As we only synch at midnight my guess is that there's no interaction between NTP and shifting time manually. Correct?
Thanks for your help. ,,, Joe S.
Essentials:
DS20, ES40 and ES45 running
Tru64 5.1B-3 (PK4)
DST patch is loaded on DS20 and ES40, and will be loaded on ES45 real soon now.
At 00:30 every day the three nodes synch to an MS 200x time server via cron job
30 00 * * * /usr/bin/ntp -s -f timeserver 0
Our IT group plans to test during daytime on the DS20 as follows:
- use btcreate to backup all file systems
- move date/time ahead to 11-March-2007 1:55:00
- observe time shift
- test applications
After success (?) at that date-time,
- move date/time to 04-November-2007 01:55:00,
- observe time shift
- test applications
- boot btcreate tape and restore all file systems
We won't be running tests at 12:30 A.M.
As we only synch at midnight my guess is that there's no interaction between NTP and shifting time manually. Correct?
Thanks for your help. ,,, Joe S.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2007 11:55 PM
тАО02-22-2007 11:55 PM
Re: DST and NTP Interaction
I'm not entirely sure about the NTP issue (perhaps someone else will chime in). If you are running ntpd or xntpd, it would seem prudent to stop the daemon during your tests. My primary reason for replying is to address one step in your procedure:
- move date/time to 04-November-2007 01:55:00
This won't work as you expect. The time 01:55:00 (or any other time in the interval 01:00:00 through 01:59:59) occurs *twice* on the day that DST ends. This is because at 02:00 Daylight time, the time reverts to 01:00 Standard time. If you use the date command to set the date to 01:55 on Nov. 4, it will unfortunately choose the second occurrence of 01:55 (i.e., the one *after* the time change) and your test will not be successful.
There are two ways around this:
1. Set the time to 00:55, which is not ambiguous, and wait longer.
2. Go through a timezone such as GMT to force the time to 01:55 DST. For example, if you're using the America/New_York timezone (Eastern time), you would:
a. Set the timezone to GMT.
b. Use 'date' to set the time to 05:55 on Nov. 4. (05:55 GMT = 01:55 EDT; adjust as needed for your timezone if not Eastern).
c. Set the timezone back to America/New_York.
d. Use 'date' to verify that the time displays as 01:55 EDT, not 01:55 EST.
e. Wait five minutes.
Hope this helps,
Martin
- move date/time to 04-November-2007 01:55:00
This won't work as you expect. The time 01:55:00 (or any other time in the interval 01:00:00 through 01:59:59) occurs *twice* on the day that DST ends. This is because at 02:00 Daylight time, the time reverts to 01:00 Standard time. If you use the date command to set the date to 01:55 on Nov. 4, it will unfortunately choose the second occurrence of 01:55 (i.e., the one *after* the time change) and your test will not be successful.
There are two ways around this:
1. Set the time to 00:55, which is not ambiguous, and wait longer.
2. Go through a timezone such as GMT to force the time to 01:55 DST. For example, if you're using the America/New_York timezone (Eastern time), you would:
a. Set the timezone to GMT.
b. Use 'date' to set the time to 05:55 on Nov. 4. (05:55 GMT = 01:55 EDT; adjust as needed for your timezone if not Eastern).
c. Set the timezone back to America/New_York.
d. Use 'date' to verify that the time displays as 01:55 EDT, not 01:55 EST.
e. Wait five minutes.
Hope this helps,
Martin
I work for HPE
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2007 12:20 AM
тАО02-23-2007 12:20 AM
Re: DST and NTP Interaction
Martin,
Thanks for the correction on the "fall back" phase of testing. That is very helpful.
According to /etc/services and /etc/inetd.conf there's no entry for ntpd/xntpd, so it's a once a day synch with the timeserver.
Joe S.
Thanks for the correction on the "fall back" phase of testing. That is very helpful.
According to /etc/services and /etc/inetd.conf there's no entry for ntpd/xntpd, so it's a once a day synch with the timeserver.
Joe S.
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