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/