cluvfy的帮助:$cluvfy -help
USAGE:
cluvfy [-help]
cluvfy stage {-list|-help}
cluvfy stage {-pre|-post} <stage-name> <stage-specific options> [-verbose]
cluvfy comp {-list|-help}
cluvfy comp <component-name> <component-specific options> [-verbose]
列出可验证的集群安装步骤:
$ cluvfy stage -list
post hwos:对硬件和操作系统进行后期检查
pre cfs:对CFS设置进行预检
post cfs:对CFS设置进行后期检查
pre crsinst:对CRS安装进行预检查
post crsinst:对CRS安装进行后期检查
pre dbinst:对数据库安装进行预检查
pre dbcfg:对数据库配置进行预检查
例:硬件和操作系统的后期检查
$ cluvfy stage -post hwos -n rac1,rac2
列出可验证的集群组件:
$cluvfy comp -list
nodereach:检查各节点之间的可访问性
nodecon:检查节点连接性
cfs:检查Oracle集群文件系统完整性
ssa:检查共享存储的可访问性
space:检查空间可用性
sys:检查最低系统要求
clu:检查集群完整性
clumgr:检查集群管理器完整性
ocr:检查OCR完整性
crs:检查CRS完整性
nodeapp:检查是否存在节点应用程序
admprv:检查管理权限
peer:对等对象间的属性比较
例:检查各节点之间的可访问性:
$cluvfy comp nodereach -n all
基本语法:cluvfy comp nodereach -n <node_list> [-srcnode <node>] [-verbose]
“node_list”是逗号分隔的节点列表,如果想列出所有节点也可以使用“all”
“srcnode”表示发起连接测试请求的源节点,如果不指定,当前节点被指定为源节点