Perform this procedure on one node of the cluster only.
This procedure assumes that you installed the data service packages during your initial Sun Cluster installation.
If you did not install the Sun Cluster HA for Oracle Application Server packages as part of your initial Sun Cluster installation, go to How to Install the Sun Cluster HA for Oracle Application Server Packages.
On a cluster member, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.
Register the following resource types.
# clresourcetype register SUNW.HAStoragePlus # clresourcetype register SUNW.gds |
Create a failover resource group for Oracle Application Server.
# clresourcegroup create -n nodelist oracle-application-server-resource-group |
Create a resource for the Oracle Application Server Logical Hostname.
# clreslogicalhostname create -g oracle-application-server-resource-group \ > -h logical-hostname \ > logical-hostname-resource |
Create a resource for the Oracle Application Server Disk Storage.
If a ZFS highly available local file system is being used.
# clresource create -g oracle-application-server-resource-group \ > -t SUNW.HAStoragePlus \ > -p Zpools=oracle-application-zspool \ > oracle-application-server-hastorage-resource |
If a cluster file system or a non ZFS highly available local file system is being used.
# clresource create -g oracle-application-server-resource-group \ > -t SUNW.HAStoragePlus \ > -p FilesystemMountPoints=oracle-application-filesystem-mountpoint \ > oracle-application-server-hastorage-resource |
Enable the Resource Group.
# clresourcegroup enable -M oracle-application-server-resource-group |
Create and register a resource for the Oracle Database and Listener.
For complete information about creating and registering a cluster resource for the Oracle Database and Listener, refer to Sun Cluster Data Service for Oracle Guide for Solaris OS.
Create and register resources for the Oracle 9iAS Infrastructure.
To create and register resources for Oracle Application Server 10g Infrastructure, refer to Step 10
Edit /opt/SUNWsc9ias/util/9ias_config and follow the comments within that file. After you have edited 9ias_config, you must register the resource.
# cd /opt/SUNWsc9ias/util # vi 9ias_config # ./9ias_register |
Enable the Oracle 9iAS Infrastructure resources.
# clresource enable -g oracle-application-resource-group + |
Create and register resources for the Oracle Application Server 10g Infrastructure.
Edit /opt/SUNWsc9ias/util/10gas_config and follow the comments within that file. After you have edited 10gas_config, you must register the resource.
# cd /opt/SUNWsc9ias/util # vi 10gas_config # ./10gas_register |
The following listing has been taken from the deployment example, Step 4, which can be found in Appendix A, Deployment Example: Installing Oracle Application Server in Zones and shows /opt/SUNWsc9ias/util/10gas_config that has been edited to configure a cluster resource for Oracle Application Server 10g Infrastructure.
Vigor5# cat > /opt/SUNWsc9ias/util/10gas_config <<-EOF RG=oas10g-rg RS_OPMN=oas10g-opmn RS_EM=oas10g-em ORACLE_HOME=/ZFSoracle/oraInfra ORACLE_SID=orcl OIAS_LHOST=oas10g OIAS_USER=oracle OIAS_ADMIN=dummy OIAS_INFRA=/var/opt/oracle OIAS_FQDN=dummy OIAS_OPMN=all RS_LH=oas10g-lh RS_HAS=oas10g-ZFShas RS_ORACLE=oas10g-ora RS_ORALSR=oas10g-lsr EOF Vigor5# /opt/SUNWsc9ias/util/10gas_register |
Enable the Oracle Application Server 10g Infrastructure resources.
# clresource enable -g oracle-application-server-resource-group + |
The following listing has been taken from the deployment example, Step 4, which can be found in Appendix A, Deployment Example: Installing Oracle Application Server in Zones.
Vigor5# clresource enable -g oas10g-rg + |