Re: Time Change on VMS + Multinet/XNTP

david20_at_alpha1.mdx.ac.uk
Date: 04/05/04


Date: Mon, 5 Apr 2004 10:34:58 +0000 (UTC)

In article <407048C9.B158DB9D@NeOaSrPtAhMlNiOnWk.net>, "David J. Dachtera" <djesys.nospam@NeOaSrPtAhMlNiOnWk.net> writes:
>This mostly for future Googlers...
>
>Versions:
>OpenVMS V7.3, V7.3-1
>Multinet V4.4 Rev A-X
>
>After some research, including an old post claiming to be the definitive
>reference on the topic, I came up with this sequence of events that
>worked very well for me on 4-Apr-2004. Use SYSMAN to propagate this
>across a cluster by placing these commands in a DCL proc. that can
>easily be invoked using SYSMAN's DO verb.
>
> 1. Stop the XNTP_SERVER process
>
> Do this using STOP/ID - it is _NOT_ necessary to disable
> XNTP in MULTINET CONFIGURE/SERVER
>
> 2. Remove the SYS$TIMEZONE_RULE logical name
>
> It's DEFINEd/SYSTEM/EXEC by an image invoked during
> SYS$STARTUP:UTC$TDF_STARTUP.COM. The proc. expects the logical
> name to not already be DEFINEd.
>
> $ DEASS/SYSTEM/EXEC SYS$TIMEZONE_RULE
>
> 3. Advance/retard the system clock by one hour
>
> $ IF F$TRNLNM( "SYS$TIMEZONE_DAYLIGHT_SAVING" )
> $ THEN
> $ TIME_DELTA := -01:00:00
> $ ELSE
> $ TIME_DELTA := +01:00:00
> $ ENDIF
> $ SET TIME=&TIME_DELTA
>
> 4. Invoke SYS$STARTUP:UTC$TDF_STARTUP.COM
>
> $ @SYS$STARTUP:UTC$TDF_STARTUP.COM
>
> Remember that #2 above is pre-requisite to this!
>
> 5. Restart XNTP
>
> $ @MULTINET:START_SERVER
>
> When doing this in a cluster, remember to submit this
> command to batch and it does not work reliably from SYSMAN.
>
>Then, verify that the system clock and the associated SYS$*TIME* logical
>names are all correct and remain so.
>
>It worked for me...
>

On VMS 7.3-1 doesn't Multinet work with the sysgen parameter
AUTO_DLIGHT_SAV ?

SYSGEN> HELP SYS_PAR AUTO_DLIGHT_SAV

Sys_Parameters

  AUTO_DLIGHT_SAV

       AUTO_DLIGHT_SAV is set to either 1 or 0. The default is 0.

       If AUTO_DLIGHT_SAV is set to 1, OpenVMS automatically makes the
       change to and from daylight saving time.

David Webb
VMS and Unix team leader
CCSS
Middlesex University

>--
>David J. Dachtera
>dba DJE Systems
>http://www.djesys.com/
>
>Unofficial Affordable OpenVMS Home Page:
>http://www.djesys.com/vms/soho/



Relevant Pages