Hello everybody,
Well, I'm trying to write in C or CL a program that will monitor the different Tape Drives to know when and by who the drives are vary on and vary off.
Does anyone as an example or can give me some infos to start because I'm really lost...
Thanks in advance,
Pierre.
Software/Hardware used:
ASKED:
April 21, 2006 6:13 AM
UPDATED:
December 6, 2009 8:26 AM
Hi Pierre,
I had a similar situation where I have 8 partitions sharing 5 tape drives and it is difficult to know which partition has TAP01 varied on so that you can varied it off to give it to another partition.
I have decided to use the ISeries Navigator approach to monitor these:
For each partition, I’ve created a shortcut on my desktop from ISeries Nav.>My system>Config & Service>Hardware>Tape Devices>Stand Alone Devices. The batch file created will look like this:
“C:Program FilesIBMClientAccesscwbunnav.exe” “/s=Mysystem /o=UNY0systemAS40Configuration and ServiceCFG2HardwareHWF2Tape DevicesTapeDevices9Stand-Alone DevicesStandAloneTapeDevices0 /r=1″
I then created a main Batch file that just says “Start file1.bat” “Start fil2.bat”, etc…
It might not be the best solution, but at least it allows the operators to see the status of all drives on all system at the same time.
Hope that help.
A la prochaine
Hubert
You can get ZC (object change) entries in QAUDJRN for the vary off/on operations, but they won’t show the commands. The QHST log has CPC2606 for vary off, and CPC2605 for vary on. You can do command auditing to get CD entries in QAUDJRN. You might put exit programs on the QIBM_QCA_CHG_COMMAND or QIBM_QCA_RTV_COMMAND exit points to trap VRY* commands.
Tom