How to Delete or Add Resource in 11gR2 Grid Infrastructure [ID 1069369.1]

来源:互联网 发布:推荐几款好用的软件 编辑:程序博客网 时间:2024/05/16 16:07

How to Delete or Add Resource in 11gR2 Grid Infrastructure [ID 1069369.1]


 

Modified 10-OCT-2010     Type HOWTO     Status MODERATED

 

In this Document
  Goal
  Solution
  References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.1 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Goal

The goal of this document is to explain steps may necessary to remove/add user resource from/to OCR in 11gR2.

Solution

A resource should be in OFFLINE state before it can be removed:

1. To stop, try the following sequentially until the resource is stopped successfully:

$RESOURCE_HOME/bin/srvctl stop resource_type <options>
$RESOURCE_HOME/bin/srvctl stop resource_type <options> -f




$RESOURCE_HOME refers to location where the resource is running off, for example, vip in $GRID_HOME, 11.2 .db in 11.2 RDBMS home, and 11.1 .db in 11.1 RDBMS home etc.

Resource_name is the name in "crsctl stat res" output.

For srvctl syntax, please refer to Server Control Utility Reference

2. To remove: once the resource is stopped, try the following sequentially until resource is removed successfully:

$RESOURCE_HOME/bin/srvctl remove resource_type <options>
$RESOURCE_HOME/bin/srvctl remove resource_type <options> -f





3. To add:

$RESOURCE_HOME/bin/srvctl add resource_type <options>


4. To get help on srvctl syntax:

$RESOURCE_HOME/bin/srvctl <command> <object> -h

 

References

NOTE:1050908.1 - How to Troubleshoot Grid Infrastructure Startup Issues
NOTE:1068835.1 - What to Do if 11gR2 Clusterware is Unhealthy
NOTE:948456.1 - Pre 11.2 Database Issues in 11gR2 Grid Infrastructure Environment

 

原创粉丝点击