Windows operating systems
IBM Tivoli Storage Manager, Version 7.1

Windows: Creating a Windows service for the server instance

Install the Tivoli® Storage Manager server as a Windows service during manual configuration of the Tivoli Storage Manager server.

Before you begin

After you have completed formatting the database and log, you are ready to create a Windows service for your server instance.
Important: The standard way to start the server is by using the instance user ID. By using the instance user ID, you simplify the setup process and avoid potential issues. However, in some cases, it might be necessary to use another user ID to start the server. For example, you might want to use the administrator user ID to ensure that the server can access specific devices. To allow a user other than the instance user ID to start the server, the user ID must have administrative authority on the system and must be a member of the DB2ADMNS and DB2USERS groups. The user ID that is used to start the server must have appropriate authorizations; otherwise, the server does not function as expected.

Procedure

  1. Change to the C:\Program Files\Tivoli\TSM\console directory, or if you installed Tivoli Storage Manager in a different location, go to the console subdirectory in your main installation directory. The install.exe file in this directory installs the Tivoli Storage Manager server as a Windows service.
  2. Install the Windows service by using the same server name and user ID that you used to start the Tivoli Storage Manager server. Issue the following command:
    install "TSM server_instance_name"
    "C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
    instance_owner instance_owner_password
    where:
    • TSM server_instance_name is the name of the service that is being installed.
    • server_instance_name is the instance name that was specified when you issued the db2icrt command.
    • instance_owner is the instance owner account; this account will own the service.
    • instance_owner_password is the password for the instance owner account.
    If a different name was used for the server instance, or there are multiple server instances running on the system, modify the service name.

    After installing the Windows service, manually change the service to an automatic startup type. Do this by going to Windows Administrative Tools > Services.

Example

Example. To install the Windows service for the server1 server instance, enter the following command on one line. The example uses rudy as the instance owner and s21ret as the instance owner account.
C:\>cd "\Program Files\Tivoli\TSM\console"
C:\Program Files\Tivoli\TSM\console>install "TSM server1"
"C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
rudy s21ret


Feedback