The storage agent can be run in the background as a Windows service.
About this task
You can choose the logon account for the Tivoli® Storage
Manager storage
agent service and specify whether the service starts manually or automatically.
If you specify automatic start up, Windows starts
the storage agent each time the system is rebooted.
Procedure
Start the storage agent in the background as a service
by completing the following steps:
- Open a Command Prompt window.
- Create the service by issuing the sc create command:
sc.exe create stagent_srv_name binPath= "path_to_sta"
start= start_type obj= accountName password= password
Table 1. Parameters of the Windows sc create commandParameter |
Description |
stagent_srv_name |
Specifies the name of the storage agent service.
|
path_to_sta |
Specifies the path to the dstasvc.exe executable,
including the executable. The default path is c:\program
files\tivoli\tsm\StorageAgent\dstasvc.exe.
|
start_type |
Specifies the start type for the service.
You can use auto to automatically start the service,
or demand to manually start the service.
|
accountName |
Specifies the name of an account in which
a service will run. This parameter is optional. If not specified,
the Local System account is used.
|
password |
Specifies the password for the accountName user
account.
|
Remember: There must be a space after each equal
character (=).