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.
# clresourcetype register SUNW.sblsrvr
# clresourcegroup create [-n node] siebel-rg
Specifies the node name that can master this resource group.
Specifies your choice of the name of the failover resource group to add. This name must begin with an ASCII character.
This logical hostname should match the value of the HOST_NAME parameter for the Siebel Server.
# clreslogicalhostname create -g siebel-rg logical_host
Specifies an optional resource name of your choice.
The following command brings the resource group online on the preferred node.
# clresourcegroup online -M siebel-rg
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
export DBUSR=dbuser export DBPWD=dbuserpassword export SADMUSR=sadmin export SADMPWD=sadminpassword
In the example below, the password file scsblconfig is being encrypted and sieb-rs reflects the Siebel Server resource name. The key file name must be in the format /var/cluster/.siebelserver_resource_name_key. The password file name must be in the format /var/cluster/.siebelserver_resource_name_sbl_pdata. The PATH_TO_CONFIGFILE is the location of the scsblconfig file.
node1# dd if=/dev/urandom of=/var/cluster/.sieb-rs_key bs=16 count=1 node1# chmod 400 /var/cluster/.sieb-rs_key node1# usr/sfw/bin/openssl enc -aes128 -e -in \ $PATH_TO_CONFIGFILE/scsblconfig -k /var/cluster/.sieb-rs_key -out \ /var/cluster/.sieb-rs_sbl_pdata node1# chmod 400 /var/cluster/.sieb-rs_sbl_pdata
node1# /usr/sfw/bin/openssl enc -aes128 -d -in /var/cluster/.sieb-rs_sbl_pdata \ -k /var/cluster/.sieb-rs_key -out /var/cluster/tmpfile
If the Siebel Server is installed locally, create the file scgtwyconfig under server_root on all nodes. For security reasons, make this file readable only by the owner.
# cd server_root # touch scgtwyconfig # chown siebel:siebel scgtwyconfig # chmod 400 scgtwyconfig
For example: gtwyuser gtwypassword
This user name and password combination must have permission to connect to the database and also to the Gateway Server for use by the Oracle Solaris Cluster HA for Siebel Gateway Fault Monitor.
export GTWYUSR=gtwyuser export GTWYPWD=gtwyuserpassword
In the example below, the password file scgtwyconfig is being encrypted and sieb-rs reflects the Siebel Server resource name. The password file name must be in the format /var/cluster/.siebelserver_resource_name_gtwy_pdata. The PATH_TO_CONFIGFILE is the location of the scgtwyconfig file.
node1# usr/sfw/bin/openssl enc -aes128 -e -in \ $PATH_TO_CONFIGFILE/scgtwyconfig -k /var/cluster/.sieb-rs_key -out \ /var/cluster/.sieb-rs_gtwy_pdata node1# chmod 400 /var/cluster/.sieb-rs_gtwy_pdata
node1# /usr/sfw/bin/openssl enc -aes128 -d -in /var/cluster/.sieb-rs_gtwy_pdata \ -k /var/cluster/.sieb-rs_key -out /var/cluster/tmpfile
# 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 \ -p siebel_version=version_number sblsrvr-rs
Specifies the name of the resource type for the resource.
Specifies the path name to the Siebel Server root directory.
Specifies the Siebel Server version.
If you enter an incorrect value for siebel_version, you might not see errors during validation but the resource startup will fail. If siebel_version is incorrect, the probe method is not able to verify database connectivity.
Specifies the name of the Siebel enterprise.
Specifies the name of the Siebel Server.
Specifies your choice of the name of the resource to add.
The resource is created in the enabled state.
Caution - If you enter incorrect values for siebel_enterprise or siebel_server, you might 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. |