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
| Parameter | Mandatory? | Description |
|---|---|---|
-OSDBA sysdba_group | Yes | The name of the SYSDBA privileged operating system group. The default is dba. |
-OSASM osasm_group | Yes | The name of the SYSASM privileged operating system group. |
-ORACLE_BASE Oracle_base_dir | Yes | Complete path of the Oracle base location to use for the Oracle Grid Infrastructure installation. |
-executePrereqs | No | Run prerequisite checks to ensure that all necessary conditions and requirements are met before proceeding with the installation or configuration process. |
-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. |
-INVENTORY_LOCATION central_inventory_location | No | Complete 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. |
-help | No | Displays 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