Siebel Server Installation Guide for UNIX > Installing the Siebel Gateway > Post-Installation Tasks for Siebel Gateway >

Configuring the Siebel Gateway for Automatic Start


If, during installation, you elected automatic restart of the Siebel Gateway, you must follow the procedure below to enable it.

To configure the Siebel Gateway to start automatically on Solaris and HP-UX

  1. Log on as root to the machine on which the Siebel Gateway was installed.
  2. Copy the file siebel_server to the /etc/init.d directory as shown below:
  3. cp $SIEBEL_ROOT/bin/siebel_server /etc/init.d

    where:

    $SIEBEL_ROOT is the full path to the Siebel root directory.

  4. Using any text editor, edit /etc/init.d/siebel_server. Replace $SIEBEL_GATEWAY_ROOT with the actual path to the Siebel Gateway installation directory.
  5. Set the appropriate permissions by executing the following command:
  6. chmod 744 /etc/init.d/siebel_server

  7. Create a hard link to /etc/rc3.d/S72siebel from
    /etc/init.d/siebel_server by executing the following command.
  8. ln /etc/init.d/siebel_server /etc/rc3.d/S72siebel

  9. Create a hard link to /etc/rc0.d/K32siebel from
    /etc/init.d/siebel_server by executing the command:
  10. ln /etc/init.d/siebel_server /etc/rc0.d/K32siebel

To configure the Siebel Gateway to start automatically on AIX

  1. Log on as root to the machine on which the Siebel Gateway was installed.
  2. Execute the following command on a single line:
  3. mkitab "start_gateway:2:once:su - $USER -c \"$SIEBEL_ROOT/bin/siebel_server start\""

    where:

    $USER = The user name of the Siebel administrator.

    $SIEBEL_ROOT = The installation directory for the Siebel Gateway.

  4. Verify if the file /etc/rc.shutdown exists. If it does not exist, create it and change the permissions:
  5. touch /etc/rc.shutdown
    chmod 744 /etc/rc.shutdown

  6. Edit the file /etc/rc.shutdown add the following command to it:
  7. su - $USER -c "$SIEBEL_ROOT/bin/siebel_server stop"

    where:

    $USER is the user name of the Siebel administrator.

    $SIEBEL_ROOT is the installation directory for the Siebel Gateway.

  8. Save and close the file.

You have now enabled the Siebel Gateway to start automatically when you restart your server, and to stop automatically when you shut down.

NOTE:  Remember that the Siebel Gateway must be the first service to start up and the last to be shut down among all the servers in the Siebel Enterprise served by that Siebel Gateway.

You are now ready to proceed with the Siebel Server installation.


 Siebel Server Installation Guide for UNIX 
 Published: 24 June 2003