Siebel Installation Guide for UNIX > Additional Postinstallation and Configuration Tasks > Configuring the Siebel Server for Automatic Start >
Configuring the Siebel Server for Automatic Start on AIX
Use the procedure in this topic to configure the Siebel Server to start automatically on AIX. This topic is part of Configuring the Siebel Server for Automatic Start. To configure the Siebel Server to start automatically on AIX
- Navigate to
$ SIEBEL_ROOT /bin .
In this path, $SIEBEL_ROOT is the installation directory for the Siebel Server.
- Using any text editor, open the file siebel_server. Edit the database environment variable as follows:
Oracle Database
- Uncomment the line
#ORACLE_HOME= .
- Enter the location for
$ORACLE_HOME .
- Uncomment the line
#export ORACLE_HOME .
- Add the following two lines:
TNS_ADMIN=$tns_admin
export TNS_ADMIN
Ask your database administrator for the value of $ tns_admin .
IBM DB2
- Add a line to execute
db2profile , for example:
. /home/db2v8aix/sqllib/db2profile
Ask your database administrator for the location of db2profile .
- Save and close the file.
- Log on as root and execute the following command on a single line:
mkitab "start_server:2:wait:su - SIEBEL_ACCOUNT -c \"$SIEBEL_ROOT /bin/siebel_server start\""
where:
- SIEBEL_ACCOUNT is the nonroot user account installing Siebel Business Applications
- $SIEBEL_ROOT is the installation directory for the Siebel Server
- Verify whether or not the file
/etc/rc.shutdown exists. If it does not exist, then create it and change the permissions:
touch /etc/rc.shutdown
chmod 744 /etc/rc.shutdown
- Edit the file
/etc/rc.shutdown . Add the following command:
/usr/bin/su - SIEBEL_ACCOUNT -c "$SIEBEL_ROOT/bin/siebel_server stop"
where:
- SIEBEL_ACCOUNT is the nonroot user account installing Siebel Business Applications
- $SIEBEL_ROOT is the installation directory for the Siebel Server
- Save and close the file.
|