DSMSERV (Start the server)

Use this utility to start the Tivoli® Storage Manager server. You might be asked to specify the RUNFILE parameter after you install a new release of Tivoli Storage Manager.

Tip: You cannot enter more than 1022 characters in the DSMSERV console command-line interface. Text that exceeds 1022 characters is truncated.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systems

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DSMSERV--+----------------------+---------------------------->
            |  (1)                 |   
            '------- -u--user_name-'   

                                 (2).- -k--Server1--.   
>--+-------------------------+------+---------------+----------->
   |  (1)                    |      '- -k--key_name-'   
   '------- -i--instance_dir-'                          

>--+------------+--+-------------------+--+---------+----------->
   '- -noexpire-'  '- -o--options_file-'  '- -quiet-'   

>--+--------------------+--------------------------------------><
   +-RUNFILE--file_name-+   
   |             (3)    |   
   '-MAINTenance--------'   

Notes:
  1. This parameter applies only to AIX®, HP-UX, Linux, and Solaris servers.
  2. This parameter applies only to Windows servers.
  3. This parameter applies only to AIX, Linux, Solaris, and Windows servers.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systems

Parameters

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systems-u user_name
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsSpecifies a user name to switch to before you start the server. To start the server from the root user ID, you must specify the -u parameter and follow the instructions in Starting the server from the root user ID.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systems-i instance_dir
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsSpecifies an instance directory to use. The instance directory becomes the current working directory of the server.
Windows operating systems-k key_name
Windows operating systemsSpecifies the name of the Windows registry key from which to retrieve information about the server. The default is Server1.
-noexpire
Specifies that expiration processing is suppressed when you start the server.
-o options_file
Specifies an options file to use.
-quiet
Specifies that messages to the console are suppressed.
AIX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systemsMAINTenance
AIX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systemsSpecifies that the server is started in maintenance mode, and that administrative command schedules, client schedules, client sessions, storage-space reclamation, inventory expiration, and storage-pool migration are disabled.
Tip: Maintenance mode is the preferred method for running the server during maintenance or reconfiguration tasks. When you run the server in maintenance mode, operations that might disrupt maintenance or reconfiguration tasks are disabled automatically.
RUNFILE file_name
Specifies the name of a text file to be run on the server. The file contains a list of Tivoli Storage Manager server commands.
Attention: Whenever the RUNFILE parameter is used, the server halts when processing is complete. You must restart the server by using the DSMSERV utility.

Example: Start the server

Start the server for normal operation. Issue the following command on one line:

AIX operating systems
LDR_CNTRL=TEXTPSIZE=64K@DATAPSIZE=64K@STACKPSIZE=64K@SHMPSIZE=64K 
usr/bin/dsmserv

AIX operating systemsEnsure that you include a space after SHMPSIZE=64K. By starting the server with this command, you enable 64 KB memory pages for the server. This setting helps you optimize server performance.

HP-UX operating systemsLinux operating systemsOracle Solaris operating systems
/opt/tivoli/tsm/server/bin/dsmserv
Windows operating systems
C:\Program Files\Tivoli\TSM\bin\dsmserv -k server2
Windows operating systems

Example: Start an additional server

Start an additional server by using the registry key named SERVER2.
dsmserv -k server2
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systems

Example: Load the sample script

Load the sample script file that is provided with the server.
dsmserv runfile scripts.smp
AIX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systems

Example: Start the server in maintenance mode

Before you begin maintenance or reconfiguration tasks, start the server in maintenance mode.
dsmserv maintenance