安装完clusterware,测试crs是否配置完成:
[oracle@node1 bin]$ ./olsnodes
node1
node2
[oracle@node1 bin]$ ./crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
[oracle@node1 bin]$ ./crs_stat -t
CRS-0202: No resources are registered.
In this Document
Goal
Solution
--------------------------------------------------------------------------------
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.1
Information in this document applies to any platform.
Oracle Clusterware
Goal
The goal of this document is to document the steps to confirm if the Oracle Clusterware (CRS) installation is valid
Solution
You have completed the Oracle Clusterware (CRS) install. Now you want to verify if the install is valid.
To Ensure that the Oracle Clusterware (CRS) install on all the nodes is valid, the following commands can be executed on all the nodes.
1.cluvfy stage -post crsinst -n all
2.Run the command $ORA_CRS_HOME/bin/crs_stat. Please ensure that this command does not error out but dumps the information for each resource. It does not matter what CRS stat returns for each resource. If the crs_stat exits after printing information about each resource then it means that the CRSD daemon is up and the client crs_stat utility can communicate with it. This will also indicate that the CRSD can read the OCR. If the crs_stat errors out with CRS-0202: No resources are registered, Then this means that there are no resources registered. This is not an error.
3.Output of command crsctl check crs returns all daemon as heallthy
最后重新运行/u01/app/oracle/product/10.2.0/crs_1/bin/vipca即可。