oracle rootcrs.pl 用法


rootcrs.pl在$CRS_HOME/crs/install 目录下,用于集群相关配置与操作。 执行权限必须为root

NAME
         rootcrs.pl - Configure Oracle Clusterware

SYNOPSIS
         rootcrs.pl [-verbose] [-upgrade [-force] | -patch]
                    [-paramfile <parameter-file>]
                    [-deconfig [-deinstall] [-keepdg] [-force] [-lastnode]]
                    [-downgrade -oldcrshome <old crshome path> -version <old crs version> [-force] [-lastnode]]
                    [-unlock [-crshome <path to crs home>] [-nocrsstop]]
                    [-init]

         Options:
          -verbose    Run this script in verbose mode
          -upgrade    Oracle HA is being upgraded from previous version
          -patch      Oracle HA is being upgraded to a patch version
          -paramfile  Complete path of file specifying HA parameter values
          -lastnode   Force the node this script is executing on to be considered
                      as the last node of deconfiguration or downgrade, and perform
                      actions associated with deconfiguring or downgrading the
                      last node
          -downgrade  Downgrade the clusterware
          -version    For use with downgrade; special handling is required if
                      downgrading to 9i. This is the old crs version in the format
                      A.B.C.D.E (e.g 11.1.0.6.0).
          -deconfig   Remove Oracle Clusterware to allow it to be uninstalled or reinstalled
          -force      Force the execution of steps in delete or dwongrade that cannot
                      be verified to be safe
          -deinstall  Reset the permissions on CRS home during de-configuration
          -keepdg     Keep existing diskgroups during de-configuration
          -unlock     Unlock CRS home
          -crshome    Complete path of crs home. Use with unlock option
          -oldcrshome For use with downgrade. Complete path of the old crs home
          -nocrsstop  used with unlock option to reset permissions on an inactive grid home
          -init       Reset the permissions of all files and directories under CRS home

         If neither -upgrade nor -patch is supplied, a new install is performed

         To see the full manpage for this program, execute:
           perldoc rootcrs.pl

DESCRIPTION
         This script performs the operations necessary to install the Oracle
         Clusterware stack on a node of a cluster.  It must be run once on
         each node and it must be run by an authorized user, e.g. root on UNIX
         platforms, Administrator on Windows.

         Upon successful completion on each node, the Oracle Clusterware will
         be executing on that node.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17086096/viewspace-1981879/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/17086096/viewspace-1981879/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值