Go to main content

Oracle® Solaris Cluster Data Service for Oracle Database Guide

Exit Print View

Updated: September 2019
 
 

Upgrading HA for Oracle Database Resource Types

This section provides the following information about upgrading HA for Oracle Database resource types:

Overview of 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


Note -  If you are using an Oracle Grid Infrastructure for Clusters Single Client Access Name (SCAN) listener, the SUNW.oracle_listener resource type is not used.

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(7) 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(7) man page.


    Note -  Single instance Oracle ASM is not supported in an Oracle Solaris Cluster 4.4 configuration.
  • 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(7) 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 Planning and Administering Data Services for Oracle Solaris Cluster 4.4.

Upgrading the SUNW.oracle_listener Resource Type

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

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.


Note -  In the global zone, 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_listener Resource Type

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.

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