How To Install Oracle 10g RAC On Solaris 10 - Part 3 of 4

RDBMS Installation & RDBMS Patching

BACKGROUND & OVERVIEW

The following documentation provides instructions for building an Oracle Real Application Cluster (RAC) database residing on a Sun Solaris 10 (Version 5.10) operating system.

This document is Part 3 of a 4-Part Installation Guide.

ASSUMPTIONS & PRE-REQUISITES

This document expects and assumes the following:

  • Part 1 and Part 2 of the How To Install Oracle 10g RAC On Solaris 10 guide have been completed successfully.
  • The instructions are carried out by a qualified DBA, fully conversant with Oracle, including RAC.
  • Access to the internet is available.
  • All necessary client software, e.g. Telnet and X-Server is available.
  • The necessary RAC software has been installed under /u02/SOFTWARE.
    • The guide assumes sub-directories of CLUSTER, COMPANION, DATABASE and OPATCH exist.
  • The resultant database will be part of a RAC configuration.
  • All references to SIDxx should be replaced with correct database name.
  • All $variable references assume the .profile as described in the File Listings section has been implemented and run.
  • All root.sh references are used to indicate a script to be submitted as root has to be run. The exact name of the script may vary depending upon which piece of software is being installed or patched. The exact name of the script to be used will be displayed by the GUI.
  • The screen shots displayed are for guidance only, the values displayed on them do not necessarily correspond to the values used in the worked examples.

SETTINGS USED FOR THE WORKED EXAMPLE

  • The following settings and values have been used in the example:

IP ADDRESSES & HOST NAMES

Node 1 Host Name : HOST1
Node 1 IP Address : 192.168.1.1
Node 1 Oracle VIP Host Name : HOST1-vip
Node 1 Oracle VIP IP Address : 192.168.1.2
Node 1 Heart-beat Host Name : HOST1-hb
Node 1 Heart-beat IP Address : 192.168.2.1
Node 2 Host Name : HOST2
Node 2 IP Address : 192.168.1.3
Node 2 Oracle VIP Host Name : HOST2-vip
Node 2 Oracle VIP IP Address : 192.168.1.4
Node 2 Heart-beat Host Name : HOST2-hb
Node 2 Heart-beat IP Address : 192.168.2.2

SOFTWARE VERSIONS & LOCATIONS

Clusterware Source Software : HOST1:/u02/SOFTWARE/CLUSTER/10.2
Clusterware Source Patch Software : HOST1:/u02/SOFTWARE/CLUSTER/PATCHES
Node 1 Clusterware $HOME : HOST1:/u01/app/crs/product/10.2.0
Node 2 Clusterware $HOME : HOST2:/u01/app/crs/product/10.2.0
ASM Source Software : HOST1:/u02/SOFTWARE/DATABASE/10.2
ASM Source Patch Software : HOST1:/u02/SOFTWARE/DATABASE/PATCHES
Node 1 ASM $HOME : HOST1:/u01/app/asm/product/10.2.0
Node 2 ASM $HOME : HOST2:/u01/app/asm/product/10.2.0
Database Source Software : HOST1:/u02/SOFTWARE/DATABASE/10.2
Database Source Patch Software : HOST1:/u02/SOFTWARE/DATABASE/PATCHES
Node 1 Database $HOME : HOST1:/u01/app/oracle/product/10.2.0
Node 2 Database $HOME : HOST2:/u01/app/oracle/product/10.2.0
Node 1 OPatch Location : HOST1:/u02/SOFTWARE/OPATCH/OPatch
Node 2 OPatch Location : HOST2:/u02/SOFTWARE/OPATCH/OPatch

DISK INFORMATION

OCR Location : /dev/rdsk/emcpower0a
Voting Disk Location : /dev/rdsk/emcpower0b
Redundancy Method : External
ASM SPFile : /dev/rdsk/emcpower1a
ASM Password File : /dev/rdsk/emcpower1b
Database SPFile : /dev/rdsk/emcpower2a
Database Password File : /dev/rdsk/emcpower2b
Database Primary Disk Group : /dev/rdsk/emcpower3a - +DATA
Database Recovery Disk Group : /dev/rdsk/emcpower4a - +REC

CLUSTER, INSTANCE & DATABASE NAMES

Cluster Name : CRS_NAME
Node 1 Instance Name : SID01
Node 2 Instance Name : SID02
RAC Database Name : SID00
ASM Name : ASM_NAME
Node 1 ASM Instance Name : +ASM1
Node 2 ASM Instance Name : +ASM2

STEP-BY-STEP GUIDE

  1. Configure the DISPLAY variable, if not already set.
  2. Start x-server, if not already running.
  3. Start RDBMS installation…
  4. Run runInstaller and follow the instructions as demonstrated in the Example RDBMS Install section below.
    • On HOST2
      • mkdir -p /u01/app/oracle/product/10.2.0/network/admin
      • cd /u01/app/oracle/product/10.2.0/network/admin
      • ln -s /u01/app/asm/product/10.2.0/network/admin/listener.ora listener.ora
    • On HOST1
      • mkdir -p /u01/app/oracle/product/10.2.0/network/admin
      • cd /u01/app/oracle/product/10.2.0/network/admin
      • ln -s /u01/app/asm/product/10.2.0/network/admin/listener.ora listener.ora
      • export ORACLE_BASE=/u01/app/oracle
      • export ORACLE_HOME=/u01/app/oracle/product/10.2.0
      • cd /u02/SOFTWARE/DATABASE/10.2
      • ./runInstaller
      • Required answers and actions - see the Example RDBMS Install section for the detailed plan:
        • OraDb10g_home1
        • /u01/app/oracle/product/10.2.0
        • Run root.sh on each node.
  5. Configure the DISPLAY variable, if not already set.
  6. Start x-server, if not already running.
  7. Start RDBMS Patch installation…
  8. Run runInstaller and follow the instructions as demonstrated in the Example RDBMS Patch Install section below.
    • On HOST1
      • export ORACLE_BASE=/u01/app/oracle
      • export ORACLE_HOME=/u01/app/oracle/product/10.2.0
      • cd /u02/SOFTWARE/DATABASE/PATCHES/10.2.0.4/Disk1
      • ./runInstaller
      • Required answers and actions - see the Example RDBMS Patch Install section for the detailed plan:
        • OraDb10g_home1
        • /u01/app/oracle/product/10.2.0
        • Run root.sh on each node.
  9. RDBMS has now been installed and patched - now go to Part 4.

EXAMPLE RDBMS INSTALL


RDBMSInstall_01.jpg
  • Click Next.

RDBMSInstall_02.jpg
  • Select Enterprise Edition.
  • Click Next.

RDBMSInstall_03.jpg
  • Enter Name of the RDBMS_HOME.
    • If unsure, check the value by clicking Installed Products.
  • Enter full Path of the RDBMS_HOME directory.
  • Click Next.

RDBMSInstall_04.jpg
  • Safely ignore this warning which is caused by the symbollic link to listener.ora.
  • Click Yes.

RDBMSInstall_05.jpg
  • Select Cluster Installation.
  • Click Select All.
  • Click Next.

RDBMSInstall_06.jpg
  • Ensure there are 0 requirements to be verified.
  • Click Next.

RDBMSInstall_07.jpg
  • Select No.
  • Click Next.

RDBMSInstall_08.jpg
  • Select Install database Software only.
  • Click Next.

RDBMSInstall_09.jpg
  • Review Summary.
  • Click Install.

RDBMSInstall_10.jpg
  • Wait for approximately 10 mins…

RDBMSInstall_11.jpg
  • Run the root.sh scripts as instructed. - use default answers.
  • Click Next.

RDBMSInstall_12.jpg
  • Click Exit.

RDBMSInstall_13.jpg
  • Click Yes.

EXAMPLE RDBMS PATCH INSTALL


RDBMSPatch_01.jpg
  • Click Next.

RDBMSPatch_02.jpg
  • Enter Name of the RDBMS_HOME.
    • If unsure, check the value by clicking Installed Products.
  • Enter full Path of the RDBMS_HOME directory.
  • Click Next.

RDBMSPatch_03.jpg
  • Select Cluster Installation.
  • Click Select All.
  • Click Next.

RDBMSPatch_04.jpg
  • Ensure there are 0 requirements to be verified.
  • Click Next.

RDBMSPatch_05.jpg
  • Clear Enable OCM tick box.
  • Click Next.

RDBMSPatch_06.jpg
  • Review Summary.
  • Click Install.

RDBMSPatch_07.jpg
  • Wait for approximately 10 mins…

RDBMSPatch_08.jpg
  • Run the root.sh scripts as instructed. - use default answers.
  • Click Next.

RDBMSPatch_09.jpg
  • Click Exit.

RDBMSPatch_10.jpg
  • Click Yes.

© copyright 2001-2014 ABCdba.com | all rights reserved