To automatically activate the TSM server daemon, perform the following:
Copy /opt/tivoli/tsm/server/bin/initTSM to /etc/init.d/initTSM.
# cp /opt/tivoli/tsm/server/bin/initTSM /etc/init.d/initTSM # |
Change the file owner and file mode of the /etc/init.d/initTSM file and set the file so that it can be accessed from the super-user only.
Select an execution-enabled mode (owner is root, file mode is 0700).
An example of changing and checking the file owner and file mode is shown below.
# cd /etc/init.d # chown root initTSM # chmod 700 initTSM # ls -l initTSM -rwx------ 1 root other 1228 May 26 17:05 initTSM # |
To start up or shut down the system, create the following symbolic link files.
/etc/rc2.d/S99tsmsv | is TSM server daemon activation script |
/etc/rc0.d/K00tsmsv | is TSM server daemon deactivation script |
An example is provided below.
# ln -s /etc/init.d/initTSM /etc/rc2.d/S99tsmsv # ln -s /etc/init.d/initTSM /etc/rc0.d/K00tsmsv # |
Edit the contents of the /etc/init.d/initTSM file. An example of editing the contents of the /etc/init.d/initTSM file is shown below.
LANG=C; export LANG : : 'start') TSMDB=/opt/tivoli/tsm/server/bin -> DB directory : : 'stop') ID=admin -> User ID to connect to the TSM server PA=admin -> Password corresponding to the User ID to connect to the TSM server : : |
The meaning of the specified item is as follows.
Item | Meaning |
---|---|
TSMDB | Defines the storage path name of a TSM server database following "=". For the path name, specify a "DB directory". |
ID | Defines the user ID to connect to a TSM server, following "=". This user ID defines the same administrator ID as one that is specified to register a TSM administrative client (register admin). |
PA | Defines the password for the user ID to connect to a TSM server, following "=". This password defines the same administrator password as one that is specified to register a TSM administrative client (register admin). |