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

Part Number E10817-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

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.

4.1 Preparing to Install Oracle Grid Infrastructure with OUI

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. Mark the box for each task as you complete it, and record the information needed, so that you can provide it during installation.

4.2 Installing Grid Infrastructure with OUI

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

4.2.1 Running OUI to Install Grid Infrastructure

Complete the following steps to install grid infrastructure (Oracle Clusterware and Oracle Automatic Storage Management) on your cluster. You can run OUI from a 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. At the end of the installation interview, you can click Details to see the log file.

  3. Note:

    • If you are upgrading your cluster or part of your cluster from Oracle9i release 2 Cluster Ready Services to Oracle Clusterware 11g, then to ensure backward compatibility, OUI prevents you from changing the cluster name from the existing name by disabling the cluster name field.

    • To use Oracle9i RAC, you must use Oracle9i Cluster Manager. You can run Oracle9i Cluster Manager on the same server as Oracle Clusterware; however, Oracle Clusterware will manage Oracle Database and Oracle RAC releases 10.1 and higher and Oracle9i Cluster Manager will manage Oracle9i RAC databases.

    • You cannot use Oracle ASM with Oracle9i Cluster Manager.

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

  5. If you selected to configure Oracle Cluster Registry and voting disk files on Oracle Automatic Storage Management Cluster File System, 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 OCR and voting disk 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 infrastructure home:

    Grid_home\bin\asmca
    

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

If you intend to install Oracle Database 11g release 2 (11.2) with Oracle RAC, then refer to Oracle Real Application Clusters Installation Guide for Microsoft Windows. 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:

Oracle Real Application Clusters Administration and Deployment Guide for information about using cloning and node addition procedures, and Oracle Clusterware Administration and Deployment Guide for cloning Oracle Grid Infrastructure

4.2.2 Installing Grid Infrastructure Using a Cluster Configuration File

During installation of 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 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).

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 virtual IP 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.

See Also:

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

4.2.3 Silent Installation of Oracle Clusterware

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

  1. On the installation media, navigate to the directory response.

  2. Using a text editor, open the response file crs_install.rsp. Follow the directions in each section, and supply values appropriate for your environment.

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

    setup.exe -silent -reponseFile path_to_your_reponse_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 Grid Infrastructure Using a Software-Only Installation

A software-only installation only copies the Oracle Grid Infrastructure for a cluster binaries to the specified node. Configuring Oracle Grid Infrastructure for a cluster and Oracle ASM on all the nodes and then adding the nodes to the cluster must be done manually after the installation has finished.

When you perform a software-only installation of Oracle Grid Infrastructure software, you need to complete several manual configuration steps to enable Oracle Clusterware after you install the software on each node you intend to be a member of 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 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 the Software Binaries

  2. Configuring the Software Binaries

4.3.1 Installing the Software Binaries

  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. Complete a software-only installation of Oracle Grid Infrastructure for a cluster on the node.

    See "Configuring the Software Binaries" for information about configuring Oracle Grid Infrastructure after preforming a software-only installation.

  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. Copy the Grid home directory to the same location on the other nodes that you want to configure as cluster member nodes.

  6. On each node that you copied the Grid home to, run the clone.pl script.

    Do not run the clone.pl script on the node where you performed the software-only installation.

4.3.2 Configuring the Software Binaries

To configure and activate a software-only grid infrastructure installation for a cluster, complete the following tasks:

  1. Using a text editor, modify the template file Grid_home\crs\install\crsconfig_params for the installer to use to configure the cluster. For example:

    ...
    OCR_LOCATIONS=E:\grid\stor1\ocr,F:\grid\stor2\ocr
    CLUSTER_NAME=racwin-cluster
    HOST_NAME_LIST=node1,node2,node3,node4
    NODE_NAME_LIST=node1,node2,node3,node4
    PRIVATE_NAME_LIST=
    VOTING_DISKS=E:\grid\stor1\vdsk,F:\grid\stor2\vdsk,G:\grid\stor3\vdsk
    ...
    CRS_STORAGE_OPTION=2
    CSS_LEASEDURATION=400
    CRS_NODEVIPS='node1-vip/255.255.255.0/PublicNIC,node2-vip/255.255.255.0/PublicNIC,
     node3-vip/255.255.255.0/PublicNIC,node4-vip/255.255.255.0/PublicNIC'
    NODELIST=node1,node2,node3,node4
    NETWORKS=192.0.2.1\:public,10.0.0.1\:cluster_interconnect
    SCAN_NAME=racwin-cluster
    SCAN_PORT=1521
    ...
    #### Required by OUI add node
    NEW_HOST_NAME_LIST=
    NEW_NODE_NAME_LIST=
    NEW_PRIVATE_NAME_LIST=
    ...
    
  2. On all nodes, place the crsconfig_params file in the path Grid_home\crs\install\crsconfig_params, where Grid_home is the path to the Oracle Grid Infrastructure home for a cluster. For example, on node1 you might issue a command similar to the following:

    C:> xcopy app\orauser\grid\crs\install\crsconfig_params \\NODE2\app\orauser\grid\crs\install /v
    
  3. After configuring the crsconfig_params file, run the rootcrs.pl script from the Grid_home on each node, using the following syntax:

    Grid_home\perl\lib\perl -IGrid_home\perl\lib -IGrid_home\crs\install 
    Grid_home\crs\install\rootcrs.pl
    

    For example, if your Grid home is C:\app\11.2.0\grid, then you would run the following script:

    C:\app\11.2.0\grid\perl\lib\perl -IC:\app\11.2.0\grid\perl\lib -IC:\app
    \11.2.0\grid\crs\install C:\app\11.2.0\grid\crs\install\rootcrs.pl
    
  4. Change directory to Grid_home\oui\bin, where Grid_home is the path of the Grid Infrastructure home on each cluster member node.

  5. Enter the following command syntax, where Grid_home is the path of the Grid Infrastructure home on each cluster member node, and node_list is a comma-delimited list of nodes on which you want the software enabled:

    setup.exe -updateNodeList ORACLE_HOME=Grid_home -defaultHomeName
    "CLUSTER_NODES={node_list}" CRS=TRUE
    

    For example:

    C:\..\bin> setup.exe -updateNodeList ORACLE_HOME=C:\app\orauser\grid
     -defaultHomeName "CLUSTER_NODES={node1,node2,node3,node4}" CRS=TRUE
    

    To enable the Oracle Clusterware installation on the local node only, enter the following command, where Grid_home is the Grid home on the local node, and node_list is a comma-delimited list of nodes on which you want the software enabled:

    setup.exe -updateNodeList -local ORACLE_HOME=Grid_home 
    -defaultHomeName "CLUSTER_NODES={node_list}" CRS=TRUE
    

    For example:

    C:\..\bin> setup.exe -updateNodeList -local ORACLE_HOME=C:\app\orauser\
    grid -defaultHomeName "CLUSTER_NODES={node1,node2,node3,node4}" CRS=TRUE
    

If you want to configure and activate a software-only grid infrastructure installation for a stand-alone server, then refer to

4.4 Confirming Oracle Clusterware Function

After installation, log in using 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

For example:

C:\..\bin\> crsctl check cluster -all
 
*************************************************************************
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 installation is running:

srvctl status asm

For example:

C:\app\11.2.0\grid\BIN> srvctl status asm
ASM is running on node node1
ASM is running on node node2

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.

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 Real Application Clusters or Oracle Database installed, then you cannot use the srvctl binary in the database home (Oracle home) to manage Oracle ASM or Oracle Net Services.