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.
About Default File Permissions Set by Oracle Universal Installer
Installing Oracle Grid Infrastructure Using a Software-Only Installation
Understanding Offline Processes in Oracle Grid Infrastructure
During Oracle Database installation, by default Oracle Universal Installer installs software in the ORACLE_HOME
directory. Oracle Universal Installer sets the following permissions to this directory, and to all files and directories under this directory.
For the ORACLE_HOME
of Oracle Grid Infrastructure, OUI grants the following permissions to the groups and users:
Full control - Administrators
, SYSTEM
, ORA_GRID_LISTENERS
, Oracle Installation User, Oracle Home User
Read, Execute, and List Contents - Authenticated Users
This section provides information about how to use 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.
Log in to Windows using a member of the Administrators group.
Navigate to the location of the installation media for Oracle Database 12c Release 1 (12.1), open a command prompt with administrator privileges, and run the setup.exe
command.
Select one of the following installation options:
Install and Configure Oracle Grid Infrastructure for a Cluster
Select this option to install a standard cluster.
Install and Configure Oracle Grid Infrastructure for a Standalone Server
Select this option to install Oracle Grid Infrastructure in an Oracle Restart configuration. Use this option for single servers supporting Oracle Database and other applications.
See Also:
Oracle Database Installation Guide for Microsoft Windows for information about standalone server installations, which is not discussed in this documentUpgrade Oracle Grid Infrastructure or Oracle Automatic Storage Management
Select this option to upgrade Oracle Grid Infrastructure (Oracle Clusterware and Oracle Grid Infrastructure), or to upgrade Oracle ASM.
Note:
Oracle Clusterware must always be the later release, so you cannot upgrade Oracle ASM to a release that is more recent than Oracle Clusterware.Install Oracle Grid Infrastructure Software Only
Select this option to install Oracle Grid Infrastructure in a Grid home, without configuring the software.
Installation screens vary depending on the installation option you select. Respond to the configuration prompts as needed to configure your cluster.
Note:
Click Help if you have any questions about the information you are asked to submit during installation.For cluster member node public and VIP network addresses, provide the information required depending on the kind of cluster you are configuring:
If you plan to use automatic cluster configuration with DHCP addresses configured and resolved through GNS, then you only need to provide the GNS VIP names as configured on your DNS.
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. If your system uses vendor clusterware, then OUI may fill additional fields.
Host names and virtual host names are not domain-qualified. If you provide a domain in the address field during installation, then OUI removes the domain from the address.
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.
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.
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. OUI 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 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 and Oracle ASM to maintain high availability for other applications, or you can install Oracle Database and Oracle RAC software.
If you intend to install Oracle Database 12c Release 1 (12.1) 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).
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.
There are two steps involved when installing Oracle Grid Infrastructure using the silent method.
To create a cluster configuration file manually, start a text editor, and create a file that provides the name of the public and virtual IP addresses for each cluster member node. Use the following format, 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 would create a text file named cluster_config.ccf
, with the following contents:
RACnode1 RACnode1-vip RACnode2 RACnode2-vip RACnode3 RACnode3-vip
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, "Creating a Cluster Configuration File".
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:
Log in to Windows using a member of the Administrators group and run the setup.exe
command from the Oracle Grid Infrastructure 12c Release 1 (12.1) 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.
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 3 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 7.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 7.3.3, "Configuring the Software Binaries Using a Response File."
You can configure the software binaries by starting Oracle Grid Infrastructure configuration wizard in GUI mode.
On one of the nodes, log in as the Oracle Installation 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.
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
).
See Also:
Oracle Clusterware Administration and Deployment Guide for more information about the configuration wizard.As the Oracle Installation user for Oracle Grid Infrastructure (for example, 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:
Grid_home\crs\config\config.bat [-debug] [-silent -responseFile filename]
For example:
C:\> cd app\12.1.0\grid\crs\config\ C:\..config> config.bat -responseFile ..\..\response\installGrid.rsp
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.
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\12.1.0\grid\crs\config C:\> config.bat -responseFile C:\app\12.1.0\grid\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, uset the crsctl
utility to verify Oracle Clusterware installation is installed and running correctly.
Log in as a member of the Administrators group, and run the following command from the bin
directory in the Grid home:
crsctl check cluster -all
Example 7-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 *************************************************************************
After installation, use the srvctl
utility to verify Oracle ASM software is operational.
If you installed the OCR and voting files on Oracle ASM, then run the following command from the Grid_home
\bin
directory:
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 7-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:\app\12.1.0\grid
with the location of your Grid home. The text below the command is an example of the output returned by the command.
C:\app\12.1.0\grid\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 12c Release 1 (12.1) 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.