runcluvfy.sh cluvfy cluvfyrac.sh 的使用

db: oracle 12.1.0.2

grid 用户

gi 软件解压完成后,会发现一个 runcluvfy.sh 文件

$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
$ ./runcluvfy.sh stage -pre dbinst -n node1,node2 -verbose
$ ./runcluvfy.sh stage -pre hacfg

$ ./runcluvfy.sh stage -post crsinst -n node1,node2 -verbose
$ ./runcluvfy.sh stage -post dbinst -n node1,node2 -verbose
$ ./runcluvfy.sh stage -post hacfg

gi 软件安装完后

# su - grid
$ cd $ORACLE_HOME/bin
$./cluvfy -help

USAGE:
cluvfy [-help|-version]
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]

$./cluvfyrac.sh -help

USAGE:
cluvfy [-help|-version]
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]

oracle 用户

db 软件解压完成后,并没有 runcluvfy.sh 文件
但是 db软件安装完成后,存在 cluvfy cluvfyrac.sh

# su - oracle
$ cd $ORACLE_HOME/bin
$./cluvfy -help

USAGE:
cluvfy [-help|-version]
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]

$./cluvfyrac.sh -help

USAGE:
cluvfy [-help|-version]
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]

查看 cluvfyrac.sh 的描述,是对 cluvfy 的一个包装.

上一篇:django model 自动保存创建人 更新人


下一篇:Django web开发系列(二)图书借阅管理系统之模型设计