gridSetup.sh Command

The gridSetup.sh command provides various flags that you can use without specifying any command option.

Syntax

gridSetup.sh [-silent [-ignorePrereqFailure]] [-responseFile responsefilename] [-executePrereqs] [-executeConfigTools [-skipStackCheck]] 
[-debug] [-applyOneOffs list_of_patch_directory_locations] [-nApplyOneOffs directory_containing_multiple_patches] 
[-executeRootScript -configMethod <ROOT | SUDO> [-sudoPath sudo_binary_path] [-sudoUserName sudo_user_name]]]

Parameters

Table A-1 gridSetup.sh Flag Parameters

Parameter Mandatory? Description
-silent No

Run the installer in silent mode. You can either provide a response file path for inputs or a list of command line variable value pairs.

-ignorePrereqFailure No

Specify this option to ignore all prerequisite checks failures.

-responseFile responsefilename No

Absolute path of the response file, which has installation option values.

-executePrereqs No

Run prerequisite checks to ensure that all necessary conditions and requirements are met before proceeding with the installation or configuration process.

-executeConfigTools No

Run configuration tools for an installed Oracle Grid Infrastructure home.

Note: You can use this parameter only with other commands, such as gridSetup.sh -configureCluster.

-skipStackCheck No

Skip the Oracle Clusterware stack status check.

-debug No

Run the Oracle Grid Infrastructure in the debug mode.

-applyOneOffs list_of_patch_directory_locations No

Specify one or more paths to one-off patches to apply to the Oracle Grid Infrastructure home. You can pass multiple one-off patches as a comma separated list of locations.

-nApplyOneOffs directory_containing_multiple_patches No

Specify a path to a location that contains multiple one-off patches to apply to the Oracle Grid Infrastructure home.

-executeRootScript No

Specify this option to run the root script automatically.

Note: You can use this parameter only with other commands such as gridSetup.sh -configureCluster.

-configMethod <ROOT | SUDO> No

Specify the configuration method to use for automatic root script execution. This can be either as the root user or as a sudo user.

-sudoPath sudo_binary_path No

Absolute path of the sudo program binaries.

-sudoUserName sudo_user_name No

Name of the user who is in the sudoers list and can run the root scripts.

-help No

Displays the gridSetup.sh command help.

Example

The following example shows you how to install the Oracle Grid Infrastructure software using a response file.
gridSetup.sh -silent -ignorePrereqFailure -responseFile /u01/app/23.0.0/grid/install/response/response_file.rsp