Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Install oracle grid infrastructure on linux 6.6

1,546 views

Published on

Install oracle grid infrastructure on linux 6.6

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Install oracle grid infrastructure on linux 6.6

  1. 1. INSTALL ORACLE RAC ON LINUX 6.6 Introduction This document describe steps to install Oracle Grid Infrastructure on Linux 6.6. Environment:- Operating System: Oracle Linux 6.6 Database: - 11.2.0.4 Before this document I post how to configure ASMLIB On Oracle Linux 6.6 Check it here. Software Needed:- 1- Oracle Grid Infrastructure 11.2.0.4. 2- Oracle Linux 6.6
  2. 2. INSTALL ORACLE RAC ON LINUX 6.6 About the Author Osama Mustafa has progressive experience in Oracle Products, community. He recently served as Oracle Database Administrator. Provide Database Implementation Solutions, High Availability Solution, Infrastructure and Storage Planning, Install, Configure, Implement and manage Oracle E-Business Suite environments. Architect, build and support highly-available Oracle EBS, Database and Fusion Middleware environments including appropriate reporting, Installs, configures, upgrades, tunes, and maintains production, development and test databases. He entered Oracle ACE Director Program in 2015, he is author for the book Oracle Penetration Testing, Osama Mustafa Certified OCP 10g,11g, Linux Implementations , Certified Ethical hacker and LPT , and Solaris Administrator. Include to all this Osama Mustafa is international Speaker in Oracle User Group and Oracle OTN Tour, Published Online Articles in His blog about Oracle Technology, Volunteer in Oracle User Group such as IOUG, ODTUG and UKOUG , Volunteer Board member in RACSIG and Organizer for RACATTACK Event around the world. Recently his article has been published on OTECH magazine about Real Application Cluster Here. Twitter: @OsamaOracle G+: Osama Mustafa SlidShare: Osama Mustafa LinkedIn: http://www.linkedin.com/in/osamamustafa Blog: https://osamamustafa.blogpsot.com.
  3. 3. INSTALL ORACLE RAC ON LINUX 6.6 To make it easier use Yum repository to install and configure pre requisites I post before how to create local Yum repository using ISO image Read from here. Using Yum yum install oracle-rdbms-server-11gR2-preinstall Manually follow the below steps:- 1- Create User On both Node /usr/sbin/groupadd -g 501 oinstall /usr/sbin/groupadd -g 502 dba /usr/sbin/groupadd -g 503 oper /usr/sbin/groupadd -g 504 asmadmin /usr/sbin/groupadd -g 506 asmdba /usr/sbin/groupadd -g 507 asmoper 2- Create the users that will own the Oracle software using the commands /usr/sbin/useradd -u 501 -c "Oracle Grid Infrastructure Owner" -g oinstall -G asmadmin,asmdba,asmoper grid /usr/sbin/useradd -u 502 -c "Oracle RDBMS Owner" -g oinstall -G dba,oper,asmdba oracle Set Password for Both users:- passwd grid passwd oracle Note: Step #1, #2 should be even with yum. 3- Configure /etc/hosts. 4- vi /etc/sysctl.conf kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 6553600 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 /sbin/sysctl –p
  4. 4. INSTALL ORACLE RAC ON LINUX 6.6 5- add these lines in /etc/security/limits.conf :- grid soft nproc 2047 grid hard nproc 16384 grid soft nofile 1024 grid hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 6- add this line in /etc/pam.d/login session required pam_limits.so 7- Create directories :- # mkdir -p /u01/app/oraInventory # chown -R grid:oinstall /u01/app/oraInventory # chmod -R 775 /u01/app/oraInventory # mkdir -p /u01/11.2.0/grid # chown -R grid:oinstall /u01/11.2.0/grid # chmod -R 775 /u01/11.2.0/grid # mkdir -p /u01/app/oracle/product/11.2.0/db_1 # chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1 # chmod -R 775 /u01/app/oracle/product/11.2.0/db_1 Now follow the screenshots:-
  5. 5. INSTALL ORACLE RAC ON LINUX 6.6
  6. 6. INSTALL ORACLE RAC ON LINUX 6.6
  7. 7. INSTALL ORACLE RAC ON LINUX 6.6
  8. 8. INSTALL ORACLE RAC ON LINUX 6.6
  9. 9. INSTALL ORACLE RAC ON LINUX 6.6
  10. 10. INSTALL ORACLE RAC ON LINUX 6.6 Enter LISTENER NAME and Cluster Name
  11. 11. INSTALL ORACLE RAC ON LINUX 6.6 Configure SSH between nodes the installation will fail without it.
  12. 12. INSTALL ORACLE RAC ON LINUX 6.6 Choose Which IP for Public and Private
  13. 13. INSTALL ORACLE RAC ON LINUX 6.6
  14. 14. INSTALL ORACLE RAC ON LINUX 6.6
  15. 15. INSTALL ORACLE RAC ON LINUX 6.6
  16. 16. INSTALL ORACLE RAC ON LINUX 6.6
  17. 17. INSTALL ORACLE RAC ON LINUX 6.6
  18. 18. INSTALL ORACLE RAC ON LINUX 6.6
  19. 19. INSTALL ORACLE RAC ON LINUX 6.6
  20. 20. INSTALL ORACLE RAC ON LINUX 6.6
  21. 21. INSTALL ORACLE RAC ON LINUX 6.6
  22. 22. INSTALL ORACLE RAC ON LINUX 6.6
  23. 23. INSTALL ORACLE RAC ON LINUX 6.6
  24. 24. INSTALL ORACLE RAC ON LINUX 6.6 After the above steps the RAC will be installed successfully don’t ignore any error message. Now After Grid Installation, The ASM Configuration and Create DATA and FRA Disk like the below.
  25. 25. INSTALL ORACLE RAC ON LINUX 6.6 DATABASE
  26. 26. INSTALL ORACLE RAC ON LINUX 6.6
  27. 27. INSTALL ORACLE RAC ON LINUX 6.6
  28. 28. INSTALL ORACLE RAC ON LINUX 6.6
  29. 29. INSTALL ORACLE RAC ON LINUX 6.6
  30. 30. INSTALL ORACLE RAC ON LINUX 6.6
  31. 31. INSTALL ORACLE RAC ON LINUX 6.6
  32. 32. INSTALL ORACLE RAC ON LINUX 6.6 After the above steps is done It’s Time to create Database.
  33. 33. INSTALL ORACLE RAC ON LINUX 6.6
  34. 34. INSTALL ORACLE RAC ON LINUX 6.6
  35. 35. INSTALL ORACLE RAC ON LINUX 6.6
  36. 36. INSTALL ORACLE RAC ON LINUX 6.6
  37. 37. INSTALL ORACLE RAC ON LINUX 6.6
  38. 38. INSTALL ORACLE RAC ON LINUX 6.6

×