风哥教程

培训 . 交流 . 分享
Make progress together!

oracle 11gR2 RAC如何从ocr中删除与添加资源

[复制链接]
内容发布:paulyi| 发布时间:2014-2-11 14:32:20
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
$GRID_HOME/bin/crsctl stop res resource_name
$GRID_HOME/bin/crsctl stop res resource_name -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.


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
$GRID_HOME/bin/crsctl delete res resource_name
$GRID_HOME/bin/crsctl delete res resource_name -f


3. To add:

$RESOURCE_HOME/bin/srvctl add resource_type <options>


上一篇:oracle 11gR2 新增deinstall命令来卸载grid和database
下一篇:Oracle出现ora-600 [qkacon:FJswrwo], [3] oracle 10.2.0.4 bug
回复

使用道具 举报

1框架
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

热门文章教程

  • 风哥Oracle数据库巡检工具V1.0(附2.6网页
  • 实战PHP与MySQL权威指南PDF电子书下载
  • 大数据技术与应用入门培训教程(电子版下载
  • Oracle 12cR2 九大新功能全面曝光_详解云数
  • Oracle OCP认证考试IZ0-053题库共712题数据
  • MySQL5权威指南(第3版)PDF电子版下载
快速回复 返回顶部 返回列表