Oracle Reference Arch Guide
Oracle Reference Arch Guide
Abstract
This document provides an overview of the architecture of the EMC solution for Oracle RAC 10g on Dell/EMC CX3 Series arrays over FPC. This solution was developed by the EMC Commercial Solutions Practice.
ii
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide A01
EMC believes the information in this publication is accurate as of its publication date. The information is subject to change without notice. THIS WHITE PAPER IS FOR INFORMATIONAL PURPOSES ONLY, AND MAY CONTAIN TYPOGRAPHICAL ERRORS AND TECHNICAL INACCURACIES. THE INFORMATION IN THIS PUBLICATION IS PROVIDED AS IS. EMC CORPORATION AND DELL INC. MAKE NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.
Trademark Information
EMC2, EMC, EMC ControlCenter, AlphaStor, ApplicationXtender, Celerra, CentraStar, CLARalert, CLARiiON, Connectrix, Co-StandbyServer, Dantz, Direct Matrix Architecture, DiskXtender, Documentum, EmailXtender, EmailXtract, HighRoad, Legato, Legato NetWorker, Navisphere, OpenScale, PowerPath, RepliStor, ResourcePak, Retrospect, Smarts, SnapShotServer, SnapView/IP, SRDF, Symmetrix are trademarks of EMC Corporation. Dell, the DELL logo, and PowerEdge are trademarks of Dell Inc. All other trademarks used herein are the property of their respective owners.
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide A01 THE INFORMATION CONTAINED IN THIS DOCUMENT, INCLUDING ALL INSTRUCTIONS, CAUTIONS, AND REGULATORY APPROVALS AND CERTIFICATIONS, IS PROVIDED BY EMC AND HAS NOT BEEN INDEPENDENTLY VERIFIED OR TESTED BY DELL. DELL CANNOT BE RESPONSIBLE FOR DAMAGE CAUSED AS A RESULT OF EITHER FOLLOWING OR FAILING TO FOLLOW THESE INSTRUCTIONS. ALL STATEMENTS OR CLAIMS REGARDING THE PROPERTIES, CAPABILITIES, SPEEDS OR QUALIFICATIONS OF THE PART REFERENCED IN THIS DOCUMENT ARE MADE BY EMC AND NOT BY DELL. DELL SPECIFICALLY DISCLAIMS KNOWLEDGE OF THE ACCURACY, COMPLETENESS OR SUBSTANTIATION FOR ANY SUCH STATEMENTS. ALL QUESTIONS OR COMMENTS RELATING TO SUCH STATEMENTS OR CLAIMS SHOULD BE DIRECTED TO EMC CORPORATION.
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide A01
iii
Contents
Preface ............................................................................................................................... x Chapter 1 Solution Overview..........................................................................................................1-1 The business challenge ...................................................................................................1-2 The technology solution .................................................................................................1-2 Solution advantages ................................................................................................1-2 Chapter 2 Solution Architecture......................................................................................................2-1 Overall architecture ........................................................................................................2-2 General characteristics............................................................................................2-3 Storage network architecture ..........................................................................................2-4 FCP 2-4 Storage architecture ........................................................................................................2-4 High availability and failover .................................................................................2-4 RAID type and RAID group configuration ............................................................2-5 LUN setup...............................................................................................................2-8 ASM and OCFS2....................................................................................................2-8 Database server architecture...........................................................................................2-9 Oracle Database 10g server FCP network architecture ..........................................2-9 Oracle Database 10g server IP network architecture..............................................2-9 Oracle cluster ready services (CRS) .....................................................................2-10 High availability and failover ...............................................................................2-10 Application architecture ...............................................................................................2-10 Chapter 3 Hardware and Software Resources.................................................................................3-1 Hardware resources ........................................................................................................3-2 Software resources..........................................................................................................3-2
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
Figures
Figure 2-1 Overall architecture of all Oracle RAC 10g Dell/EMC CX3 Series FCP solutions other than test/dev ...........................................................................................2-2 Figure 2-2 Overall architecture of the Oracle RAC 10g Dell/EMC CX3 Series FCP test/dev solution..............................................................................................................2-3 Figure 2-5 Configuration 1: 3 FC shelf RAID 1-0 / RAID 1 .......................................2-6 Figure 2-6 Configuration 2: 3 FC shelf RAID 5 / RAID 1 ..........................................2-6 Figure 2-7 Configuration 3: 2 FC shelf RAID 1-0 / RAID 1 .......................................2-7 Figure 2-8 Configuration 4: 2 FC shelf RAID 5 / RAID 1 ..........................................2-8
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
vii
Tables
1-1 Solution advantages ...................................................................................1-2 2-1 Oracle RAC 10g FCP Solution configurations ..........................................2-2 2-2 Oracle RAC 10g FCP Solution RAID Configurations...............................2-5 2-3 File system layout ......................................................................................2-9 2-4 Database server network interface configuration .....................................2-10 3-1 Hardware specifications .............................................................................3-2 3-2 Software specifications ..............................................................................3-2
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
ix
Preface
Preface
As part of an effort to improve and enhance the performance and capabilities of its product line, EMC from time to time releases revisions of its hardware and software. Therefore, some functions described in this guide may not be supported by all revisions of the software or hardware currently in use. For the most up-to-date information on product features, refer to your product release notes. This document provides an overview of the architecture of the EMC solution for Oracle RAC 10g on Dell/EMC CX3 Series arrays over FPC. This solution was developed by the EMC Commercial Solutions Practice.
Purpose
Information in this document can be used as the basis for a solution build, white paper, best practices document, or training. Information in this document can also be used by other EMC organizations (for example, the technical services or sales organization) as the basis for producing documentation for a technical services or sales kit.
Audience
This document is intended for Dell and EMC customers, partners, and personnel.
Scope
This document describes the architecture of an EMC solution built and tested by the EMC Commercial Solutions Practice, located in Research Triangle Park, N.C. Implementation instructions and best practices are beyond the scope of this document. See the related documents, below.
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
Preface
Related documents
The following documents, available from the EMC Powerlink website (http://powerlink.emc.com/ ) provide additional, relevant information: Oracle Database 10g/Oracle RAC 10g CLARiiON CX3 Series FCP Best Practices Planning Oracle Database 10g/Oracle RAC 10g CLARiiON CX3 Series FCP Applied Technology Oracle RAC 10g presentations and white papers on EMC Powerlink Documentation for Dell/EMC CX3 series storage is available from ww.dell.com/storage,
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
xi
Chapter 1
Solution Overview
This chapter presents these topics: The business challenge ...................................................................................................1-2 The technology solution .................................................................................................1-2
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
1-1
Solution Overview
Solution advantages
The solution offers the following advantages:
Benefit Lower total cost of ownership (TCO) Manageability Details Lower acquisition, administration, and maintenance costs Easier implementation, provisioning, and LUN management Leverages ASM for simple administration of storage Implements a clustering architecture that provides very high levels of data availability Easily make databases, or copies of database, available (via clones) to other servers using storage based cloning Integrate both availability and backup as well as disaster protection
Increased flexibility
Table 1-1
Solution advantages
1-2
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
Chapter 2
Solution Architecture
This chapter presents these topics: Overall architecture ........................................................................................................2-2 Storage network architecture ..........................................................................................2-4 Storage architecture ........................................................................................................2-4 Database server architecture...........................................................................................2-9 Application architecture ...............................................................................................2-10
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
2-1
Solution Architecture
Overall architecture
The following figures show the overall architecture of the Oracle RAC 10g Dell/EMC CX3 Series FCP solution:
Figure Figure 2-1 Figure 2-2 Table 2-1 Oracle RAC 10g FCP Solution configurations Configuration All solutions other than test/dev Test/dev solution
Each of the configurations includes the following components: Client, RAC interconnect, and storage networks consisting of dedicated network switches and VLANs Oracle RAC 10g servers connected to the client, RAC interconnect, and storage networks Clients connected to the Oracle RAC 10g servers via the public network A Dell/EMC CX3 Series (CX3-20C) storage array connected to the Oracle RAC 10g servers via the storage network
Overall architecture of all Oracle RAC 10g Dell/EMC CX3 Series FCP solutions other than
2-2
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
Solution Architecture
Figure 2-2
Overall architecture of the Oracle RAC 10g Dell/EMC CX3 Series FCP test/dev solution
General characteristics
Each solution configuration has the following general characteristics: Each configuration consists of a four-node active/active Oracle RAC 10g cluster. Oracle database files, online redo log files, archived log files and the flashback recovery area each reside on their own ASM disk group, stored on one or more storage LUNs. Online redo log files are mirrored across two different ASM disk groups using Oracle software multiplexing. All ASM disk groups are set to external redundancy. The control files are mirrored across the online redo log disk groups. The voting disk and ocr files are stored on an OCFS2 file system mounted on all RAC hosts. Storage LUNs are designed to satisfy the I/O demands of individual database objects, using RAID 5, RAID 3, RAID 1-0 or RAID 1, as appropriate. Trunked RAC interconnect network connections use jumbo frames. All database files are stored on the Dell/EMC CX3 storage array, making database server replacement relatively simple. Oracle RAC 10g for x86 or x86-64 runs under Red Hat Enterprise Linux. FCP provides storage connectivity via a fully-switched environment.
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
2-3
Solution Architecture
FCP
Fully redundant FCP switches are used. Two target ports on each of the Dell/EMC CX3 storage processors are utilized. Each target port is connected to a separate FCP switch. Two redundant single-ported HBAs are used on each Oracle RAC 10g server. Each HBA is connected to a separate FCP switch. Zoning is employed on the FCP switches to ensure that all RAC hosts have redundant paths to access all LUNs on the Dell/EMC CX3 series array. EMC PowerPath software is employed on the RAC hosts to ensure path failover in the event of HBA failure, switch or switch port failure, or SP or SP port failure Resiliency testing is employed to ensure seamless, consistent failover of all elements of the FCP network, including the RAC servers, the FCP switches, and the Dell/EMCarray itself. All elements of this solution are found to be robust and reliable, being able to survive the failure of any other element in the solution.
Storage architecture
Setting up storage involves: Creating RAID groups Binding LUNs Allocating hot spares Creating a storage group Assigning hosts to the storage group Assigning LUNs to the storage group
2-4
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
Solution Architecture
Power loss affecting a single circuit connected to the storage array Disk failure
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
2-5
Solution Architecture
Figure 2-5
Figure 2-6
2-6
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
Solution Architecture
Figure 2-7
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
2-7
Solution Architecture
Figure 2-8
LUN setup
Once the RAID groups are created, EMC Navisphere software is used to create the LUNs which are used the store the database. These LUNs are added to a storage group which is accessible to the RAC hosts.
2-8
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
Solution Architecture
Contents Oracle cluster registry file and voting disk Oracle datafiles Online redo logs and control file (one of the mirrored copies) Online redo logs and control file (the other of the mirrored copies) Flashback recovery area (all backups stored here) Archived log dump destination Cloned Oracle datafiles Cloned online redo logs and control file (one of the mirrored copies) Cloned online redo logs and control file (the other of the mirrored copies)
+LOG2
ASM
LUN 2
+CLONELOG2
ASM
LUN 52
Table 2-3
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
2-9
Solution Architecture
Table 2-4
Application architecture
The Oracle RAC 10g binary files, including the Oracle Cluster Ready Services software, are installed on the database servers local disks. Datafiles, online redo log files, archive log files, tempfiles, and CRS files reside on the Dell/EMC CX3 Series. These file systems are designed (in terms of the RAID level and number of disks used) to be appropriate for each type of file. See Table 2-3 for more information on the location where each of these objects is stored.
2-10
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
Chapter 3
This chapter presents these topics: Hardware resources ........................................................................................................3-2 Software resources..........................................................................................................3-2
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide
3-1
Hardware resources
The Oracle RAC 10g - Dell/EMC CX3 Series FCP solution uses the following hardware resources.
Equipment Dell PowerEdge 2950 server Quality Four Configuration Two 3.0-GHz Intel Xeon dual-core processors 12 GB of RAM Two 73 GB 10K internal SAS disks Two onboard GbE Ethernet NICs One additional dual-port GbE Ethernet NIC Two QLogic QLE2460 FCP HBAs Brocade M4400 Dell/EMC CX3-20 Two One 16 ports per switch Two Storage Processors Two target FCP ports per Storage Processor Two or three FC shelves One LCFC shelf 30 or 45 146 GB FC disks (depending on configuration) Fifteen 320 GB LCFC disks Table 3-1 Hardware specifications
Software resources
The Oracle RAC 10g Dell/EMC CX3 Series FCP solution uses the software resources in Table 3-2.
Software title Red Hat Enterprise Linux Oracle RAC 10g Enterprise Edition EMC Navisphere Agent EMC PowerPath EMC FLARE EMC Navisphere Management Number of licenses. One per database server One per database server One per database server One per database server One per CX3 Storage Processor One per CX3 Storage Processor
Table 3-2
Software specifications
3-2
Oracle RAC 10g Dell/EMC CX3 Series FCP Reference Architecture Guide