Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Cluster Data Services Reference Manual Oracle Solaris Cluster 4.0 |
ORCL.obiee_cluster_controller(5)
ORCL.obiee_presentation_service(5)
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 9i Real Application Clusters (RAC) listener managed by Oracle Solaris Cluster
The SUNW.scalable_rac_listener resource type represents the Oracle 9i RAC listener in an Oracle Solaris Cluster configuration.
Note - Use the SUNW.scalable_rac_listener resource type only if you are using Oracle 9i RAC. If you are using Oracle 10g R2, use the SUNW.scalable_rac_server_proxy(5) resource type.
The SUNW.scalable_rac_listener 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_rac_listener resource represents all Oracle RAC listener instances that serve a database. Each instance of the RAC listener is uniquely identified by the value of the listener_name extension property on the node where the instance is running. The listener_name 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 means:
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:
5
30
None
Any time
5
30
5
30
5
180
5
120
-1
-1
Any time
-1
2592000
600
Any time
5
300
5
300
1
2592000
30
Any time
5
300
5
120
The extension properties of the SUNW.scalable_rac_listener resource type are as follows.
This property indicates the level to which debug messages from the Oracle RAC listener component are logged. When the debug level is increased, more debug messages are written to the log files. These messages are logged to the file /var/opt/SUNWscor/scalable_rac_listener/message_log.rs, where rs is the name of the resource that represents the Oracle RAC listener component.
You can specify a different value of the debug_level extension property for each node that can master the resource.
Integer
0–100
1, which logs syslog messages
Any time
This property specifies the name of the Oracle listener instance that is to be started on the node where the instance is running. This name must match the corresponding entry in the listener.ora configuration file.
You can specify a different value of the listener_name extension property for each node that can master the resource.
String
Not applicable
LISTENER
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 timeout value, in seconds, that the fault monitor uses when checking the status of an Oracle RAC listener.
Integer
1–99999
180
Any time
This property specifies the name of the file that contains the environment variables that are to be set before the listener starts up or shuts down. You must define all environment variables whose values differ from Oracle defaults in this file.
For example, a user's listener.ora file might not be located under the /var/opt/oracle directory or the oracle-home/network/admin directory. In this situation, the TNS_ADMIN environment variable must be defined.
The definition of each environment variable that is defined must follow the format variable-name=value. Each definition must start on a new line in the environment file.
You can specify a different value of the user_env extension property for each node that can master the resource.
String
Not applicable
No default defined
Any time
Example 1 Creating a scalable_rac_listener Resource
This example shows the commands for performing the following operations to create a scalable_rac_listener resource on a two-node cluster:
Registering the SUNW.scalable_rac_server resource type
Adding the scalable_rac_server-rs resource to the rac-db-rg resource group
A different value of the listener_name extension property is set for each node that can master the resource.
The example makes the following assumptions:
The C shell is used.
A RAC framework resource group that is named rac-framework-rg exists.
Logical hostname resources that are named lh1-rs and lh2-rs exist.
phys-schost-1# clresourcetype register \ SUNW.scalable_rac_listener phys-schost-1# clresource create -g rac-db-rg \ -t SUNW.scalable_rac_listener \ -p resource_dependencies_weak=lh1-rs,lh2-rs \ -p oracle_home=/home/oracle/product/9.2.0 \ -p listener_name\{1\}=ORALISTNR1 \ -p listener_name\{2\}=ORALISTNR2 \ scalable_rac_listener-rs ...Creation of RAC server resource
See attributes(5) for descriptions of the following attributes:
|
clresource(1CL), clresourcetype(1CL), clsetup(1CL), attributes(5), r_properties(5), SUNW.rac_framework(5), SUNW.scalable_rac_server(5), SUNW.scalable_rac_server_proxy(5)
Oracle Solaris Cluster Data Services Planning and Administration Guide