ITPub博客

首页 > 数据库 > Oracle > Grid能否安装、是否正常安装的校验语法

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

原创 Oracle 作者:lusklusklusk 时间:2017-06-07 17:15:00 0 删除 编辑

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博客 ” ,链接:https://blog.itpub.net/30126024/viewspace-2140404/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Welcome to Lukes DB HOME。 Oracle OCM、Mysql OCP, 10年DBA工作经验,博客仅记录自己的一个学习过程,不代表完全准确,如有需要,欢迎转载。

注册时间:2015-02-02

  • 博文量
    348
  • 访问量
    1175008