Use the DSMSERV FORMAT utility to initialize the server database and recovery log. No other server activity is allowed while initializing the database and recovery log.
The directories that are specified in this utility should be on fast, reliable storage. Do not place the directories on file systems that might run out of space. If certain directories (for example, the active log directory) become unavailable or full, the server stops.
Important: The installation program creates
a set of registry keys. One of these keys points to the directory
where a default server, named SERVER1, is created. To install an additional
server, create a directory and use the DSMSERV FORMAT utility,
with the -k parameter, from that directory. That
directory becomes the location of the server. The registry tracks
the installed servers.When a server is initially created by using the DSMSERV FORMAT utility or the configuration wizard, a server database and recovery log are created. In addition, files are created to hold database information that is used by the database manager.
>>-DSMSERV -+----------------------+----------------------------> | (1) | '------- -u--user_name-' (2).- -k--Server1--. >--+-------------------------+------+---------------+-----------> | (1) | '- -k--key_name-' '------- -i--instance_dir-' >--+-------------------+--+------------+--+---------+--FORMAT---> '- -o--options_file-' '- -noexpire-' '- -quiet-' .-,---------. V | >--+-DBDir--=----directory-+-+----------------------------------> '-DBFile--=--file---------' .-ACTIVELOGSize--=--16384-----. >--+-----------------------------+------------------------------> '-ACTIVELOGSize--=--megabytes-' >--ACTIVELOGDirectory--=--directory-----------------------------> >--ARCHLogdirectory--=--directory-------------------------------> >--+----------------------------------------+-------------------> '-ARCHFailoverlogdirectory--=--directory-' >--+----------------------------------+------------------------>< '-MIRRorlogdirectory--=--directory-'
-u user_name
-i instance_dir
-k key_name
dsmserv format dbdir=/tsmdb001 activelogsize=8192
activelogdirectory=/activelog archlogdirectory=/archlog
archfailoverlogdirectory=/archfaillog mirrorlogdirectory=/mirrorlog
dsmserv -k server2 format dbdir=d:\tsm\db001 activelogsize=8192
activelogdirectory=e:\tsm\activelog archlogdirectory=f:\tsm\archlog
archfailoverlogdirectory=g:\tsm\archfaillog mirrorlogdirectory=h:\tsm\mirrorlog