Create the directories that the server instance needs for database and recovery logs, and create the user ID that will own the server instance.
Create a user ID and group that will be the owner of the Tivoli® Storage Manager server instance.
For example, create user ID tsminst1 in group tsmsrvrs. The following examples show how to create this user ID and group by using operating system commands:
# mkgroup id=1001 tsmsrvrs
# mkuser id=1002 pgrp=tsmsrvrs home=/home/tsminst1 tsminst1
# passwd tsminst1
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
# groupadd tsmsrvrs
# useradd -d /export/home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
You can create a user account, or use an existing account.
net user user_ID * /add
You
are prompted to create and verify a password for the new user ID.net localgroup Administrators user_ID /add
net localgroup DB2ADMNS user_ID /add
You need a unique, empty directory for each item in the following table. Create the database directories, the active log directory, and the archive log directory on different physical volumes. For space requirements, see Worksheet for planning space for the V7.1 server.
Item | Example commands for creating the directories | Your directories |
---|---|---|
The instance directory for the server, which will contain files for this server instance, including the server options file | mkdir /home/user_ID/tsminst1 | |
The database directories | mkdir /home/user_ID/tsmdb001 |
|
Active log directory | mkdir /home/user_ID/tsmlog | |
Archive log directory | mkdir /home/user_ID/tsmarchlog | |
Optional: Directory for the log mirror for the active log | mkdir /home/user_ID/tsmlogmirror | |
Optional: Secondary archive log directory, which is the failover location for the archive log | mkdir /home/user_ID/tsmarchlogfailover |
Item | Example commands for creating the directories | Your directories |
---|---|---|
The instance directory for the server, which will contain files for this server instance, including the server options file | mkdir d:\tsm\server1 | |
The database directories | mkdir d:\tsm\db001 |
|
Active log directory | mkdir h:\tsm\log | |
Archive log directory | mkdir i:\tsm\archlog | |
Optional: Directory for the log mirror for the active log | mkdir j:\tsm\logmirror | |
Optional: Secondary archive log directory, which is the failover location for the archive log | mkdir k:\tsm\archlogfailover |
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.