Use this procedure to create an Oracle Grid Infrastructure resource. This resource coordinates operations that are managed by Oracle Clusterware with operations that are managed by Oracle Solaris Cluster.
Before You Begin
Ensure that you have registered and configured the Oracle ASM resource groups. See How to Register and Configure the Oracle ASM Resource Group.
# /Grid_home/bin/crsctl add type sun.zcboot_proxy.type -basetype local_resource # /Grid_home/bin/crsctl add res sun.wait-zc-rs \ -type sun.zcboot_proxy.type \ -attr "ACTION_SCRIPT='/opt/SUNWscor/dsconfig/bin/scproxy_crs_action' \ ACL='owner:root:rwx,pgrp:oinstall:rwx,other::r--' \ SCRIPT_TIMEOUT='20' \ RESTART_ATTEMPTS='60' "
# /Grid_home/bin/crsctl stat res sun.wait-zc-rs -p NAME=sun.wait-zc-rs TYPE=sun.zcboot_proxy.type ACL=owner:root:rwx,pgrp:oinstall:rwx,other::r- …
# /Grid_home/bin/crsctl start res sun.wait-zc-rs
Perform this step where you created the sun.storage_proxy.type resource type.
# /Grid_home/bin/crsctl \ add type sun.storage_proxy.type \ -basetype local_resource \ -attr \ "ATTRIBUTE=ACTION_SCRIPT,TYPE=string", \ "ATTRIBUTE=HOSTING_MEMBERS,TYPE=string", \ "ATTRIBUTE=CARDINALITY,TYPE=string", \ "ATTRIBUTE=PLACEMENT,TYPE=string", \ "ATTRIBUTE=SCRIPT_TIMEOUT,TYPE=int", \ "ATTRIBUTE=RESTART_ATTEMPTS,TYPE=int", \ "ATTRIBUTE=ACL,TYPE=string", \ "ATTRIBUTE=VERSION,TYPE=string"
Perform this step where you created the sun.storage_proxy.type resource type.
The Oracle Grid Infrastructure resource name uses the form sun.resource, where resource is the name of the SUNW.ScalDeviceGroup, SUNW.ScalMountPoint or SUNW.scalable_acfs_proxy resource.
# /Grid_home/bin/crsctl add resource sun.resource \ -type sun.storage_proxy.type \ -attr "ACTION_SCRIPT='/opt/SUNWscor/dsconfig/bin/scproxy_crs_action' \ CARDINALITY='number-nodes' \ SCRIPT_TIMEOUT='timeout' \ PLACEMENT='restricted' \ RESTART_ATTEMPTS='restarts' \ HOSTING_MEMBERS='nodelist' \ VERSION='1' "
The number of nodes in the cluster membership
The list of nodes in the cluster membership
# /Grid_home/bin/crsctl start resource sun.resource
Perform this step from one node of the global cluster.
# /Grid_home/bin/crsctl add type sun.stoptrigger.type -basetype cluster_resource # /Grid_home/bin/crsctl add res sun.acfs-rs -type sun.stoptrigger.type \ -attr "action_script='/opt/SUNWscor/dsconfig/bin/crs_stoptrigger_action' \ HOSTING_MEMBERS='node1 node2[…]' \ CARDINALITY='number-nodes' \ placement='restricted' \ ACL='owner:root:rwx,pgrp:oinstall:rwx,other::r--' \ SCRIPT_TIMEOUT='20' \ RESTART_ATTEMPTS='60' \ START_DEPENDENCIES='hard(ora.appdg.ASMvolume.acfs) pullup:always(ora.appdg.ASMvolume.acfs)' \ STOP_DEPENDENCIES='hard(ora.appdg.ASMvolume.acfs)' "
# /Grid_home/bin/crsctl stat res sun.acfs-rs -p NAME=sun.resource TYPE=sun.stoptrigger.type …
# /Grid_home/bin/crsctl start res sun.acfs-rs
# /Grid_home/bin/crsctl stat res sun.acfs-rs