Skip Headers
Oracle® Grid Infrastructure Installation Guide
11g Release 2 (11.2) for Microsoft Windows x64 (64-Bit)

Part Number E18029-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

4 Installing Oracle Grid Infrastructure for a Cluster

This chapter describes the procedures for installing Oracle Grid Infrastructure for a cluster. Oracle Grid Infrastructure consists of Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM). If you plan afterward to install Oracle Database with Oracle Real Application Clusters (Oracle RAC), then this is phase one of a two-phase installation.

This chapter contains the following topics:

Note:

The second phase of an Oracle RAC installation, installing Oracle RAC, is described in Oracle Real Application Clusters Installation Guide for Microsoft Windows x64 (64-Bit).

4.1 Preparing to Install Oracle Grid Infrastructure with Oracle Universal Installer

Before you install Oracle Grid Infrastructure with Oracle Universal Installer (OUI), use the following checklist to ensure that you have all the information you will need during installation, and to ensure that you have completed all tasks that must be done before starting your installation. Check off each task in the following list as you complete it, and write down the information needed, so that you can provide it during installation.

4.2 Installing Oracle Grid Infrastructure

This section provides information about how to use OUI to install Oracle Grid Infrastructure. It contains the following sections:

4.2.1 Running OUI to Install Oracle Grid Infrastructure

Complete the following steps to install Oracle Grid Infrastructure (Oracle Clusterware and Oracle ASM) on your cluster. You can run OUI from a Virtual Network Computing (VNC) session, or Terminal Services in console mode.

At any time during installation, if you have a question about what you are being asked to do, then click the Help button on the OUI page.

  1. Log in to Windows using a member of the Administrators group and run the setup.exe command from the Oracle Database 11g Release 2 (11.2) installation media.

  2. Provide information as prompted by OUI. If you need assistance during installation, then click Help. After the installation interview, you can click Details to see the log file.

  3. After you have specified all the information needed for installation, OUI installs the software then runs Oracle Net Configuration Assistant (NETCA), Oracle Private Interconnect Configuration Assistant, and Cluster Verification Utility (CVU). These programs run without user intervention.

  4. If you selected to Oracle ASM as the storage option for the OCR and voting disk files, then the Oracle Automatic Storage Management Configuration Assistant (ASMCA) configures Oracle ASM as part of the installation process. If you did not select Oracle ASM as the storage option for the Oracle Clusterware files, then you must start ASMCA manually after installation to configure Oracle ASM.

    Start ASMCA using the following command, where Grid_home is the Grid home:

    Grid_home\bin\asmca
    

When you have verified that your Oracle Grid Infrastructure installation has completed successfully, you can either use Oracle Clusterware to maintain high availability for other applications, or you can install Oracle Database software.

If you intend to install Oracle Database 11g release 2 (11.2) with Oracle RAC, then see Oracle Real Application Clusters Installation Guide for Microsoft Windows x64 (64-Bit). If you intend to use Oracle Grid Infrastructure on a standalone server (an Oracle Restart deployment), then refer to Oracle Database Installation Guide for Microsoft Windows.

See Also:

4.2.2 Performing a Silent Installation of Oracle Grid Infrastructure

During installation of Oracle Grid Infrastructure, you are given the option either of providing cluster configuration information manually, or of using a cluster configuration file. A cluster configuration file is a text file that you can create before starting OUI, which provides OUI with information about the cluster name and node names that it requires to configure the cluster. When creating the text file, save the file with the extension .ccf because the installer only accepts a file of type of Oracle Cluster Configuration File (.ccf).

There are two steps involved when installing Oracle Grid Infrastructure using the silent method:

4.2.2.1 Creating a Cluster Configuration File

The cluster configuration file should have the following syntax, where node is the name of the public host name for a node in the cluster, and vip is the VIP address for that node:

node     vip
node     vip
...

For example, if have three nodes for your cluster, with host names RACnode1, RACnode2 and RACnode3, you could create a text file named cluster_config.ccf, with the following contents:

RACnode1  RACnode1-vip
RACnode2  RACnode2-vip
RACnode3  RACnode3-vip

Oracle suggests that you consider using a cluster configuration file if you intend to perform repeated installations on a test cluster, or if you intend to perform an installation on many nodes.

To create a cluster configuration file, perform the following steps:

  1. On the installation media, and go to the directory /response.

  2. Using a text editor, open the response file grid_install.rsp.

  3. Follow the directions in the sections relevant to the type of installation you are performing, and supply values appropriate for your environment.

See Also:

Appendix B, "Installing and Configuring Oracle Grid Infrastructure Using Response Files" for more information about using configuration files

4.2.2.2 Using a Configuration File to Install Oracle Grid Infrastructure

Complete the following procedure to perform a noninteractive (silent) installation:

  1. Create a cluster configuration file as described in the previous section, "Performing a Silent Installation of Oracle Grid Infrastructure".

  2. Use the following command syntax to run OUI in silent mode:

    setup.exe -silent -responseFile path_to_your_response_file
    

    For example:

    E:\ setup.exe -silent -responseFile C:\users\oracle\installGrid.rsp
    

See Also:

Appendix B, "Installing and Configuring Oracle Grid Infrastructure Using Response Files" for more information about performing silent installations using configuration files

4.3 Installing Oracle Grid Infrastructure Using a Software-Only Installation

A software-only installation consists of installing Oracle Grid Infrastructure for a cluster on one node. If you use the Install Grid Infrastructure Software Only option during installation, then the Oracle Grid Infrastructure software is installed on the local node. To complete the installation for your cluster, you must perform the additional steps of configuring Oracle Clusterware and Oracle ASM, creating a clone of the local installation, deploying this clone on other nodes, and then adding the other nodes to the cluster.

Note:

Oracle recommends that only advanced users perform the software-only installation, because this installation method provides no validation of the installation and this installation option requires manual postinstallation steps to enable the Oracle Grid Infrastructure software.

If you select a software-only installation, then ensure that the Oracle Grid Infrastructure home path is identical on each cluster member node.

Performing a software-only installation involves the following steps:

  1. Installing Only the Oracle Grid Infrastructure Software

  2. Configuring the installed software using one of the following methods:

4.3.1 Installing Only the Oracle Grid Infrastructure Software

To perform a software-only installation:

  1. Log in to Windows using a member of the Administrators group and run the setup.exe command from the Oracle Grid Infrastructure 11g Release 2 (11.2) installation media or download directory.

  2. Complete a software-only installation of Oracle Grid Infrastructure for a cluster on the first node, or the local node.

  3. Enable the Oracle RAC option for Oracle Grid infrastructure by renaming the orarac11.dll.dbl file located in the Grid_home\bin directory to orarac11.dll.

  4. Verify that all of the cluster nodes meet the installation requirements using the command runcluvfy.bat stage -pre crsinst -n node_list. Ensure that you have completed all storage and server preinstallation requirements.

  5. Use OUI as described in steps 1 through 4 to install the Oracle Grid Infrastructure software on every remaining node that you want to include in the cluster, and complete a software-only installation of Oracle Grid Infrastructure on every node

  6. Configure the cluster using the full OUI configuration wizard GUI as described in Section 4.3.2, "Configuring the Software Binaries Using Configuration Wizard Mode of OUI," or configure the cluster using a response file as described in section Section 4.3.3, "Configuring the Software Binaries Using a Response File."

4.3.2 Configuring the Software Binaries Using Configuration Wizard Mode of OUI

Configure the software binaries by starting Oracle Grid Infrastructure configuration wizard in GUI mode:

  1. On one of the nodes, log in as a Local Administrator user, and enter the following command from the crs\config directory of the Grid home:

    C:\..\crs\config> config.bat
    

    The configuration script starts OUI in Configuration Wizard mode. Provide information as needed for configuration. Each page shows the same user interface and performs the same validation checks that OUI normally does. However, instead of running an installation, The configuration wizard mode validates inputs and configures the installation on all cluster nodes.

  2. When you complete inputs, OUI shows you the Summary page, listing all inputs you have provided for the cluster. Verify that the summary has the correct information for your cluster, and click Install to start configuration of the local node.

    When configuration of the local node is complete, OUI copies the Oracle Grid Infrastructure configuration file to other cluster member nodes.

  3. Run any scripts, if prompted.

  4. OUI checks the cluster configuration status, and starts other configuration tools as needed.

4.3.3 Configuring the Software Binaries Using a Response File

When you install or copy Oracle Grid Infrastructure software on any node, you can defer configuration for a later time. This section provides the procedure for completing configuration after the software is installed or copied on nodes, using the configuration wizard utility (config.bat).

To configure Oracle Grid Infrastructure for a cluster using a response file:

  1. As the Oracle Grid Infrastructure installation owner (grid), start OUI in Oracle Grid Infrastructure configuration wizard mode from the Oracle Grid Infrastructure software-only home using the following syntax, where Grid_home is the Oracle Grid Infrastructure home:

    Grid_home\crs\config\config.bat [-debug]
    

    The configuration script starts OUI in Configuration Wizard mode. Each page shows the same user interface and performs the same validation checks that OUI normally does. However, instead of running an installation, the configuration wizard mode validates inputs and configures the installation on all cluster nodes.

  2. When you complete inputs, OUI shows you the Summary page, listing all inputs you have provided for the cluster. Verify that the summary has the correct information for your cluster, and click Install to start configuration of the local node.

    When configuration of the local node is complete, OUI copies the Oracle Grid Infrastructure configuration file to other cluster member nodes.

  3. OUI checks the cluster configuration status, and starts other configuration tools as needed.

To configure and activate a software-only Oracle Grid Infrastructure installation for a standalone server, refer to Oracle Database Installation Guide for Microsoft Windows.

4.3.4 Configuring the Software Binaries in Silent Mode Using a Response File

This section provides the procedure for completing configuration after the software is installed or copied on nodes, using the configuration wizard utility (config.bat) in silent (non-response) mode.

To configure Oracle Grid Infrastructure for a cluster in silent mode using a cluster configuration file:

  1. As the Oracle Grid Infrastructure installation owner (grid), start OUI in Oracle Grid Infrastructure configuration wizard mode from the Oracle Grid Infrastructure software-only home using the following syntax, where Grid_home is the Oracle Grid Infrastructure home, and filename is the response file name, as shown in the following example:

    C:\> cd app\11.2.0\grid\crs\config
    C:\> config.bat -responseFile C:app11.2.0„rid\response\grid_install.rsp
    

    The wizard validates the cluster configuration file and proceeds with the configuration. If any of the inputs in the cluster configuration file are found to be invalid, then the Configuration Wizard displays an error and exits. Run the configToolAllCommands scripts as prompted.

  2. When configuration of the local node is complete, OUI copies the Oracle Grid Infrastructure configuration file to other cluster member nodes.

  3. OUI checks the cluster configuration status, and starts other configuration tools as needed.

4.4 Confirming Oracle Clusterware Function

After installation, log in as a member of the Administrators group, and run the following command from the bin directory in the Grid home to confirm that your Oracle Clusterware installation is installed and running correctly:

crsctl check cluster -all

Example 4-1 Checking the Status of Oracle Clusterware

To check the status of the Oracle Clusterware components on each node of your cluster, run the following command:

C:\..\bin\> crsctl check cluster -all
 

The output for this command is similar to the following:

*************************************************************************
node1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
*************************************************************************
node2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
*************************************************************************

4.5 Confirming Oracle ASM Function for Oracle Clusterware Files

If you installed the OCR and voting disk files on Oracle ASM, then run the following command from the Grid_home\bin directory to confirm that your Oracle ASM software is operational:

srvctl status asm

Oracle ASM is running only if it is needed for Oracle Clusterware files. If you did not configure Oracle Clusterware storage on Oracle ASM during installation, then the Oracle ASM instance should be down.

Example 4-2 Checking the Status of Oracle ASM After Installing Oracle Grid Infrastructure

To verify that your Oracle ASM installation is operational, run the following command, replacing C:app11.2.0„rid with the location of your Grid home. The text below the command is an example of the output returned by the command.

C:app11.2.0„rid\BIN> srvctl status asm
ASM is running on node node1
ASM is running on node node2

Note:

To manage Oracle ASM or Oracle Net Services on Oracle Clusterware 11g release 2 (11.2) or later installations, use the srvctl binary in the Oracle Grid Infrastructure home for a cluster (Grid home). If you have Oracle RAC or Oracle Database installed, then you cannot use the srvctl program in the database home (Oracle home) to manage Oracle ASM or Oracle Net Services.

4.6 Understanding Offline Processes in Oracle Grid Infrastructure

Oracle Grid Infrastructure provides required resources for various Oracle products and components. Some of those products and components are optional, so you can install and enable them after installing Oracle Grid Infrastructure. To simplify postinstallation additions, Oracle Grid Infrastructure preconfigures and registers all required resources for all products available for these products and components, but only activates them when you choose to add them. As a result, some components may be listed as OFFLINE after the installation of Oracle Grid Infrastructure.

Resources listed as TARGET:OFFLINE and STATE:OFFLINE do not need to be monitored. They represent components that are registered, but not enabled, so they do not use any system resources. If an Oracle product or component is installed on the system, and it requires a particular resource to be online, then the software will prompt you to activate the required offline resource.