Sun Cluster Data Service for Siebel Guide for Solaris OS

Registering and Configuring Sun Cluster HA for Siebel

This section contains the procedures you need to configure Sun Cluster HA for Siebel.

Setting Sun Cluster HA for Siebel Extension Properties

The sections that follow contain instructions for registering and configuring resources. These instructions explain how to set only extension properties that Sun Cluster HA for Siebel requires you to set. For information about all Sun Cluster HA for Siebel extension properties, see Sun Cluster HA for Siebel Extension Properties. You can update some extension properties dynamically. You can update other properties, however, only when you create or disable a resource. The Tunable entry indicates when you can update a property.

To set an extension property of a resource, include the following option in the clresource(1CL) command that creates or modifies the resource:


-p property=value 
-p property

Identifies the extension property that you are setting

value

Specifies the value to which you are setting the extension property

You can also use the procedures in Chapter 2, Administering Data Service Resources, in Sun Cluster Data Services Planning and Administration Guide for Solaris OS to configure resources after the resources are created.

ProcedureHow to Register and Configure Sun Cluster HA for Siebel as a Failover Data Service

Use this procedure to configure Sun Cluster HA for Siebel as a failover data service. This procedure assumes that the data service packages are already installed. If the Sun Cluster HA for Siebel packages are not already installed, see Installing the Sun Cluster HA for Siebel Packages to install the packages. Otherwise, use this procedure to configure the Sun Cluster HA for Siebel.

  1. On one of the nodes in the cluster that hosts the application server become superuser or assume a role that provides solaris.cluster.modify and solaris.cluster.admin RBAC authorizations.

  2. Register the resource type for the Siebel gateway.


    # clresourcetype register SUNW.sblgtwy
    
  3. Create a failover resource group to hold the logical hostname and the Siebel gateway resources.


    Note –

    If you have already created a resource group, added the logical hostname resource, and brought the resource group online when you completed the How to Prepare the Nodes procedure, you may skip to Step 6.



    # clresourcegroup create [-n node] gateway-rg
    
    -n node

    Specifies the node name that can master this resource group.

    gateway-rg

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

  4. 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 gateway-rg logical_host
    
    logical_host

    Specifies an optional resource name of your choice.

  5. Bring the resource group online.


    # clresourcegroup online -M gateway-rg
    
  6. Verify that siebenv.sh file exists under gateway_root.

    The owner of this file launches the Siebel gateway server when the Siebel gateway resource is brought online.

  7. Create the Siebel gateway resource.


    # clresource create -g gateway-rg \
    -t SUNW.sblgtwy  \
    -p Confdir_list=gateway_root sblgtwy-rs
    
    -t SUNW.sblgtwy

    Specifies the name of the resource type for the resource.

    -p Confdir_list

    Specifies the path name to the Siebel server root directory.

    sblgtwy-rs

    Specifies your choice of the name of the resource to add.

    The resource is created in the enabled state.

  8. Verify that the Siebel resource group and the Siebel gateway resource are online by using cluster status -t resourcegroup,resource and ps —ef.

ProcedureHow to Register and Configure the Siebel Server

  1. Add the resource type for the Siebel server.


    # clresourcetype register SUNW.sblsrvr
    
  2. Create the failover resource group to hold the logical hostname and the Siebel server resources.


    Note –

    If you have already created a resource group, added the logical hostname resource, and brought the resource group online when you completed the How to Prepare the Nodes procedure, you may skip to Step 5.



    # clresourcegroup create [-n node] siebel-rg
    
    -n node

    Specifies the node name that can master this resource group.

    siebel-rg

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

  3. Add the logical hostname resource.

    This logical hostname should match the value of the HOST_NAME parameter for the Siebel server.


    # clreslogicalhostname create -g siebel-rg logical_host
    
    logical_host

    Specifies an optional resource name of your choice.

  4. Bring the resource group online.

    The following command brings the resource group online on the preferred node.


    # clresourcegroup online -M siebel-rg
    
  5. Verify that the siebenv.sh file is located under server_root.

  6. Create a file called scsblconfig under server_root , owned by the owner of siebenv.sh.

    If the Siebel server is installed locally, create the file scsblconfig under server_root on all nodes.

    For security reasons, make this file readable only by the owner.


    # cd server_root
    # touch scsblconfig
    # chown siebel:siebel scsblconfig
    # chmod 400 scsblconfig
    
  7. Select a database user (for example, dbuser/dbuserpassword) with permission to connect to the database for use by the Sun Cluster HA for Siebel Fault Monitor.

  8. Select another Siebel user (for example, sadmin/sadminpassword) with permission to run the compgrps command in srvrmgr.

  9. Add the following entries into the sbsblconfig file.

    export DBUSR=dbuser
    export DBPWD=dbuserpassword
    export SADMUSR=sadmin
    export SADMPWD=sadminpassword
    
  10. Create the Siebel server resource.


    # clresource create -g siebel-rg \
    -t SUNW.sblsrvr \
    -p Confdir_list=server_root \
    --p siebel_enterprise=siebel enterprise name \
    -p siebel_server=siebel_server_name sblsrvr-rs
    
    -t SUNW.sblsrvr

    Specifies the name of the resource type for the resource.

    -p Confdir_list

    Specifies the path name to the Siebel server root directory.

    -p siebel_enterprise

    Specifies the name of the Siebel enterprise.

    -p siebel_server

    Specifies the name of the Siebel server.

    sblsrvr-rs

    Specifies your choice of the name of the resource to add.

    The resource is created in the enabled state.


    Caution – Caution –

    If you enter incorrect values for siebel_enterprise or siebel_server, you may not see any errors during validation. However, resource startup will fail. If siebel_enterprise is incorrect, validate method will not be able to verify database connectivity, which will result in a warning only.


  11. Verify that the resource group and the Siebel server resource are online, by using cluster status -t resourcegroup,resource and ps –ef commands.