Oracle 12c ( GI Cluster Installation (ASMFD): Linux

<- Legacy


What follows is the most common way to install the Oracle 12c Grid Infrastructure (GI) for Linux enterprise environments.

You want to install ASMFD, perform the base GI install and apply the latest patches before you create a cluster that will work in production. This is the shortcut to a working cluster folks!


  • You have performed the LINUX OS Prerequisites.
  • You have configured ASMFD, performed a base GI install and applied the latest patches on all nodes. If not go here.

Cluster Installation

  • Log into GUI as the grid user.
  • Ensure other initial nodes are up and can ping and nslookup each other.
  • Ensure all potential nodes can see the ASMFD configured disks:
    root> $ORACLE_HOME/bin/asmcmd afd_scan
    root> $ORACLE_HOME/bin/asmcmd afd_lsdsk
  • You can monitor the process of the root scripts watching the alert log. Example:
    tail -f /u01/app/grid/diag/crs/rac02/crs/trace/alert.log


Run Cluster Configuration Assistant:

  grid> /u01/app/

Installation Option

 (x) Configure Oracle GI for a Cluster

Cluster Type

 (x) Configure a Standard cluster

Grid Plug and Play

 Cluster Name: rac-cluster
 SCAN Name:    rac-scan
 SCAN Port :   1521
 [ ] Configure GNS

Cluster Node Information Should see current system. Example: rac01 | rac01-vip

 Public Hostname:  rac02.localdomain
 Virtual Hostname: rac02-vip.localdomain
 [SSH connectivity]
    OS Username: grid 
    OS PW:       ********
 [Setup] ...
    Msg displayed: 
    "Successfully established passwordless SSH connectivity between the selected nodes."
 [Test] ... Shows OK (already established)
 [Next] ... Verification process runs for a moment

Network Interface Usage  = Public  (pubnet)  = Private (privnet)

Storage Option

 (x) Use standard ASM for storage

ASM Disk Group

 (x) Create a new Disk Group

Create a new Disk Group

 Disk group name: GRID

 Select Redundancy & Disks for Group:
   Generally use:
     (x) Normal   = if needing ASM based redundancy.
     (x) External = if not needing ASM based redundancy.
 Allocation Unit Size = 1mb

 Add Disks  
   [ ] AFD:DATA   
   [ ] AFD:FRA      
   [x] AFD:GRID  <= Just select disks to be used for the GI (+GRID).
   Other disks (for +FRA, +DATA...) can be added later.

ASM Password

  (x) Use same passwords for these accounts.

Failure Isolation

  (x) Do not use Intelligent Platform Management Interface (IPMI)

Management Options

  [ ] Register with Enterprise Manager (EM) Cloud Control

Root script execution

  [ ] Automatically run configuration scripts
    Disabling this makes it easier to debug.

Prerequisites Check

  Fix any issues then return to this point.
  If everything acceptable then [Next]


 Process runs... 
 [Close] when completed.

Create grid BASH User Profile (.bashrc)

Uncomment ORACLE_SID entry setting it to the ASM instance name on this system (ASM1, ASM2 ...).

umask 022

# Get the aliases and functions (if .bash_profile)
#if [ -f ~/.bashrc ]; then
#	. ~/.bashrc

# Global Definitions
if [ -f /etc/bashrc ]; then
   . /etc/bashrc

if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
   if [ $SHELL = "/bin/ksh" ]; then
      ulimit -p 16384
      ulimit -n 65536
      ulimit -u 16384 -n 65536
   umask 022

ORACLE_BASE=/u01/app/grid; export ORACLE_BASE
ORACLE_HOME=/u01/app/; export ORACLE_HOME

export PATH

export TEMP=/tmp
export TMPDIR=/tmp

# Aliases - Common
alias cl='crontab -l'
alias l9='ls -alt | head -9' 
alias l20='ls -alt | head -20'
alias l50='ls -alt | head -50'
alias tf='date;ls -l|wc -l'