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 [-clusterNodes list_of_nodes] 
[-OSDBA sysdba_group] [-OSASM osasm_group] [-OSOPER osoper_group] 
[-ORACLE_BASE Oracle_base_dir] [-executeRootScript -configMethod ROOT]]

Parameters

Table A-3 gridSetup.sh -setupHomeAs Command Parameters

Parameter Description
-help

Displays the gridSetup.sh -setupHomeAs command help.

-clusterNodes

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.

-OSDBA

The name of the SYSDBA privileged operating system group. The default is dba.

-OSASM

The name of the SYSASM privileged operating system group.

-OSOPER

The name of the SYSOPER privileged operating system group.

-ORACLE_BASE

Complete path to the Oracle base location to use for the Oracle Grid Infrastructure installation.

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/oracle/product/23.0.0/grid -clusterNodes node4,node5 
-OSDBA sysdba -OSASM osasm -OSOPER osoper -ORACLE_BASE /u01/app/oracle -clusterNodes node1,node2,node3 -executeRootScript -configMethod ROOT