Sun Cluster 3.1 Data Service for Siebel

How to Prepare the Nodes

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

    Become super user on all of the nodes.

    Configure the /etc/nsswitch.conf file so that Sun Cluster 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 Sun Cluster HA for Siebel, include one of the following entries for group in the /etc/nsswitch.conf file.


    group:
    group: files [NOTFOUND=return] nis
    group: files [NOTFOUND=return] nisplus
    

    Sun Cluster 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 one of the preceding entries for group ensures that the su(1M) command does not refer to the NIS/NIS+ name services if the network information name service is unavailable.

    Prepare the Siebel administrator's home directory.

    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 Sun Cluster 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.

    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 Sun Cluster HA for Siebel.

    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 may 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
    

    Create a failover resource group to hold the logical hostname and the Siebel gateway resources.


    # scrgadm -a -g failover-rg [-h nodelist]
    

    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.


    # scrgadm -a -L -g failover-rg -l logical_hostname
    

    Bring the resource group online.


    # scswitch -Z -g failover-rg
    

    Repeat Step 7 through Step 9 for each logical hostname that is required.