Vous êtes sur la page 1sur 27

Implementing Oracle Applications

11i on 10g RAC and ASM


Kai Yu
Agenda

• Introduction
• Architecture
• Fresh Implementation
• Cloning
• Migration
• QA
Introduction

Kai Yu
System Engineer Sr. Consultant
Dell Database And Applications Solutions Engineering

– Dell IT: Implemented Oracle Applications on RAC


– 11+ Years of Oracle DBA/Oracle Applications DBA
– Dell Database Solutions Engineering:
Integrating, validating, bundling, and sustaining Dell’s Oracle
DB and RAC solutions, based on PE servers, and Dell | EMC
storage.
Architecture: Oracle Application 11i Overview

Client Tier Applications Server Tier Database Tier

Web Server

Forms Server

Report Server

Concurrent Processing
Server

Admin Server
Architecture: 11i on 10g RAC/ASM

Client

LAN/
LAN/ Load Balancing
WAN
WAN

Applications Tier

Interconnect
Database Tier

ASM (Automatic
Storage
Management)
Implementation: Environment

• Hardware:
– Application Tier: Dell PowerEdge servers
– Database Tier: Dell PowerEdge servers
– Interconnect: 2 Private 2 Gigabit switches
– Storage: EMC storage for database
NAS storage for shared files system
• Software:
– Red Hat Linux AS 3.0 (kernel 2.4.21-4EL or higher)
– Oracle Applications 11.5.10 with CU2
– Oracle Database 10g R1(10.1.0.5)
Implementation: System Architecture

Load Balancing
LAN/
LAN/
WAN
WAN Applications
Servers

Shared
File system
Cluster Database
Gigabit Servers
Interconnect

Fiber Channel
Switches

ASM Storage
Implementation: Process Overview

Fresh Install Install


Install 10g Components
11.5.10 10.1.0.3 10.1.0.3 DB
on 9i DB/CRS Components
DB 10g 10.1.0.5
Autoconfig Upgrade Upgrade
Autoconfig 10.1.0.5 10.1.0.5
Enabled Apps DB DB/CRS
ASM Convert Establishment
Migration To RAC For RAC
10.1.0.5 11.5.10 on 10g
DB in RAC
DB/CRS RAC/ASM
Implementation: Steps

• Use Shared File System


Fresh Install • Rapid Install
• Post Installation Tasks

10g Install • Install CRS


• Install Database Software

Install Components • Install Database


Components

10.1.0.5 Upgrade • Upgrade CRS to 10.1.0.5


• Upgrade DB to 10.1.0.5
Implementation: Steps Continued

• DB Upgrade Assistant
DB 10g Upgrade • Post Upgrade Steps

Autoconfig • Copy oui22 to 10g


• Run adbldmxml.sh

• Create ASM Instances


ASM Migration • Create Diskgroups
• Data Files Conversion

• Autoconfig on Apps Tier


Convert to RAC • Generate appsutil.zip
• Autoconfig on DB tier
Implementation: Steps

• Run adcfgpreclone.pl
Convert to RAC • Run adcfgclone.pl
(continued) • Configure Listeners/tns

Establishment • Autoconfig on Apps Tier


for RAC • Load Balance for DB

• Setup PCP
PCP Configuration • Setup Transaction Mgr
• Load Balancing of PCP

Issues/Solutions • Listener/TNS Configure


• Diskgroup vs. adcfgclone
Cloning

• Why Clone?
– Create new DEV/QA environment
– Refresh DEV/QA environment from production
– Migrate an existing system to new hardware

• Clone Steps:
– Use Rapid clone technology
– Latest Rapid Clone patches required
– Clone Database Tier
– Clone Applications Tier
– Post Clone steps
Cloning

Clone Applications Tier

Clone Database Tier


Cloning

Clone Database Tier Step 3


Step 5
Step 1 • adcfgclone dbTechStack • adcfgclone
• VIP configuration dbTechStack
Prepare Source Step 2 • Configure ASM • Start instances
DB: adpreclone Copy • Configure Instance •adcfgclone dbconfig
ORACLE_HOME

Copy DB
Step 4
Config DB
Cloning: Application Tier

Clone Applications Tier

5.Configure all others


4. Enable shared Appl_TOP

3. Configure Target system


2. Copy application file system

1. Prepare source system: adpreclone


Cloning

• Post Clone Steps


– Purge old Concurrent request
– Clean up logs and out files
– Update profiles
– Update FND tables
Migration

• Migration Requirement
– Source: 11.5.10 on 9i RAC
– Target : 11.5.10 on 10g RAC/ASM
– On same OS (Red Hat Linux)

• Challenges
– Minimize Downtime for source production
– Migrate to new servers and new storage

• Solution Design
– Build standby database to reduce downtime
– Clone Application Tier to target by Rapid Clone
– Clone database from source to target
Migration: 9i RAC to 10g RAC/ASM

Step 1: Clone Applications Tier (optional) and copy 9i Oracle Home


Source : 11.5.10/9iRAC Target: 11.5.10, 10g RAC/ASM
Prepare source: adpreclone appstier
Clone Applications Tier

Apps
Servers

DB
Servers

Prepare source DB Node


Copy ORACLE_HOME

Raw Devices
Migration: 9i RAC to 10g RAC/ASM

Step 2: Install/upgrade 10.1.0.5 RAC on the target Database Servers


Source : 11.5.10/9iRAC Target: 11.5.10, 10g RAC/ASM

Apps
Servers

10g DB
Servers

Raw Devices
Migration: 9i RAC to 10g RAC/ASM

Step 3: Build 9i Standby Database


Source : 11.5.10/9iRAC Target: 11.5.10, 10g RAC/ASM

Apps
Servers

10g DB
Servers
9i

Copy Datafiles

Redo logs shipping


Raw Devices
Temp file system
Migration: 9i RAC to 10g RAC/ASM

Step 4: Activate Standby DB

Actions:
• Make sure no redo log gap
• Shutdown source environment Apps
• Finish managed recovery Servers
• Switchover standby DB to primary

10g DB
Servers
9i

Activated
9i Standby
Database
Migration: 9i RAC to 10g RAC/ASM

Step 5: Upgrade 9i DB to 10g

Actions:
• Run Database Upgrade Assistant: DBUA
• Add SYSAUX Tablespace Apps
• Run library update, configure 10g listener Servers
• Post Upgrade Steps: copy oui22, compute
Statistics, cr9idata.pl, adblxml.sh, etc
10g DB
• Autoconfig on 10g Oracle Home
10g
Database Upgrade:
9iÆ10g
Migration: 9i RAC to 10g RAC/ASM

Step 5: Move DB to ASM

Actions:
• Configure ASM Instance and Diskgroup
• Copy DB files to ASM using RMAN Apps
Apps
Servers
servers

10g DB

10g File System DB ASM Storage

Copy/Switch DB to ASM
Migration: 9i RAC to 10g RAC/ASM

Step 6: Enable 10g RAC

Actions:
• Convert to RAC:
• Establishment for RAC Apps
Apps
• PCP configuration Servers
servers

10g DB

10g RAC/ASM DB
Migration: 9i RAC to 10g RAC/ASM

Step 8: Start 11.5.10 Applications on 10g RAC/ASM

LAN/
LAN/
WAN
WAN
Applications
Servers

10g DB
Servers

10g DB
10g RAC/ASM Oracle
Applications DB
References

• Configuring Oracle Applications Release 11i with 10g Real


Application Clusters and Automatic Storage Management. Oracle
Metalink Note 312731.1 .

• Cloning Oracle Applications Release 11i with Rapid Clone, Oracle


Metalink Note 230672.1 .

• Best Practices: Implementing 10g RAC &10G ASM with E-


Business Suite 11i, Vamsi Mudumba, Oracle.

• I would like to acknowledge the technical contributions and


project coordination efforts by Vinod Emmanuel in Dell IT GDBMS
Group.
Q&A

kai_yu@dell.com
(512)728-6343 (Office)
(512)725-0046 (Lab)

Vous aimerez peut-être aussi