Administrator's Guide


Automated SCSI Library at the Original Site and a Manual SCSI Library at the Recovery Site

Assume that the hardware at the recovery site could not be anticipated when the database was backed up and when the disaster recovery plan file was created. You must make some modifications for the new hardware environment. Before you restore the database, update the device configuration file. After restoring the database, update the device configuration within the database.

Updating the Device Configuration File

The disaster recovery plan file includes the device configuration file. You must edit the device configuration file for the new hardware configuration to be used in the database restore processing that the DSMSERV RESTORE DB command starts.

Ensure that the DEFINE DRIVE and DEFINE LIBRARY commands in the device configuration file are valid for the hardware configuration at the recovery site. If the device names are not valid, change the commands in the device configuration file.

If an automated tape library was used originally and cannot be used at the recovery site, you must update the device configuration file. Include the DEFINE LIBRARY and DEFINE DRIVE commands that are needed to define the manual drive to be used at the recovery site. In this case, you must manually mount the volumes during server processing.

Note:If you are using an automated library, you may also need to update the device configuration file to specify the location of the database backup volume.
The following is an example of the original device configuration file, which describes an automated tape library.
/*  Device Configuration */
define devclass auto8mm_class devtype=8mm format=drive
  mountlimit=2 mountwait=60 mountretention=60
  prefix=tsm library=auto8mmlib
 
define library auto8mmlib libtype=scsi device=/dev/lb4
 
define drive auto8mmlib 8mm_tape0 device=/dev/mt1
  element=82 online=yes
 
define drive auto8mmlib 8mm_tape1 device=/dev/mt2
  element=83 online=yes
 
/* LIBRARYINVENTORY SCSI AUTO8MMLIB KEV004 1 101*/
/* LIBRARYINVENTORY SCSI AUTO8MMLIB KEV005 3 101*/ 

The following shows the modifications to the original device configuration file when a drive in a manual library is used at the recovery site:

/* Device Configuration */
define devclass auto8mm_class devtype=8mm format=drive
  mountlimit=1 mountwait=60 mountretention=60 prefix=tsm
  library=manual8mm   
 
define library manual8mm libtype=manual
 
define drive manual8mm 8mm_tape0 device=/dev/mt1

In this example, you do the following:

However, the name of the device class, AUTO8MM_CLASS remains the same. The reason is that in the volume history file, the device class name is associated with the database backup volumes.

Updating the Device Configuration in the Restored Database

After restoring the database by using the modified device configuration file, you must modify the device configuration in the restored database because it describes the original device configuration. After starting the server, use the following commands to modify the device configuration:

Note:If you are using an automated library, you may need to use the AUDIT LIBRARY command to update the server inventory of the library volumes.


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