Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Cluster Data Service for Oracle Real Application Clusters Guide Oracle Solaris Cluster 4.0 |
1. Installing Support for Oracle RAC
2. Configuring Storage for Oracle Files
3. Registering and Configuring the Resource Groups
4. Enabling Oracle RAC to Run in a Cluster
5. Administering Support for Oracle RAC
6. Troubleshooting Support for Oracle RAC
7. Modifying an Existing Configuration of Support for Oracle RAC
Overview of Tasks for Modifying an Existing Configuration of Support for Oracle RAC
Modifying Online the Resource for a Scalable Device Group
How to Modify Online the Resource for a Scalable Device Group
Extending an Existing Configuration of Support for Oracle RAC
How to Add Support for Oracle RAC to Selected Nodes
How to Add a Volume Manager Resource to the SUNW.vucmm_framework Resource Group
Removing an Oracle Grid Infrastructure Resource
How to Delete the sun.resource Resource
A. Sample Configurations of This Data Service
B. Preset Actions for DBMS Errors and Logged Alerts
You can remove Support for Oracle RAC from the following entities:
A cluster. See How to Remove Support for Oracle RAC From a Cluster.
Selected nodes in a cluster. See How to Remove Support for Oracle RAC From Selected Nodes.
Perform this task to remove Support for Oracle RAC from all nodes in a cluster.
On a cluster where multiple Oracle RAC databases are running, perform this task to remove an Oracle RAC database from the cluster. The remaining Oracle RAC databases continue to run in the cluster.
This task involves removing the following resource groups from the cluster in the following order:
The resource group for the Oracle RAC database
Resource groups for logical hostname resources
Resource groups for scalable file-system mount-point resources
Resource groups for scalable device group resources
The Oracle RAC framework resource group
The multiple-owner volume-manager framework resource group, if used
![]() | Caution - You might perform this task to remove an Oracle RAC database from a cluster where multiple Oracle RAC databases are running. In this situation, do not remove any resource group on whose resources the remaining Oracle RAC databases depend. For example, you might have configured multiple database file systems to depend on a single device group. In this situation, do not remove the resource group that contains the resource for the scalable device group. Similarly, if multiple databases depend on the Oracle RAC framework resource group, do not remove this resource group. |
Before You Begin
Ensure that the cluster node from which you perform this task is booted in cluster mode.
For each Oracle RAC database that you are removing, type the following command:
# clresourcegroup delete -F rac-db-rg
Specifies the resource group that you are removing.
The Oracle RAC software
The Oracle Grid Infrastructure software
# clresource disable crs-framework-rs
Specifies the name of the resource that you are disabling. This resource is the instance of the SUNW.crs_framework resource type that is configured in the cluster.
If no resource groups that contain scalable file-system mount-point resources are configured, omit this step.
For each resource group that you are removing, type the following command:
# clresourcegroup delete -F scal-mp-rg
Specifies the resource group that you are removing.
If no resource groups that contain scalable device group resources are configured, omit this step.
For each resource group that you are removing, type the following command:
# clresourcegroup delete -F scal-dg-rg
Specifies the resource group that you are removing.
How to perform this step depends on the type of the scalable device group.
Use the metaclear(1M) command for this purpose.
# metaclear -s scal-dg-ms -a
Specifies the name of the disk set from which you are removing metadevices.
# metaset -s scal-dg-ms -d -f alldevices
Specifies the name of the disk set from which you are removing global devices.
Specifies a space-separated list that contains all global devices that were added to the disk set when the disk set was created. The format of each device ID path name is /dev/did/dsk/dN, where N is the device number.
The removal of all nodes from a disk set destroys the disk set.
# metaset -s scal-dg-ms -d -h allnodes
Specifies the name of the disk set that you are destroying.
Specifies a space-separated list that contains all nodes that were added to the disk set when the disk set was created.
Note - If you are removing an Oracle RAC database from a cluster where multiple Oracle RAC databases are running, omit the remaining steps in this procedure.
# clresourcegroup delete -F rac-fmwk-rg
Specifies the resource group that you are removing.
# clresourcegroup delete -F vucmm-fmwk-rg
Specifies the resource group that you are removing.
# clresourcetype unregister resource-type-list
Specifies a comma-separated list of the names of the resource types that you are unregistering. For a list of the resource types that are associated with Support for Oracle RAC, see Automatically Generated Names for Oracle Solaris Cluster Objects.
# pkg uninstall ha-cluster/data-service/oracle-database ha-cluster/library/ucmm
Perform this task to remove Support for Oracle RAC from selected nodes.
On a cluster where multiple Oracle RAC databases are running, perform this task to remove an Oracle RAC database from selected nodes. The Oracle RAC database that you remove continues to run on the other cluster nodes. The remaining Oracle RAC databases continue to run on the selected nodes.
This task involves removing the selected nodes from the following resource groups in the following order:
The resource group for the Oracle RAC database
Resource groups for logical hostname resources
Resource groups for scalable file-system mount-point resources
Resource groups for scalable device group resources
The Oracle RAC framework resource group
![]() | Caution - You might perform this task to remove an Oracle RAC database from selected nodes of a cluster where multiple Oracle RAC databases are running. In this situation, do not remove the nodes from any resource group on whose resources the remaining Oracle RAC databases depend. For example, you might have configured multiple database file systems to depend on a single device group. In this situation, do not remove the nodes from the resource group that contains the resource for the scalable device group. Similarly, if multiple databases depend on the Oracle RAC framework resource group, do not remove the nodes from this resource group. |
For each Oracle RAC database that you are removing, perform the following steps:
# clresourcegroup offline -n nodelist rac-db-rg
Specifies a comma-separated list of cluster nodes from which you are taking offline the resource group.
Specifies the name of the resource group that you are taking offline.
# clresourcegroup remove-node -n nodelist rac-db-rg
Specifies a comma-separated list of cluster nodes that you are removing from the resource group.
Specifies the name of the resource group from which you are removing nodes.
# Grid_home/bin/crsctl delete -n node-name
Specifies the Oracle Grid Infrastructure home directory. This directory contains the Oracle Grid Infrastructure binary files and Oracle Grid Infrastructure configuration files.
Specifies the host name of the node where the Oracle Grid Infrastructure resource runs.
An Oracle Grid Infrastructure resource is configured for each Oracle Solaris Cluster resource for scalable device groups and scalable file-system mount points on which Oracle components depend.
For each Oracle Grid Infrastructure resource that you are removing, perform the following steps on each node from which you are removing the resource:
# Grid_home/bin/crsctl stop
# Grid_home/bin/crsctl delete res
The Oracle RAC database
Oracle Grid Infrastructure
If no resource groups that contain scalable file-system mount-point resources are configured, omit this step.
For each resource group from which you are removing nodes, perform the following steps:
# clresourcegroup offline -n nodelist scal-mp-rg
Specifies a comma-separated list of cluster nodes from which you are taking offline the resource group.
Specifies the name of the resource group that you are taking offline.
# clresourcegroup remove-node -n nodelist scal-mp-rg
Specifies a comma-separated list of cluster nodes that you are removing from the resource group.
Specifies the name of the resource group from which you are removing nodes.
If no resource groups that contain scalable device group resources are configured, omit this step.
For each resource group from which you are removing nodes, perform the following steps:
# clresourcegroup offline -n nodelist scal-dg-rg
Specifies a comma-separated list of cluster nodes from which you are taking offline the resource group.
Specifies the name of the resource group that you are taking offline.
# clresourcegroup remove-node -n nodelist scal-dg-rg
Specifies a comma-separated list of cluster nodes that you are removing from the resource group.
Specifies the name of the resource group from which you are removing nodes.
How to perform this step depends on the type of the scalable device group.
# metaset -s scal-dg-ms -d -h nodelist
Specifies the name of the disk set from which you are removing nodes.
Specifies a space-separated list of the nodes that you are removing from the disk set.
Note - If you are removing an Oracle RAC database from selected nodes of a cluster where multiple Oracle RAC databases are running, omit the remaining steps in this procedure.
# clresourcegroup offline -n nodelist rac-fmwk-rg
Specifies a comma-separated list of cluster nodes from which you are taking offline the resource group.
Specifies the name of the resource group that you are taking offline.
# clresourcegroup remove-node -n nodelist rac-fmwk-rg
Specifies a comma-separated list of cluster nodes that you are removing from the resource group.
Specifies the name of the resource group from which you are removing nodes.
# clresourcegroup offline -n nodelist vucmm-fmwk-rg
Specifies a comma-separated list of cluster nodes from which you are taking offline the resource group.
Specifies the name of the resource group that you are taking offline.
# clresourcegroup remove-node -n nodelist vucmm-fmwk-rg
Specifies a comma-separated list of cluster nodes that you are removing from the resource group.
Specifies the name of the resource group from which you are removing nodes.
# pkg uninstall ha-cluster/data-service/oracle-database ha-cluster/library/ucmm