The variable definitions for Oracle RAC are grouped in tabular format for the following Oracle tasks:
Creating Oracle user and group |
|
Creating storage for OCR and voting disk |
See Table: Variables for creating storage for OCR and voting disk. |
Configuring the private IP address and PrivNIC resource under VCS |
See Table: Variables for configuring the private IP address and PrivNIC resource under VCS. |
Configuring the private IP address and MultiPrivNIC resource under VCS |
See Table: Variables for configuring the private IP addresses and the MultiPrivNIC resource under VCS. |
Installing Oracle Clusterware |
|
Installing Oracle database |
|
Configuring CSSD resource |
|
Relinking Oracle RAC libraries |
Table: Variables for creating Oracle user and group lists the variables that are used to create the Oracle user and group.
Table: Variables for creating Oracle user and group
Table: Variables for creating storage for OCR and voting disk lists the variables that are used to create the storage for OCR and voting disk.
Table: Variables for creating storage for OCR and voting disk
Table: Variables for configuring the private IP address and PrivNIC resource under VCS lists the variables that are used to configure the private IP address and PrivNIC resource under VCS.
Table: Variables for configuring the private IP address and PrivNIC resource under VCS
Variable |
List or Scalar |
Description |
||
---|---|---|---|---|
$CFG{config_privnic} |
Scalar |
Required Defines a Boolean value 0 or 1. The value 1 indicates that the PrivNIC and private IP address information will be configured for Oracle Clusterware. The value 0 indicates that the PrivNIC and private IP address information will not be configured for Oracle Clusterware. |
||
$CFG{privnic_resname} |
Scalar |
Required Defines the PrivNIC resource name in the main.cf file. |
||
$CFG{privnic_interface_priority} |
String |
Required Defines the priority that determines which NIC will be used in the event of a failover. Set the priority in decreasing order. For example, the following priority setting indicates that eth2 will be given priority in the event of a failover: $CFG{privnic_interface_priority}="eth2 eth3"; |
||
$CFG{host1}{privnicip} |
Scalar |
Required Defines the IP address to be configured for the PrivNIC resource on the node. Repeat this variable for each node in the cluster. For example, if you have two nodes in the cluster, you must provide this variable for each node. For example: $CFG{galaxy}{privnicip} ="192.168.12.1" $CFG{nebula}{privnicip} ="192.168.12.2" |
||
$CFG{nic_reuseip} |
Scalar |
Required Defines a boolean value 0 or 1. The value 1 indicates that the existing IP addresses in the /etc/hosts file will be used. The value 0 indicates that the IP addresses will not be reused. |
||
$CFG{host}{hostname_for_ip} |
Scalar |
Required Defines the private node name of the IP address (hostname_for_ip) for the PrivNIC resource and the node (system) for which the resource is configured. Repeat this variable for each node in the cluster. For example, if you have two nodes in the cluster, you must provide this variable for each node. For example: $CFG{galaxy}{hostname_for_ip} ="galaxy-priv" $CFG{nebula}{hostname_for_ip} ="galaxy-priv" |
||
$CFG{nic_netmask} |
Scalar |
Required Defines the netmask for the private network. |
||
$CFG{nic_add_ip_to_files} |
Scalar |
Required Defines a boolean value 0 or 1. The value 1 indicates that the IP addresses are added to the /etc/hosts file.
The value 0 indicates that the IP addresses may already be present in the file. |
||
$CFG{nic_reconfigure_existing_resource} |
Scalar |
Optional Defines a boolean value 0 or 1. The value 1 indicates that the existing PrivNIC resource in the main.cf file will be deleted and reconfigured. The value 0 indicates that the existing PrivNIC resource in the main.cf file will be reused. |
||
$CFG{nic_reusealias} |
Scalar |
Required Defines a boolean value 0 or 1. The value 1 indicates that the installer will not check the The value 0 indicates that the installer checks whether the host name alias information is present in the |
Table: Variables for configuring the private IP addresses and the MultiPrivNIC resource under VCS lists the variables that are used to configure the private IP addresses and the MultiPrivNIC resource under VCS.
Table: Variables for configuring the private IP addresses and the MultiPrivNIC resource under VCS
Variable |
List or Scalar |
Description |
||
---|---|---|---|---|
$CFG{config_multiprivnic} |
Scalar |
Required Defines a Boolean value 0 or 1. The value 1 indicates that the MultiPrivNIC and private IP address information will be configured for Oracle Clusterware. The value 0 indicates that the MultiPrivNIC and private IP address information will not be configured for Oracle Clusterware. |
||
$CFG{multiprivnic_resname} |
Scalar |
Required Defines the MultiPrivNIC resource name in the main.cf file. |
||
$CFG{nic_add_ip_to_files} |
Scalar |
Required Defines a boolean value 0 or 1. The value 1 indicates that the IP addresses are added to the /etc/hosts file.
The value 0 indicates that the IP addresses may already be present in the file. |
||
$CFG{host1}{NIC1}{multiprivnicip} |
List |
Required Defines the list of IP addresses for the MultiPrivNIC resource.
For example, if you have two nodes galaxy and nebula in the cluster: $CFG{galaxy}{eth1} {multiprivnicip}="192.168.12.1"; $CFG{galaxy}{eth2} {multiprivnicip}=="192.168.2.1"; $CFG{nebula}{eth1} {multiprivnicip}="192.168.12.2"; $CFG{nebula}{eth2} {multiprivnicip}="192.168.2.2"; |
||
$CFG{host1}{NIC1}{hostname_for_ip} |
List |
Required Defines the list of private node names (hostname_for_ip) for the IP addresses configured in the MultiPrivNIC resource for the interface (inf) on the node (system) .
For example, if you have two nodes galaxy and nebula in the cluster:
$CFG{galaxy}{eth1} {hostname_for_ip}="galaxy-priv"; $CFG{galaxy}{eth2} {hostname_for_ip}="galaxy-priv1"; $CFG{nebula}{eth1} {hostname_for_ip}="nebula-priv"; $CFG{nebula}{eth2} {hostname_for_ip}="nebula-priv1"; |
||
$CFG{nic_netmask} |
Scalar |
Required Defines the netmask for the private network. |
||
$CFG{nic_reconfigure_existing_resource} |
Scalar |
Optional Defines a boolean value 0 or 1. The value 1 indicates that the existing MultiPrivNIC resource in the main.cf file will be deleted and reconfigured. The value 0 indicates that the existing MultiPrivNIC resource in the main.cf file will be reused. |
||
$CFG{nic_reuseip} |
Scalar |
Required Defines a boolean value 0 or 1. The value 1 indicates that the existing IP addresses in the /etc/hosts file will be used. The value 1 indicates that the existing IP addresses in the /etc/hosts or /etc/inet/ipnodes files will be used. The value 0 indicates that the IP addresses will not be reused. |
||
$CFG{nic_reusealias} |
Scalar |
Required Defines a boolean value 0 or 1. The value 1 indicates that the installer will not check the The value 0 indicates that the installer checks whether the host name alias information is present in the |
Table: Variables for installing Oracle Clusterware lists the variables that are used to install Oracle Clusterware.
Table: Variables for installing Oracle Clusterware
Variable |
List or Scalar |
Description |
---|---|---|
$CFG{install_oracle_clusterware} |
Scalar |
Required Defines a Boolean value 0 or 1. The value 1 indicates that Oracle Clusterware will be configured. The value 0 indicates that Oracle Clusterware will not be configured. |
$CFG{oracle_user} |
Scalar |
Required Defines the name of the Oracle user. |
$CFG{oracle_group} |
Scalar |
Required Defines the primary group of the Oracle user. |
$CFG{oracle_base} |
Scalar |
Required Defines the base directory for the Oracle RAC installation. |
$CFG{crs_home} |
Scalar |
Required Defines the Oracle Clusterware home directory. The value in this variable must be the same as that of the 'ORACLE_HOME' variable in the Oracle Clusterware response file. |
$CFG{crs_installpath} |
Scalar |
Required Defines the full path of the Oracle Clusterware installation binaries. |
$CFG{oracle_version} |
Scalar |
Required Defines the version of the Oracle RAC binaries (for example, 11.2.0.1.0). This definition is overridden if a different Oracle RAC version is detected during the installation. |
$CFG{crs_responsefile} |
Scalar |
Required Defines the full path of the Oracle Clusterware response file. |
Table: Variables for installing Oracle database lists the variables that are used to install Oracle database.
Table: Variables for installing Oracle database
Variable |
List or Scalar |
Description |
---|---|---|
$CFG{install_oracle_database} |
Scalar |
Required Defines a Boolean value 0 or 1. The value 1 indicates that the Oracle RAC database will be configured. The value 0 indicates that the Oracle RAC database will not be configured. |
$CFG{oracle_user} |
Scalar |
Required Defines the name of the Oracle user. |
$CFG{oracle_group} |
Scalar |
Required Defines the primary group of the Oracle user. |
$CFG{oracle_base} |
Scalar |
Required Defines the base directory for the Oracle RAC installation. |
$CFG{crs_home} |
Scalar |
Required Defines the Oracle Clusterware home directory. The value in this variable must be the same as that of the 'ORACLE_HOME' variable in the Oracle Clusterware response file. |
$CFG{db_home} |
Scalar |
Required Defines the Oracle RAC database home directory. The value in this variable must be the same as that of the 'ORACLE_HOME' variable in the Oracle RAC database response file. |
$CFG{db_installpath} |
Scalar |
Required Defines the full path of the Oracle RAC database installation binaries. |
$CFG{oracle_version} |
Scalar |
Required Defines the version of the Oracle RAC binaries (for example, 11.2.0.1.0). This definition is overridden if a different Oracle RAC version is detected during the installation. |
$CFG{db_responsefile} |
Scalar |
Required Defines the full path of the Oracle database response file. |
Table: Variables for configuring CSSD resource lists the variables that are used to configure CSSD resource.
Table: Variables for configuring CSSD resource
Variable |
List or Scalar |
Description |
---|---|---|
$CFG{config_cssd_agent} |
Scalar |
Required Defines a Boolean value 0 or 1. The value 1 indicates that the CSSD agent will be configured after Oracle RAC installation. The value 0 indicates that the CSSD agent will not be configured after Oracle RAC installation. |
$CFG{reconfigure_cssd_resource} |
Scalar |
Required Defines a boolean value 0 or 1. The value 1 indicates that the SF Oracle RAC installer deletes the existing CSSD resource from the main.cf file and reconfigures it. The value 0 indicates that the SF Oracle RAC installer does not delete and reconfigure the resource. The installer exits the task with the message that the resource exists. |
Table: Variables for relinking Oracle RAC libraries lists the variables that are used to relink Oracle RAC libraries.
Table: Variables for relinking Oracle RAC libraries
Variable |
List or Scalar |
Description |
---|---|---|
$CFG{relink_oracle_database} |
Scalar |
Required Defines a Boolean value 0 or 1. The value 1 indicates that the SF Oracle RAC libraries will be relinked with the Oracle RAC database after Oracle RAC installation. The value 0 indicates that the SF Oracle RAC libraries will not be relinked with the Oracle RAC database after Oracle RAC installation. |
$CFG{oracle_user} |
Scalar |
Required Defines the name of the Oracle user. |
$CFG{oracle_group} |
Scalar |
Required Defines the primary group of the Oracle user. |
$CFG{crs_home} |
Scalar |
Required Defines the Oracle Clusterware home directory. The value in this variable must be the same as that of the 'ORACLE_HOME' variable in the Oracle Clusterware response file. |
$CFG{db_home} |
Scalar |
Required Defines the Oracle RAC database home directory. The value in this variable must be the same as that of the 'ORACLE_HOME' variable in the Oracle RAC database response file. |
$CFG{oracle_version} |
Scalar |
Required Defines the version of the Oracle RAC binaries (for example, 11.2.0.1.0). This definition is overridden if a different Oracle RAC version is detected during the installation. |