Go to main content

Data Services Reference for Oracle® Solaris Cluster 4.4

Exit Print View

Updated: November 2019
 
 

SUNW.scalable_asm_diskgroup_proxy (7)

Name

SUNW.scalable_asm_diskgroup_proxy, scalable_asm_diskgroup_proxy - resource type implementation for the clustered Oracle Automated Storage Management (Oracle ASM) disk group managed by Oracle Solaris Cluster

Description

The SUNW.scalable_asm_diskgroup_proxy resource type represents the clustered Oracle ASM disk group in an Oracle Solaris Cluster configuration. This resource type is introduced for use starting with Oracle 11g release 2 configurations.


Note -  The SUNW.scalable_asm_diskgroup_proxy resource type can only be used when using Oracle Grid Infrastructure for Clusters.

The SUNW.scalable_asm_diskgroup_proxy resource type is a multiple-master resource type. A single resource of this type can run on multiple nodes concurrently, but does not use network load balancing.

Each SUNW.scalable_asm_diskgroup_proxy resource represents a clustered Oracle ASM disk group. Each clustered Oracle ASM disk group is uniquely identified by the value of the asm_diskgroups extension property on the node where the instance is running. The Oracle ASM disk group resource should only be mounted if the Oracle ASM instance is available on the same cluster node. Additionally, Oracle ASM disk groups should only be mounted if any required storage resources are enabled on the cluster node. To ensure that these requirements are met, configure the Oracle ASM disk group resource as follows:

  • Create a strong positive affinity between the Oracle ASM disk group resource group and the following resource groups:

    • The clustered Oracle ASM resource group

    • Any resource group that contains storage resources for Oracle files

  • Create an offline-restart dependency between the clustered Oracle ASM disk group resource and the following resources:

    • The clustered Oracle ASM instance resource

    • Any storage resources for Oracle files that you are using

Create these dependencies and affinities when you configure clustered Oracle ASM disk group resources for the Oracle Solaris Cluster HA for Oracle data service or the Oracle Solaris Cluster Support for Oracle RAC data service.

To register this resource type and create instances of this resource type, use one of the following:

  • Oracle Solaris Cluster Manager

  • The clsetuputility, specifying the option for configuring Oracle Solaris Cluster Support for Oracle Real Application Clusters

  • The following sequence of Oracle Solaris Cluster maintenance commands:

    • To register this resource type, use the clresourcetype command.

    • To create instances of this resource type, use the clresource command.

Standard Properties

For a description of all standard resource properties, see the r_properties(7) man page.

Standard resource properties are overridden for this resource type as follows:

Prenet_start_timeout
Minimum

60

Default

300

Prenet_stop_timeout
Minimum

60

Default

300

Extension Properties

The extension properties of the SUNW.scalable_asm_diskgroup_proxy resource type are as follows.

asm_diskgroups

This property specifies the single-instance Oracle ASM disk group. If required, more than one single-instance Oracle ASM disk group can be specified as a comma-separated list.

Data Type

String array

Range

Not applicable

Default

No default defined

Tunable

When disabled

debug_level

Note -  All SQL*Plus and srvmgr messages that the Oracle ASM disk group resource issues are written to the log file /var/opt/SUNWscor/oracle_asm/message_log.${RESOURCE}.

This property indicates the level to which debug messages for the Oracle ASM disk-group resources are logged. When the debug level is increased, more debug messages are written to the system log /var/adm/messages as follows:

0

No debug messages

1

Function Begin and End messages

2

All debug messages and function Begin/End messages

You can specify a different value of the debug_level extension property for each node that can master the resource.

Data Type

Integer

Range

0–2

Default

0

Tunable

Any time

proxy_probe_timeout

This property specifies the timeout value, in seconds, that the proxy monitor uses when checking the status of the clustered Oracle ASM disk group resource for which this resource is acting as a proxy.

Data Type

Integer

Range

5–120

Default

60

Tunable

Any time

proxy_probe_interval

This property specifies the interval, in seconds, between probes of the clustered Oracle ASM disk group resource for which this resource is acting as a proxy.

Data Type

Integer

Range

5–120

Default

30

Tunable

Any time

Examples

Example 1 Creating a scalable_asm_diskgroup_proxy Resource

This example shows the commands for performing the following operations to create a scalable multi-master scalable_asm_diskgroup_proxy resource on a two-node cluster:

  1. Creating the asm-dg-rg resource group

  2. Registering the SUNW.scalable_asm_idiskgroup_proxy resource type

  3. Setting the resource group affinity

  4. Adding the asm-dg-rs resource to the asm-dg-rg resource group

  5. Setting the asm_diskgroups extension property for one Oracle ASM disk group

The example makes the following assumptions:

  • The bash shell is used.

  • A resource group that is named asm-inst-rg exists and contains a resource of type SUNW.scalable_asm_instance_proxy that is named asm-inst-rs.

  • A resource group that is named scal-mp-rg exists and contains a resource of type SUNW.ScalMountPoint that is named scal-mp-rs, for Oracle files.

phys-schost-1# clresourcetype register SUNW.scalable_asm_diskgroup_proxy

phys-schost-1# clresourcegroup create -S asm-dg-rg
phys-schost-1# clresourcgroup set -p rg_affinities=++asm-inst-rg asm-dg-rg

phys-schost-1# clresource create -g asm-dg-rg \
-t SUNW.scalable_asm_diskgroup_proxy \
-p asm_diskgroups=data1 \
-p resource_dependencies_offline_restart=casm-inst-rs,qfs-mp-rs \
-d asm-dg-rs

phys-schost-1# clresourcegroup online -M asm-dg-rg

phys-schost-1# clresource enable asm-dg-rs

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
ha-cluster/data-service/oracle-database

See Also

Oracle Solaris Cluster Data Service for Oracle Real Application Clusters Guide, Oracle Solaris Cluster Data Service for Oracle Database Guide, Planning and Administering Data Services for Oracle Solaris Cluster 4.4