本篇内容介绍了“cluvfy的命令列表及实例应用”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

一、命令列表

cluvfy stage {-list|-help}

列出所有参数

cluvfy stage {-pre|-post} <stage-name> <stage-specific options> [-verbose]

-pre cfs:对CFS设置进行预检;

-pre crsinst:对CRS安装进行预检查;

-pre acfscfg:对ACFS设置进行预检查;

-pre dbinst:对数据库安装进行预检查;

-pre dbcfg:对数据库配置进行预检查;

-pre hacfg:对数据库的HA配置进行预检查;

-pre nodeadd:为添加节点进行预检查;

-post hwos:对硬件和操作系统进行后期检查;

-post cfs:对CFS设置进行后期检查;

-post crsinst:对CRS安装进行后期检查;

-post acfscfg:对ACFS设置进行后期检查;

-post hacfg:对数据库的HA配置进行后期检查;

-post nodeadd:添加节点进行后期检查;

-post nodedel:对接点删除进行后期检查;

-n:表示需要检查的节点列表。

-r:表示需要安装的软件版本

-verbose:表示列出检查内容的详细信息

-fixup:修复

cluvfy comp {-list|-help}

cluvfy comp <component-name> <component-specific options> [-verbose]

nodereach:checks reachability between nodes

nodecon:checks node connectivity

cfs:checks CFS integrity

ssa:checks shared storage accessibility

space:checks space availability

sys:checks minimum system requirements

clu:checks cluster integrity

clumgr:checks cluster manager integrity

ocr:checks OCR integrity

olr:checks OLR integrity

ha:checks HA integrity

freespace:checks free space in CRS Home

crs:checks CRS integrity

nodeapp:checks node applications existence

admprv:checks administrative privileges

peer:compares properties with peers

software:checks software distribution

acfs:checks ACFS integrity

asm:checks ASM integrity

gpnp:checks GPnP integrity

gns:checks GNS integrity

scan:检查 SCAN 配置

ohasd:checks OHASD integrity

clocksync:检查时钟同步

vdisk:checks Voting Disk configuration and UDEV settings

healthcheck:checks mandatory requirements and/or best practice recommendations

dhcp:检查 DHCP 配置

dns:检查 DNS 配置

baseline:collect and compare baselines

二、例子

crs预安装检查

WTCCN-BJ-ECDB1[oracle]/home/oracle>cluvfystage-precrsinst-nWTCCN-BJ-ECDB1,WTCCN-BJ-ECDB2-fixup-verbosePerformingpre-checksforclusterservicessetupCheckingnodereachability...Check:Nodereachabilityfromnode"wtccn-bj-ecdb1"DestinationNodeReachable?------------------------------------------------------------wtccn-bj-ecdb1yeswtccn-bj-ecdb2yesResult:Nodereachabilitycheckpassedfromnode"wtccn-bj-ecdb1"Checkinguserequivalence...Check:Userequivalenceforuser"oracle"NodeNameStatus------------------------------------------------------------wtccn-bj-ecdb2passedwtccn-bj-ecdb1passedResult:Userequivalencecheckpassedforuser"oracle"Checkingnodeconnectivity...Checkinghostsconfigfile...NodeNameStatus------------------------------------------------------------wtccn-bj-ecdb2passedwtccn-bj-ecdb1passedVerificationofthehostsconfigfilesuccessful......

“cluvfy的命令列表及实例应用”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注亿速云网站,小编将为大家输出更多高质量的实用文章!