Windows: Creating the user ID and directories for the server instance
Create the user ID for the IBM Spectrum Protect™ server instance and create the directories that the server instance needs for database and recovery logs.
Before you begin
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 that will be the owner of the IBM
Spectrum Protect server
instance. A user ID can own more than one IBM
Spectrum Protect server
instance. Identify the user account that will own the server
instance.
When the server is started as a Windows service, this account is the one that the service will log on to. The user account must have administrative authority on the system. One user account can own more than one server instance.
If you have multiple servers on one system and want to run each server with a different user account, create a new user account in this step.
Create the user ID.Restriction: The user ID must comply with the following rule:In the user ID, only lowercase letters (a-z), numerals (0-9), and the underscore character ( _ ) can be used. The user ID must be 30 characters or less, and 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.
- Use the following operating system command to create the
user
ID:
You are prompted to create and verify a password for the new user ID.net user user_ID * /add
- Issue the following operating system commands to add the
new user ID to the Administrators
groups:
net localgroup Administrators user_ID /add net localgroup DB2ADMNS user_ID /add
- Use the following operating system command to create the
user
ID:
- Create a user ID that will be the owner of the IBM
Spectrum Protect server
instance. A user ID can own more than one IBM
Spectrum Protect server
instance. Identify the user account that will own the server
instance.
- Create directories that the server requires. Create empty directories for each item in the table and ensure that the new user ID you just created has read/write permission to the directories. The database, archive log, and active log must reside on different physical volumes.
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 d:\tsm\server1 The database directories mkdir d:\tsm\db001
mkdir e:\tsm\db002
mkdir f:\tsm\db003
mkdir g:\tsm\db004Active 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 (failover location for 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.
- Log off the new user ID.