Recovering System Data and Commvault Libraries from a DR Backup Using Commvault VTL

After you install the basic operating system, recover the system data, IBM libraries, and Commvault libraries from the Commvault VTL.

Note

Use the following guidelines and notes for the startup script that is specified in SYSTEM VALUE "QSTRUPPGM:

  • The name is QGPL/<Program name>.

  • The initial DR restore will only restore the *IBM provided libraries, QSYS2+QUSRSYS+QGPL libraries. If the IBM i client’s start-up program is located in user libraries, then you must configure the library paths under Additional libraries option, in additional subclient properties of DR subclient. Otherwise, the destination IBM i client does not IPL properly during disaster recovery.

Caution

The IBM i LPAR will reboot when you run this procedure.

Before You Begin

  • Make sure that you still have the same tape mounted (used for OS installation process) on the virtual tape library that has the 1-Touch Disaster Recovery backup.

  • The IBM i File System Agent must be able to access the Commvault VTL.

Procedure

After you install the basic operating system, the AS/400 Main Menu dialog box appears.

  1. Clear the system messages.

    1. On the command line, type the following command, and then press Enter.

      CHGMSGQ MSGQ(QSYSOPR) DLVRY(*BREAK) SEV(60)
      
    2. On the command line, type the following command to bring the system to restricted state if it is not already in restricted state, and then press Enter.

      ENDSBS SBS(*ALL) OPTION(*IMMED)
      
    3. After the message appears that states the system is in a restricted state, press Enter.

  2. Restore the Commvault libraries. On the command line, type the following command, substituting TAPXX with the tape device name.

    RSTLIB SAVLIB(CVLIB CVLIBOBJ) DEV(TAPXX)
    
  3. Restore the system backup data. On the command line, type the following command, substituting TAPXX with the tape device name.

    CVLIB/VTLDRRST DEV(TAPXX) VOL(*MOUNTED) ALWOBJDIF(*ALL) DFRID(*DFT)
    

    Example

    Restore the system backup data from the tape drive that is named TAP01 and with DFRID set to identifier “IBMI365” .

    CVLIB/VTLDRRST DEV(TAP01) VOL(*MOUNTED) ALWOBJDIF(*ALL) DFRID(IBMI365)
    
  4. On the command line, type Yes, and then at the next dialog box prompt, press Enter.

  5. On the command line, type OK, and then for the next dialog boxes, press Enter.

    The restore process appears in the status bar.

  6. After the restore completes, the following dialog box appears. Type OK, and then for the next dialog boxes, press Enter.

    Type reply (if required), press Enter. 
     Restore is completed from Tape. You can proceed with Network configuration and start the TCP servers to restore the remaining data from 
     Commvault backup 
     Reply . . . OK
    
  7. Configure the TCP/IP configuration from the command line. For instructions, see the IBM documentation.

  8. Perform the initial program load (IPL). On the command line, type the following command:

    Note

    During the restore, the following message appears, "Load next tape volume on device TAPXX. (C G)". To continue the restore, load the next volume by resuming the Commvault job which was in suspended state, and then type G to continue the restore.

    PWRDWNSYS OPTION(*IMMED) RESTART(*YES)
    

Result

The following operation system, and system data are restored from the tape:

  • User profiles

  • Private Authorities

  • Configuration objects

  • Commvault libraries: CV*

  • *IBM libraries (system libraries)

  • System libraries with user data: QSYS2, QGPL, QUSRSYS

  • System files and Commvault files with logs

Note

Refer to the IBM i Information Center for details about the objects that are recovered.

This recover process is similar to other recovery processes that use native commands with Backup, Recovery and Media Services (BRMS). The disaster recover backup includes certain system values that are part of SAVSYS. When the software recovers the operating system, these system values are recovered. The software does not recover system values that cannot be changed such as values that relate to the date or time.

If security related system values were locked, then the software does not restore them. For information on how to lock and unlock security related system values, go to the IBM i Information Center.

×

Loading...