[Info-vax] How to read system time from cluster node
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Fri Mar 27 09:58:04 EDT 2009
In article <gqii1f$2dg2$1 at gwdu112.gwdg.de>, Joseph Huber <joseph.huber at NOSPAM.web.de> writes:
>jbriggs444 at gmail.com wrote:
>
>> On Mar 27, 6:45 am, Rogal <michal.rog... at gmail.com> wrote:
>>> On 26 Mar, 22:01, Michael Austin <maus... at firstdbasource.com> wrote:
>>>
>>> > Rogal wrote:
>>> > > Hello!
>>>
>>> > > I've been using VMS for just a few weeks, so this question may be
>>> > > lame :). I need to write DCL script which compares system time drift
>>> > > between two nodes in a cluster (VMS 7.3). Is there any method to
>>> > > fetch system time from another node? I hoped that F$GETSYI would have
>>> > > such capability but no...
>>>
>>> > > thanks in advance
>>>
>>> > > MR
>>>
>>> > Is there some reason you are not using NTP to keep systems in sync?
>>>
>>> NTP is used there but I need additional control over this - in case
>>> of failure of some kind. As this machine is a GSM SMS Centre where
>>> timestamps are critical, I need an alert to be raised when clock skew
>>> is more than 15-20 seconds.
>>
>> I would probably use DECnet task to task communications for this.
>>
>
>Since OP says he needs the time from within a cluster,
>"sysman config show time" will have -as said earlier- a faster response than
>a loop of network scripts for each member, and it needs no
>programming/installation:
>
>$ PIPE WRITE SYS$OUTPUT "config show time" | SYSMAN SET ENV/CLuster
>>checktime.tmp
$ PIPE WRITE SYS$OUTPUT "config show time" | MCR SYSMAN SET ENV/CLuster >checktime.tmp
---------------------------------------------^^^
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
http://www.quirkfactory.com/popart/asskey/eqn2.png
"Well my son, life is like a beanstalk, isn't it?"
More information about the Info-vax
mailing list