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.
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. |
/* 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/rmt/4lb define drive auto8mmlib 8mm_tape0 device=/dev/rmt/1mt element=82 online=yes define drive auto8mmlib 8mm_tape1 device=/dev/rmt/1mt 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/rmt/1mt
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.
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. |