Specifies a comma-separated list of names of the nodes that can master this resource group. Ensure that the node for which you are creating the logical hostname resource appears first in the list. Choose an order for the remaining nodes that ensures that the logical hostname resources
are distributed equally throughout the cluster.

-prg_description="description"

Specifies an optional brief description of the resource group. This description is displayed when you use Sun Cluster maintenance commands to obtain information about the resource group.

lh-name-rg

Specifies your choice of name to assign to the resource group.

Add a logical hostname resource to the resource group that you created in Step a.

# clreslogicalhostname create -h lh-name -g lh-name-rglh-name-rs

-hlh-name

Specifies the logical hostname that this resource is to make available. An entry for this logical hostname must exist in the name service database.

-glh-name-rg

Specifies that you are adding the resource to the resource group that you created in Step 2.

lh-name-rs

Specifies your choice of name to assign to the logical hostname resource.

Create a scalable resource group to contain the Oracle RAC server resource and Oracle listener resource.

Specifies a comma-separated list of cluster nodes on which Sun Cluster Support for Oracle RAC is to be enabled. The Sun Cluster Support for Oracle RAC software packages must be installed on each node in this list.

-pmaximum_primaries=num-in-list

Specifies the number of nodes on which Sun Cluster Support for Oracle RAC is to be enabled. This number must equal the number of nodes in nodelist.

-pdesired_primaries=num-in-list

Specifies the number of nodes on which Sun Cluster Support for Oracle RAC is to be enabled. This number must equal the number of nodes in nodelist.

-prg_affinities=++rac-fmwk-rg

Creates a strong positive affinity to the RAC framework resource group. If the RAC framework resource group was created by using the clsetup utility, the RAC framework resource group is named rac-framework-rg.

-prg_description="description"

Specifies an optional brief description of the resource group. This description is displayed when you use Sun Cluster maintenance commands to obtain information about the resource group.

-prg_mode=Scalable

Specifies that the resource group is scalable.

rac-db-rg

Specifies the name that you are assigning to the resource group.

Register the SUNW.scalable_rac_listener resource type.

# clresourcetype register SUNW.scalable_rac_listener

Add an instance of the SUNW.scalable_rac_listener resource type to the resource group that you created in Step 3.

When you create this resource, specify the following information
about the resource:

The name of the Oracle listener on each node where Oracle RAC is to run. This name must match the corresponding entry in the listener.ora file for the node.

The Oracle home directory. The Oracle home directory contains the binary files, log files, and parameter files for the Oracle software.

Specifies the resource group to which you are adding the resource. This resource group must be the resource group that you created in Step 3.

[-presource_dependencies=db-bin-rs]

Specifies that this Oracle listener resource has a strong dependency on the storage resource for binary files. Specify this dependency only if you are using the Sun StorEdge QFS shared file system or a Network Appliance NAS device for Oracle binary files. The storage resource for Oracle
binary files is created when you perform the tasks in Registering and Configuring Storage Resources for Oracle Files.

-plistener_name{node}=ora-sid

Specifies the name of the Oracle listener instance on node node. This name must match the corresponding entry in the listener.ora file.

-p resource_dependencies_weak=lh-rs-list

Specifies a comma-separated list of resources on which this resource is to have a weak dependency. The list must contain all the logical hostname resources that you created in Step 2.

-poracle_home=ora-home

Specifies the path to the Oracle home directory. The Oracle home directory contains the binary files, log files, and parameter files for the Oracle software.

rac-lsnr-rs

Specifies the name that you are assigning to the SUNW.scalable_rac_listener resource.

Register the SUNW.scalable_rac_server resource type.

# clresourcetype register SUNW.scalable_rac_server

Add an instance of the SUNW.scalable_rac_server resource type to the resource group that you created in Step 3.

When you create this resource, specify the following information about the resource:

The Oracle home directory. The Oracle home directory contains the binary files, log files, and parameter files for the Oracle software.

The Oracle system identifier on each node where Oracle RAC is to run. This identifier is the name of the Oracle database instance on the node.

The full path to the alert log file on each node where Oracle RAC is to run.

Specifies a weak dependency by this Oracle RAC server resource on the Oracle listener resource that you created in Step 5.

-poracle_sid{node}=ora-sid

Specifies the Oracle system identifier on node node. This identifier is the name of the Oracle database instance on the node. You must set a different value for this property on each node where Oracle RAC is to run.

-poracle_home=ora-home

Specifies the path to the Oracle home directory. The Oracle home directory contains the binary files, log files, and parameter files for the Oracle software.

-p connect_string=string

Specifies the Oracle database user ID and password that the fault monitor uses to connect to the Oracle database. string is specified as follows:

userid/password

userid

Specifies the Oracle database user ID that the fault monitor uses to connect to the Oracle database.

password

Specifies the password that is set for the Oracle database user userid.

The database user ID and password are defined during the setup of Oracle RAC. To use Solaris authentication, type a slash (/) instead of a user ID and password.

rac-srvr-rs

Specifies the name that you are assigning to the SUNW.scalable_rac_server resource.