* Re: CLI> set this_controller time (???) WHY??
1998-07-06 4:00 CLI> set this_controller time (???) WHY?? atadashi
@ 1998-07-06 4:00 ` fairfield
0 siblings, 0 replies; 2+ messages in thread
From: fairfield @ 1998-07-06 4:00 UTC (permalink / raw)
In article <6nqsse$t5t$1@nnrp1.dejanews.com>, atadashi@my-dejanews.com writes:
> The HSJ50 Storage Works Device controllers have the ability to store the
> current time in the conventional format, dd-mmm-yyyy hh:mm:ss. Why?
The HSJ50 (and other HSJ's?) store a log of errors encountered.
You can review this log of errors (and clear them, etc.). In
addition, the controller keeps a log of when it was last shutdown,
booted, etc. For all of these, the date-time is an "interesting"
piece of information that most users of that information would like
to have. However, AFAIK, the date-time is in no way used for
controller operations.
> I have
> been pouring through the manuals trying to find out if it is possible to set
> the contollers time to match the system time at start up. Why?
The controllers are independent systems. They have no direct
knowledge of "the system time", as you call it, on any given VMS
host.
> At this
> point in time, I cannot see any link between the controllers and the OS with
> regard to "sharing" any time references.
They don't. Well, at least mostly they don't. Somebody else
will need to confirm/correct this, but I believe that there are
date-time messages of some sort present on the CI, perhaps by
request only. If my (weak) memory serves, a controller booted into
a CI with already active VMS hosts will retrieve the host's time (or
_some_ host's time). Typically, however, one boots all the HSC's
and HSJ's _before_ booting VMS hosts (e.g., after a power outage or
similar). In this case, at least for HSC's, the date-time reverts
to some default (I don't think it's the VMS base-date of
17-Nov-1858, but I also don't remember the last time I checked...)
> In fact, when I first started
> looking into the CLI commands for the controllers, I was surprised to find a
> particular set of controllers showing the current date as, dd-Oct-1995. It
> didn't seem to affect the file operations taking place on the system.
This "time discrepancy" has been present for a long time (since
the first HSC's?), so it shouldn't be surprising that it doesn't
affect file operations "taking place on the system" (and you really
need to specify _which_ system you're talking about here), otherwise
the problem would have been identified and corrected a long time
ago.
> This is a Y2k issue, since, according to Yourdan & Yourdan, any device that
> can have the date set is a potential Y2k problem.
The key word here is "potential". I think this case (CI storage
controllers) falls in the same category as the digital clock on your
microwave oven: it may display only two digits (not the case for
HSJ's), or the time may be wrong, but it doesn't affect the
microwave's operation in any way. Of course, to be absolutely
certain, you'd need to talk to a CI storage engineer...
> Does anyone know if OpenVMS AXP (v7.1) or OpenVMS VAX (v6.2) is capable of
> referencing/setting the time on the HSJx0 controllers from the system startup
> files? I cannot use VCS (Polycenter software) since someone decided to let
> the license lapse (or we just never purchased it to begin with). The DECK
> DCL command doesn't work for the SET HOST/DUP and even if it did, I don't
> suspect the CLI on the controller would understand, F$Cvtime(,"absolute").
Make sure that FYDRIVER has been loaded, e.g., in SYCONFIG.COM:
Alpha:
$ sysmanio = "$SYSMAN IO
$ SYSMANIO CONNECT FYA0/NOADAPTER -
/DRIVER=SYS$LOADABLE_IMAGES:SYS$FYDRIVER.EXE
VAX:
$ sysgen= "$SYSGEN"
$ SYSGEN CONNECT FYA0/NOADAPTER
Then use the following command to connect to the HSJ50 named "HSJ001":
$ SET HOST/DUP/SERVER=MSCP$DUP/TASK=CLI HSJ001
This certainly works for me. :-)
> Finally, does anyone know why this time element exist when it seems to have
> little if no impact on the mission of the controller: data transfer and
> storage??
See above. I thinks it's a convenience and error analysis aid.
-Ken
--
Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu
SLAC, P.O.Box 4349, MS 46 | DECnet: 45537::FAIRFIELD (45537=SLACVX)
Stanford, CA 94309 | Voice: 650-926-2924 FAX: 650-926-3515
-------------------------------------------------------------------------
These opinions are mine, not SLAC's, Stanford's, nor the DOE's...
^ permalink raw reply [flat|nested] 2+ messages in thread