This section provides the following information about upgrading HA for Oracle Database resource types:
The existing resource types for the HA for Oracle Database data service are as follows:
SUNW.oracle_listener, which represents an Oracle Database listener
SUNW.oracle_server, which represents an Oracle Database server
In addition to the existing resource types, there are three additional resource types included in HA for Oracle Database data service for Oracle ASM. These resource types are as follows:
SUNW.scalable_asm_diskgroup_proxy, which represents the single or clustered instance Oracle ASM disk group in an Oracle Solaris Cluster configuration. For more information about the resource type, see the SUNW.scalable_asm_diskgroup_proxy(5) man page.
SUNW.scalable_asm_instance, which represents the single instance Oracle ASM in an Oracle Solaris Cluster configuration. For more information about the resource type, see the SUNW.scalable_asm_instance(5) man page.
SUNW.scalable_asm_instance_proxy, which represents a proxy for the clustered Oracle ASM instance in an Oracle Solaris Cluster configuration. For more information about the resource type, see the SUNW.scalable_asm_instance_proxy(5) man page.
Upgrade the existing resource types if you are upgrading from an earlier version of HA for Oracle Database.
For general instructions that explain how to upgrade a resource type, see Upgrading a Resource Type in Oracle Solaris Cluster 4.3 Data Services Planning and Administration Guide.
The information that you require to complete the upgrade of the SUNW.oracle_listener resource type is provided in the following subsections:
Information for Registering the New SUNW.oracle_listener Resource Type Version
Information for Migrating Existing Instances of the SUNW.oracle_listener Resource Type
To determine the version of the resource type that is currently registered, use one command from the following list:
clresourcetype list
clresourcetype show
The resource type registration (RTR) file for this resource type is /SUNW.oracle_listener.
To determine the version of the latest installed version of the /opt/cluster/lib/rgm/rtreg/SUNW.oracle_listener resource type, whether it is registered or not, use the following command:
# grep -i RT_VERSION /opt/cluster/lib/rgm/rtreg/SUNW.oracle_listener
If the version of the latest installed resource type is later than the registered version, migrate to the newer version to ensure full functionality.
The information that you require to edit each instance of the SUNW.oracle_listener resource type is as follows:
You can perform the migration at any time.
If you need to specify the timeout value in seconds that the fault monitor uses to probe an Oracle Database listener, set the Probe_timeout extension property. For more information, see SUNW.oracle_listener Extension Properties.
The following example shows a command for editing an instance of the SUNW.oracle_listener resource type.
Example 7 Editing an Instance of the SUNW.oracle_listener Resource Type# clresource set -p Type_version=N \ -p probe_timeout=60 oracle-lrs
This command edits a SUNW.oracle_listener resource as follows:
The SUNW.oracle_listener resource is named oracle-lrs.
The Type_version property of this resource is set to N, which represents the version number of the resource type you migrated to.
The timeout value in seconds that the fault monitor uses to probe an Oracle Database listener is set to 60 seconds.
The information that you require to complete the upgrade of the SUNW.oracle_server resource type is provided in the following subsections:
Information for Registering the New SUNW.oracle_server Resource Type Version
Information for Migrating Existing Instances of the SUNW.oracle_server Resource Type
To determine the version of the resource type that is registered, use one command from the following list:
clresourcetype list
clresourcetype show
The resource type registration (RTR) file for this resource type is /opt/SUNWscor/oracle_server/etc/SUNW.oracle_server.
To determine the version of the latest installed version of the SUNW.oracle_server resource type, whether it is registered or not, use the following command:
# grep -i RT_VERSION /opt/cluster/lib/rgm/rtreg/SUNW.oracle_server
If the version of the latest installed resource type is later than the registered version, migrate to the newer version to ensure full functionality.
The information that you require to edit each instance of the SUNW.oracle_server resource type is as follows:
You can perform the migration at any time.
If you customized the behavior of the server fault monitor, set the Custom_action_file extension property. For more information, see Customizing the HA for Oracle Database Server Fault Monitor.
The following example shows a command for editing an instance of the SUNW.oracle_server resource type.
Example 8 Editing an Instance of the SUNW.oracle_server Resource Type# clresource set -p Type_version=N \ -p custom_action_file=/opt/SUNWscor/oracle_server/etc/srv_mon_cust_actions \ oracle-srs
This command edits a SUNW.oracle_server resource as follows:
The SUNW.oracle_server resource is named oracle-srs.
The Type_version property of this resource is set to N, which represents the version number of the resource type you migrated to.
Custom behavior for the fault monitor of this resource is specified in the file /opt/SUNWscor/oracle_server/etc/srv_mon_cust_actions.