gridSetup.sh -setupHomeAs
The gridSetup.sh -setupHomeAs command installs the Oracle Grid Infrastructure software with Oracle base and privileged operating system groups identical to the specified grid home.
Syntax
gridSetup.sh -setupHomeAs source_Oracle_home [-executePrereqs] [-OSDBA sysdba_group]
[-OSASM osasm_group] [-OSOPER osoper_group] [-clusterNodes list_of_nodes]
[-ORACLE_BASE Oracle_base_dir] [-executeRootScript [-configMethod ROOT]]
Parameters
Table: gridSetup.sh -setupHomeAs Command Parameters
| Parameter | Mandatory? | Description |
|---|---|---|
-executePrereqs | No | Run prerequisite checks to ensure that all necessary conditions and requirements are met before proceeding with the installation or configuration process. |
-OSDBA sysdba_group | No | The name of the SYSDBA privileged operating system group. The default is dba. |
-OSASM osasm_group | No | The name of the SYSASM privileged operating system group. |
-OSOPER osoper_group | No | The name of the SYSOPER privileged operating system group. |
-clusterNodes list_of_nodes | No | A comma-separated list of cluster nodes on which you want to install the Oracle Grid Infrastructure software with Oracle base and privileged operating system groups identical to the specified source Oracle home. |
-ORACLE_BASE Oracle_base_dir | No | Complete path to the Oracle base location to use for the Oracle Grid Infrastructure installation. |
-help | No | Displays the gridSetup.sh -setupHomeAs command help. |
Example
The following example shows how to setup a Grid home identical to the specified source Grid home, on a three node cluster:
gridSetup.sh -setupHomeAs /u01/app/23.0.0/grid -clusterNodes node4,node5
-OSDBA sysdba -OSASM osasm -OSOPER osoper -ORACLE_BASE /u01/app/grid -clusterNodes node1,node2,node3 -executeRootScript -configMethod ROOT