runcluvfy与cluvfy

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”表示发起连接测试请求的源节点,如果不指定,当前节点被指定为源节点

上面命令报错日志是什么问题:[root@19cdb01 rpm]# su - grid Last login: Fri Mar 7 09:30:37 CST 2025 on pts/0 [grid@19cdb01:/home/grid]$ [grid@19cdb01:/home/grid]$ export CVUQDIISK_GRP=oinstall [grid@19cdb01:/home/grid]$ [grid@19cdb01:/home/grid]$ cd /u01/app/19.3.0/grid/ [grid@19cdb01:/u01/app/19.3.0/grid]$ [grid@19cdb01:/u01/app/19.3.0/grid]$ [grid@19cdb01:/u01/app/19.3.0/grid]$ cd /u01/app/19.3.0/grid [grid@19cdb01:/u01/app/19.3.0/grid]$ [grid@19cdb01:/u01/app/19.3.0/grid]$ ls addnode clone dbjava diagnostics gpnp install jdbc lib OPatch ords perl qos rhp rootupgrade.sh sqlpatch tomcat welcome.html xdk assistants crs dbs dmu gridSetup.sh instantclient jdk md opmn oss plsql racg root.sh runcluvfy.sh sqlplus ucp wlm bin css deinstall env.ora has inventory jlib network oracore oui precomp rdbms root.sh.old sdk srvm usm wwg cha cv demo evm hs javavm ldap nls ord owm QOpatch relnotes root.sh.old.1 slax suptools utl xag [grid@19cdb01:/u01/app/19.3.0/grid]$ [grid@19cdb01:/u01/app/19.3.0/grid]$ ./runcluvfy.sh stage -pre crsinst -n 19cdb01, 19cdb02 -verbose ERROR: Unexpected symbol "19cdb02". See usage for detail. USAGE: runcluvfy.sh stage -pre crsinst -responseFile <response_file> [-fixup] [-fixupnoexec] [-method sudo -user <user_name> [-location <dir_path>]|-method root] [-r {10.1|10.2|11.1|11.2|12.1|12.2|18|19}] [-verbose] crsinst -file <config_file> [-fixup] [-fixupnoexec] [-method sudo -user <user_name> [-location <dir_path>]|-method root] [-verbose] crsinst -upgrade [-rolling] [-src_crshome <src_crshome>] -dest_crshome <dest_crshome> -dest_version <dest_version> [-fixup] [-fixupnoe
最新发布
03-08
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值