This scenario shows how to use TSM and DRM policies to move volumes offsite for disaster recovery protection and back onsite for reuse. It also shows how to update the tape management product database (for example, RMM) with the current volume locations.
move drmedia * wherestate=mountable cmd="rmm changevolume &vol location( ironvault) manualmove"
The content of the resulting file is:
RMM CHANGEVOLUME DBTP01 LOCATION(IRONVAULT) MANUALMOVE RMM CHANGEVOLUME DBTP02 LOCATION(IRONVAULT) MANUALMOVE RMM CHANGEVOLUME CSTP01 LOCATION(IRONVAULT) MANUALMOVE RMM CHANGEVOLUME CSTP02 LOCATION(IRONVAULT) MANUALMOVE
EXEC 'TSM.DRM.EXEC.CMDS'
prepareCopy the recovery plan file to a diskette to be given to the courier.
move drmedia * wherestate=vaultretrieve tostate=onsiteretrieveThe volumes become 'PENDING SCRATCH' in the RMM database because the deletion exit, ARCTVEXT, is invoked during volume deletion.
move drmedia * wherestate=notmountable
move drmedia * wherestate=courier cmd="rmm changevolume &vol confirmmove"The MOVE DRMEDIA command sets the location of the volumes, generates the RMM CHANGEVOLUME CONFIRMMOVE commands for each volume successfully processed, and saves the generated commands in a file, TSM.DRM.EXEC.CMDS:
RMM CHANGEVOLUME DBTP01 CONFIRMMOVE RMM CHANGEVOLUME DBTP02 CONFIRMMOVE RMM CHANGEVOLUME CSTP01 CONFIRMMOVE RMM CHANGEVOLUME CSTP02 CONFIRMMOVE
EXEC 'TSM.DRM.EXEC.CMDS'After the command is issued, the RMM database is confirmed with the location, IRONVAULT, for each volume in the file.
Note: | If you want the RMM CHANGEVOLUME commands to be written to a file other than the default one, TSM.DRM.EXEC.CMDS, specify the file name on the MOVE DRMEDIA command with CMDFILENAME parameter. |