Create the user ID for the Tivoli® Storage
Manager server instance
and create the directories that the Tivoli Storage
Manager server instance
needs for database and recovery logs.
Procedure
- Create the user ID that will own the server instance. You use this user ID when you create the server instance in
a later step.
- Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance.
- The following commands can be run from an administrative user
ID that will set up the user and group. Create the user ID and group
in the home directory of the user.
Restriction: In the
user ID, only lowercase letters (a-z), numerals (0-9), and the underscore
character ( _ ) can be used. The user ID and group name must comply
with the following rules:
- The length must be 8 characters or less.
- The user ID and group name cannot start with ibm, sql, sys,
or a numeral.
- The user ID and group name cannot be user, admin, guest, public, local,
or any SQL reserved word.
For example, create user ID tsminst1 in
group tsmsrvrs. The following examples show
how to create this user ID and group using operating system commands.
groupadd tsmsrvrs
useradd -d /export/home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
passwd tsminst1
Restriction: DB2® does not support direct operating system
user authentication through LDAP.
- Log off, then log in to your system. Change to the user account
that you just created. Use an interactive login program, such as telnet,
so that you are prompted for the password and can change it if necessary.
- Create directories that the server requires.
Create empty directories for each item in the
table and ensure that the directories are owned by the new user ID
you just created. Mount the associated storage to each directory for
the active log, archive log, and database directories.Item |
Example commands for creating the directories |
Your directories |
The instance directory for
the server, which is a directory that will contain files specifically
for this server instance (the server options file and other server-specific
files) |
mkdir /tsminst1
|
|
The database directories |
mkdir /tsmdb001
mkdir /tsmdb002
mkdir /tsmdb003
mkdir /tsmdb004
|
|
Active log directory |
mkdir /tsmlog |
|
Archive log directory |
mkdir /tsmarchlog |
|
Optional: Directory for the
log mirror for the active log |
mkdir /tsmlogmirror |
|
Optional: Secondary archive
log directory (failover location for archive log) |
mkdir /tsmarchlogfailover |
|
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.
- Log off the new user ID.