Oracle® Solaris Cluster Data Service for Oracle Database Guide

Exit Print View

Updated: September 2014, E39654–02
 
 

Upgrading the SUNW.oracle_server Resource Type

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

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.


Note -  The Resource Group option of clsetup locates for you the available resource type versions you can upgrade to.

Information for Migrating Existing Instances of the SUNW.oracle_server Resource Type

The information that you require to edit each instance of the SUNW.oracle_server resource type is as follows:

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.