Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Services Reference Manual Oracle Solaris Cluster 4.1 |
scalable_asm_diskgroup_proxy(5)
scalable_asm_instance_proxy(5)
SUNW.scalable_asm_diskgroup_proxy(5)
SUNW.scalable_asm_instance_proxy(5)
- resource type implementation for the Oracle single instance Automated Storage Management (ASM) managed by Oracle Solaris Cluster
The SUNW.scalable_asm_instance resource type represents the single instance ASM in an Oracle Solaris Cluster configuration.
Note - Use the SUNW.scalable_asm_instance resource type only if you are not using Oracle Cluster Ready Services (CRS). If you are using Oracle Cluster Ready Services, use the SUNW.scalable_asm_instance_proxy resource type.
The SUNW.scalable_asm_instance 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_instance resource represents all Oracle single instance ASM instances. Each instance of the single instance ASM is uniquely identified by the value of the oracle_sid extension property on the node where the instance is running.
The oracle_sid extension property is a per-node property. A single resource of this type can take a different value of this property for each node.
To register this resource type and create instances of this resource type, use one of the following :
The clsetup(1CL) utility, 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(1CL) command.
To create instances of this resource type, use the clresource(1CL) command.
For a description of all standard resource properties, see the r_properties(5) man page.
Standard resource properties are overridden for this resource type as follows:
SOFT
Any time
LB_WEIGHTED
At creation
””
Any time
60
300
60
300
60
300
””
Any time
””
Anytime
10
2
Anytime
3600
370
Anytime
FALSE
At creation
60
300
60
300
3600
60
ANYTIME
60
300
60
300
The extension properties of the SUNW.scalable_asm_instance resource type are as follows.
Provides control over the processes that are monitored through the Process Monitor Facility (PMF). This property denotes the level to which the forked child processes are monitored. Omitting this property or setting this property to the default value is the same as omitting the -Coption for pmfadm(1M). All child processes and their descendents are monitored.
Optional
-1
When disabled
Note - All SQL*Plus and srvmgr messages that the single instance ASM 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 single instance ASM resources are logged. When the debug level is increased, more debug messages are written to the system log /var/adm/messages as follows:
|
You can specify a different value of the debug_level extension property for each node that can master the resource
Integer
0–2
0
Any time
Allows the resources to fail over. If this property is set to False, failover of the resource is disabled. You can use this property to prevent the application resource from initiating a failover of the resource group.
Note - Use the Failover_mode property instead of the Failover_enabled extension property because Failover_mode better controls failover behavior. For more information, see the descriptions of the LOG_ONLY and RESTART_ONLY values for Failover_mode in r_properties(5).
You can specify a different value of the debug_level extension property for each node that can master the resource.
Optional
True
When disabled
Specifies the level, or type, of diagnostic messages that are logged by GDS. You can specify None, Info, or Err for this property. When you specify None, diagnostic messages are not logged by GDS. When you specify Info, both information and error messages are logged. When you specify Err, only error messages are logged.
Optional
Info
Any time
This property specifies whether an application uses the network.
Optional
False
At creation
This property specifies the number of PMF restart allowed for the fault monitor.
4
Any time
This property specifies the number of PMF restart allowed for the fault monitor.
2
Any time
Specifies the command that periodically checks the health of the single instance ASM.
Required
"/opt/SUNWscor/oracle_asm/bin/asm_control probe -R %RS_NAME -G %RG_NAME -T %RT_NAME"
None
This property specifies the timeout value, in seconds, for the probe command.
Optional
30 seconds
Any time
Specifies the command that starts the single instance ASM.
Required
"/opt/SUNWscor/oracle_asm/bin/asm_control start -R %RS_NAME -G %RG_NAME -T %RT_NAME"
None
Specifies the command that stops the single instance ASM.
Required
"/opt/SUNWscor/oracle_asm/bin/asm_control stop -R %RS_NAME -G %RG_NAME -T %RT_NAME"
None
Specifies the command that stops the single instance ASM.
Optional
15
When disabled
Specifies the absolute path to the command that validates the application, although currently not used.
Optional
Null
When disabled
This property specifies the full path to the Oracle home directory. The Oracle home directory contains the binary files, log files, and parameter files for the Oracle software.
String
Not applicable
No default defined
When disabled
This property specifies the Oracle System Identifier (SID). The Oracle SID uniquely identifies the Oracle single instance ASM on the node where the instance is running.
String
Not applicable
+ASM
When disabled
Example 1 Creating a scalable_asm_instance Resource
This example shows the commands for performing the following operations to create a scalable scalable_asm_instance resource on a two-node cluster:
Creating the asm-inst-rg resource group
Registering the SUNW.scalable_asm_instance resource type
Adding the asm_inst-rs resource to the asm-inst-rg resource group
A different value for the oracle_sid extension properties is set for each node that can master the resource.
The example makes the assumption that the bash shell is used.
phys-schost-1# clresourcetype register SUNW.scalable_asm_instance phys-schost-1# clresourcegroup create -S asm-inst-rg phys-schost-1# clresource create -g asm-inst-rg \ -t SUNW.scalable_asm_instance \ -p Oracle_home=/export/home/oraasm/oracle/product/10.2.0/db_1 \\ -d asm-inst-rs phys-schost-1# clresourcegroup online -M asm-inst-rg phys-schost-1# clresource enable asm-inst-rs
In the above example, the default value of +ASM is used for oracle_sid. If different values are required for oracle_sid, you should use the per_node property attribute as follows:
phys-schost-1# clresource create -g asm-inst-rg \ -t SUNW.scalable_asm_instance \ -p Oracle_home=/export/home/oraasm/oracle/product/10.2.0/db_1 \\ -p "Oracle_sid{pmutt1}"=+ASM_node1 \\ -p "Oracle_sid{pmutt2}"=+ASM_node2 \\ -d asm-inst-rs
Oracle Solaris Cluster Data Service for Oracle Real Application Clusters Guide, Oracle Solaris Cluster Data Service for Oracle Guide, Oracle Solaris Cluster Data Services Planning and Administration Guide