Go to main content

Oracle® Solaris Cluster Data Service for Siebel Guide

Exit Print View

Updated: June 2017
 
 

Preparing the Nodes and Disks

This section contains the procedures you need to prepare the nodes and disks.

How to Prepare the Nodes

Use this procedure to prepare for the installation and configuration of Siebel.

Before You Begin

Ensure that the /etc/netmasks file has IP-address subnet and netmask entries for all logical hostnames. If necessary, edit the /etc/netmasks file to add any missing entries.

  1. Assume the root role on all of the nodes.
  2. Use the svccfg command to configure the /etc/nsswitch.conf file so that HA for Siebel starts and stops correctly if a switchover or a failover occurs.

    On each node that can master the logical host that runs HA for Siebel, include the following entries in the /etc/nsswitch.conf file.

    passwd:    files dns
    publickey: files dns
    project:   files dns
    group:     files dns 

    HA for Siebel uses the su - user command to start, stop, and probe the service.

    The network information name service might become unavailable when a cluster node's public network fails. Adding the preceding entries ensures that the su command does not refer to the NIS/NIS+ name services if the network information name service is unavailable. For more information, see the su(1M) man page. For more information on the svccfg command, see the svccfg(1M) man page.

  3. Prevent the Siebel Gateway probe from timing out while trying to open a file on /home.

    When the node running the Siebel Gateway has a path beginning with /home (which depends on network resources such as NFS and NIS) and the public network fails, the Siebel Gateway probe times out and causes the Siebel Gateway resource to go offline. Without the public network, Siebel Gateway probe hangs while trying to open a file on /home, causing the probe to time out.

    To prevent the Siebel Gateway probe from timing out while trying to open a file on /home, configure all nodes of the cluster that can be the Siebel Gateway as follows:

    1. Eliminate all NFS or NIS dependencies for any path starting with /home.

      You might have a locally mounted /home path or you can rename the /home mount point to /export/home or another name which does not start with /home.

    2. Comment out the line containing +auto_master in the /etc/auto_master file, and change any /home entries to auto_home.
    3. Comment out the line containing +auto_home in the /etc/auto_home file.
  4. Prepare the Siebel administrator's home directory.
  5. On each node, create an entry for the Siebel administrator group in the /etc/group file, and add potential users to the group.

    Tip  -  In the following example, the Siebel administrator group is named siebel.

    Ensure that group IDs are the same on all of the nodes that run HA for Siebel.

    siebel:*:521:siebel

    You can create group entries in a network name service. If you do so, also add your entries to the local /etc/inet/hosts file to eliminate dependency on the network name service.

  6. On each node, create an entry for the Siebel administrator.

    Tip  -  In the following example, the Siebel administrator is named siebel.

    The following command updates the /etc/passwd and /etc/shadow files with an entry for the Siebel administrator.

    # useradd -u 121 -g siebel -s /bin/ksh -d /Siebel-home siebel

    Ensure that the Siebel user entry is the same on all of the nodes that run HA for Siebel.

  7. Ensure that the Siebel administrator's default environment contains settings for accessing the Siebel Database. For example, if the Siebel Database is on Oracle, the following entries must be included in the .profile file.
    export ORACLE_HOME=/global/oracle/OraHome
    export PATH=$PATH:$ORACLE_HOME/bin
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
    export TNS_ADMIN=$ORACLE_HOME/network/admin
    export ORACLE_SID=siebeldb
  8. Create a failover resource group to hold the logical hostname and the Siebel Gateway resources.
    # clresourcegroup create [-n node] failover-rg
    –n node

    Specifies the node name that can master this resource group.

    failover-rg

    Specifies your choice of the name of the failover resource group to add. This name must begin with an ASCII character.

  9. Add the logical hostname resource.

    Ensure that logical hostname matches the value of the SIEBEL_GATEWAY environment variable that is set in the siebenv.sh file of the Siebel Gateway, and also the Siebel Server installations.

    # clreslogicalhostname create -g failover-rg logical_host
    logical_host

    Specifies an optional resource name of your choice.

  10. Bring the resource group online.
    # clresourcegroup online -M failover-rg
  11. Repeat Step 8 through Step 10 for each logical hostname that is required.