AIX operating systems

Automatically starting servers on AIX systems

You can configure the server to start automatically at system startup. Use the rc.dsmserv script, which is provided for this purpose.

Before you begin

Ensure that access rights and user limits are set correctly.

About this task

The rc.dsmserv script is in the server installation directory, for example, in the /opt/tivoli/tsm/server/bin directory.

AIX operating systemsTip: If you used the configuration wizard, you might have chosen to start the server automatically when the system is restarted. If you selected that choice, an entry for starting the server was added automatically to the /etc/inittab file.

Procedure

If you did not use a wizard to configure the server, add an entry to the /etc/inittab file for each server that you want to automatically start:

  1. Set the run level to the value that corresponds to multiuser mode with networking enabled. Typically, the run level to use is 2, 3, or 5, depending on the operating system and its configuration. Ensure that the run level in the /etc/inittab file matches the run level of the operating system.
    For more information about multiuser mode and run levels, see the documentation for your operating system.
  2. On the rc.dsmserv command in the /etc/inittab file, specify the instance user ID with the -u option, and the location of the server instance directory with the -i option. If you want to start more than one server instance automatically, add an entry for each server instance.
    To verify the syntax, see the documentation for your operating system.
    Tip: To automatically start a server instance with the root user ID, use the -U option.

Example

For example, if the instance owner is tsminst1 and the server instance directory is /home/tsminst1/tsminst1, add the following entry to /etc/inittab, on one line: AIX operating systems
tsm1:2:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst1 
   -i /home/tsminst1/tsminst1 -q >/dev/console 2>&1
In this example, the ID for the process is tsm1, and the run level is set to 2.

If you have more than one server instance that you want to run, add an entry for each server instance. For example, if you have instance owner IDs tsminst1 and tsminst2, and instance directories /home/tsminst1/tsminst1 and /home/tsminst2/tsminst2, add the following entries to /etc/inittab. Each entry is on one line.

AIX operating systems
tsm1:2:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst1 
   -i /home/tsminst1/tsminst1 -q >/dev/console 2>&1
tsm2:2:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst2 
   -i /home/tsminst2/tsminst2 -q >/dev/console 2>&1