When administering multiple nodes of VAX, Alpha, and Itaniums, time change in the Spring and Fall becomes a significant event. Looking for a simpler and effective method to administer time change on OpenVMS. Ideally a method to set once and forget it. Versions vary from 7.3 to 8.4.
Option 1: DAYLIGHT_SAVINGS.COM - Answer the questions and it goes to SYS$BATCH
Option 2: AUTO_DLIGHT_SAV - Change to 1. Any other changes? Reliable?
Option 3: ???
Appreciate any and all input.
Adjusting for Time Change - Use DAYLIGHT_SAVINGS.com or AUTO_DLIGHT_SAV
-
Topic author - Active Contributor
- Posts: 39
- Joined: Fri Jun 28, 2019 10:29 am
- Reputation: 0
- Location: Gary, Indiana
- Status: Offline
Adjusting for Time Change - Use DAYLIGHT_SAVINGS.com or AUTO_DLIGHT_SAV
Last edited by vmskostoff on Thu Nov 07, 2019 5:36 pm, edited 1 time in total.
-
- Active Contributor
- Posts: 26
- Joined: Fri Jun 14, 2019 4:17 pm
- Reputation: 0
- Status: Offline
Re: Adjusting for Time Change - Use DAYLIGHT_SAVINGS.com or AUTO_DLIGHT_SAV
We set AUTO_DAYLIGHT_SAV to 1 and then, for any process which needs to know about the change in daylight savings time we use the $SET_SYSTEM_EVENT service to get the notification. For example.
In one case we use this method to restart the NTP service, effectively ensuring that synchronisation is maintained.
cheers
Brian
Code: Select all
$SET_SYSTEM_EVENT (SYSEVT$C_TDF_CHANGE,
ast_system_event,
,
,
SYSEVT$M_REPEAT_NOTIFY,
tdf_handle
);
$HIBER;
cheers
Brian
-
Topic author - Active Contributor
- Posts: 39
- Joined: Fri Jun 28, 2019 10:29 am
- Reputation: 0
- Location: Gary, Indiana
- Status: Offline
Re: Adjusting for Time Change - Use DAYLIGHT_SAVINGS.com or AUTO_DLIGHT_SAV
So by setting AUTO_DLIGHT_SAV and having NTP running on the node, the node correctly adjusts forward or backward an hour? That is all that is required?
There is no annual checking or setting of any other command procedures?
No reason to adjust the TDF?
There is no annual checking or setting of any other command procedures?
No reason to adjust the TDF?
-
- Active Contributor
- Posts: 26
- Joined: Fri Jun 14, 2019 4:17 pm
- Reputation: 0
- Status: Offline
Re: Adjusting for Time Change - Use DAYLIGHT_SAVINGS.com or AUTO_DLIGHT_SAV
Not sure NTP is actually essential for the time change to occur, we only force a resynchronisation to be on the safe side. We actually use the TCPIP$NTP_SYSTARTUP.COM file to use NTPDATE prior to starting the NTP service.
Other than the initial testing we haven't experienced any problems for at least a decade, unlike the VAX days when it used to cause all sorts of havoc.
Code: Select all
(CATC2)>ty SYS$SYSROOT:[SYS$STARTUP]TCPIP$NTP_SYSTARTUP.COM
MC SYS$SYSTEM:TCPIP$NTPDATE.EXE NTPSERVER