Perform all steps within this example in the global zone.
Create the Oracle Database cluster resource.
The Oracle permissions were previously setup in Step 9 from Example: Verify Oracle Application Server.
Vigor5# clresource create -g oas10g-rg -t SUNW.oracle_server \ -p Connect_string=homer/springfield \ -p ORACLE_SID=orcl \ -p ORACLE_HOME=/ZFSoracle/oraInfra \ -p Alert_log_file=/ZFSoracle/oraInfra/admin/orcl/bdump/alert_orcl.log \ -p Restart_type=RESOURCE_GROUP_RESTART \ -p Resource_dependencies=oas10g-ZFShas \ oas10g-ora |
Create the Oracle Listener cluster resource.
Vigor5# clresource create -g oas10g-rg -t SUNW.oracle_listener \ -p LISTENER_NAME=listener \ -p ORACLE_HOME=/ZFSoracle/oraInfra \ -p Resource_dependencies=oas10g-ZFShas \ oas10g-lsr |
Enable the Oracle Database and Listener cluster resources.
Vigor5# clresource enable -g oas10g-rg + |
Create and enable the Oracle Application Server cluster resource.
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 Vigor5# clresource enable -g oas10g-rg + |