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后面的testdb01、testdb02是服务器名称。-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/