SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Downloaden Sie, um offline zu lesen
Multiple  Oracle  Home  Installation  Guide  for  OracleŸ  10g 
(10.2.0.3) on Red HatŸ Enterprise LinuxŸ 4 Update 5 x86_64 
  The  purpose  of  this  document  is  to  provide  a  procedure  for  installing  a  multiple  Oracle  Home  for 
    Oracle 10g (10.2.0.3) RAC on Red Hat Enterprise Linux AS 4 Update 5 x86_64. 
 
ASM Installation – Best Practices

Keep the following in mind when installing ASM

      ‱    When running more than one database instance on a single server or node, it is
           recommended that you install ASM in its own Oracle home on that server or node. This
           is advisable even if you are running only one database instance but plan to add one or
           more database instances to the server or node in the future.

           With separate Oracle homes, you can upgrade and patch ASM and databases
           independently, and you can deinstall database software without impacting the ASM
           instance.

           If an ASM instance does not already exist and you select the OUI option to install and
           configure ASM only, OUI installs ASM in its own Oracle home.

      ‱    If you are running a single database instance on a server or node and have no plans to
           add one or more database instances to this server or node, ASM and the database can
           share a single Oracle home.

Deploying Oracle Database with separate ASM Home and Database Home

The following section provides the detailed steps on how to configure multiple Oracle Homes for
ASM and Oracle instances [i.e. we will have Automatic Storage Management (ASM) instance
running in one Oracle Home and Database instance running in another one].

      A.   OS Groups and Users setup
      B.   Tasks to be completed before Oracle Home Installations
      C.   ASM Oracle Home Installation
      D.   Database Oracle Home Installation
      E.   ASM instance setup in ASM Oracle Home
      F.   Database instance setup in Database Oracle Home
G. Verification and validation



   A. OS Groups and Users Setup

The OS groups and their description are as given below –

   i. oinstall        -      owner of oracle inventory
   ii. asmdba         -      osdba group for ASM Oracle Home
   iii. dba           -      osdba group for Database Oracle Home

Note: Make sure that GID for the above OS groups is uniform across all nodes in the cluster.

The OS users and their description are as given below –

   1. oracleasm              -      owner of ASM Oracle Home. Member of oinstall, amsdba
         groups
   2. oracle                 -      owner of Database Oracle Home. Member of oinstall, dba,
         asmdba groups

Note: The following points should be considered for providing permissions for above OS users.

   ‱   The oracle user for Database instance (oracle) needs to be a member of the dba group
       for the ASM instance (asmdba).
   ‱   ASM oracle user (oracleasm) does not need to be in the dba group for the DB instance
       (dba).
   ‱   Also all ASM disks must have read/write permission to the ASM dba group.
B. Tasks to be completed before Oracle Home Installations

Complete the following steps before starting the ASM and Database Oracle Home installations

   ‱   Make entry for oracle and oracleasm users in the /etc/hosts.equiv file for public, private
       and public nodes. Below is an example of the /etc/hosts.equiv entries-

              node1.dell.com      oracle
              node2.dell.com      oracle
              pnode1.dell.com     oracle
              pnode2.dell.com     oracle
              vnode1.dell.com     oracle
              vnode2.dell.com     oracle
              node1.dell.com      oracleasm
              node2.dell.com      oracleasm
              pnode1.dell.com     oracleasm
              pnode2.dell.com     oracleasm
              vnode1.dell.com     oracleasm
              vnode2.dell.com     oracleasm
   ‱   Change permissions for ASM disks to oracleasm:asmdba
   ‱   Create Oracle Base and Oracle Homes for ASM Oracle Home and Database Oracle
       Home as shown below.

       Oracle Base                    :      /opt/oracle

       ASM Oracle Home                :      /opt/oracle/product/10.2.0/asm_1

       Database Oracle Home           :      /opt/oracle/product/10.2.0/db_1

   ‱   Change ownership and permissions for ASM Oracle Home as shown below.

              chown –R oracleasm:asmdba /opt/oracle/product/10.2.0/asm_1

              chmod 775 /opt/oracle/product/10.2.0/asm_1

   ‱   Change ownership and permissions for Database Oracle Home as shown below.

              chown –R oracleasm:asmdba /opt/oracle/product/10.2.0/db_1

              chmod 775 /opt/oracle/product/10.2.0/db_1

   ‱   Create the OraInventory directory and set the permissions for that as shown below.

              OraInventory location          :       /opt/oracle/oraInventory

              chown –R oracleasm:asmdba /opt/oracle/oraInventory

              chmod 775 /opt/oracle/oraInventory
C. ASM Oracle Home Installation



1. As root user, type:

       xhost +

2. Login as oracleasm user and set the Oracle Home as /opt/oracle/product/10.2.0/asm_1

3. Start Oracle Universal Installer (OUI) by running runIstaller from the staging area.

4. In the Specify Home Details window in the Path field, verify that the complete Oracle
       home path is
       /opt/oracle/product/10.2.0/asm_1 and click Next.

5. In the privileged Operating System Groups window, provide the OSDBA and OSOPER
       group as ‘asmdba’



6. Run the root.sh script as per the instruction to complete the installation.




D. Database Oracle Home Installation

1. Login as oracle user and set the Oracle Home as /opt/oracle/product/10.2.0/db_1

2. Start Oracle Universal Installer (OUI) by running runIstaller from the staging area.

3. In the Specify Home Details window in the Path field, verify that the complete Oracle
   home path is
       a. /opt/oracle/product/10.2.0/db_1 and click Next.

4. In the privileged Operating System Groups window, provide the OSDBA and OSOPER
   group as ‘dba’
5. Run the root.sh script as per the instruction to complete the installation. Please note that
   while running root.sh, it recognizes the CSS daemon which was started during the
   previous root.sh script execution and hence it does not perform any additional actions.

ASM and database instances can be created after the installations of above two Oracle
Homes.
E. ASM Instance Setup in ASM Oracle Home



1. Invoke DBCA from the ASM Oracle Home (i.e. /opt/oracle/product/10.2.0/asm_1)

2. In Select Storage Mechanism screen select “Use ASM as the storage for this database”.

3. Clicking on the Next button, will create the ASM instance and prompts for creation of
   disk groups. Specify the disks you want to add to the disk group.

4. Once the disk group is created and the ASM instance is up and running, go through the
   rest of the steps of DBCA and at the end, select “Save as a Database Template”. Please
   note that do not choose “Create Database” at the end, because the database will be
   created from the database Oracle Home.

F. Database Instance Setup in Database Oracle Home

1.   Invoke DBCA from database Oracle Home (i.e. /opt/oracle/product/10.2.0/db_1)

2.   Provide Global Database name and SID as appropriate.

3.   Choose ASM as storage for database.

4.   When you click on Next, DBCA discovers that ASM instance is already up and running
     and it shows up the diskgroup created in the previous section.

5.   Go through the rest of the steps of DBCA and start choose to “Create Database” at the
     end.



G. Verification and validation of the setup

You can check the status of Oracle instances, use and verify the following command and
output.



[oracle@node1 ~]$ ps –ef | grep pmon

oracleasm 19958 1         0       14:01 ?       00:00:00       asm_pmon_+ASM

oracle      20004 1       0       14:45 ?       00:00:00       ora_pmon_testdb

As shown above, +ASM instance is running under oracleasm user and testdb database is
running under oracle user.
Also you can login to ASM instance and check that testdb as a client for ASM instance. The
following command and output validate the same



SQL> select * from v$asm_client;

INSTANCE_NAME             DB_NAME       STATUS

testdb                    test_db        connected

Weitere Àhnliche Inhalte

KĂŒrzlich hochgeladen

call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžcall girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)lakshayb543
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 

KĂŒrzlich hochgeladen (20)

call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžcall girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Kamla Market (DELHI) 🔝 >àŒ’9953330565🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 

Empfohlen

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceChristy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

31868722 oracle-asm-dell-case

  • 1. Multiple  Oracle  Home  Installation  Guide  for  OracleŸ  10g  (10.2.0.3) on Red HatŸ Enterprise LinuxŸ 4 Update 5 x86_64    The  purpose  of  this  document  is  to  provide  a  procedure  for  installing  a  multiple  Oracle  Home  for  Oracle 10g (10.2.0.3) RAC on Red Hat Enterprise Linux AS 4 Update 5 x86_64.    ASM Installation – Best Practices Keep the following in mind when installing ASM ‱ When running more than one database instance on a single server or node, it is recommended that you install ASM in its own Oracle home on that server or node. This is advisable even if you are running only one database instance but plan to add one or more database instances to the server or node in the future. With separate Oracle homes, you can upgrade and patch ASM and databases independently, and you can deinstall database software without impacting the ASM instance. If an ASM instance does not already exist and you select the OUI option to install and configure ASM only, OUI installs ASM in its own Oracle home. ‱ If you are running a single database instance on a server or node and have no plans to add one or more database instances to this server or node, ASM and the database can share a single Oracle home. Deploying Oracle Database with separate ASM Home and Database Home The following section provides the detailed steps on how to configure multiple Oracle Homes for ASM and Oracle instances [i.e. we will have Automatic Storage Management (ASM) instance running in one Oracle Home and Database instance running in another one]. A. OS Groups and Users setup B. Tasks to be completed before Oracle Home Installations C. ASM Oracle Home Installation D. Database Oracle Home Installation E. ASM instance setup in ASM Oracle Home F. Database instance setup in Database Oracle Home
  • 2. G. Verification and validation A. OS Groups and Users Setup The OS groups and their description are as given below – i. oinstall - owner of oracle inventory ii. asmdba - osdba group for ASM Oracle Home iii. dba - osdba group for Database Oracle Home Note: Make sure that GID for the above OS groups is uniform across all nodes in the cluster. The OS users and their description are as given below – 1. oracleasm - owner of ASM Oracle Home. Member of oinstall, amsdba groups 2. oracle - owner of Database Oracle Home. Member of oinstall, dba, asmdba groups Note: The following points should be considered for providing permissions for above OS users. ‱ The oracle user for Database instance (oracle) needs to be a member of the dba group for the ASM instance (asmdba). ‱ ASM oracle user (oracleasm) does not need to be in the dba group for the DB instance (dba). ‱ Also all ASM disks must have read/write permission to the ASM dba group.
  • 3. B. Tasks to be completed before Oracle Home Installations Complete the following steps before starting the ASM and Database Oracle Home installations ‱ Make entry for oracle and oracleasm users in the /etc/hosts.equiv file for public, private and public nodes. Below is an example of the /etc/hosts.equiv entries- node1.dell.com oracle node2.dell.com oracle pnode1.dell.com oracle pnode2.dell.com oracle vnode1.dell.com oracle vnode2.dell.com oracle node1.dell.com oracleasm node2.dell.com oracleasm pnode1.dell.com oracleasm pnode2.dell.com oracleasm vnode1.dell.com oracleasm vnode2.dell.com oracleasm ‱ Change permissions for ASM disks to oracleasm:asmdba ‱ Create Oracle Base and Oracle Homes for ASM Oracle Home and Database Oracle Home as shown below. Oracle Base : /opt/oracle ASM Oracle Home : /opt/oracle/product/10.2.0/asm_1 Database Oracle Home : /opt/oracle/product/10.2.0/db_1 ‱ Change ownership and permissions for ASM Oracle Home as shown below. chown –R oracleasm:asmdba /opt/oracle/product/10.2.0/asm_1 chmod 775 /opt/oracle/product/10.2.0/asm_1 ‱ Change ownership and permissions for Database Oracle Home as shown below. chown –R oracleasm:asmdba /opt/oracle/product/10.2.0/db_1 chmod 775 /opt/oracle/product/10.2.0/db_1 ‱ Create the OraInventory directory and set the permissions for that as shown below. OraInventory location : /opt/oracle/oraInventory chown –R oracleasm:asmdba /opt/oracle/oraInventory chmod 775 /opt/oracle/oraInventory
  • 4. C. ASM Oracle Home Installation 1. As root user, type: xhost + 2. Login as oracleasm user and set the Oracle Home as /opt/oracle/product/10.2.0/asm_1 3. Start Oracle Universal Installer (OUI) by running runIstaller from the staging area. 4. In the Specify Home Details window in the Path field, verify that the complete Oracle home path is /opt/oracle/product/10.2.0/asm_1 and click Next. 5. In the privileged Operating System Groups window, provide the OSDBA and OSOPER group as ‘asmdba’ 6. Run the root.sh script as per the instruction to complete the installation. D. Database Oracle Home Installation 1. Login as oracle user and set the Oracle Home as /opt/oracle/product/10.2.0/db_1 2. Start Oracle Universal Installer (OUI) by running runIstaller from the staging area. 3. In the Specify Home Details window in the Path field, verify that the complete Oracle home path is a. /opt/oracle/product/10.2.0/db_1 and click Next. 4. In the privileged Operating System Groups window, provide the OSDBA and OSOPER group as ‘dba’ 5. Run the root.sh script as per the instruction to complete the installation. Please note that while running root.sh, it recognizes the CSS daemon which was started during the previous root.sh script execution and hence it does not perform any additional actions. ASM and database instances can be created after the installations of above two Oracle Homes.
  • 5. E. ASM Instance Setup in ASM Oracle Home 1. Invoke DBCA from the ASM Oracle Home (i.e. /opt/oracle/product/10.2.0/asm_1) 2. In Select Storage Mechanism screen select “Use ASM as the storage for this database”. 3. Clicking on the Next button, will create the ASM instance and prompts for creation of disk groups. Specify the disks you want to add to the disk group. 4. Once the disk group is created and the ASM instance is up and running, go through the rest of the steps of DBCA and at the end, select “Save as a Database Template”. Please note that do not choose “Create Database” at the end, because the database will be created from the database Oracle Home. F. Database Instance Setup in Database Oracle Home 1. Invoke DBCA from database Oracle Home (i.e. /opt/oracle/product/10.2.0/db_1) 2. Provide Global Database name and SID as appropriate. 3. Choose ASM as storage for database. 4. When you click on Next, DBCA discovers that ASM instance is already up and running and it shows up the diskgroup created in the previous section. 5. Go through the rest of the steps of DBCA and start choose to “Create Database” at the end. G. Verification and validation of the setup You can check the status of Oracle instances, use and verify the following command and output. [oracle@node1 ~]$ ps –ef | grep pmon oracleasm 19958 1 0 14:01 ? 00:00:00 asm_pmon_+ASM oracle 20004 1 0 14:45 ? 00:00:00 ora_pmon_testdb As shown above, +ASM instance is running under oracleasm user and testdb database is running under oracle user.
  • 6. Also you can login to ASM instance and check that testdb as a client for ASM instance. The following command and output validate the same SQL> select * from v$asm_client; INSTANCE_NAME DB_NAME STATUS testdb test_db connected