The resource types for the Sun Cluster HA for Oracle data service are as follows:
SUNW.oracle_listener, which represents an Oracle listener
SUNW.oracle_server, which represents an Oracle server
Upgrade these resource types if you are upgrading from an earlier version of Sun Cluster HA for Oracle.
For general instructions that explain how to upgrade a resource type, see Upgrading a Resource Type in Sun Cluster Data Services Planning and Administration Guide for Solaris OS.
The information that you require to complete the upgrade of the SUNW.oracle_listener resource type is provided in the subsections that follow.
The relationship between the version of the SUNW.oracle_listener resource type and the release of Sun Cluster data services is shown in the following table. The release of Sun Cluster data services indicates the release in which the version of the resource type was introduced. The table also summarizes the changes that were introduced in each new version.
SUNW.oracle_listener Resource Type Version |
Sun Cluster Data Services Release |
Summary of Changes |
---|---|---|
1 |
1.0 |
Not applicable |
3.1 |
3.1 5/03 |
Directives to enable upgrades of this resource type introduced |
4 |
3.1 4/04 |
Probe_timeout extension property introduced |
5 |
3.1 8/05 |
Default value of the Probe_timeout extension property increased to 180 seconds |
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_listener/etc/SUNW.oracle_listener.
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 use the features of the SUNW.oracle_listener resource type that were introduced in version 3.1 4/04, the required value of the Type_version property is 4.
If you need to use the features of the SUNW.oracle_listener resource type that were introduced in version 3.1 8/05, the required value of the Type_version property is 5.
If you need to specify the timeout value in seconds that the fault monitor uses to probe an Oracle listener, set the Probe_timeout extension property. For more information, see SUNW.oracle_listener Extension Properties.
If you are using version 4 of the SUNW.oracle_listener resource type, upgrade to version 4 only if you require the new default values. If the default values in version 4 are satisfactory, you do not need to upgrade.
The following example shows a command for editing an instance of the SUNW.oracle_listener resource type.
# clresource set -p Type_version=4 \ -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 4.
The timeout value in seconds that the fault monitor uses to probe an Oracle 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 subsections that follow.
The relationship between the version of the SUNW.oracle_server resource type and the release of Sun Cluster data services is shown in the following table. The release of Sun Cluster data services indicates the release in which the version of the resource type was introduced. The table also summarizes the changes that were introduced in each new version.
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.
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 need to use the features of the SUNW.oracle_server resource type that were introduced in version 3.1 10/03, the required value of the Type_version property is 4.
If you need to use the features of the SUNW.oracle_server resource type that were introduced in version 3.1 8/05, the required value of the Type_version property is 5.
If you customized the behavior of the server fault monitor, set the Custom_action_file extension property. For more information, see Customizing the Sun Cluster HA for Oracle Server Fault Monitor.
If you are using version 4 of the SUNW.oracle_server resource type, upgrade to version 4 only if you require the new default values. If the default values in version 4 are satisfactory, you do not need to upgrade.
The following example shows a command for editing an instance of the SUNW.oracle_server resource type.
# clresource set -p Type_version=4 \ -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 4.
Custom behavior for the fault monitor of this resource is specified in the file /opt/SUNWscor/oracle_server/etc/srv_mon_cust_actions.