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 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:
Preparing to Install Oracle Grid Infrastructure with Oracle Universal Installer
Installing Oracle Grid Infrastructure Using a Software-Only Installation
Understanding Offline Processes in Oracle Grid Infrastructure
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).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.
Verify Cluster Privileges
Before running OUI, from the node where you intend to run the Installer, verify that you are logged in using a member of the Administrators group, and that this user is a Local Administrator user on the other nodes in the cluster. To do this, enter the following command for each node that is a part of the cluster, where nodename
is the node name:
net use \\nodename\C$
Repeat for each node in the cluster.
Shut Down Running Oracle Processes
You may have to shut down running Oracle processes:
Installing on a node with a standalone database not using Oracle ASM: You do not have to shut down the database while you install Oracle Grid Infrastructure software.
Installing on a node that already has a standalone Oracle Database 11g release 2 (11.2) installation running on Oracle ASM: Stop the existing Oracle ASM instances. The Oracle ASM instances are restarted during installation.
Installing on an Oracle RAC database node: This installation requires an upgrade of Oracle Clusterware, because Oracle Clusterware is required to run Oracle RAC. As part of the upgrade, you must shut down the database one node at a time as the rolling upgrade proceeds from node to node.
Prepare for Oracle ASM and Oracle Clusterware upgrade if you have existing installations
During the installation of Oracle Grid Infrastructure, existing Oracle Clusterware and clustered Oracle ASM installations are upgraded.
When all member nodes of the cluster are running Oracle Grid Infrastructure 11g release 2 (11.2), then the new clusterware becomes the active version.
If you intend to install Oracle RAC, then you must first complete the upgrade to Oracle Grid Infrastructure 11g release 2 (11.2) on all cluster nodes before you install the Oracle Database 11g release 2 (11.2) version of Oracle RAC.
Note:
All Oracle Grid Infrastructure upgrades (upgrades of existing Oracle Clusterware and clustered Oracle ASM installations) are out-of-place upgrades.Obtain LOCAL_SYSTEM administrator access
Oracle Grid Infrastructure must be installed as a Local Administrator user, one with LOCAL_SYSTEM privileges, or a member of the local Administrators group. If you do not have Administrator access to each node in the cluster, then ask your system administrator to create and configure the user account on each node.
Decide if you want to install other languages
During an Advanced installation session, you are asked if you want translation of user interface text into languages other than the default, which is English.
Note:
If the language set for the operating system is not supported by OUI, then OUI, by default, runs in English.See Also:
Oracle Database Globalization Support Guide for detailed information on character sets and language configurationDetermine your cluster name, public node names, single client access name (SCAN), virtual node names, GNS VIP, and planned interface use for each node in the cluster
During installation, you are prompted to provide the public and virtual host name, unless you use a third party cluster software. In that case, the public host name information will be filled in. You are also prompted to identify which interfaces are public, private, or interfaces in use for another purpose, such as a network file system.
If you use Grid Naming Service (GNS), then OUI displays the public and virtual host name addresses labeled as "AUTO" because they are configured automatically by GNS.
Note:
If you configure internet protocol (IP) addresses manually, then avoid changing host names after you complete the Oracle Grid Infrastructure installation, including adding or deleting domain qualifications. A node with a new host name is considered a new host, and must be added to the cluster. A node under the old name will appear to be down until it is removed from the cluster.When you enter the public node name, use the primary host name of each node. In other words, use the name displayed by the hostname
command. This node name can be either the permanent or the virtual host name. The node name should contain only single-byte alphanumeric characters (a to z, A to Z, and 0 to 9). Do not use underscores (_) or any other characters in the host name.
In addition:
Provide a cluster name with the following characteristics:
It must be globally unique throughout your host domain.
It must be at least one character long and less than 15 characters long.
It must consist of the same character set used for host names, in accordance with Internet Engineering Task Force RFC 1123: Hyphens (-), and single-byte alphanumeric characters (a to z, A to Z, and 0 to 9).
Note:
Windows operating systems allow underscores to be used in host names. However, because underscored names are not legal host names for a domain name system (DNS), they should be avoided.If you are not using GNS, then determine a virtual host name for each node. A virtual host name is a public node name that is used to reroute client requests sent to the node if the node is down. Oracle Database uses virtual IP (VIP) addresses for client-to-database connections, so the VIP address must be publicly accessible. Oracle recommends that you provide a name in the format hostname-vip. For example: myclstr2-vip
.
Provide SCAN addresses for client access to the cluster. These addresses should be configured as round robin addresses on the domain name service (DNS). Oracle recommends that you supply three SCAN addresses.
Note:
The following is a list of additional information about node IP addresses:For the local node only, OUI automatically fills in public and VIP fields.
Host names and virtual host names are not domain-qualified. If you provide a domain in the host name field during installation, then OUI removes the domain from the name.
Interfaces identified as private for private IP addresses should not be accessible as public interfaces. Using public interfaces for Cache Fusion can cause performance problems.
Identify public and private interfaces. OUI configures public interfaces for use by public and virtual IP addresses, and configures private IP addresses on private interfaces.
The private subnet that the private interfaces use must connect all the nodes you intend to have as cluster members.
Identify shared storage for Oracle Clusterware files and prepare storage if necessary
During installation, you are asked to provide paths for the following Oracle Clusterware files. These files must be shared across all nodes of the cluster, either on Oracle ASM, or on a supported cluster file system:
Voting disks are files that Oracle Clusterware uses to verify cluster node membership and status.
Oracle Cluster Registry files (OCR) contain cluster and database configuration information for Oracle Clusterware.
If you intend to use Oracle Cluster File System for Windows (OCFS for Windows), then you are prompted to indicate which of the available disks you want to format with OCFS for Windows, what format type you want to use, and to what drive letter the formatted OCFS for Windows disk is mounted.
If your file system does not have external storage redundancy, then Oracle recommends that you provide two additional locations for the OCR disk and voting disks, for a total of at least three partitions. If the OCR and voting disks are not stored together, then you will need at least six partitions (three for the OCR and three for voting disks). Creating redundant storage locations protects the OCR and voting disk if a failure occurs. To completely protect your cluster, the storage locations given for the copies of the OCR and voting disks should have completely separate paths, controllers, and disks, so that no single point of failure is shared by storage locations.
When you select to store the OCR on Oracle ASM, the default configuration is to create the OCR in one Oracle ASM disk group. If you create the disk group with normal or high redundancy, then the OCR is protected from physical disk failure.
To protect the OCR from logical disk failure, create another Oracle ASM disk group after installation and add the OCR to the second disk group using the ocrconfig
command.
See Also:
Disconnect all non-persistent drives
Before starting the Oracle Grid Infrastructure installation on Windows, ensure that you disconnect all nonpersistent drives that are temporarily mounted on all the nodes. Alternatively, to access the shared drive, make the shared drive persistent using the following command:
net use * \\servername\sharename /persistent: YES
Disable Anti-Virus software
Disable any anti-virus software running on cluster nodes before and for the entire duration of the Oracle Grid Infrastructure 11g release 2 installation. If the system is restarted before the installation is complete, ensure the anti-virus software was not restarted before continuing with the installation. Anti-virus software can be re-enabled when the installation is complete.
Have intelligent platform management interface (IPMI) configuration completed and have IPMI administrator account information
If you intend to use IPMI, then ensure baseboard management controller (BMC) interfaces are configured, and have an administration account username and password to provide when prompted during installation.
For nonstandard installations, if you must change the configuration on one or more nodes after installation (for example, if you have different administrator usernames and passwords for BMC interfaces on cluster nodes), then decide if you want to reconfigure the BMC interface, or modify IPMI administrator account information after installation, as described in Chapter 5, "Oracle Grid Infrastructure Postinstallation Procedures".
Ensure that the Oracle home path you select for the Grid home uses only American standard code for information interchange (ASCII) characters
The use of non-ASCII characters in any part of the path for an Oracle Grid Infrastructure home (Grid home) or Oracle Database home is not supported. This restriction includes installation owner user names, which are used as a default for some home paths, as well as other directory names you may select for paths.
Unset Oracle environment variables. If you have set ORA_CRS_HOME
as an environment variable, then unset it before starting an installation or upgrade. You should never configure ORA_CRS_HOME
as a user or system environment variable.
If you have had an existing installation on your system, and you are using the same user account to install this installation, then unset the following environment variables: ORA_CRS_HOME
; ORACLE_HOME
; ORA_NLS10
; TNS_ADMIN
Decide if you want to use the Software Updates option. OUI can install critical patch updates and system requirements updates for supported operating systems, and other significant updates that can help to ensure your installation proceeds smoothly. Oracle recommends that you enable software updates during installation.
If you choose to enable software updates, then during installation you must provide a valid My Oracle Support user name and password, so that OUI can download the latest updates, or you must provide a path to the location of an software updates packages that you have downloaded previously.
If you plan to run the installation in a secured data center, then you can download updates before starting the installation by starting OUI in update download mode on a system that has Internet access. To start OUI to download updates, enter the following command from the base directory of the installation media:
X:\> setup.exe -downloadUpdates
Provide the My Oracle Support user name and password, and provide proxy settings if needed. After you download the updates, transfer the update file to a directory on the server where you plan to run the installation.
This section provides information about how to use OUI to install Oracle Grid Infrastructure. It contains the following sections:
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.
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.
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.
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.
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:
Oracle Clusterware Administration and Deployment Guide for cloning Oracle Grid Infrastructure
Oracle Real Application Clusters Administration and Deployment Guide for information about using cloning and node addition procedures for Oracle RAC nodes
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:
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:
On the installation media, and go to the directory /response
.
Using a text editor, open the response file grid_install.rsp
.
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 filesComplete the following procedure to perform a noninteractive (silent) installation:
Create a cluster configuration file as described in the previous section, "Performing a Silent Installation of Oracle Grid Infrastructure".
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 filesA 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:
Configuring the installed software using one of the following methods:
To perform a software-only installation:
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.
Complete a software-only installation of Oracle Grid Infrastructure for a cluster on the first node, or the local node.
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
.
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.
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
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."
Configure the software binaries by starting Oracle Grid Infrastructure configuration wizard in GUI mode:
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.
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.
Run any scripts, if prompted.
OUI checks the cluster configuration status, and starts other configuration tools as needed.
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:
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.
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.
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.
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:
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.
When configuration of the local node is complete, OUI copies the Oracle Grid Infrastructure configuration file to other cluster member nodes.
OUI checks the cluster configuration status, and starts other configuration tools as needed.
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 *************************************************************************
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 thesrvctl
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.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.