![]() |
![]() |
This scenario demonstrates how to use the policies defined with RMM Vital Record Specification (VRS) for moving volumes offsite and onsite for disaster protection, and how to use policies defined with TSM and DRM to expire or empty the volumes at the vault. If you use a tape management product to move your volumes to the offsite location today and you want to update TSM database to reflect the movement of the TSM volumes, you may consider following this scenario:
SEARCHVOLUME VOLUME(*) LIMIT(*) DESTINATION(IRONVAULT) LOCATION(ATL1) INTRANSIT(NO) OWNER(TIVSM) CLIST('RMM CHANGEVOLUME ',' LOCATION(IRONVAULT)')
The SEARCHVOLUME command builds CHANGEVOLUME commands for each volume belonging to TSM and its tape data set name matches the data set name specified in VRS, and saves the commands in a CLIST data set, prefix.EXEC.RMM.CLIST:
RMM CHANGEVOLUME DBTP01 LOCATION(IRONVAULT) RMM CHANGEVOLUME DBTP02 LOCATION(IRONVAULT) RMM CHANGEVOLUME CSTP01 LOCATION(IRONVAULT) RMM CHANGEVOLUME CSTP02 LOCATION(IRONVAULT)
EXEC 'prefix.EXEC.RMM.CLIST'
SEARCHVOLUME VOLUME(*) LIMIT(*) DESTINATION(IRONVAULT) LOCATION(ATL1) INTRANSIT(Y) OWNER(TIVSM) CLIST('MOVE DRMEDIA ',' TOSTATE=COURIER')
The SEARCHVOLUME command generates the following MOVE DRMEDIA commands and saves them as a macro in a CLIST data set, prefix.EXEC.RMM.CLIST:
move drmedia dbtp01 tostate=courier move drmedia dbtp02 tostate=courier move drmedia cstp01 tostate=courier move drmedia cstp02 tostate=courier
DSMADMC -id=xxxx -pa=yyyy MACRO 'prefix.EXEC.RMM.CLIST'
After the macro command is run, the volumes are marked offsite and unavailable for processing in database.
prepareCopy the recovery plan file to a diskette to be given to the courier.
move drmedia * wherestate=vaultretrieve tostate=onsiteretrieve
TSM volume records for the empty and expired volumes at the vault are deleted. The volumes become 'PENDING SCRATCH' in the RMM database because the deletion exit, ARCTVEXT, is invoked during volume deletion.
SEARCHVOLUME VOLUME(*) LIMIT(*) DESTINATION(IRONVAULT) LOCATION(ATL1) INTRANSIT(Y) OWNER(TIVSM) CLIST('MOVE DRMEDIA ',' TOSTATE=VAULT')
The CLIST data set, prefix.EXEC.RMM.CLIST, contains the following MOVE DRMEDIA commands for each volume:
move drmedia dbtp01 tostate=vault move drmedia dbtp02 tostate=vault move drmedia cstp01 tostate=vault move drmedia cstp02 tostate=vault
DSMADMC -id=xxxx -pa=yyyy macro 'prefix.EXEC.RMM.CLIST'After the macro command is run, the TSM database is updated to reflect the new ORM state and location for each volume.
SEARCHVOLUME VOLUME(*) LIMIT(*) DESTINATION(IRONVAULT) LOCATION(ATL1) INTRANSIT(Y) OWNER(TIVSM) CLIST('RMM CHANGEVOLUME ',' CONFIRMMOVE')The CLIST data set, prefix.EXEC.RMM.CLIST, contains the following CHANGEVOLUME CONFIRMMOVE commands for each TSM volume and the administrator runs the CLIST to confirm the movement:
RMM CHANGEVOLUME DBTP01 CONFIRMMOVE RMM CHANGEVOLUME DBTP02 CONFIRMMOVE RMM CHANGEVOLUME CSTP01 CONFIRMMOVE RMM CHANGEVOLUME CSTP02 CONFIRMMOVE