hi all,
we just moved TSM 6.3 from AIX to Linux environment. Now we have to do some cleaning to our new environment. we don't want to run each command over and over to do things so we are wondering if there are scripts guru out there who can help to accomplish the ff:
1. we want to delete all the volumes that was created in AIX as it is offline status now in Linux and it is empty as we migrate all the disk data to tape before migration to Linux. we will redefine the volume location and sizes as well. so in tsm command line we will do it as: "delete volume volumename discard=yes". we want to put it into script because we have a ton a volumes and we want to avoid issuing the command x number of times just to delete everything. i have an idea on how to do it but i dont know how to put it together as i'm not into scripting:
it will be like;
dsmadmc -id=admin -password=password for i= 1 to 50 delete volume /diskforwin/stg(i) discard=yes wait=no end for
2. update the path of all the drives from /dev/rmtx to /dev/stx
3. define all new volumes
any help will be appreciated
thanks in advance
we just moved TSM 6.3 from AIX to Linux environment. Now we have to do some cleaning to our new environment. we don't want to run each command over and over to do things so we are wondering if there are scripts guru out there who can help to accomplish the ff:
1. we want to delete all the volumes that was created in AIX as it is offline status now in Linux and it is empty as we migrate all the disk data to tape before migration to Linux. we will redefine the volume location and sizes as well. so in tsm command line we will do it as: "delete volume volumename discard=yes". we want to put it into script because we have a ton a volumes and we want to avoid issuing the command x number of times just to delete everything. i have an idea on how to do it but i dont know how to put it together as i'm not into scripting:
it will be like;
dsmadmc -id=admin -password=password for i= 1 to 50 delete volume /diskforwin/stg(i) discard=yes wait=no end for
2. update the path of all the drives from /dev/rmtx to /dev/stx
3. define all new volumes
any help will be appreciated
thanks in advance