Wednesday, February 17, 2016

Oracle Grid 11gR2 Installation On Linux 6.4 (Step By Step)

How to Install Oralce Grid 11gR2 on Linux 6.4
+++++++++++++++++++++++++++++++++++

System Requirement: 

1. Oracle Linux 6.4 x64 bit. Follow below link.  


2. Two addition disk for ASM configuration. 

3. Follow the below check-list. 


================================================

Step 1: Open the Virtual Box and click on "Start" option in VB.


Step 2: Login as a  "root" .


Step 3: Open the terminal and check your partitions via  "df -h" & Go to shared folder, where you kept all soft wares (like RMP, Oracle Binary etc.). 



Step 4: We will do oracle 11gR2 prerequisite, Install required RPM for Oracle 11gR2, given in "check-list".

























Step 5: Check "hostname & IP address". 



























Step 6: Now Update the "/etc/hosts" file to identify the hostname & IP address, while you will invoke GUI for Installation.






Step 7: Edit "/etc/sysctl.conf" file to change kernel perimeter for oracle binary. 





Step 8: Run the "/sbin/sysctl -p" command to take effect in place modified kernel parameters. 




Step 9: Edit "/etc/security/limits.conf" file to set soft and hard limit. 





Step 10: Edit "/etc/pam.d/login" file to set session limits. 




Step 11: Edit "/etcsecurity/limits.d/90-nproc.conf" file to set below parameter. 


Before :


After :



Step 12: Change the Firewall setting to modify "/etc/selinux/config" file. 





Step 13: Run the below 2 commands to set off  "iptables".



Step 14: Create following listed "Directories, Groups and Users for Oracle & Grid". 



Step 15: Provide "Permissions" to those directories which you created above. 



Step 16: Login as a "grid" and go to "/home/grid" location to modify ".bash_profile" file to set Path.




Step 17: This time login as a "oracle" and go to "/home/oracle" location to modify ".bash_profile" file to set Path.



Step 18: "Restart" the sever to take effect "firewall" changes. 




Step 19: Login as "root".



Step 20: Go to the RMP location, find out and install "oracleasmlib & oracleasm-support" RPM.



Step 21: Find out you addition added disk's name with "fdisk -ls" command.



Step 22: Make 1st disk partition as showed in below image. 



Step 23: Same as make partition in 2nd disk as showed in below image. 



Step 24: configure ASM with the help of "oracleasm configure -i" command. 



Step 25: Map oracle disk with "created partition" as below procedure. 



Step 26: Go to the Shared_folder location and copy your grid binary to "/opt" location and give 777 permission to /opt mount point 



Step 27: Login as grid and go to /opt mount point, where you copied grid binary and unzip it. 



Step 28: Grid binary is unzipping.. 



Step 29: Now one Grid folder come into the picture after unzipped. You can remove zip binary for space release. Login as a root and try disable control access via "xhost +", while you will execute runInstaller GUI window will popup. 



Step 30: Go to grid folder and execute runInstaller via "./runInstaller"  command.



Step 31: GUI window will popped-up.



Step 32: Skip Software update and click on "Next"



Step 33: Select 2nd option and click on "Next". 



Step 34: Select English and click on "Next". 



Step 35: Click on "Change Directory Path" to take over Mapped disks. 



Step 36: In Disk Directory Path type "/dev/oracleasm/disks*".



Step 37: Select any name as "Disk Group name", choose "External", checked the 1st box in mapped disk and click on "Next". 

Add caption


Step 38: Choose any "Password" for ASM.



Step 39: Click on "Yes"



Step 40: Select "oinstall" for all. 



Step 41: Click on "Yes"



Step 42: "Directory structure" will take auto because you have set path in ".bash_profile" file. 



Step 43: Click on "Yes". 




Step 44: Click on "Next". 




Step 45: Performing prerequisite checks. 




Step 46: Ready to Install. 




Step 47: Installation Under Processing.




Step 48: Run both script one by one via "root" user. 



Step 49: 1st script is running. 



Step 50: 2nd script is running. 



Step 51: Installation Under Processing.






Step 52: Installation Done. you can close the window. 



Step 53: Verity it. is every this alright.