Silent Installation of Grid Infrastructure

pete.sharman's picture

Introduction

Recently I had a requirement to install the Grid Infrastructure and Oracle RDBMS on a completely new VM. The customer I was doing this work for wanted to take a copy of their Production environment to another server so they could test an upgrade of their existing environment from Oracle GI / RDBMS 12.1 to 12.2. So they built a VM for me, copied the 12.1 installation media for both GI and the RDBMS and said “Go for it!”

I decided to log everything I did and write a series of blog posts based on my experience, in case it was of use to others. There were a few issues I needed to deal with for this customer. Some of those issues were:

  • The customer wanted to test some cloning software for other reasons that were orthogonal to this task. The cloning software was only supported on Oracle Linux 6.5 (I didn’t ask why, just accepted that this was the requirement), so they built the VM for me on that release of Oracle Linux.
  • The existing Production environment was 12.1.0.1 – absolutely vanilla, no patches at all (you can see why we suggested they upgrade!). That release is, I think, no longer supported, but as that is what the Production environment was using, we had to build the test environment using 12.1.0.1 as well.
  • The Production environment was using Standard Edition, so the test environment had to use that as well.
  • I didn’t have direct access to the test VM. I had to ssh to the Production machine, and then onto the test VM. There was no GUI available in this configuration, so the entire build had to be done using response files. I had previously built a 12.2 RDBMS kernel for another customer, but had no experience at building Grid Infrastructure using a response file.
  • There wasn’t a lot of storage available for the VM (in fact I had to extend the volume as part of this work, which is the subject of another post). More importantly, there was certainly not enough space to load a backup of their Production environment, so we had to NFS mount their Production backup device to duplicate the database from.
  • The customer wasn’t familiar with installing Oracle, so they hadn’t performed any of the checks needed to ensure a successful installation.
  • Given this was a test to see how the upgrade would go in Production, I wanted to build an environment that matched their existing Production environment as closely as possible. That was built quite some time back, and not by me, so there were some decisions made at that stage that I probably wouldn’t have made. However, I replicated those decisions to try to match their Production environment.
  • ASM is used in the Production environment, so that’s why the Grid Infrastructure was installed.

So given that set of issues to deal with, here’s how the installation was done. In this post, I’m going to cover the installation of Grid Infrastructure. I’ll cover the rest in later posts.

Pre-installation Checks

Given the customer had built the VM without knowledge of the Oracle requirements, it was important to ensure all the installation requirements were met. I basically had a VM that had an “oracle” user, but still needed to do a lot of work to get the VM ready for a successful installation. So I grabbed the installation documentation and started running through the checks documented there.

Firstly I checked the memory configuration:

[root ~]# grep MemTotal /proc/meminfo
MemTotal:       33015808 kB
[root ~]$ grep SwapTotal /proc/meminfo
SwapTotal:       8130556 kB
[root ~]$ free
             total       used       free     shared    buffers     cached
Mem:      33015808     844904   32170904          0      19280     107812
-/+ buffers/cache:     717812   32297996
Swap:      8130556          0    8130556

I checked the groups on the VM, and found oinstall, dba, and oper did not exist. These were the only three groups used in the Production environment, so I restricted the test build to those as well:

[root ~]# groupadd oinstall
[root ~]# groupadd dba
[root ~]# groupadd oper

[root ~]# groups oracle
oracle : oracle
[root ~]# usermod -g oinstall oracle
[root ~]# usermod -G dba,oper oracle
[root ~]# id oracle
uid=500(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),503(oper)

Next, I went on to look at the storage, and create some directories for the installation (NOTE: Production only had an oracle user, not a grid user, which is why everything in Test is also owned by the oracle user):

[root ~]# mkdir -p /u01
[root ~]# mkdir -p /u01/app
[root ~]# mkdir -p /u01/app/oracle
[root ~]# chown oracle:oinstall /u01
[root ~]# chown oracle:oinstall /u01/app
[root ~]# chmod -R 775 /u01/

As mentioned earlier, though this is a standalone server (not RAC), ASM is used for the storage, so I needed to check for – and install / configure – ASM:

[root ~]# rpm -qa | grep oracleasm
[root ~]# yum install oracleasm-support
public_ol6_UEK_latest                                                   | 1.2 kB     00:00
public_ol6_u5_base                                                      | 1.4 kB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracleasm-support.x86_64 0:2.1.8-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================
 Package                   Arch           Version             Repository                  Size
===============================================================================================
Installing:
 oracleasm-support         x86_64         2.1.8-1.el6         public_ol6_u5_base          73 k

Transaction Summary
===============================================================================================
Install       1 Package(s)

Total download size: 73 k
Installed size: 216 k
Is this ok [y/N]: y
Downloading Packages:
oracleasm-support-2.1.8-1.el6.x86_64.rpm                                |  73 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : oracleasm-support-2.1.8-1.el6.x86_64                                        1/1
  Verifying  : oracleasm-support-2.1.8-1.el6.x86_64                                        1/1

Installed:
  oracleasm-support.x86_64 0:2.1.8-1.el6

Complete!

[root oracle]# rpm -ihv oracleasmlib-2.0.12-1.el6.x86_64.rpm
Preparing...                ########################################### [100%]
   1:oracleasmlib           ########################################### [100%]
[root oracle]# rpm -qa | grep oracleasm
oracleasmlib-2.0.12-1.el6.x86_64
oracleasm-support-2.1.8-1.el6.x86_64
[root oracle]# which oracleasm
/usr/sbin/oracleasm
[root oracle]# oracleasm configure -i
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver.  The following questions will determine whether the driver is
loaded on boot and what permissions it will have.  The current values
will be shown in brackets ('[]').  Hitting  without typing an
answer will keep that current value.  Ctrl-C will abort.

Default user to own the driver interface []: oracle
Default group to own the driver interface []: oinstall
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done

[root oracle]# ls -lrt /etc/sysconfig/oracleasm
lrwxrwxrwx 1 root root 24 Feb  5 11:46 /etc/sysconfig/oracleasm -> oracleasm-_dev_oracleasm
[root oracle]# oracleasm status
Checking if ASM is loaded: no
Checking if /dev/oracleasm is mounted: no
[root oracle]# oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Configuring "oracleasm" to use device physical block size
Mounting ASMlib driver filesystem: /dev/oracleasm

Verify the oracleasm configuration

a. Perform ‘df –ha’, this should show you that /dev/oracleasmfs is mounted.

Execute the ‘lsmod’ command, to show the loaded oracleasm module.

[root oracle]# lsmod | grep oracleasm
oracleasm              54288  1

[root oracle]# oracleasm-discover
Using ASMLib from /opt/oracle/extapi/64/asm/orcl/1/libasm.so
[ASM Library - Generic Linux, version 2.0.12 (KABI_V2)]
 

[root oracle]# df -ha
Filesystem                             Size  Used Avail Use% Mounted on
/dev/mapper/vg_brsyddrdevdb01-lv_root   20G  7.8G   11G  42% /
proc                                      0     0     0    - /proc
sysfs                                     0     0     0    - /sys
devpts                                    0     0     0    - /dev/pts
tmpfs                                   16G     0   16G   0% /dev/shm
/dev/sda1                              485M   97M  364M  21% /boot
none                                      0     0     0    - /proc/sys/fs/binfmt_misc
oracleasmfs                               0     0     0    - /dev/oracleasm

Next, I wanted to install the Oracle Preinstallation RPM. Since this VM had been built by the client, I had no idea if it was registered for Linux support, so I downloaded a copy of the preinstallation RPM and did a local install of that:

[root oracle]# yum localinstall oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64.rpm
Setting up Local Package Process
Examining oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64.rpm: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
Marking oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-rdbms-server-12cR1-preinstall.x86_64 0:1.0-3.el7 will be installed
--> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
--> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
--> Processing Dependency: gcc for package: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
--> Processing Dependency: gcc-c++ for package: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
--> Processing Dependency: ksh for package: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
--> Processing Dependency: libaio-devel for package: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
--> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
--> Processing Dependency: xorg-x11-utils for package: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
--> Processing Dependency: xorg-x11-xauth for package: oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
--> Running transaction check
---> Package compat-libcap1.x86_64 0:1.10-1 will be installed
---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed
---> Package gcc.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: cpp = 4.4.7-4.el6 for package: gcc-4.4.7-4.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-4.el6.x86_64
---> Package gcc-c++.x86_64 0:4.4.7-4.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-4.el6.x86_64
---> Package ksh.x86_64 0:20120801-10.el6 will be installed
---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed
---> Package libstdc++-devel.x86_64 0:4.4.7-4.el6 will be installed
---> Package xorg-x11-utils.x86_64 0:7.5-6.el6 will be installed
--> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
--> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-6.el6.x86_64
---> Package xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6 will be installed
--> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-4.el6 will be installed
---> Package libXmu.x86_64 0:1.1.1-2.el6 will be installed
---> Package libXxf86dga.x86_64 0:1.1.3-2.el6 will be installed
---> Package libXxf86misc.x86_64 0:1.0.3-4.el6 will be installed
---> Package libdmx.x86_64 0:1.1.2-2.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
--> Running transaction check
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================
 Package                              Arch   Version         Repository                 Size
=============================================================================================
Installing:
 oracle-rdbms-server-12cR1-preinstall x86_64 1.0-3.el7       /oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64
                                                                                        43 k
Installing for dependencies:
 cloog-ppl                            x86_64 0.15.7-1.2.el6  public_ol6_u5_base         93 k
 compat-libcap1                       x86_64 1.10-1          public_ol6_u5_base         17 k
 compat-libstdc++-33                  x86_64 3.2.3-69.el6    public_ol6_u5_base        183 k
 cpp                                  x86_64 4.4.7-4.el6     public_ol6_u5_base        3.7 M
 gcc                                  x86_64 4.4.7-4.el6     public_ol6_u5_base         10 M
 gcc-c++                              x86_64 4.4.7-4.el6     public_ol6_u5_base        4.7 M
 ksh                                  x86_64 20120801-10.el6 public_ol6_u5_base        755 k
 libXmu                               x86_64 1.1.1-2.el6     public_ol6_u5_base         65 k
 libXxf86dga                          x86_64 1.1.3-2.el6     public_ol6_u5_base         24 k
 libXxf86misc                         x86_64 1.0.3-4.el6     public_ol6_u5_base         17 k
 libaio-devel                         x86_64 0.3.107-10.el6  public_ol6_u5_base         13 k
 libdmx                               x86_64 1.1.2-2.el6     public_ol6_u5_base         20 k
 libstdc++-devel                      x86_64 4.4.7-4.el6     public_ol6_u5_base        1.6 M
 mpfr                                 x86_64 2.4.1-6.el6     public_ol6_u5_base        156 k
 ppl                                  x86_64 0.10.2-11.el6   public_ol6_u5_base        1.3 M
 xorg-x11-utils                       x86_64 7.5-6.el6       public_ol6_u5_base         94 k
 xorg-x11-xauth                       x86_64 1:1.0.2-7.1.el6 public_ol6_u5_base         34 k

Transaction Summary
=============================================================================================
Install      18 Package(s)

Total size: 23 M
Total download size: 23 M
Installed size: 56 M
Is this ok [y/N]: y
Downloading Packages:
(1/17): cloog-ppl-0.15.7-1.2.el6.x86_64.rpm                           |  93 kB     00:00
(2/17): compat-libcap1-1.10-1.x86_64.rpm                              |  17 kB     00:00
(3/17): compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm                   | 183 kB     00:00
(4/17): cpp-4.4.7-4.el6.x86_64.rpm                                    | 3.7 MB     00:02
(5/17): gcc-4.4.7-4.el6.x86_64.rpm                                    |  10 MB     00:07
(6/17): gcc-c++-4.4.7-4.el6.x86_64.rpm                                | 4.7 MB     00:03
(7/17): ksh-20120801-10.el6.x86_64.rpm                                | 755 kB     00:00
(8/17): libXmu-1.1.1-2.el6.x86_64.rpm                                 |  65 kB     00:00
(9/17): libXxf86dga-1.1.3-2.el6.x86_64.rpm                            |  24 kB     00:00
(10/17): libXxf86misc-1.0.3-4.el6.x86_64.rpm                          |  17 kB     00:00
(11/17): libaio-devel-0.3.107-10.el6.x86_64.rpm                       |  13 kB     00:00
(12/17): libdmx-1.1.2-2.el6.x86_64.rpm                                |  20 kB     00:00
(13/17): libstdc++-devel-4.4.7-4.el6.x86_64.rpm                       | 1.6 MB     00:01
(14/17): mpfr-2.4.1-6.el6.x86_64.rpm                                  | 156 kB     00:00
(15/17): ppl-0.10.2-11.el6.x86_64.rpm                                 | 1.3 MB     00:00
(16/17): xorg-x11-utils-7.5-6.el6.x86_64.rpm                          |  94 kB     00:00
(17/17): xorg-x11-xauth-1.0.2-7.1.el6.x86_64.rpm                      |  34 kB     00:00
---------------------------------------------------------------------------------------------
Total                                                        1.0 MB/s |  23 MB     00:22
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : mpfr-2.4.1-6.el6.x86_64                                                  1/18
  Installing : libstdc++-devel-4.4.7-4.el6.x86_64                                       2/18
  Installing : cpp-4.4.7-4.el6.x86_64                                                   3/18
  Installing : libXmu-1.1.1-2.el6.x86_64                                                4/18
  Installing : 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64                                    5/18
  Installing : ksh-20120801-10.el6.x86_64                                               6/18
  Installing : libXxf86dga-1.1.3-2.el6.x86_64                                           7/18
  Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64                                  8/18
  Installing : libXxf86misc-1.0.3-4.el6.x86_64                                          9/18
  Installing : libaio-devel-0.3.107-10.el6.x86_64                                      10/18
  Installing : ppl-0.10.2-11.el6.x86_64                                                11/18
  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                                         12/18
  Installing : gcc-4.4.7-4.el6.x86_64                                                  13/18
  Installing : gcc-c++-4.4.7-4.el6.x86_64                                              14/18
  Installing : libdmx-1.1.2-2.el6.x86_64                                               15/18
  Installing : xorg-x11-utils-7.5-6.el6.x86_64                                         16/18
  Installing : compat-libcap1-1.10-1.x86_64                                            17/18
  Installing : oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64                   18/18
  Verifying  : compat-libcap1-1.10-1.x86_64                                             1/18
  Verifying  : gcc-c++-4.4.7-4.el6.x86_64                                               2/18
  Verifying  : libstdc++-devel-4.4.7-4.el6.x86_64                                       3/18
  Verifying  : xorg-x11-utils-7.5-6.el6.x86_64                                          4/18
  Verifying  : cpp-4.4.7-4.el6.x86_64                                                   5/18
  Verifying  : libdmx-1.1.2-2.el6.x86_64                                                6/18
  Verifying  : ppl-0.10.2-11.el6.x86_64                                                 7/18
  Verifying  : libaio-devel-0.3.107-10.el6.x86_64                                       8/18
  Verifying  : libXxf86misc-1.0.3-4.el6.x86_64                                          9/18
  Verifying  : mpfr-2.4.1-6.el6.x86_64                                                 10/18
  Verifying  : compat-libstdc++-33-3.2.3-69.el6.x86_64                                 11/18
  Verifying  : libXxf86dga-1.1.3-2.el6.x86_64                                          12/18
  Verifying  : 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64                                   13/18
  Verifying  : gcc-4.4.7-4.el6.x86_64                                                  14/18
  Verifying  : ksh-20120801-10.el6.x86_64                                              15/18
  Verifying  : oracle-rdbms-server-12cR1-preinstall-1.0-3.el7.x86_64                   16/18
  Verifying  : libXmu-1.1.1-2.el6.x86_64                                               17/18
  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                                         18/18

Installed:
  oracle-rdbms-server-12cR1-preinstall.x86_64 0:1.0-3.el7

Dependency Installed:
  cloog-ppl.x86_64 0:0.15.7-1.2.el6                 compat-libcap1.x86_64 0:1.10-1
  compat-libstdc++-33.x86_64 0:3.2.3-69.el6         cpp.x86_64 0:4.4.7-4.el6
  gcc.x86_64 0:4.4.7-4.el6                          gcc-c++.x86_64 0:4.4.7-4.el6
  ksh.x86_64 0:20120801-10.el6                      libXmu.x86_64 0:1.1.1-2.el6
  libXxf86dga.x86_64 0:1.1.3-2.el6                  libXxf86misc.x86_64 0:1.0.3-4.el6
  libaio-devel.x86_64 0:0.3.107-10.el6              libdmx.x86_64 0:1.1.2-2.el6
  libstdc++-devel.x86_64 0:4.4.7-4.el6              mpfr.x86_64 0:2.4.1-6.el6
  ppl.x86_64 0:0.10.2-11.el6                        xorg-x11-utils.x86_64 0:7.5-6.el6
  xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6

Complete!

Next, I checked the values found in /etc/sysctl.conf and /etc/security/limits.conf on the Production machine, and copied those to the test environment. Finally, I edited the .bash_profile file for the oracle user and set umask to 022:

[oracle ~]$ . ./.bash_profile
[oracle ~]$ umask
0022

Grid Infrastructure Installation

Now that the VM was set up correctly, it was time to install the Grid Infrastructure code. Since I was doing a software installation only, the only relevant parts of the response file were sections A, B, and C (in fact even C wasn’t needed), so I left everything else blank. Here’s the grid.rsp file I used for the installation:

[oracle ~]$ cat grid.rsp
###############################################################################
## Copyright(c) Oracle Corporation 1998,2013. All rights reserved.           ##
##                                                                           ##
## Specify values for the variables listed below to customize                ##
## your installation.                                                        ##
##                                                                           ##
## Each variable is associated with a comment. The comment                   ##
## can help to populate the variables with the appropriate                   ##
## values.                                                                   ##
##                                                                           ##
## IMPORTANT NOTE: This file contains plain text passwords and               ##
## should be secured to have read permission only by oracle user             ##
## or db administrator who owns this installation.                           ##
##                                                                           ##
###############################################################################

###############################################################################
##                                                                           ##
## Instructions to fill this response file                                   ##
## To install and configure 'Grid Infrastructure for Cluster'                ##
##  - Fill out sections A,B,C,D,E,F and G                                    ##
##  - Fill out section G if OCR and voting disk should be placed on ASM      ##
##                                                                           ##
## To install and configure 'Grid Infrastructure for Standalone server'      ##
##  - Fill out sections A,B and G                                            ##
##                                                                           ##
## To install software for 'Grid Infrastructure'                             ##
##  - Fill out sections A,B and C                                            ##
##                                                                           ##
## To upgrade clusterware and/or Automatic storage management of earlier     ##
## releases                                                                  ##
##  - Fill out sections A,B,C,D and H                                        ##
##                                                                           ##
###############################################################################

#------------------------------------------------------------------------------
# Do not change the following system generated value.
#------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v12.1.0

###############################################################################
#                                                                             #
#                          SECTION A - BASIC                                  #
#                                                                             #
###############################################################################

#-------------------------------------------------------------------------------
# Specify the hostname of the system as set during the install. It can be used
# to force the installation to use an alternative hostname rather than using the
# first hostname found on the system. (e.g., for systems with multiple hostnames
# and network interfaces)
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME=devdb01.acme.com.au

#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/u01/app/oraInventory

#-------------------------------------------------------------------------------
# Specify the languages in which the components will be installed.
#
# en   : English                  ja   : Japanese
# fr   : French                   ko   : Korean
# ar   : Arabic                   es   : Latin American Spanish
# bn   : Bengali                  lv   : Latvian
# pt_BR: Brazilian Portuguese     lt   : Lithuanian
# bg   : Bulgarian                ms   : Malay
# fr_CA: Canadian French          es_MX: Mexican Spanish
# ca   : Catalan                  no   : Norwegian
# hr   : Croatian                 pl   : Polish
# cs   : Czech                    pt   : Portuguese
# da   : Danish                   ro   : Romanian
# nl   : Dutch                    ru   : Russian
# ar_EG: Egyptian                 zh_CN: Simplified Chinese
# en_GB: English (Great Britain)  sk   : Slovak
# et   : Estonian                 sl   : Slovenian
# fi   : Finnish                  es_ES: Spanish
# de   : German                   sv   : Swedish
# el   : Greek                    th   : Thai
# iw   : Hebrew                   zh_TW: Traditional Chinese
# hu   : Hungarian                tr   : Turkish
# is   : Icelandic                uk   : Ukrainian
# in   : Indonesian               vi   : Vietnamese
# it   : Italian
#
# all_langs   : All languages
#
# Specify value as the following to select any of the languages.
# Example : SELECTED_LANGUAGES=en,fr,ja
#
# Specify value as the following to select all the languages.
# Example : SELECTED_LANGUAGES=all_langs
#-------------------------------------------------------------------------------
SELECTED_LANGUAGES=all_langs

#-------------------------------------------------------------------------------
# Specify the installation option.
# Allowed values: CRS_CONFIG or HA_CONFIG or UPGRADE or CRS_SWONLY or HA_SWONLY
#   - CRS_CONFIG : To configure Grid Infrastructure for cluster
#   - HA_CONFIG  : To configure Grid Infrastructure for stand alone server
#   - UPGRADE    : To upgrade clusterware software of earlier release
#   - CRS_SWONLY : To install clusterware files only (can be configured for cluster
#                  or stand alone server later)
#   - HA_SWONLY  : To install clusterware files only (can be configured for stand
#                  alone server later. This is only supported on Windows.)
#-------------------------------------------------------------------------------
oracle.install.option=CRS_SWONLY

#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base.
#-------------------------------------------------------------------------------
ORACLE_BASE=/u01/app

#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home.
#-------------------------------------------------------------------------------
ORACLE_HOME=/u01/app/product/12.1.0/grid

################################################################################
#                                                                              #
#                              SECTION B - GROUPS                              #
#                                                                              #
#   The following three groups need to be assigned for all GI installations.   #
#   OSDBA and OSOPER can be the same or different.  OSASM must be different    #
#   than the other two.                                                        #
#   The value to be specified for OSDBA, OSOPER and OSASM group is only for    #
#   Unix based Operating System.                                               #
#                                                                              #
################################################################################
#-------------------------------------------------------------------------------
# The DBA_GROUP is the OS group which is to be granted OSDBA privileges.
#-------------------------------------------------------------------------------
oracle.install.asm.OSDBA=dba

#-------------------------------------------------------------------------------
# The OPER_GROUP is the OS group which is to be granted OSOPER privileges.
# The value to be specified for OSOPER group is optional.
#-------------------------------------------------------------------------------
oracle.install.asm.OSOPER=oper

#-------------------------------------------------------------------------------
# The OSASM_GROUP is the OS group which is to be granted OSASM privileges. This
# must be different than the previous two.
#-------------------------------------------------------------------------------
oracle.install.asm.OSASM=oinstall

################################################################################
#                                                                              #
#                           SECTION C - SCAN                                   #
#                                                                              #
################################################################################
#-------------------------------------------------------------------------------
# Specify a name for SCAN
#-------------------------------------------------------------------------------
oracle.install.crs.config.gpnp.scanName=

#-------------------------------------------------------------------------------
# Specify a unused port number for SCAN service
#-------------------------------------------------------------------------------

oracle.install.crs.config.gpnp.scanPort=

################################################################################
#                                                                              #
#                           SECTION D - CLUSTER & GNS                         #
#                                                                              #
################################################################################
#-------------------------------------------------------------------------------
# Specify the type of cluster you would like to configure
# Allowed values: FLEX and STANDARD
#-------------------------------------------------------------------------------
oracle.install.crs.config.ClusterType=


#-------------------------------------------------------------------------------
# Specify a name for the Cluster you are creating.
#
# The maximum length allowed for clustername is 15 characters. The name can be
# any combination of lower and uppercase alphabets (A - Z), (0 - 9), hyphen(-)
# and underscore(_).
#-------------------------------------------------------------------------------
oracle.install.crs.config.clusterName=

#-------------------------------------------------------------------------------
# Specify 'true' if you would like to configure Grid Naming Service(GNS), else
# specify 'false'
#-------------------------------------------------------------------------------
oracle.install.crs.config.gpnp.configureGNS=

#-------------------------------------------------------------------------------
# Applicable only if you choose to configure GNS
# Specify 'true' if you would like to assign SCAN name VIP and Node VIPs by DHCP
# , else specify 'false'
#-------------------------------------------------------------------------------
oracle.install.crs.config.autoConfigureClusterNodeVIP=

#-------------------------------------------------------------------------------
# Applicable only if you choose to configure GNS
# Specify the type of GNS configuration for cluster
# Allowed values are: CREATE_NEW_GNS and USE_SHARED_GNS
#-------------------------------------------------------------------------------
oracle.install.crs.config.gpnp.gnsOption=

#-------------------------------------------------------------------------------
# Applicable only if SHARED_GNS is being configured for cluster
# Specify the path to the GNS client data file
#-------------------------------------------------------------------------------
oracle.install.crs.config.gpnp.gnsClientDataFile=

#-------------------------------------------------------------------------------
# Applicable only if you choose to configure GNS for this cluster
# oracle.install.crs.config.gpnp.gnsOption=CREATE_NEW_GNS
# Specify the GNS subdomain and an unused virtual hostname for GNS service
#-------------------------------------------------------------------------------
oracle.install.crs.config.gpnp.gnsSubDomain=
oracle.install.crs.config.gpnp.gnsVIPAddress=



#-------------------------------------------------------------------------------
# Specify the list of nodes that have to be configured to be part of the cluster.
#
# The list should a comma-separated list of tuples.  Each tuple should be a
# colon-separated string that contains
# - 2 fields if configuring a Standard Cluster, or
# - 3 fields if configuring a Flex Cluster
#
# The fields should be ordered as follows:
# 1. The first field should be the public node name.
# 2. The second field should be the virtual host name
#    (Should be specified as AUTO if you have chosen 'auto configure for VIP'
#     i.e. autoConfigureClusterNodeVIP=true)
# 3. The third field indicates the role of node (HUB,LEAF). This has to
#    be provide only if Flex Cluster is being configured.
#
# Examples
# For configuring Standard Cluster: oracle.install.crs.config.clusterNodes=node1:node1-vip,node2:node2-vip
# For configuring Flex Cluster: oracle.install.crs.config.clusterNodes=node1:node1-vip:HUB,node2:node2-vip:LEAF
#
#
#-------------------------------------------------------------------------------
oracle.install.crs.config.clusterNodes=

#-------------------------------------------------------------------------------
# The value should be a comma separated strings where each string is as shown below
# InterfaceName:SubnetMask:InterfaceType
# where InterfaceType can be either "1", "2", "3", "4", or "5"
# InterfaceType stand for the following values
#   - 1 : PUBLIC
#   - 2 : PRIVATE
#   - 3 : DO NOT USE
#   - 4 : ASM
#   - 5 : ASM & PRIVATE
#
# For example: eth0:140.87.24.0:1,eth1:10.2.1.0:2,eth2:140.87.52.0:3
#
#-------------------------------------------------------------------------------
oracle.install.crs.config.networkInterfaceList=

#-------------------------------------------------------------------------------
# Specify 'true' if you would like to configure Management Database Option, else
# specify 'false'
#-------------------------------------------------------------------------------
oracle.install.crs.managementdb.configure=

################################################################################
#                                                                              #
#                              SECTION E - STORAGE                             #
#                                                                              #
################################################################################

#-------------------------------------------------------------------------------
# Specify the type of storage to use for Oracle Cluster Registry(OCR) and Voting
# Disks files
#   - LOCAL_ASM_STORAGE
#   - FLEX_ASM_STORAGE
#   - FILE_SYSTEM_STORAGE
# If configuring a Flex Cluster, FLEX_ASM_STORAGE is the only allowed value
#-------------------------------------------------------------------------------
oracle.install.crs.config.storageOption=

#-------------------------------------------------------------------------------
# These properties are applicable only if FILE_SYSTEM_STORAGE is chosen for
# storing OCR and voting disk
# Specify the location(s) and redundancy for OCR and voting disks
# Multiple locations can be specified, separated by commas.
# In case of windows, mention the drive location that is specified to be
# formatted for DATA in the above property.
# Redundancy can be one of these:
#     EXTERNAL - one(1) location should be specified for OCR and voting disk
#     NORMAL - three(3) locations should be specified for OCR and voting disk
# Example:
#     For Unix based Operating System:
#     oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=/oradbocfs/storage/vdsk1,/oradbocfs/storage/vdsk2,/oradbocfs/storage/vdsk3
#     oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=/oradbocfs/storage/ocr1,/oradbocfs/storage/ocr2,/oradbocfs/storage/ocr3
#     For Windows based Operating System OCR/VDSK on shared storage is not supported.
#-------------------------------------------------------------------------------
oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=
oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=
################################################################################
#                                                                              #
#                               SECTION F - IPMI                               #
#                                                                              #
################################################################################

#-------------------------------------------------------------------------------
# Specify 'true' if you would like to configure Intelligent Power Management interface
# (IPMI), else specify 'false'
#-------------------------------------------------------------------------------
oracle.install.crs.config.useIPMI=

#-------------------------------------------------------------------------------
# Applicable only if you choose to configure IPMI
# i.e. oracle.install.crs.config.useIPMI=true
# Specify the username and password for using IPMI service
#-------------------------------------------------------------------------------
oracle.install.crs.config.ipmi.bmcUsername=
oracle.install.crs.config.ipmi.bmcPassword=

################################################################################
#                                                                              #
#                                SECTION G - ASM                               #
#                                                                              #
################################################################################
#-------------------------------------------------------------------------------
# Specify a password for SYSASM user of the ASM instance
#-------------------------------------------------------------------------------
oracle.install.asm.SYSASMPassword=

#-------------------------------------------------------------------------------
# The ASM DiskGroup
#
# Example: oracle.install.asm.diskGroup.name=data
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.name=

#-------------------------------------------------------------------------------
# Redundancy level to be used by ASM.
# It can be one of the following
#   - NORMAL
#   - HIGH
#   - EXTERNAL
# Example: oracle.install.asm.diskGroup.redundancy=NORMAL
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.redundancy=

#-------------------------------------------------------------------------------
# Allocation unit size to be used by ASM.
# It can be one of the following values
#   - 1
#   - 2
#   - 4
#   - 8
#   - 16
#   - 32
#   - 64
# Example: oracle.install.asm.diskGroup.AUSize=4
# size unit is MB
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.AUSize=

#-------------------------------------------------------------------------------
# List of disks to create a ASM DiskGroup
#
# Example:
#     For Unix based Operating System:
#     oracle.install.asm.diskGroup.disks=/oracle/asm/disk1,/oracle/asm/disk2
#     For Windows based Operating System:
#     oracle.install.asm.diskGroup.disks=\\.\ORCLDISKDATA0,\\.\ORCLDISKDATA1
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.disks=

#-------------------------------------------------------------------------------
# The disk discovery string to be used to discover the disks used create a ASM DiskGroup
#
# Example:
#     For Unix based Operating System:
#     oracle.install.asm.diskGroup.diskDiscoveryString=/oracle/asm/*
#     For Windows based Operating System:
#     oracle.install.asm.diskGroup.diskDiscoveryString=\\.\ORCLDISK*
#
#-------------------------------------------------------------------------------
oracle.install.asm.diskGroup.diskDiscoveryString=

#-------------------------------------------------------------------------------
# oracle.install.asm.monitorPassword=password
#-------------------------------------------------------------------------------
oracle.install.asm.monitorPassword=


################################################################################
#                                                                              #
#                             SECTION H - UPGRADE                              #
#                                                                              #
################################################################################
#-------------------------------------------------------------------------------
# Specify whether to ignore down nodes during upgrade operation.
# Value should be 'true' to ignore down nodes otherwise specify 'false'
#-------------------------------------------------------------------------------
oracle.install.crs.config.ignoreDownNodes=

#------------------------------------------------------------------------------
# Specify the auto-updates option. It can be one of the following:
#   - MYORACLESUPPORT_DOWNLOAD
#   - OFFLINE_UPDATES
#   - SKIP_UPDATES
#------------------------------------------------------------------------------
oracle.installer.autoupdates.option=

#------------------------------------------------------------------------------
# In case MYORACLESUPPORT_DOWNLOAD option is chosen, specify the location where
# the updates are to be downloaded.
# In case OFFLINE_UPDATES option is chosen, specify the location where the updates
# are present.
#------------------------------------------------------------------------------
oracle.installer.autoupdates.downloadUpdatesLoc=

#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username which has the patches download privileges
# to be used for software updates.
#  Example   : AUTOUPDATES_MYORACLESUPPORT_USERNAME=abc@oracle.com
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_USERNAME=

#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password which has the patches download privileges
# to be used for software updates.
#
# Example    : AUTOUPDATES_MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
AUTOUPDATES_MYORACLESUPPORT_PASSWORD=

#------------------------------------------------------------------------------
# Specify the Proxy server name. Length should be greater than zero.
#
# Example    : PROXY_HOST=proxy.domain.com
#------------------------------------------------------------------------------
PROXY_HOST=

#------------------------------------------------------------------------------
# Specify the proxy port number. Should be Numeric and atleast 2 chars.
#
# Example    : PROXY_PORT=25
#------------------------------------------------------------------------------
PROXY_PORT=

#------------------------------------------------------------------------------
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example    : PROXY_USER=username
#------------------------------------------------------------------------------
PROXY_USER=

#------------------------------------------------------------------------------
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example    : PROXY_PWD=password
#------------------------------------------------------------------------------
PROXY_PWD=

#------------------------------------------------------------------------------
# Specify the proxy realm.
#
# Example    : PROXY_REALM=metalink
#------------------------------------------------------------------------------
PROXY_REALM=

Those of you that are familiar with Oracle installations will pick up a couple of things I need to comment on here:

  • To protect my customer’s identity, I’ve chosen a host name of devdb01.acme.com.au. Clearly that is not the real host name! <br />
</li></ul></div>
    <div class=»
To prevent automated spam submissions leave this field empty.