Monday, September 30, 2013

Linux Oracle RAC Software Installation Guide

Detailed 64 Bit Linux Red Hat 4.5 64Bit Oracle RAC 10gR4 Installation
This document will describe the steps necessary to install Oracle RAC 10gR4 Software including CRS, ASM, Patches, and the Database.
The Section Documents CRS, ASM, Database, and Patch Installs are strongly based off Eddie Ambler's Linux 10gR2_CRS_ASM_RAC_Software Install guide. This is the standard way for configuring Oracle RAC on Linux.
 
The Section Guide's must be installed in order. This install is usually performed by DBA's with assistance from Systems Admins if needed.  

Document Creator Todd Walters  

Requirements

  • This document will be broken into several sections and must be followed in order
  • All requirements from Prepare Linux Virtual Servers for Oracle RAC (To be completed by System Admins)
Overview

Pre-Installation Guides
note -preinstallation performed by System Admin
  1. How to Install Linux Oracle RAC Virtual Server

Oracle Software Installation Guide
  1. Prepare Linux Environment for GUI Access for Oracle Installation

Installation Summary
  1. Install 10.2.0.1 Cluster Ready Services [CRS] – and apply patch 4679769 otherwise CRS install fails.
  2. Install 10.2.0.1 Automatic Storage Management [ASM] – software only.
  3. Install 10.2.0.1 for database – software only.
  4. Apply 10.2.0.4 patch to all 3 HOMES (CRS, ASM and DB).
  5. NetAdmin creates ASM Disks using oracleasm on all nodes within cluster.
  6. Run dbca from ASM Home to create ASM instances with 2 disk groups
  7. Run dbca from DB Home, to create your database instances.
  8. Set TNS_ADMIN ENV  and start all instances using srvctl commands
Glossary of Common Terms
  • RAC Oracle Real Application Cluster (Database Hardware Clustering Solution)
  • OCR Oracle Cluster Registry
  • CRS Oracle Cluster Registry Services (Clustering Software)
  • SIP Service IP
  • VIP Virtual IP
  • VLAN  Virtual Local Area Network
  • IC or HB Oracle Interconnect – Heart Beat
  • Voting Disk - is file that resides on shared storage and Manages cluster members.  Voting disk reassigns cluster ownership between the nodes in case of failure.
  • OCR (Oracle Cluster Registry) - resides on shared storage and maintains information about cluster configuration and information about cluster database. OCR contains information like which database instances run on which nodes and which services runs on which database.
  • CRS Resource - anything that Oracle Clusterware manages is classified as CRS resource like database, instance, service, listener, VIP address and so on.
Section 1: Prepare Linux Environment for GUI Access

  1. Login to Node 1 via Putty: srv0dbxd11
  2. Switch user to Oracle
    • [root@srv0dbxd11 etc]# su - oracle
  3. Set VNC Password. VNC is used to allow GUI Login for Software Install
    • srv0dbxd11 | ORA1020 | /export/home/oracle
      >
      vncpasswdPassword:
      Verify:
  4. Edit ~/.vnc/xstartup file to set up for normal desktops.
    • vi ~/.vnc/xstartup and Uncomment the following lines:
    •  # Uncomment the following two lines for normal desktop:
       
      # unset SESSION_MANAGER
       
      # exec /etc/X11/xinit/xinitrc
  5. Start vncserver for Oracle User
    • srv0dbxd11 | ORA1020 | /export/home/oracle
      >
      vncserver
    • New 'srv0dbxd11:1 (oracle)' desktop is srv0dbxd11:1
    • Starting applications specified in /export/home/oracle/.vnc/xstartup
      Log file is /export/home/oracle/.vnc/srv0dbxd11:1.log
  6. Login to Node 1 with VNC Viewer
  7. Open Console by right-clicking on desktop and run xhost +
  8. Then continue to Section 2: Install CRS Home

Section 2: Install CRS Home
Overview
  1. Use the How to Install Oracle 10gR2 CRS guide to install CRS.
  2. CRS Software Location: /oramnt//Oracle/software/crs/base/10.2.0/linux_64bit/clusterware
  3. When Complete return here for Section 3: Install ASM Home; Binaries Only

Section 3: Install ASM Home: Binaries Only 

Overview
  1. ASM Home Software Location:  /oramnt//Oracle/software/asm/base/10.2.0.1/linux_64bit/database
  2. When ASM Installation is completed, return here for Section 4: Install DB Home; Software Only
Section 4: Install DB Home-Software Only
Overview
  1. Database Software Location: /oramnt//Oracle/software/rdbms/base/10.2.0.1/linux_64bit/database
  2. When Database-Software Only Installation is completed, return here for Section 5: Install Oracle 10gR4 CRS Home Patch.
Section 5: Install Oracle 10gR4 CRS Home Patch
Overview
  1. Database Software Location: /oramnt//Oracle/software/rdbms/patchset/10.2.0.4/linux/Disk1
  2. When CRS is patched to 10gR4 return here to begin Section 6: Install Oracle 10gR4 ASM Patch
Section 6: Install Oracle 10gR4 ASM Patch
Overview
  1. Database Software Location: /oramnt//Oracle/software/rdbms/patchset/10.2.0.4/linux/Disk1
  2. When ASM is patched to 10gR4 return here to begin Section 7: Install Oracle 10gR4 Database Patch
Section 7: Install Oracle 10gR4 Database Patch
Overview
  1. Database Software Location: /oramnt//Oracle/software/rdbms/patchset/10.2.0.4/linux/Disk1
  2. When Database is patched to 10gR4 return here and hand over to System Admin to begin Section 8: How To Configure ASM Disks 
Section 8: How To Configure ASM Disk for RAC Servers
Overview
  1. Use the How to Configure Oracle ASM Disks for RAC Virtual Servers Guide - Must be completed by SysAdmin
    • For Physical see How to Configure ASM Disks for Physical Servers guide.
  2. DBCA Software Location: /u00/app/oracle/product/10.2.0/ASM/bin/dbca
  3. After  ASM Disks are created, Systems Admin hands back control to DBA. DBA will proceed to Step 9: How To Install Oracle ASM Instance next.
Section 9: Install Oracle ASM Instances
Overview
  1. DBCA Software Location: /u00/app/oracle/product/10.2.0/ASM/bin/dbca
  2. After  ASM Instance is created, go to Section 10: How to Install Oracle Database Instance
Section 10: Install Oracle Database Instances
Overview
  1. DBCA Software Location: /u00/app/oracle/product/10.2.0/ASM/bin/dbca
  2. Database installation and creation is complete.  


No comments:

Post a Comment