Administrator's Reference

DSMSERV LOADDB (Reload the Database)

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

DEVclass=devclassname

Specifies the device class from which the database information is to be read. This parameter is required.

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:

VOLumenames=volname

Specifies one or more volumes from which to load the database. This parameter is required. You must specify the same list of volumes in the same order as that used for the DSMSERV DUMPDB command.

Possible values are:

volname

Specifies the names of one or more volumes from which to load the database. You can specify more than one volume by separating each volume name with a comma, with no intervening spaces. You must list the volumes in the order in which you want the volumes to be loaded (that is, the same order as that used for the DSMSERV DUMPDB command).

For example, if you want to use the volumes TAPE01, TAPE02, and TAPE03, specify the following:

VOLUMENAMES=TAPE01,TAPE02,TAPE03

FILE:filename

Specifies the name of a file that contains a list of the volumes from which to load the database. The file name can be any valid file name. In the file, each volume name must be on a separate line. You must list the volumes in the order in which you want the volumes to be loaded (that is, the same order as that used for the DSMSERV DUMPDB command).

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:

  1. Ensure that the DEVCONFIG option has been specified in the server options file. The device configuration file specified with this option must exist and must contain the device class, library, and drive definitions needed for the load operation.

  2. Issue the DSMSERV LOADDB command.

Command:
dsmserv loaddb devclass=8mmclass volnames=DB0001


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