Fw: Query Media & creating a file with executable commands
2006-02-08 12:17:05
Hello All!
I am in the process of creating a script that will allow me to query all of
our offsite NAS backup tapes and create a file that I can execute to check
the volumes into our DR NAS library as private so that they may be used. I
have created the following command script:
Server Command Scripts : NASCHECKIN_VOLS
Name NASCHECKIN_VOLS
Description Checkin volume script to be run at
DR
Last Update Date/Time 2006-02-08 10:56:28.000000
Last Update by (administrator) LIDZR8V
Managing profile -
Lines:
query media stg=tape_ndmp_offsite -
wherestate=mountablenotinlib wherestatus=ful,fil -
cmd="checkin libvol drnaslib &vol status=private -
checkl=n" cmdf=/t01/dr/nascheckin.vols append=no
I then tried to run the script from the GUI command line and I did not
actually create the file I had wanted to. By the way, the TSM server is
5.2.4.5 on an AIX OS 5.2 server. At this point I am confused as to how to
get this process to work. Daily I would like to recreate this file every
day so that I can use this at any disaster of our environment. (This file
would get copied to DVD daily for our OS copy)
What do I have to do to get this to work?
1. Schedule an admin job to run the script?
2. Schedule a cron job that will run this command?
And once I can get this command to actually create the file how do I then
execute it?
1. Can I execute it from an admin command line on the AIX TSM server by
just typing: macro nascheckin.vols
2. Can I cd to the directory where the file is located on the AIX server
and run it as an executable? cd /t01/dr and then ./nascheckin.vols
Or am I completely off base here? Any help would be appreciated! Thanks!
********************************
Joni Moyer
Highmark
Storage Systems, Systems Programmer
NEW NUMBER: (717)302-9966
NEW FAX: (717) 302-9826
joni.moyer AT highmark DOT com
********************************
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- Fw: Query Media & creating a file with executable commands,
Joni Moyer <=
|
|
|