Skip Headers
Oracle® Real Application Clusters Installation and Configuration Guide
10g Release 1 (10.1) for AIX-Based Systems, Apple Mac OS X, hp HP-UX, hp Tru64 UNIX, Linux, Solaris Operating System, and Windows Platforms
Part No. B10766-08
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

10 Installing Cluster Ready Services on Windows

This chapter describes the procedures for installing Cluster Ready Services (CRS) on Windows, phase one of the Oracle Database 10g Real Application Clusters installation on Windows-based systems. The topics in this chapter are:

Prepare to Install Cluster Ready Services on Windows-Based Systems

Perform the following procedures prior to initiating the Oracle Universal Installer (OUI) to start phase one of the installation of the Oracle Database 10g with Real Application Clusters (RAC):

Verify Cluster Privileges

Before running the Oracle Universal Installer, from the node where you intend to run the Installer, verify that you have administrative privileges on the other nodes. To do this, enter the following command for each node that is a part of the cluster:

net use \\node_name\C$

where node_name is the node name.

Oracle Corporation recommends using the same user name and password on each node in a cluster or use a domain user name. If you use a domain user name, log on under a domain with a username and password that has administrative privileges on each node.

Stop GSD Services from Earlier Releases

If a GSD from Oracle9i, Release 9.2 or earlier, is running, then stop it before installing Oracle Database 10g CRS by stopping the OracleGSDService in the Services window.

Storage Configuration Steps for Real Application Clusters

Log in to Windows with Administrative privileges and perform the following steps depending on whether you use the Oracle Cluster File System (OCFS) or raw devices:

If you plan to use Automatic Storage Management (ASM) for your database files, you only need to perform the actions related to the Oracle home and the Oracle Cluster Registry (OCR) and voting disk storage.

Using Oracle Cluster File System

If you plan to use OCFS for your Oracle home and datafiles, the following partitions must exist prior to running OUI to install CRS:

  • 3 GB, or larger, for the Oracle home

  • 3 GB, or larger, for the datafiles

The OCR and voting disk, required by CRS, are also stored in the OCFS datafile directory (datafile_disk\cdata\clustername) where datafile_disk is the OCFS partition and clustername is the name of your cluster.

Using Raw Devices

To use raw devices, create two partitions, one sized at 20 MB for the voting disk and one sized at 100 MB for the OCR. If you are not using OCFS for your datafiles, then you must also create raw partitions for your database files as described in Appendix C, "Configuring Raw Devices for Real Application Clusters".

Using Raw Devices for Database When Choosing OCFS for Data Storage During CRS Install

To use raw devices for storing Oracle data files, during the CRS installation on the Select Disk Formatting Options page, choose one of the following options:

  • Format one logical drive for software storage

  • Do not format any logical drives

These choices create and start the Oracle Object Service on each node, which is required for using raw devices for Oracle database files. If you are using other options that specify data storage on CFS, and if you want to use raw devices, then create and start the Oracle Object Service on each node of the cluster as follows:

  1. On each node, run CRS home\bin\OracleOBJService.exe /install to install Oracle Object Service.

  2. On each node, start the Oracle Object Service using the Windows Services Control panel.


    See Also:

    Microsoft online help for more information about starting services

  3. From any of the cluster nodes, run CRS home\bin\GUIOracleOBJManager.exe to create persistent symbolic links to the corresponding raw partitions.

  4. After creating the symbolic links, on the GUIOracleObjectManager GUI, perform Options > Commit and Options > Exit


    See Also:

    The Oracle9i release 9.2 RAC Configuration and Setup Guide, Appendix B for more details

  5. From all other nodes, if you already had GUIOracleObjectManager.exe running, then perform Options > Refresh. Otherwise, run CRS home\bin\GUIOracleOBJManager.exe on these nodes before proceeding to the Oracle Database 10g with RAC installation and before creating your database using DBCA.


    Note:

    To use raw partitions on Windows 2003, be sure to enable disk automount on all of the nodes of the cluster. This ensures that all of the nodes can access the raw partitions. Do this prior to starting the CRS installation. You can enable automount in one of two ways:

    1. Use the diskpart Windows utility and issue the automount enable command from within the diskpart command line.

    2. Use the mountvol Windows utility and issue the mountvol.exe /e command.

    Restart your cluster after performing either of these procedures to ensure that the changes take effect.


using the instructions you can find in CRS home\relnotes\README_olm.txt.

Using the Oracle Universal Installer to Install Cluster Ready Services on Windows

Perform the following procedures to complete phase one, install CRS with the Oracle Universal Installer, of the installation of the Oracle Database 10g with Real Application Clusters (RAC):


Note:

During the CRS installation, you may see a message on one or more remote nodes indicating that lsnodes cannot find the oracore10.dll in the path specified. This is a benign message that you can ignore.

  1. Log in to Windows with Administrative privileges and run the setup.exe command on the Oracle Cluster Ready Services Release 1 CD-ROM. This will open the Oracle Universal Installer (OUI) Welcome page.


    Note:

    If you receive a warning to stop all Oracle services during the execution of the OUI, then execute the command
    Oracle home\bin\localconfig delete
    

    where Oracle home is the home that is running CSS, to accomplish this.


  2. After you click Next on the Welcome page, the Specify File Locations page provides you with the option to accept the displayed path name for the CRS products or select a different one. You may also accept default directory and path name for the location of your CRS home or browse for an alternate directory and destination. You must select a destination that exists on each cluster node that is part of this installation. Click Next to confirm your choices and proceed to the Language Selection page.

  3. Select the language or languages for your CRS installation on the Language Selection page, then click Next for the Cluster Configuration page.

  4. The Cluster Configuration page contains predefined node information if the OUI detects that your system has the Oracle9i Release 2 clusterware. Otherwise, the OUI displays the Cluster Configuration page without predefined node information.

    Provide your own cluster name if you do not wish to use the name provided by the OUI. Note that the selected cluster name must be globally unique throughout the enterprise and its allowable character set is the same as that for hostnames, that is, underscores (_), hyphens (-), and single-byte alphanumeric characters (a to z, A to Z, and 0 to 9).


    Note:

    If your cluster has Oracle9i Release 2 clusterware installed, then you must enter the same cluster name that you used for the Oracle9i Release 2 installation or else the installation will fail.

    Enter a public and a private host name for each node. Neither the public nor the private name should have a domain qualifier. When you enter the public host name, use the primary host name of each node, that is, the name displayed by the hostname command. The private node refers to an address that is only accessible by the other nodes in this cluster, and which Oracle uses for Cache Fusion processing. You may enter either a private host name or a private IP address for each node.

    Click Next after you have entered the cluster configuration information. This saves your entries and opens the Specify Network Interface Usage page.

  5. In the Specify Network Interface Usage page the OUI displays a list of cluster-wide interfaces. Use the drop-down menus on this page to classify each interface as Public, Private, or Do Not Use. The default setting for each interface is Do Not Use. You must classify at least one interconnect as Public and one as Private. Click Next when you have made your selections to open the Select Disk Formatting Options page.

  6. On the Select Disk Formatting Options page, you indicate what OCFS you want the OUI to format for you.


    Note:

    To use ASM for your database storage, then for this step select the Do not format any logical drives option.

    The formatting options are as follows:

    • Format two logical drives for data and software storage. In this case, the OUI creates two cluster file systems, one for the database files and one for the Oracle home. The OCR and voting disk are created in the datafile directory.

    • Format one logical drive for software storage. In this case, the OUI creates one cluster file system for the Oracle home and requires two additional partitions, one for the OCR and one for the voting disk. If you select this option, then you must have configured the partitions as described in "Creating Partitions and Logical Drives" before proceeding with the installation. These partitions will be stamped with "ocrcfg" for the OCR and "votedsk" for the voting disk.

    • Format one logical drive for data file storage. In this case, the OUI creates one cluster file system for the database files which is also used to store the OCR and voting disk.

    • Do not format any logical drives. In this case, the OUI requires two partitions, one for the OCR and one for the voting disk. If you select this option, then you must have configured the partitions as described in "Creating Partitions and Logical Drives" before proceeding with the installation. These partitions will be stamped with "ocrcfg" for the OCR and "votedsk" for the voting disk.

    Click Next after making your selection on the Select Disk Formatting Options page. The next page that the OUI displays depends on your selection on the Select Disk Formatting Options page, as described in the following step.


    Note:

    If you are installing on a cluster with an existing cluster file system from an earlier release of Oracle, then the OCR and voting disk will be stored in that file system. In this case, you do not require new partitions for the OCR and voting disk, even if you do not format a logical drive for data file storage.

  7. If you selected the "Format two logical drives for data and software storage" option on the Select Disk Formatting Options page, then you must complete the Select Software Storage Drive page and the Select Data Storage Drive page as described in Steps a and b respectively.

    If you selected the "Format one logical drive for software storage" option on the Select Disk Formatting Options page, then you must complete the Select Software Storage Drive page, the Disk Configuration - Oracle Cluster Registry (OCR) page, and the Disk Configuration - Voting Disk page as described in Steps a, c, and d respectively.

    If you selected the "Format one logical drive for data file storage" option on the Select Disk Formatting Options page, then you must complete the Select Data Storage Drive page as described in Step b.

    If you selected the "Do not format any logical drives" option on the Select Disk Formatting Options page, then you must complete the Disk Configuration - Oracle Cluster Registry (OCR) page and the Disk Configuration - Voting Disk page as described in Steps c and d respectively.

    1. On the Select Software Storage Drive page, choose a shared drive to see a list of available partitions on that drive. Choose a partition with sufficient space to hold your Oracle home and select the partition's disk number and partition number from the list. Click Next to proceed.

    2. On the Select Data Storage Drive page, choose a shared drive to see a list of available partitions on that drive. Choose a partition with sufficient space to hold your database files and select the partition's disk number and partition number from the list. Click Next to proceed.

    3. On the Disk Configuration - Oracle Cluster Registry (OCR) page, choose a partition with sufficient space to hold your OCR and select the partition's disk number and partition number from the list. Click Next to proceed.

    4. On the Disk Configuration - Voting Disk page, choose a partition with sufficient space to hold your voting disk and select the partition's disk number and partition number from the list. Click Next to proceed.


    Note:

    The OUI pages described in this step display logical drives from which you must make your selections. To be valid for selection, a logical drive must be located on a disk without a primary partition.

  8. After you click Next, the OUI checks whether the remote inventories are set. If they are not set, then the OUI sets up the remote inventories by setting registry keys. The OUI also verifies the permissions to enable writing to the inventory directories on the remote nodes. After completing these actions, the OUI displays a Summary page that shows the cluster node information along with the space requirements and availability. Verify the installation that the OUI is about to perform and click Finish.

  9. When you click Finish, the OUI installs the OCFS and CRS software on the local node and validates the installation again. The OUI will also create any required OCFS file systems. After validating the installation, the OUI completes the CRS software installation and configuration on the remote nodes, including the execution of required configuration assistants.


    Note:

    If one or more of the configuration assistants fails, you can manually rerun the script created by the OUI to help determine the cause of the failure. You can find the script in the CRS home\cfgtoollogs directory. You may need to edit the script to replace placeholders for passswords, to remove steps that completed successfully, and so on.

  10. For installations of Cluster Ready Services on a system that also contains Oracle9i Real Application Clusters, note these additional considerations and complete the steps as necessary:

    • If there will be a significant delay before you perform phase two of the RAC installation to install Oracle Database 10g with RAC software, then execute the command CRS_home\bin\gsdctl start to start the GSD manually to service the 9.2 SRVCTL tool and assistants. Then, before configuring the Oracle Database 10g with RAC software, run the command CRS_home\bin\gsdctl stop to stop the GSD.

At this point, you have completed phase one, the CRS installation and are ready to install the Oracle Database 10g with RAC as described in Chapter 11, "Installing Oracle Database 10g with Real Application Clusters".

Formatting Drives to Use Oracle Cluster File System after Installing Oracle Database 10g with RAC

If you install the Oracle Database 10g with RAC, and later want to install OCFS, then execute the ocfsformat.exe command from the crs_home\cfs directory using the following syntax:

crs_home\cfs\ocfsformat.exe /l drive_letter /c clustersize [/v volume_label] [/f]

where: