Tivoli Header

Administrator's Guide


Using Removable Media Management to Control Volume Movement

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:

  1. Storage pool backup and database backup is performed nightly using TSM central scheduling.
  2. RMM Inventory Management (including Vital record processing, Expiration processing, and Storage location management processing) runs nightly after backups.
  3. RMM SEARCHVOLUME command runs after RMM Inventory Management processing:
    SEARCHVOLUME VOLUME(*) LIMIT(*) DESTINATION(IRONVAULT)
        LOCATION(ATL1) INTRANSIT(NO) OWNER(TIVSM)
        CLIST('RMM CHANGEVOLUME ',' LOCATION(IRONVAULT)')
    
    Note:
    ATL1 is a system-managed library. If you want to eject all volumes scheduled to move from the library to IRONVAULT, the specification of the OWNER is not necessary.

    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)
    
  4. Issue the following TSO command and all database backup and copy storage pool volumes created the previous night are ejected from the ATL1 library because the library is a system-managed library and marked in transit to IRONVAULT:
    EXEC 'prefix.EXEC.RMM.CLIST'
    
  5. After the volumes are ejected from the library and packaged for sending to IRONVAULT, run SEARCHVOLUME command to generate MOVE DRMEDIA commands for each TSM volume in the transition to IRONVAULT:
         SEARCHVOLUME VOLUME(*) LIMIT(*) DESTINATION(IRONVAULT)
                      LOCATION(ATL1) INTRANSIT(Y) OWNER(TIVSM)
                      CLIST('MOVE DRMEDIA ',' TOSTATE=COURIER')
    
    Note:
    OWNER is used here to restrict to only TSM volumes. The MOVE DRMEDIA command is used to mark the volumes unavailable for onsite processing in the database.

    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
    
  6. Run the macro with the CLIST data set, prefix.EXEC.RMM.CLIST, as the macro name to issue the MOVE DRMEDIA commands:
              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.

  7. Create a recovery plan file with the latest volume information by issuing the following command:
    prepare
    
    Copy the recovery plan file to a diskette to be given to the courier.
  8. Make any empty or expired TSM volumes scratch volumes for moving back onsite:
    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.

  9. Give to the courier the database backup and copy storage pool tapes, the recovery plan file diskette, and the RMM Movement Report that list the volumes to be returned from the vault.
  10. The courier gives the tapes that were on the previous day's return from the vault list to the administrator. 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 the scratch status for reuse.
  11. The courier takes the day's backup volumes, the recovery plan diskette, and the volumes to return from the vault list. Verify that the backup volumes arrived and are secure, and run the SEARCHVOLUME command to generate MOVE DRMEDIA command for each TSM volume received at IRONVAULT:

    SEARCHVOLUME VOLUME(*) LIMIT(*) DESTINATION(IRONVAULT)
        LOCATION(ATL1) INTRANSIT(Y) OWNER(TIVSM)
        CLIST('MOVE DRMEDIA ',' TOSTATE=VAULT')
    
    Note:
    OWNER is used here to restrict to only TSM volumes. The MOVE DRMEDIA command is used to update the volume location and state in the TSM database.

    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
    
  12. Run the TSM macro command with the CLIST data set, prefix.EXEC.RMM.CLIST, as the macro name to execute the MOVE DRMEDIA commands:
    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.
  13. Run the SEARCHVOLUME command to generate the CHANGEVOLUME CONFIRMMOVE command for each TSM volume received at IRONVAULT:
    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
    
    Note:
    If you want to confirm all volumes, including TSM volumes, moved from ATL1 to IRONVAULT, the 'RMM CHANGEVOLUME * CONFIRMMOVE(ATL1, IRONVAULT)' command can be issued without running SEARCHVOLUME command to generate CONFIRMMOVE command for each volume.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]