Grid能否安装、是否正常安装的校验语法

GRID能否安装

[grid@host]$ ./runcluvfy.sh stage -pre crsinst -n testdb01,testdb02 -fixup -verbose

显示的结果如下

Pre-check for cluster services setup was successful.

 


GRID是否已经正常安装

[grid@host]$./runcluvfy.sh stage -post crsinst -n testdb01,testdb02

显示的结果如下

Post-check for cluster services setup was unsuccessful on all the nodes.

 


以上命令在11.2.0.1、11.2.0.4、12.1.0.2上都可以正常使用,-n后面的testdb01testdb02是服务器名称。-verbose是看到详细信息
./runcluvfy.sh的当前目录是安装文件的目录,GRID或ORACLE安装好后在各自的HOME目录下都会有一个一样功能的cluvfy文件,使用方法和runcluvfy.sh一样
[root@node1 ~]# ll /u01/app/11.2.0/grid/bin/cluvfy
-rwxr-xr-x 1 grid oinstall 8539 Aug 18 11:57 /u01/app/11.2.0/grid/bin/cluvfy
[root@node1 ~]#
[root@node1 ~]# ll /u01/app/oracle/product/11.2.0/dbhome_1/bin/cluvfy
-rwxr-xr-x 1 oracle oinstall 1303 Feb  3  2010 /u01/app/oracle/product/11.2.0/dbhome_1/bin/cluvfy

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

转载于:http://blog.itpub.net/30126024/viewspace-2140404/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值