Siebel Installation Guide for UNIX > Configuring Siebel Enterprise Server and Related Components > Configuring the Siebel Server for Automatic Start >

Configuring the Siebel Server for Automatic Start on AIX


This topic is part of Configuring the Siebel Server for Automatic Start.

Use the procedure in this topic to configure Siebel Server for automatic start on AIX.

To configure Siebel Server to start automatically on AIX

  1. Navigate to $SIEBEL_ROOT/bin.

    where:

    • $SIEBEL_ROOT = The installation directory for the Siebel Server
  2. Using any text editor, open the file siebel_server, and edit the database environment variable as described below:

    Oracle Database

    1. Uncomment the line #ORACLE_HOME=.
    2. Enter the location for $ORACLE_HOME.
    3. Uncomment the line #export ORACLE_HOME.
    4. Add the following two lines:

    TNS_ADMIN=$tns_admin

    export TNS_ADMIN

    Ask your database administrator for the value of $tns_admin.

    DB2 UDB

    • Add a line to execute db2profile, for example:

    . /home/db2v8aix/sqllib/db2profile

    Ask your database administrator for the location of db2profile.

  3. Save and close the file.
  4. 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 = The user account installing the Siebel products
    • $SIEBEL_ROOT = The installation directory for the Siebel Server
  5. 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

  6. Edit the file /etc/rc.shutdown to add the following command:

    /usr/bin/su - SIEBEL_ACCOUNT -c "$SIEBEL_ROOT/bin/siebel_server stop"

    where:

    • SIEBEL_ACCOUNT = The user account installing the Siebel products
    • $SIEBEL_ROOT = The installation directory for the Siebel Server
  7. Save and close the file.
Siebel Installation Guide for UNIX Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.