Use this command to format the server database and recovery log for a subsequent DSMSERV LOADDB or DSMSERV RESTORE DB.
When you use this utility, any data that exists in the files you specify will be lost.
The DSMSERV LOADDB utility requires a prior DSMSERV LOADFORMAT to be run. After the DSMSERV LOADFORMAT has been run, a DSMSERV LOADDB or DSMSERV RESTORE DB will be required before the server will start.
Syntax
.- -k--Server1---. >>-dsmserv----+----------------+--format--number_of_log_files---> '- -k--key_name--' .---------------------------. V | >-----+----log_file_name--log_size---+-+--number_of_db_files----> '-file:log_file_name-------------' .--------------------. V | >-----+----db_name--db_size---+-+------------------------------>< '-file:db_file_name-------'
Parameters
The number of names must match the number specified by the number_of_log_files parameter. The minimum size for the log is 9MB.
It is recommended that you specify a fully-qualified name enclosed in single quotes so that you will not be affected by data set name qualification rules that depend on your operating environment.
The number of names must match the number specified by the number_of_log_files parameter. You must list the volumes in the order in which they are to be used. The minimum size for the log is 9MB.
The number of names must match the number specified by the number_of_db_files parameter. The minimum size for the database is 5MB.
The number of names must match the number specified by the number_of_db_files parameter. You must list the volumes in the order they are to be used. The minimum size for the database is 5MB.
Examples
Task:
To prepare to recover the first server on a Windows NT system, change to the directory that contains the server executable and issue the DSMSERV LOADFORMAT command. For example, from a Windows NT prompt, enter the following commands:
Because the -k parameter is not specified, TSM creates an NT registry key named Server1.
Use the following example to prepare to recover an additional server on a Windows NT machine. The server is installed in the c:\"program files"\tivoli\tsm\server directory and TCP/IP is the communications method used.
Note: | If you have installed TSM in a different location, substitute that location for the one listed in the example below. |
md server2 cd server2
..\utils\dsmloadformat -data data1.dsm 4 ..\server\dsmserv -k server2 loadformat 1 log1.dsm 9 1 db1.dsm 13 ..\server\dsmserv -k server2 runfile ..\server\initnode.dat ..\server\dsmserv -k server2 runfile ..\server\dsmserv.idl ..\utils\adsm