| Sorry, Dan, I got so carried away with explaining the circumstances I forgot the
little detail of the actual problem statement !
The customer has procedures that automatically copy the files elsewhere for
security reasons and these procedures break if the file name has this odd date
in it.
I accept the reasoning behind why an arbitrary date had to be chosen but why
couldn't it just be the date of the first event that was logged ? I'm not trying
to be awkward I just want to understand. If I don't understand then I can't make
the customer understand. ;-)
Thanks.
Simon.
|
| Simon,
I really don't know the philosophy behind the decision as I didn't
design it. At this point that is the way it works and it will more than
likely change in the not too distant future. What I have proposed is to
use the best features of the PCM logging methodology with the best
features of VCS logging methodology. In a nutshell that is:
1. Maintain the 3 files per system, i.e., nodename.TIMES, .LOG and
.EVENTS
2. Every day at 0 hours military time, close the now previous days
logfiles and open a new set for the current day.
3. Modify the logfile names to include the date in the filename, i.e.,
the files would be named
nodename_yyyy_mmm_dd.LOG, .TIMES, .EVENTS
I feel this would make logfile management much easier. The archive
process is as simple as copying a file to off-line or even near-line
storage. This method would also allow archival while users/operators
are connected and doing their work: No more service disruption or
com files needed to do DIALOG UNLOCK commands before an archive can be
performed. There is one other major problem with the current method.
Since a system must be in a quiescent point before an archive can be
done this means that PCM *is not* reading data from the system that is
being archived. Let's say that logfiles are large and it will take
several minutes to archive them. During this time, the system being
archive could crash or develop some othjer problem and we wouldn't
know about it until the archive has completed!!! The biggest objection to
this is:
What do you do if the current days logfiles have filled the disk? Quite
frankly, with current disk technology, storage capcities and low
pricing this is no longer an issue. It has been *years* since I have ever
had a support call for that problem. In the pre-SCSI era of Digital
when all we had were RD54's it was a problem (unless your customer
could afford the disk controllers and the RA disks to go with them).
I also this a minor problem compared to some of the issues mentioned
previously.
I would suggest to you customer that they not use the file-name of the
archive file but rather it's creation date-time to make the decision to
move the files.
Regs,
Dan
|