Windows: Formatting the database and log
Use the DSMSERV FORMAT utility to initialize a server instance. No other server activity is allowed while you initialize the database and recovery log.
After you set up server communications, you are ready to initialize the database. Ensure that you log in by using the instance user ID. Do not place the directories on file systems that might run out of space. If certain directories (for example, the archive log) become unavailable or full, the server stops.
For optimal performance and to facilitate I/O, specify at least two equally sized containers or Logical Unit Numbers (LUNs) for the database. See IBM Tivoli Storage Manager Optimizing Performance (V7.1.1) for more information about the configuration of directories for the database. In addition, each active log and archive log should have its own container or LUN.
Setting the exit list handler
db2set -i server_instance_name DB2NOEXITLIST=ON
For
example:db2set -i server1 DB2NOEXITLIST=ON
Initializing a server instance
cd \tsminst1
dsmserv -k server2 format dbdir=d:\tsm\db001 activelogsize=32768
activelogdirectory=e:\tsm\activelog archlogdirectory=f:\tsm\archlog
archfailoverlogdirectory=g:\tsm\archfaillog mirrorlogdirectory=h:\tsm\mirrorlog