rt4s shell script
The rt4s shell script is used to start or stop the server from init(1) processing, and must be run as part of the system boot procedure. You must change the rt4s shell script if the server is installed in a directory other than the default directory, /opt/IBM/InfoSphere/Optim/rt. You must also change the rt4s shell script if the server is run under a user account other than root.
To modify the environment variables that specify the server directory and the user account, edit the following places in the script:
PSTHOME=${PSTHOME: directory/rt}to define the directory that contains the server.PSTUSER=${PSTUSER:user}to identify a user other than root.
Symbolic links
A symbolic link allows a file name in one directory to point to a file in another directory.
To start and shut down the server as part of init processing, you must create symbolic links to the rt4s script in the following directories:
- rc2.d, where 2 is the run level for startup
- rc1.d, where 1 is the run level for shutdown
The location of the rc2.d and rc1.d directories is platform‑specific:
- Under Solaris and Linux, the location is /etc.
- Under HP-UX, the location is /sbin.
- Under AIX®, the location is /etc/rc.d.
Use the ln command to create
symbolic links, as follows: ln -s actualfile linkname.
actualfile- File to which a symbolic link points.
In this case, specify rt4s.
linkname- Name of a symbolic link that is used to point to
a file.
In this case, point links named S99RT4S and K07RT4S to rt4s.
Solaris or Linux
To start and shut down the server during Solaris or Linux init processing, create symbolic links to the rt4s script in directories /etc/rc2.d and /etc/rc1.d.
HP-UX
To start and shut down the server during HP-UX init processing, create symbolic links to the rt4s script in directories /sbin/rc2.d and /sbin/rc1.d.
AIX
To start and shut down the server during AIX init processing, create symbolic links to the rt4s script in directories /etc/rc.d/rc2.d and /etc/rc.d/rc1.d.