为编程爱好者分享易语言教程源码的资源网
好用的代理IP,游戏必备 ____广告位招租____ 服务器99/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器
好用的代理IP,游戏必备 ____广告位招租____ 服务器低至38/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器

网站首页 > 网络编程 > 其它综合 正文

11G R2 RAC集群数据库root.sh执行失败如何操作

三叶资源网 2022-12-12 19:18:50 其它综合 245 ℃ 0 评论

安装rac集群时经常会碰到root.sh执行失败的情况,那么执行失败后如何继续安装呢?查看mos的一篇文章进行记录。版本为11g rac(11.2.0.2以上)

GI Cluster Deconfigure and Reconfigure

Identify cause of root.sh failure by reviewing logs in $GRID_HOME/cfgtoollogs/crsconfig and $GRID_HOME/log, once cause is identified and problem is fixed, deconfigure and reconfigure with steps below - keep in mind that you will need wait till each step finishes successfully before move to next one:
注:查找原因检查如果原因找到,并且修复,请按照如下步骤操作。
Step 0: For 11.2.0.2 and above, root.sh is restartable.

11.2.0.2 以后root.sh是可以重复执行的
Once cause is identified and the problem is fixed, root.sh can be executed again on the failed node. If it succeeds, continue with your planned installation procedure; otherwise as root sequentially execute "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force" and $GRID_HOME/root.sh on local node, if it succeeds, continue with your planned installation procedure, otherwise proceed to next step (Step 1) of the note.
如果导致root.sh执行失败的原因已经找到,并且修复了,可以再故障节点再次执行root.sh,如果执行成功,那么可以继续安装。如果再次执行失败,需要使用root用户再故障节点执行卸载crs命令,然后再次执行,如果成功则继续安装

$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force

如果卸载后,执行root.sh仍然失败,执行如下步骤:
Step 1: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force" on all nodes, except the last one.
节点2执行卸载crs命令$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force
Step 2: As root, run "$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode" on last node. This command will zero out OCR, Voting Disk and the ASM diskgroup for OCR and Voting Disk

节点1即最后节点执行卸载crs命令$GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode

Note:一些注意事项,如果节点未执行root.sh可以跳过步骤1及步骤2。
a. Step1 and 2 can be skipped on node(s) where root.sh haven't been executed this time.
b. Step1 and 2 should remove checkpoint file. To verify:
ls -l $ORACLE_BASE/Clusterware/ckptGridHA_.xml
If it's still there, please remove it manually with "rm" command on all nodes
c. If GPNP profile is different between nodes/setup, clean it up on all nodes as grid user
$ find <GRID_HOME>/gpnp/* -type f -exec rm -rf {} \;
The profile needs to be cleaned up:
c1. If root.sh is executed concurrently - one should not execute root.sh on any other nodes before it finishes on first node.
c2. If network info, location of OCR or Voting Disk etc changed after Grid is installed - rare

Step 3: As root, run $GRID_HOME/root.sh on first node
Step 4: As root, run $GRID_HOME/root.sh on all other node(s), except last one.
Step 5: As root, run $GRID_HOME/root.sh on last node.

全部卸载后,再次按照顺序在各节点执行root.sh

D. Grid Infrastructure Deinstall


As grid user, execute "$GRID_HOME/deinstall/deinstall" and follow the instructions, for details, refer to the following documentation for your platform:
Oracle Grid Infrastructure
Installation Guide
How to Modify or Deinstall Oracle Grid Infrastructure

If there's any error, deconfig the failed GI with steps in Section B or C, and deinstall manually with note 1364419.1

彻底卸载grid软件在节点1执行deinstall 命令,此命令会自动卸载grid软件。同样操作在节点2执行卸载命令。

如果仍然执行失败那么继续分析导致失败的原因。并解决。

参考文档

<How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation (Doc ID 942166.1)>

来源:三叶资源网,欢迎分享,公众号:iisanye,(三叶资源网⑤群:21414575

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

百度站内搜索
关注微信公众号
三叶资源网⑤群:三叶资源网⑤群

网站分类
随机tag
ExDUI视频教程网页填表胆码不重复算法百度云计算图片识别163邮箱登陆组合框拼接独立cookiesRAR注释订单监控gumbo吃鸡辅助sqllite限制上网文件枚举YY注册美团多线程例子防撤回模块反编译视频上传
最新评论