gridSetup.sh -setupHome

The gridSetup.sh -setupHome command installs the Oracle Grid Infrastructure software and registers the software with the Oracle central inventory.

Syntax

gridSetup.sh -setupHome -OSDBA sysdba_group -OSASM osasm_group -ORACLE_BASE Oracle_base_dir
[-executePrereqs] [-OSOPER osoper_group] [-clusterNodes list_of_nodes] [-INVENTORY_LOCATION central_inventory_location]
[-executeRootScript [-configMethod ROOT]

Parameters

Table: gridSetup.sh -setupHome Command Parameters

ParameterMandatory?Description
-OSDBA sysdba_groupYesThe name of the SYSDBA privileged operating system group. The default is dba.
-OSASM osasm_groupYesThe name of the SYSASM privileged operating system group.
-ORACLE_BASE Oracle_base_dirYesComplete path of the Oracle base location to use for the Oracle Grid Infrastructure installation.
-executePrereqsNoRun prerequisite checks to ensure that all necessary conditions and requirements are met before proceeding with the installation or configuration process.
-OSOPER osoper_groupNoThe name of the SYSOPER privileged operating system group.
-clusterNodes list_of_nodesNoA comma-separated list of cluster nodes on which you want to install the Oracle Grid Infrastructure software.
-INVENTORY_LOCATION central_inventory_locationNoComplete path of the location where you want to store the inventory files. If you have previously installed an Oracle software on this system, then specify the existing inventory path.
-helpNoDisplays the gridSetup.sh -setupHome command help.

Example

The following example shows you how to install Oracle Grid Infrastructure software on a three node cluster:

gridSetup.sh -setupHome -OSDBA sysdba -OSASM osasm -OSOPER osoper
-ORACLE_BASE /u01/app/grid -clusterNodes node1,node2,node3
-INVENTORY_LOCATION /u01/app/oraInventory -executeRootScript -configMethod ROOT