温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

cluvfy的命令列表及实例应用

发布时间:2021-09-14 12:00:47 来源:亿速云 阅读:86 作者:chen 栏目:关系型数据库

本篇内容介绍了“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> cluvfy stage -pre crsinst -n WTCCN-BJ-ECDB1,WTCCN-BJ-ECDB2 -fixup -verbose
Performing pre-checks for cluster services setup 
Checking node reachability...
Check: Node reachability from node "wtccn-bj-ecdb1"
  Destination Node                      Reachable?              
  ------------------------------------  ------------------------
  wtccn-bj-ecdb1                        yes                     
  wtccn-bj-ecdb2                        yes                     
Result: Node reachability check passed from node "wtccn-bj-ecdb1"
Checking user equivalence...
Check: User equivalence for user "oracle"
  Node Name                             Status                  
  ------------------------------------  ------------------------
  wtccn-bj-ecdb2                        passed                  
  wtccn-bj-ecdb1                        passed                  
Result: User equivalence check passed for user "oracle"
Checking node connectivity...
Checking hosts config file...
  Node Name                             Status                  
  ------------------------------------  ------------------------
  wtccn-bj-ecdb2                        passed                  
  wtccn-bj-ecdb1                        passed                  
Verification of the hosts config file successful
... ...

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

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI