Use the DSMSERV LOADDB command to reload a dumped ADSM database to a newly installed ADSM server. The database must have been dumped by DSMSERV DUMPDB command. You must reinstall ADSM using the DSMSERV FORMAT command prior to issuing the DSMSERV LOADDB command. No other server activity is allowed during DSMSERV LOADDB command processing.
When recovering from a failure, it is recommended that you reinstall your server using a new database and log so that the original database and log volumes remain intact in case the dump and load process needs to be repeated.
A message at the end of the output from the DSMSERV LOADDB indicates whether a DSMSERV AUDITDB command is required. If the server was quiesced when it was halted before the DSMSERV DUMPDB command was issued, the DSMSERV AUDITDB command is not required. Otherwise, you must issue the DSMSERV AUDITDB command to ensure that the database is returned to a synchronized state after it is reloaded.
The DSMSERV LOADDB command requires a device configuration file. If you specify the DEVCONFIG option in the server options file, ADSM creates and then maintains a device configuration file when you start the server. The device configuration file contains a copy of the device class, library, and drive definitions that exist in your database.
Attention: The DSMSERV LOADDB command supports the use of manual libraries only (LIBTYPE=MANUAL in the DEFINE LIBRARY command).
Because the DSMSERV LOADDB command requires a device configuration file, you must specify a device configuration file with the DEVCONFIG option in the server options file. The file specified with the DEVCONFIG option must be available and must contain at least the device class specified for use with this command, along with any necessary library and drive definitions.
Attention: Before issuing the DSMSERV LOADDB command, you must reinstall the server database by issuing the DSMSERV FORMAT command.
Syntax
>>-DSMSERV LOADDB--DEVclass--=--devclassname-------------------->
.-,--------.
V |
>-----VOLumenames--=--+---volname---+--+-----------------------><
'-FILE:filename--'
Parameters
You must have a device configuration file that includes the definition for this device class, and any libraries and drives needed. You must also specify the name of that device configuration file by using the DEVCONFIG option in your server options file. The device configuration file should be available if you had previously included a DEVCONFIG option in the server options file and then started the server. If the device configuration file has been lost or was never created, do one of the following:
Possible values are:
For example, if you want to use the volumes TAPE01, TAPE02, and TAPE03, specify the following:
VOLUMENAMES=TAPE01,TAPE02,TAPE03
For example, if you want to use the volumes TAPE01, TAPE02, and TAPE03, create a file named VOLLIST that contains these lines:
TAPE01 TAPE02 TAPE03
You can then specify the volumes for the load command as follows:
VOLUMENAMES=FILE:VOLLIST
Usage Notes
Examples
Task
Load the ADSM database from the previously dumped DB0001 tape.
For this example the following steps are required: