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.
- Schedule automatic nightly backups to occur in the following order:
- Primary Storage Pools
- Database
- RMM Inventory Management (including Vital record processing, Expiration
processing, and Storage location management processing) runs nightly after
backups.
- Issue the MOVE DRMEDIA command daily to do the following:
- Mark the database backup and copy storage pool volumes created the
previous night as unavailable for processing.
- Generate the RMM CHANGEVOLUME commands for each volume successfully
processed by the MOVE DRMEDIA command.
- Put the RMM commands in a file specified in the MOVE DRMEDIA or the SET
DRMCMDFILENAME command.
For example:
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
- Issue the following TSO command to run the RMM commands. The
volumes are ejected from the ATL1 library because the library is a
system-managed library and marked in transit to IRONVAULT:
EXEC 'TSM.DRM.EXEC.CMDS'
- Create a recovery plan file with the latest volume information:
prepare
Copy the recovery plan file to a diskette to be given to the
courier.
- Delete any expired volumes from database and return them to scratch for
reuse:
move drmedia * wherestate=vaultretrieve tostate=onsiteretrieve
The volumes become 'PENDING SCRATCH' in the RMM database because
the deletion exit, ARCTVEXT, is invoked during volume deletion.
- Give the courier the database backup and copy storage pool tapes, the
recovery plan file diskette, and the RMM Movement Report that lists the
volumes to be returned from the vault. Record the volumes given to the
courier by issuing the following command:
move drmedia * wherestate=notmountable
- The courier gives you the tapes that were on the previous day's return
from the vault list. When the volumes are physically entered into ATL1,
the movement is automatically confirmed by RMM because the ATL1 is a
system-managed library. The volumes are returned to scratch
status.
- After verifying that the day's backup volumes arrived at the vault,
issue the following command:
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
- Issue the following TSO command:
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.