安装grid时如何回退root.sh

Running the rootcrs.pl command flags
-deconfig -force
enables you to deconfigure Oracle Clusterware on one or more nodes without removing installed binaries.
This feature is useful if you encounter an error on one or more cluster nodes during installation when running the root.sh command, such as a missing operating system package on one node. By running rootcrs.pl -deconfig -force on nodes where you encounter an installation error, you can deconfigure Oracle Clusterware on those nodes, correct the cause of the error, and then run root.sh again.



To deconfigure Oracle Clusterware:

1. Log in as the root user on a node where you encountered an error.

2. Change directory to Grid_home/crs/install. For example:

# cd /u01/app/11.2.0/grid/crs/install

3. Run rootcrs.pl with the -deconfig -force flags. For example:

# perl rootcrs.pl -deconfig -force    

Repeat on other nodes as required


4. If you are deconfiguring Oracle Clusterware on all nodes in the cluster, then on the last node, enter the following command:

# perl rootcrs.pl -deconfig -force -lastnode

The -lastnode flag completes deconfiguration of the cluster, including the OCR and voting disks.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29802484/viewspace-2121376/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29802484/viewspace-2121376/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值