A) This document explains, in detail, the steps required to install the Oracle Grid Infrastructure 11gR2 (11.2.0.1.0), enable the OHAS services, create an ASM instance and diskgroups through the OUI (Oracle Universal Installer).
B) Note: Before start with the installation, please check the required hardware & OS requirements in the next manual:
Oracle Grid Infrastructure Installation Guide 11g Release 2 (11.2) for <your specific platform>
Installation steps:
1) Connect as root user (password: oracle):
2/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 2) Open a Terminal session:
3) Select the IP address (for this example we will use: 192.168.187.128) provided by the host from the eth0 interface:
3/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 4) Using the IP address from the eth0 interface (for this example: 192.168.187.128) connect thru a putty or ssh session as follow (Login: root / Password: oracle):
4/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 5) Verify the RAM, swap & tmp in the system, the minimum required RAM is 1.5 GB for Oracle Grid Infrastructure for a cluster, or 2.5 GB for Grid Infrastructure for a cluster and Oracle Server RAC. The minimum required swap space is 1.5 GB. Oracle recommends that you set swap space to 1.5 times the amount of RAM for systems with 2 GB of RAM or less. For systems with 2 GB to 16 GB RAM, use swap space equal to RAM. For systems with more than 16 GB RAM, use 16 GB of RAM for swap space. Ensure that you have at least 1 GB of space in /tmp. If this space is not available, then increase the size, or delete unnecessary files in /tmp.
6) Ensure you have at least 4.5 GB of space for the grid infrastructure for a (Grid home):
7/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 9) List the disks available for ASM/ASMLIB, for this example we will use 3 SCSI disks of 10 GB each:
10) Check if the partitions exist:
# ls -l /dev/sdb1 /dev/sdc1 /dev/sdd1
8/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 11) If the partitions do not exists then create one partition per disk:
14) Download the Oracle Database 11g Release 2 Grid Infrastructure (11.2.0.1.0) for Linux x86 from http://www.oracle.com/technology/software/products/database/index.html
16.4) You will see 2 new directories (grid & database) on the /u01/stage directory:
14/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 17) Switch to the oracle OS user, setup & set the environment variables in the initialization file (for this example we are using bash shell (.bash_profile)):
20/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.6) Create the desired diskgroups through the Create ASM Disk Group window, (for this Example we are creating the DATA diskgroup, as Normal redundancy diskgroup, using the ORCL:ASMDISK1 & ORCL:ASMDISK2 ASMLIB disks):
18.7) Set the desired password for the ASM & ASMSNMP users through the Specify ASM Password window:
18.8) If you password does not conform the Oracle recommended standards then you will receive the next warning, so you can just ignore it & press [Yes] or provide a stronger password.
22/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.9) Assign the OS groups for the ASM database Administrator, ASM Instance Administrator Operator & ASM instance Administrator through the Privileged Operating System Groups window, (for this example we will use dba OS group for the 3 ASM groups, but you are always welcome to specify different OS groups to enforce more security and separate tasks & roles):
18.10) Specify the Oracle Home & Oracle Base directories through the Specify Installation Location window:
Oracle Base: /u01/app/oracle
Oracle Grid Home: /u01/app/11.2.0/grid
24/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.11) Accept the Oracle Inventory Location, by pressing the [Next] button through the Create Inventory window:
25/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.12) Some OS requirements (swap & kernel parameters) did not pass the OUI verification, please review each requirement, through the Perform Prerequisites Checks window (below):
18.15) Press the [OK] button after execute the runfixup.sh script through the Execute Fixup Script window:
28/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.16) The required kernel parameters were adjusted but the swap area still needs to be increased:
29/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.17) You can ask your SA to resize the swap area as suggested by the OUI (see above), for this example we will add a 1GB swap file (on the / directory) as described in the next document:
18.18) After the swap area was increased please press the [Check Again] button, through the Perform Prerequisites Checks window (below):
31/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.19) The Summary window will appear, so please review it and press the [Finish] button (below) to start with the Grid Infrastructure Installation & ASM instance creation:
32/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.20) Then just monitor the progress of this installation:
18.22) Then return to the Execute Configuration Scripts window and press the [OK] button:
38/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.23) Continue monitoring the Post Installation / configuration steps:
39/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 18.24) Confirm the 11gR2 Grid Infrastructure Installation completed successfully, then press the [Close] button:
40/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 19) Verify the OHAS & CSS services are up and running:
41/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 20) Verify the ASM instance is up and running:
42/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 21) Run the ASMCA through a graphical session and create the RECO diskgroup on the ORCL:ASMDISK3 (/dev/oracleasm/disks/ASMDISK3) ASMLIB disk:
21.1) Select the [Create] button (below):
43/47 ASM 11gR2 Installation & Configuration Author: Esteban Bernal 21.2) Specify the Disk Group Name as RECO (as External redundancy diskgroup), select the ORCL:ASMDISK3 disk (below), press the [Show Advanced Options] button to display the AU & Compatibility attributes (these are modifiable but for this example we are using the default values):