Siebel Installation Guide for UNIX: Servers, Mobile Web Clients, Tools > Installing the Siebel Server >
Configuring Siebel Server Autostart on AIX
If, during installation, you elected automatic restart of the Siebel Server, you need to complete the procedure that follows to enable it. To configure Siebel Server to start automatically
- Log on as root to the machine where Siebel Server is installed.
- Navigate to $SIEBEL_HOME/bin/.
where:
$SIEBEL_HOME = the installation directory for the Siebel Server
- Using any text editor, open the file
siebel_server , and edit the database environment variable as described in the following:
Oracle
- 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
You will need to ask your database administrator for the value of $ tns_admin .
export TNS_ADMIN
DB2
- Add a line to execute the
db2profile , for example:
. /home/eng-sm/db2v7aix/sqllib/db2profile
You will need to 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_HOME /bin/siebel_server start\""
where:
SIEBEL_ACCOUNT = The user account installing Siebel product
$SIEBEL_HOME = The installation directory for the Siebel Server
- Verify whether or not the file /etc/rc.shutdown exists. If it does not exist, create it and change the permissions:
touch /etc/rc.shutdown chmod 744 /etc/rc.shutdown
- Edit the file /etc/rc.shutdown to add the following command to it:
su - SIEBEL_ACCOUNT -c "$SIEBEL_HOME/bin/siebel_server stop"
where:
SIEBEL_ACCOUNT = The user account installing Siebel product
$SIEBEL_HOME = The installation directory for the Siebel Server
- Save and close the file.
|