How to Register and Configure the Oracle ASM Resource Group
(clsetup)
When you
register and configure the Oracle ASM resource
group for a cluster, the Oracle ASM resource group
is created.
Perform this procedure from one node
only.
Note -
The clsetup utility
currently allows ongoing administration of an
Oracle RAC framework running only in the global
cluster. For ongoing administration of a Support
for Oracle RAC framework configured in a zone
cluster, you need to instead use the Oracle
Solaris Cluster maintenance commands.
Before You Begin
-
Ensure that Oracle ASM disk groups are configured. For more information,
see Using Oracle ASM.
-
Any project you
created to run Oracle ASM exists in the projects name
service database for the user that runs that application. If no custom project
is created for the application, the default project is used. For more
information, see the projects(1) man page.
Ensure that you have the following information:
-
The name of the Oracle Grid Infrastructure home directory.
-
The list of Oracle ASM systems identifiers (SID).
-
The names of the Oracle ASM disk groups to use.
Note -
If your Support for Oracle RAC
configuration requires using Oracle ASM with Solaris Volume Manager mirrored
logical volumes, you might experience either of the following conditions:
-
Performance degradation. See Article 603825.1 at My Oracle Support (https://support.oracle.com) for
additional information.
-
Failures of the SUNW.ScalDeviceGroup probe. These
failures result in a loss of availability of any service that is dependent on
the SUNW.ScalDeviceGroup resource.
You can mitigate these issues by increasing the
IOTimeout property setting for the
SUNW.ScalDeviceGroup resource type.
# clresource set -p IOTimeout=timeout-value-in-seconds resource-name
The default for the IOTimeout property is 30 seconds
but can be set much higher. Determine the optimal setting for each system
individually, starting with a value of at least 240 seconds.
-
Assume the root role on
any cluster node.
-
Start the clsetup
utility, verify prerequisites, and navigate to the
Support for Oracle RAC configuration
section.
-
Choose the Support for Oracle RAC
location.
Select the global cluster or a zone cluster.
The clsetup utility displays a
list of Support for Oracle RAC components to
configure.
-
Choose to configure Automatic Storage
Management (ASM).
The clsetup utility
displays a list of the cluster nodes to
select.
-
Follow the prompts in the
clsetup utility to provide the
following information.
|
|
|
Cluster nodes on which to run Oracle
ASM
|
Ensure that the nodes are listed in the
order in which the nodes are to appear in the
Oracle RAC framework resource group's node
list.
To choose nodes, type a comma-separated or
space-separated list of the option numbers for the
nodes you choose.
|
|
Oracle ASM instance resource to use
|
If no Oracle ASM instance resource is
available, the clsetup utility prompts you to
create a resource.
|
|
Oracle Grid Infrastructure home
directory
|
Provide the full path.
|
|
Project where Oracle ASM is to run
|
If you did not create a project where Oracle
ASM will run, select the default project.
|
|
Oracle ASM SIDs
|
If the list of Oracle ASM system identifiers
(SIDs) that are discovered in the cluster is not
correct, you can change the SIDs.
|
|
Oracle ASM disk-group resources
|
Choose whether to create a disk-group
resource or to use an existing disk-group
resource.
|
|
Oracle ASM storage resources to manage the
file-system mount point for the Oracle Grid
Infrastructure home directory
|
If no storage resource exist, the
clsetup utility creates one
when you complete Oracle ASM configuration.
|
|
Oracle ASM disk-group resources to manage
Oracle ASM disk groups
|
Choose whether to create a disk-group
resource or to use an existing disk-group
resource.
|
|
Oracle ASM disk groups
|
|
|
|
-
Confirm the object names.
-
If you require a different name for any
Oracle Solaris Cluster objects, choose the name to
change and type the new name in response to the
prompt.
-
To confirm your selection of Oracle Solaris
Cluster object names, type
d.
-
To create the configuration, type
c.
The clsetup utility
displays a progress message to indicate that the
utility is running commands to create the
configuration. When configuration is complete, the
clsetup utility displays the
commands that the utility ran to create the
configuration.
When the configuration process completes,
you can press Return repeatedly to exit from the
clsetup utility. If you prefer,
you can leave the clsetup
utility running while you perform other required
tasks before using the utility again.
The following table lists the default resource configuration that the
clsetup utility creates when you complete this task.
|
|
|
Resource type: SUNW.scalable_rac_server_proxy
Resource name: rac_server_proxy-rs
Resource group: rac_server_proxy-rg
|
Strong dependency on the Support for Oracle RAC framework resource.
Offline-restart dependency on the clustered Oracle ASM disk-group
resource.
Offline-restart dependency on the Oracle Grid Infrastructure framework resource.
When configured with Solaris Volume Manager for Sun Cluster, strong positive affinity by the
Support for Oracle RAC instance proxy resource group for the Support for Oracle RAC
framework resource group.
When configured with hardware RAID, strong positive affinity by the
Support for Oracle RAC instance proxy resource group for the clustered Oracle ASM
disk-group resource group.
|
Support for Oracle RAC instance proxy resource
|
Resource type: SUNW.oracle_asm_diskgroup
Resource name: asm-dg-rs
Resource group: asm-dg-rg
|
Strong positive affinity by the clustered Oracle ASM disk-group resource
group for the clustered Oracle ASM instance resource group.
When configured with Solaris Volume Manager for Sun Cluster:
-
Strong dependency on the clustered Oracle ASM instance resource.
-
Offline-restart dependency on the scalable device-group resource for
database files.
When configured with hardware RAID, offline-restart dependency on the
clustered Oracle ASM disk-group resource.
|
Clustered Oracle ASM disk-group resource
|
SPARC: Resource type:
SUNW.scalable_oracle_asm_instance_proxy
Resource name: asm-inst-rs
Resource group: asm-inst-rg
|
Offline-restart dependency on the Oracle Grid Infrastructure resource.
When configured with hardware RAID, strong positive affinity by the
clustered Oracle ASM instance resource group for the Oracle Clusterware
framework resource group.
|
Clustered Oracle ASM instance resource
|
SPARC: Resource type: SUNW.sqfs
Resource name: asm-home-sqfs-rs
Resource group: asm-home-sqfs-rg
|
Strong dependency on the scalable wait_zc_boot resource
and scalable device-group resource, if any.
If you are using StorageTek QFS without a volume manager, this resource does not
depend on any other resources.
|
Resource for the Oracle ASM home on a StorageTek QFS metadata server. One resource
is created for each StorageTek QFS shared file system that you are using for Oracle
files.
|
Resource type: SUNW.ScalMountPoint
Resource name: asm-mp-rs
Resource group: asm-mp-rg
|
Strong dependency on the resource for the StorageTek QFS metadata server, if
any.
Offline-restart dependency on the scalable device-group resource, if
any.
If you are using a file system on a qualified NAS device without a
volume manager, this resource does not depend on any other resources.
|
Resource for the Oracle Grid Infrastructure home on a scalable file system mount point. One
resource is created for each shared file system that you are using for Oracle
files.
|
Resource type: SUNW.ScalDeviceGroup
Resource name: scaldg-name-rs, where dg-name
is the name of the device group that the resource represents
Resource group: scaldg-rg
|
Strong dependency on the resource in the multiple-owner volume-manager
framework resource group for the volume manager that is associated with the
device group: either the Solaris Volume Manager for Oracle Solaris Cluster
resource.
|
Scalable device-group resource. One resource is created for each scalable
device group that you are using for Oracle files.
|
|
Next Steps
Go to Enabling Support for Oracle RAC to Run in a Cluster.