Oracle® Grid Infrastructure Installation Guide 11g Release 2 (11.2) for Microsoft Windows x64 (64-Bit) Part Number E18029-04 |
|
|
PDF · Mobi · ePub |
This chapter describes the differences between a Typical and Advanced installation for Oracle Grid Infrastructure for a cluster, and describes the steps required to complete a Typical installation.
This chapter contains the following sections:
There are two installation options for Oracle Grid Infrastructure installations:
Typical Installation: The Typical installation option is a simplified installation with a minimal number of manual configuration choices. Oracle recommends that you select this installation type for most cluster implementations.
Advanced Installation: The Advanced Installation option is an advanced procedure that requires more advanced system knowledge. It enables you to select particular configuration choices, including additional storage and network choices, integration with Intelligent Platform Management Interface (IPMI), or more granularity in specifying Oracle Automatic Storage Management (Oracle ASM) roles.
Complete the following manual configuration tasks
See Also:
Chapter 2, "Advanced Installation Oracle Grid Infrastructure for a Cluster Preinstallation Tasks" and Chapter 3, "Configuring Storage for Oracle Grid Infrastructure and Oracle RAC" for information about how to complete these tasksThis section provides a summary of the following pre-installation tasks:
See Also:
Section 2.5, "Checking the Hardware Requirements" for more information about these tasksIn the Windows Task Manager window, select the Performance tab to view the available memory for your system.
To view the Virtual memory settings, from the Control panel, select System. In the System Properties window, select the Advanced tab, then, under Performance, click Performance Options, or Settings. In the Performance Options window, the virtual memory, or page file, click the Advanced tab and the settings are displayed at the bottom of the window.
The minimum required RAM is 1 gigabyte (GB) for Oracle Grid Infrastructure for a Cluster. If you plan to install Oracle Real Application Clusters (Oracle RAC) after installing Oracle Grid Infrastructure for a Cluster, then the minimum required RAM is 2.5 GB. The minimum required virtual memory space is 2 GB. Oracle recommends that you set the paging file size to twice the amount of RAM.
The minimum processor speed is 1 gigahertz (GHz) for Windows Server 2003, Windows Server 2003 R2, and Windows Server 2008. The minimum processor speed is 1.4 GHz for Windows Server 2008 R2.
From the Start menu, select Run... In the Run window, type in Diskmgmt.msc to open the Disk Management graphical user interface (GUI).
The Disk Management GUI displays the available space on the available file systems. If you use standard redundancy for Oracle Clusterware files, which is 3 Oracle Cluster Registry (OCR) files and 3 voting disk files, then you should have at least 2 GB of disk space available on three separate physical disks reserved for the Oracle Clusterware files.
Note:
You cannot install OCR or voting disk files (Oracle Clusterware files) on raw partitions. You can install Oracle Clusterware files only on Oracle ASM, or on a supported storage option. Raw devices can be used as Oracle ASM disks.If you plan to install the Oracle Clusterware files on Oracle ASM, then to ensure high availability of OCR or voting disk files on Oracle ASM, you need to have at least 2 GB of disk space for Oracle Clusterware files in three separate failure groups, with at least three physical disks. Each disk must have at least 1 GB of capacity to ensure that there is sufficient space to create Oracle Clusterware files.
Ensure you have at least 3 GB of space for the Oracle Grid Infrastructure for a Cluster home (Grid home). This includes Oracle Clusterware and Oracle ASM files and log files.
Ensure that you have at least 1 GB of disk space in the Windows TEMP directory. If this space is not available, then increase the partition size of the disk, or delete unnecessary files in the directory. Make sure the environment variables TEMP
and TMP
both point to the location of the TEMP directory, for example:
TEMP=C:\WINDOWS\TEMP TMP=C:\WINDOWS\TEMP
See Also:
For more information, see Section 2.5, "Checking the Hardware Requirements"Ensure that you have the following available:
During Typical installation, you are prompted to confirm the default Single Client Access Name (SCAN), which is used to connect to databases within the cluster irrespective of which nodes the database instances run on. The default value for the SCAN is based on the local node name. If you change the SCAN from the default, then the name that you use must be globally unique throughout your enterprise.
In a Typical installation, SCAN contains the name of the cluster. The SCAN and cluster name must be at least one character long and no more than 15 characters in length, must be alphanumeric, and can contain hyphens (-), for example:
NE-sa89-scan
If you require a SCAN that is longer than 15 characters, then the cluster name defaults to the first 15 characters of the SCAN. See Section 1.2.2.2, "IP Address Requirements" for information about the SCAN address requirements.
Before starting the installation, you must have at least two network interface cards (NICs) configured on each node: One for the private internet protocol (IP) addresses and one for the public IP addresses.
Note:
Oracle recommends that you use a static host name for all server node public host names.The public and virtual IP addresses must be static addresses, configured before installation, and the virtual IP (VIP) addresses for each node must not currently be in use. Oracle Clusterware manages private IP addresses in the private subnet on network interfaces you identify as private during the installation interview.
Configure the following IP addresses:
A public IP address for each node
A VIP address for each node
A SCAN configured on the DNS for resolution to three addresses (recommended) using round-robin ordering. The SCAN must resolve to at least one address.
The SCAN is a cluster alias that provides service access for clients to the cluster. Because the SCAN is associated with the cluster as a whole, rather than to a particular node, the SCAN makes it possible to add or remove nodes from the cluster without needing to reconfigure clients. It also adds location independence for the databases, so that client configuration does not have to depend on which nodes are running a particular database instance. Client can continue to access the cluster in the same way as with previous releases, but Oracle recommends that clients accessing the cluster use the SCAN.
Note:
If you manually configure addresses, the Oracle strongly recommends that you use DNS resolution for the SCAN. If you use the hosts file to resolve the SCAN, then you must provide a hosts file entry for each SCAN address, but only the first SCAN address is used.See Also:
Section C.1.3, "Understanding Network Addresses," for more information about network addresses.During installation, you are asked to identify the planned use for each network adapter (or network interface) that Oracle Universal Installer (OUI) detects on your cluster node. You must identify each network adapter as a public or private adapter, or as "do not use." You must use the same private adapters for both Oracle Clusterware and Oracle RAC. For network adapters that you plan to use for other purposes–for example, an adapter dedicated to a network file system–you must identify those network adapters as "do not use" adapters so that Oracle Clusterware ignores them.
If you require high availability or load balancing for public adapters, then use a third party solution. Typically, bonding, trunking or similar technologies can be used for this purpose.
Media Sense allows Windows to uncouple an IP address from a network interface card when the link to the local switch is lost. To disable Windows Media Sensing for TCP/IP on Windows Server 2003 with SP1 or higher, you must set the value of the DisableDHCPMediaSense
parameter to 1 on each node. Because you must modify the Windows registry to disable Media Sensing, you should first backup the registry and confirm that you can restore it, using the methods described in your Windows documentation.
Disable Media Sensing by completing the following steps on each node of your cluster:
Backup the Windows registry.
Use Registry Editor (Regedit.exe
) to view the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Add a new DWORD value to the Parameters subkey:
Value Name: DisableDHCPMediaSense Value: 1
Exit the Registry Editor and restart the computer.
Check the network adapter binding order on each node. Ensure that your public network adapter is first in the bind order, and the private network adapter is second. Follow these steps to configure the network adapter bind order:
Right-click My Network Places and choose Properties.
In the Advanced menu, click Advanced Settings.
If the public adapter name is not the first name listed under the Adapters and Bindings tab, then select it and click the arrow to move it to the top of list.
Increase the priority of IPv4 over IPv6.
Click OK to save the setting and then exit the network setup dialog.
The names used for each class of network adapter (such as public) must be consistent across all nodes. You can use nondefault names for the network adapter, for example, PublicLAN
, if the same names are used for the same class of network adapters on each node in the network.
During installation, OUI copies the software from the local node to the remote nodes in the cluster. Verify that you have Administrator privileges on the other nodes in the cluster by running the following command on each node, where nodename
is the name of the remote node:
net use \\nodename\C$
Refer to the tables listed in Section 2.8, "Identifying Software Requirements" for details.
You must configure sufficient space in the Windows virtual memory, or paging file. Paging files are used to store information that cannot fit in RAM, the main memory for the computer. Paging files are shared by all processes, and a lack of space in the paging files can prevent processes from allocating memory.
If possible, split the paging file into multiple files on multiple physical devices. This configuration encourages parallel access to virtual memory, and improves the software performance. See Section 1.2.1.1, "Memory Requirements" for information on configuring the Windows paging file.
To install the Oracle software, you must use an account with Administrator privileges. For more information, refer to the section Section 2.13, "Configuring User Accounts".
Note:
If you are performing the installation remotely, refer to Section 2.3, "Logging In To a Remote Windows Server"OUI uses several directories during installation of Oracle Grid Infrastructure:
To install properly across all nodes, OUI uses the temporary folders defined within Microsoft Windows. The TEMP and TMP environment variables should point to the same local directory on all nodes in the cluster. By default, these settings are defined as %USERPROFILE%\Local Settings\Temp
and %USERPROFILE%\Local Settings\Tmp
in the Environment Settings of My Computer. It is recommended to explicitly redefine these as %WINDIR%\temp
and %WINDIR%\tmp
, for example, C:\Windows\temp
or C:\Windows\tmp
for all nodes, if Windows is installed on the C drive.
The directory that Oracle Grid Infrastructure is installed in is referred to as the Grid home. When installing Oracle Grid Infrastructure, you must determine the location of the Grid home. Oracle ASM is also installed in this home directory.
If you plan to install Oracle RAC, you must choose a different directory in which to install the Oracle Database software. The location of the Oracle RAC installation is referred to as the Oracle home.
During installation, you are prompted to specify an Oracle base location, which is owned by the user performing the installation. You can choose a location with an existing Oracle home, or choose another directory location that does not have the structure for an Oracle base directory.
If you install Oracle Database 11g release 2 (11.2) on a computer with no other Oracle software installed, OUI creates an Oracle base directory for you. If Oracle software is already installed, then one or more Oracle base directories already exist. In the latter case, OUI offers you a choice of Oracle base directories to use during installation.
In a default Windows installation, the Oracle base directory appears as follows, where X
represents a disk drive and username
is the name of the currently logged in user:
X:\app\username
Using the Oracle base directory path helps to facilitate the organization of Oracle installations, and helps to ensure that installations of multiple databases maintain an Optimal Flexible Architecture (OFA) configuration.
The Oracle Inventory directory is the central inventory location for all Oracle software installed on a server. By default, the location of the Oracle Inventory directory is C:\Program Files\Oracle\Inventory
. This directory is created automatically the first time you install Oracle software on a Windows server.
You must have space available on Oracle ASM for Oracle Clusterware files (voting disks and OCRs), and for Oracle Database files, if you install standalone or Oracle RAC databases. Creating Oracle Clusterware files on raw devices is no longer supported for new installations. You can also use Oracle Cluster File System for Windows (OCFS for Windows) for shared storage.
The following topics outline the procedures for preparing disk partitions for use with either Oracle Cluster File System for Windows (OCFS for Windows) or Oracle ASM.
See Also:
The following steps outline the procedure for creating disk partitions for use with either OCFS for Windows or Oracle ASM:
Use Microsoft Computer Management utility or the command line tool diskpart
to create an extended partition. Use a basic disk; dynamic disks are not supported.
Create at least one logical partition for the Oracle Clusterware files. You do not have to create separate partitions for the OCR and voting disk if you plan to use OCFS for Windows. Oracle Clusterware creates individual files for the OCR and voting disk.
If your file system does not use a redundant array of inexpensive disks (RAID), then create an additional extended partition and logical partition for each partition that will be used by Oracle Clusterware files, to provide redundancy.
To create the required partitions, use the Disk Management utilities available with Microsoft Windows. Use a basic disk with a Master Boot Record (MBR) partition style as an extended partition for creating partitions.
From an existing node in the cluster, run the Windows disk administration tool as follows:
For Windows Server 2003 and Windows 2003 R2 systems:
Click Start, then select Settings, Control Panel, Administrative Tools, and then Computer Management
Expand the Storage folder to Disk Management. Use a basic disk with a MBR partition style and create an extended partition. Right click inside an unallocated part of a disk and select Create Extended Partition. Specify a size for the partition that is at least 520 megabyte (MB) to store both the OCR and voting disk, or 500 MB (the minimum size) to store just the voting disk or OCR.
When specifying options for the logical drive, choose the option "Do not assign a drive letter or path" and "Do not format this partition". Repeat this steps to create enough logical partitions to store all the required files.
For Windows Server 2008 and Windows Server 2008 R2 systems, see Section 3.7, "Configuring Storage for Oracle Database Files on OCFS for Windows" for instructions on creating disk partitions using the DISKPART utility.
On each node in the cluster, ensure that the partitions are visible and that none of the disk partitions created for shared storage have drive letters assigned. If any partitions have drive letters assigned, then remove them by performing these steps:
Right-click the partition in the Windows disk administration tool
Select "Change Drive Letters and Paths..." from the menu
Click Remove in the "Change Drive Letter and Paths" window
If you plan to use Oracle ASM to store the Oracle Clusterware files, then you must perform one additional step. After you have created the disk partitions, the disks must be stamped with a header before they can be used by Oracle ASM. You can stamp the disk partitions by using either asmtoolg
(GUI version) or using asmtool
(command-line version).
This section provides an overview of the installation process for Oracle Grid Infrastructure for a Cluster. For more information, review Section 4.2, "Installing Oracle Grid Infrastructure".
Start OUI from the root level of the installation media. For example, if the installation media is mounted on D: drive, then perform the following at the command prompt:
C:\> D: D:\> setup.exe
Select Install and Configure Grid Infrastructure for a Cluster, then select Typical Installation. In the installation screens that follow, enter the configuration information as prompted.
After you have installed Oracle Grid Infrastructure, verify Oracle Clusterware and Oracle ASM are started and functioning correctly.