gridSetup.sh -configureStandaloneServer

The gridSetup.sh -configureStandaloneServer command configures Oracle Grid Infrastructure for a Standalone Server, also known as Oracle Restart.

Syntax

gridSetup.sh -configureStandaloneServer -OSDBA sysdba_group -OSASM osasm_group -ORACLE_BASE Oracle_base_dir -dbDiskGroupName disk_group_name
{-diskList asm_disk_list | -disksWithFailureGroupNames failure_group_disk_names -failureGroups failure_group_names -quorumFailureGroupNames quorum_failure_group_names}
[-redundancy <NORMAL | HIGH | EXTERNAL | FLEX | EXTENDED>] [-auSize <1 | 2 | 4 | 8 | 16>] [-diskString disk_discovery_string] [-executePrereqs] [-OSOPER osoper_group]
[-executeConfigTools] [-executeRootScript -configMethod ROOT]] [-managementOption <CLOUD_CONTROL | NONE> -omsHost EM_hostname -omsPort EM_port -emAdminUser EM_admin_username]
[-INVENTORY_LOCATION central_inventory_location]

Parameters

Table: gridSetup.sh -configureStandaloneServer Command Parameters

ParameterMandatory?Description
-OSDBA sysdba_groupYes

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

Note: If you have already setup an Oracle Grid Infrastructure home, then this parameter is not required.

-OSASM osasm_groupYes

The name of the OSASM privileged operating system group.

Note: If you have already setup an Oracle Grid Infrastructure home, then this parameter is not required.

-ORACLE_BASE Oracle_base_dirYes

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

Note: If you have already setup an Oracle Grid Infrastructure home, then this parameter is not required.

-dbDiskGroupName disk_group_nameYesName for the Oracle ASM disk group, for example DATA.
-diskList asm_disk_listYes Mandatory, only if failure group configuration is not required.

A list of Oracle ASM disks to create an Oracle ASM disk group.

Note: Use this variable only if failure group configuration is not required.

-disksWithFailureGroupNames failure_group_disk_names -failureGroups failure_group_names -quorumFailureGroupNames quorum_failure_group_namesYes Mandatory, only if -diskList is not specified.

A list of failure groups to be marked as QUORUM. A quorum failure group, a special type of failure group, contains mirror copies of voting files when voting files are stored in normal or high redundancy disk groups.

Note: Use this variable only if -diskList is not used.

-redundancy <NORMAL | HIGH | EXTERNAL | FLEX | EXTENDED>NoThe Oracle ASM redundancy level to use for the Oracle ASM disk group. Default value is NORMAL.
-auSize <1 | 2 | 4 | 8 | 16>NoThe allocation unit size for Oracle ASM. Default value is 1.
-diskString disk_discovery_stringNoDisk discovery string, a path and pattern match for the Oracle ASM disks, to discover the disks for creating an Oracle ASM disk group.
-executePrereqsNoRun prerequisite checks to ensure that all necessary conditions and requirements are met before proceeding with the installation or configuration process.
-OSOPER osoper_groupNo

The name of the OSOPER privileged operating system group.

Note: If you have already setup an Oracle Grid Infrastructure home, then this parameter is not required.

-managementOption <CLOUD_CONTROL | NONE>NoManagement option to use for managing the Oracle home. Default value is NONE.
-omsHost EM_hostnameNoThe OMS host to connect to Oracle Enterprise Manager Cloud Control.
-omsPort EM_portNoThe OMS port to connect to Oracle Enterprise Manager Cloud Control.
-emAdminUser EM_admin_usernameNoThe Admin username to connect to Oracle Enterprise Manager Cloud Control.
-INVENTORY_LOCATION central_inventory_locationNoComplete path to the location where you want to store the inventory files. If you have previously installed an Oracle software on this computer, then specify the existing inventory path.
-helpNoDisplays the gridSetup.sh -configureStandaloneServer command help.

Example

The following example shows you how to install and configure Oracle Grid Infrastructure for a Standalone Server (Oracle Restart) with Oracle ASM storage:

gridSetup.sh -configureStandaloneServer -OSDBA sysdba -OSASM osasm -OSOPER osoper -ORACLE_BASE /u01/app/oracle -dbDiskGroupName DATA
-diskList /dev/sdb,/dev/sdc,/dev/sdd -executeConfigTools -executeRootScript -configMethod ROOT -redundancy NORMAL -auSize 8 -diskString 'ORCL:*' -managementOption NONE -INVENTORY_LOCATION /u01/app/oraInventory