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 1-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.