Linux operating systems

Automating the storage agent startup (Linux)

You can configure the storage agent to start automatically when the system restarts.

Procedure

  1. Log in to the system with the root user ID.
  2. Copy the file dsmsta.rc from the directory where the storage agent is installed to the /etc/init.d directory.

    For example:

    cp /opt/tivoli/tsm/StorageAgent/bin/dsmsta.rc /etc/init.d
  3. Ensure that the file has the execute permission.

    For example:

    chmod 755 /etc/init.d/dsmsta.rc
  4. Issue the following chkconfig commands to automatically start the storage agent on run levels 3 and 5:
    chkconfig --add dsmsta.rc
    chkconfig --level 35 dsmsta.rc on
    Note: The script must exist in the /etc/init.d directory to run the chkconfig commands.