Siebel Installation Guide for UNIX: Servers, Mobile Web Clients, Tools > Installing the Siebel Gateway Name Server >

Configuring the Siebel Gateway Name Server for Automatic Start


If, during installation, you elected automatic restart of the Siebel Gateway Name Server, you need to complete the procedure that follows to enable it.

NOTE:  The process should be run as the user who installed the Siebel Gateway Name Server.

After making the changes described in this section, the Siebel Gateway Name Server will start automatically when you restart your server and stop automatically when you shut down. After making these changes, you can proceed with installing Siebel Server.

NOTE:  Remember that the Siebel Gateway Name Server 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 Name Server.

To configure the Siebel Gateway Name Server for autostart on HP-UX

  1. Log on as root to the machine on which the Siebel Gateway Name Server was installed.
  2. Copy the file siebel_server to the /sbin/init.d directory, as follows:

    cp $SIEBEL_ROOT/bin/siebel_server /sbin/init.d

    where:

    • $SIEBEL_ROOT = The full path to the Siebel root directory
  3. If you have not already done so, using any text editor, edit /sbin/init.d/siebel_server and replace $SIEBEL_GATEWAY_ROOT with the actual path to the Siebel Gateway Name Server installation directory.
  4. Set the appropriate permissions by executing the following command:

    chmod 755 /sbin/init.d/siebel_server

  5. Create a soft link to /sbin/rc3.d/S720siebel_server from /sbin/init.d/siebel_server by executing the following command:

    ln -s /sbin/init.d/siebel_server /sbin/rc3.d/S720siebel_server

  6. Create a soft link to /sbin/rc2.d/K320siebel_server from /sbin/init.d/siebel_server by executing the following command:

    ln -s /sbin/init.d/siebel_server /sbin/rc2.d/K320siebel_server

    If Siebel Gateway Name Server was installed as a nonroot user, continue with Step 7. Otherwise, you have completed this process.

  7. Create or edit /sbin/init.d/siebel_server_nonroot to add the following line:

    /usr/bin/su - SIEBEL_ACCOUNT -c "/sbin/init.d/siebel_server $1"

    where:

    • SIEBEL_ACCOUNT = The user account installing the Siebel products
  8. Remove /sbin/rc3.d/S720siebel_server and /sbin/rc2.d/K320siebel_server, if they already exist.
  9. Execute the following commands:

    chmod 755 /sbin/init.d/siebel_server_nonroot

    ln -s /sbin/init.d/siebel_server_nonroot /sbin/rc3.d/S720siebel_server

    ln -s /sbin/init.d/siebel_server_nonroot /sbin/rc2.d/K320siebel_server

To configure the Siebel Gateway Name Server for autostart on Solaris

  1. Log on as root to the machine on which the Siebel Gateway Name Server was installed.
  2. Copy the file siebel_server to the /etc/init.d directory, as follows:

    cp $SIEBEL_HOME/bin/siebel_server /etc/init.d

    where:

    • $SIEBEL_HOME = The full path to the Siebel root directory
  3. Using any text editor, edit /etc/init.d/siebel_server so that $SIEBEL_GATEWAY_ROOT is pointing to the actual path to the Siebel Gateway Name Server installation directory.
  4. Set the appropriate permissions by executing the following command:

    chmod 755 /etc/init.d/siebel_server

  5. Create a soft link to /etc/rc3.d/S72siebel_server from /etc/init.d/siebel_server by executing the following command.

    ln -s /etc/init.d/siebel_server /etc/rc3.d/S72siebel_server

  6. Create a soft link to /etc/rc2.d/K32siebel_server from /etc/init.d/siebel_server by executing the following command:

    ln -s /etc/init.d/siebel_server /etc/rc2.d/K32siebel_server

    If Siebel Gateway Name Server was installed as a nonroot user, continue with Step 7. Otherwise, you have completed this process.

  7. Create or edit /etc/init.d/siebel_server_nonroot to add the following line:

    /usr/bin/su - SIEBEL_ACCOUNT -c "/etc/init.d/siebel_server $1"

    where:

    • SIEBEL_ACCOUNT = The user account installing the Siebel products
  8. Remove /etc/rc3.d/S72siebel_server and /etc/rc2.d/K32siebel_server, if they already exist.
  9. Execute the following commands:

    chmod 755 /etc/init.d/siebel_server_nonroot

    ln -s /etc/init.d/siebel_server_nonroot /etc/rc3.d/S72siebel_server

    ln -s /etc/init.d/siebel_server_nonroot /etc/rc2.d/K32siebel_server

To configure the Siebel Gateway Name Server for autostart on AIX

  1. Log on as root to the machine on which the Siebel Gateway Name Server was installed.
  2. Execute the following command on a single line:

    mkitab "sieb_gtwyns:2:wait:su - SIEBEL_ACCOUNT -c \"$SIEBEL_HOME/bin/siebel_server start\""

    where:

    • SIEBEL_ACCOUNT = The user account installing the Siebel products
    • $SIEBEL_HOME = The installation directory for the Siebel Gateway Name Server
  3. Verify if 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

  4. Edit the file /etc/rc.shutdown by adding the following command:

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

    where:

    • SIEBEL_ACCOUNT = The user account installing the Siebel products
    • $SIEBEL_HOME = The installation directory for the Siebel Gateway Name Server
  5. Save and close the file.
Siebel Installation Guide for UNIX: Servers, Mobile Web Clients, Tools