2017. 11. 30. 13:12 오라클
oracle 12.2.0.1 rootcrs.sh
주로 쓰이는 옵션들..
[root@rac1 lib]# $GRID_HOME/crs/install/rootcrs.sh -help
rootcrs.sh [-verbose] [-upgrade ]
[-paramfile <parameter_file>]
[-deconfig [-deinstall] [-keepdg] [-lastnode] | -downgrade [-ocrbackupfile <OCR_backup_file>] [-online]] [-force]
[-unlock | -lock [-crshome <path_to_CRS_home>]]
[-prepatch [-cleanpids] | -postpatch [-norestart] [-nonrolling] [-rollback]] [-dstcrshome <destination_patch_home>]
[-join -existingnode <node_name>]
[-move -dstcrshome <path to CRS home>]
[-init] [-first -force] [-cleansockets]
Options:
-verbose |
Run this script in verbose mode. |
-upgrade |
Oracle HA is being upgraded from previous version. |
-lock |
Lock CRS home. |
-paramfile |
Complete path of file specifying HA parameter values |
-lastnode |
Force the node this is executing on to be considered the last node of the deconfiguration and perform actions associated with deconfiguring the last node. |
-downgrade |
Downgrade Oracle Clusterware. |
-deconfig |
Remove Oracle Clusterware to allow it to be uninstalled or reinstalled. |
-deinstall |
Reset the permissions on CRS home during deconfiguration. |
-keepdg |
Keep existing diskgroups during deconfiguration. |
-force |
Force the execution of steps in install or delete that cannot be verified to be safe. |
-unlock |
Unlock CRS home. |
-crshome |
Complete path of CRS home. |
-prepatch |
Perform required steps before the Oracle patching tool (Opatch) is invoked. |
-cleanpids |
Terminate Oracle Clusterware active processes. Must use with -prepatch option. |
-postpatch |
Perform required steps after the Oracle patching tool (Opatch) is invoked. |
-nonrolling |
Perform steps for -prepatch and -postpatch in a non-rolling fashion. |
-norestart |
Leave Oracle Clusterware stack stack down after patching. |
-rollback |
Perform steps specific to rollback for -prepatch and -postpatch. |
-dstcrshome |
Complete path of CRS home for out-of-place patching only |
-join |
Add the local node to an upgraded cluster. |
-existingnode |
An already upgraded cluster node. Must use with join option. |
-init |
Reset the permissions of all files and directories under CRS home. |
-ocrbackupfile |
Restore OCR with the given OCR backup file. |
-first -force |
Force a node other than the installer node as the first node, during install or upgrade. Must use with -force option. |
-cleansockets |
Remove socket files created by the Grid Infrastructure processes. Stop the GI stack if not already stopped (Option specific to Unix platform only). |
-online |
Downgrade the cluster without bringing the stack down on all nodes. Must be used with - downgrade option. |
-converttoextended |
Convert the cluster to an extended cluster. |
-first -sites |
List of sites to add to the cluster configuration on the first node. |
-site |
The site the local node is associated with. |
-move |
Change the Oracle Grid Infrastructure home path. The new home location is specified by the - dstcrshome option. |