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] [-configureAFD] [-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 A-4 gridSetup.sh -configureStandaloneServer Command Parameters

Parameter Mandatory? Description
-OSDBA sysdba_group Yes

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_group Yes

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_dir Yes

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_name Yes

Name for the Oracle ASM disk group, for example DATA.

-diskList asm_disk_list Yes

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_names Yes

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> No

The Oracle ASM redundancy level to use for the Oracle ASM disk group. Default value is NORMAL.

-auSize <1 | 2 | 4 | 8 | 16> No

The allocation unit size for Oracle ASM. Default value is 1.

-diskString disk_discovery_string No

Disk discovery string, a path and pattern match for the Oracle ASM disks, to discover the disks for creating an Oracle ASM disk group.

-configureAFD No

Specify this option if you want to configure Oracle ASM Filter Driver (Oracle ASMFD).

-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 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> No

Management option to use for managing the Oracle home. Default value is NONE.

-omsHost EM_hostname No

The OMS host to connect to Oracle Enterprise Manager Cloud Control.

-omsPort EM_port No

The OMS port to connect to Oracle Enterprise Manager Cloud Control.

-emAdminUser EM_admin_username No

The Admin username to connect to Oracle Enterprise Manager Cloud Control.

-INVENTORY_LOCATION central_inventory_location No

Complete 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.

-help No

Displays 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 '/dev/sd*' -configureAFD -managementOption NONE -INVENTORY_LOCATION /u01/app/oraInventory