Download Packaged Global Solution: Rapidly Cloning Oracle 11i Applications

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

IMDb wikipedia , lookup

Open Database Connectivity wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Relational model wikipedia , lookup

Functional Database Model wikipedia , lookup

Concurrency control wikipedia , lookup

Database wikipedia , lookup

Clusterpoint wikipedia , lookup

Database model wikipedia , lookup

ContactPoint wikipedia , lookup

Oracle Database wikipedia , lookup

Transcript
EMC Oracle Database on NAS
Accelerator Service
OracleWorld September 2003
© 2003 EMC Corporation. All rights reserved.
Agenda
 Using NAS for databases
 NAS Database architecture overview
 Important metrics for planning
 Solution: Jointly-developed Oracle database on NAS
accelerator service
© 2003 EMC Corporation. All rights reserved.
2
Using NAS for Databases
 Economical
–
–
–
–
Low attach cost
Low management cost
Leverage existing skill sets
Can be used for lower I/O DBs: ie
development
 Functional
– Easy to set up and reconfigure
– Eliminates disk grooming
– Faster backups and MTTR
 Compatible
– Clients
– Applications
– Networks
© 2003 EMC Corporation. All rights reserved.
3
Old days: Server-Centric, Block Access
Sun
Sun
FS
HP
HP
FS
IBM
IBM
FS
UNIXApps
Apps
UNIX
Windows
© 2003 EMC Corporation. All rights reserved.
Compaq
4
HP
UNIXApps
Apps
UNIX
Windows
NFS
IBM
NFS
Sun
NFS
NFS
Linux
NFS
New Paradigm – Network Storage
NFS
Cisco
FS
EMC
Storage
© 2003 EMC Corporation. All rights reserved.
5
Changes that made NAS Feasible for Databases
 Network Enhancements:
– Adaptation of Jumbo Gig E (9000 MTU)
– Network data separation
 Increases in Host Processing Capabilities:
– Increases in Mhz and Processing Power
– Decreases in cost of host RAM
 Industry Knowledge of Managing Database Objects
– Technology Knowledge Sharing: Web Training, Google,
MetaLink…
– DBAs are getting better at managing all database objects,
REDOs, temp tablspaces, init.ora …etc.
© 2003 EMC Corporation. All rights reserved.
6
Changes that made NAS Feasible for Databases
 EMC NAS Storage optimizes response time
– Enhanced multi path access to disk information
– Cache rich environment
– Guaranteed referential integrity
– 8K UxFS Alignment to Oracle 8k Blocksizes
– Increases in MHZ and ram for NAS Device data movers
© 2003 EMC Corporation. All rights reserved.
7
Why Jumbo Gig E ?
 The Alteon Jumbo Frame study:
– Jumbo Frames(9000MTU) provide 50% more throughput with
50% less CPU load than 1500 byte frames.
– Smaller frames usually mean more CPU interrupts and more
processing overhead for a given data transfer size.
 1500 MTU = +- 330 MB/Second throughput
 9000 MTU = +- 900 MB/Second throughput
© 2003 EMC Corporation. All rights reserved.
8
What do Jumbo Frames do for Database
transactions ?
 It depends on how the database is writing/reading from
disk.
 Size of transaction and the number of transactions
 Generally Jumbo Frames will enhance OLTP
throughput by 10-20%
 Most performance gains are realized with DB
maintenance, then gains of 300% can be realized.
© 2003 EMC Corporation. All rights reserved.
9
All Response factors
 E = CPU + k * I/O + m * PF
 E = transaction response time
 CPU = time for the number of CPU clock ticks
 k = time for each read/write operation
 I/O = number of disk read/write operations
 m = elapsed time for each page fault
 PF = page faults, or the number of times a program
needs another page of memory
Source: Oracle
© 2003 EMC Corporation. All rights reserved.
10
Sample NAS Storage
NS600
Network
Control Station
2 x 2.4 Ghz CPU
2 x 4 Gig ram
NAS
DM2
Storage
Network
NAS
DM3
Internal
Network
AUX
8 Gig ram
4 – 8 tbytes
© 2003 EMC Corporation. All rights reserved.
AUX
CX600
SPA
CX600
SPB
= Ethernet Cable
= Copper Fibre
DAE
11
Celerra NS600 High Availability
 Platform
–
–
–
–
–
–
No single point of failure
N+1 power and battery backup
Redundant, hot-pluggable components
Mirrored write cache
De-stage write cache to DISK upon power failure
SNiiFFER: Sector inspection utility
 Function
–
–
–
–
RAID protection (1, 5)
Dual Storage Processors with automatic failover
Primary / Standby Data Movers with automatic failover
Quick Data Mover reboots
 Service
– Non-disruptive microcode updates
– Remote maintenance, call home, automatic diagnostics
© 2003 EMC Corporation. All rights reserved.
12
Replication and Recovery
NS600 SnapSure Rapid Database Replication
 Replicates on the file system level
 Makes use of a Celerra meta volume (SavVol)
 Copy on first write
 SavVol is NOT a BCV volume
 Typically uses 10% of space of a mirror copy
Production filesystem
Bitmap
PFS Data Blocks
Transactions
Bound for PFS
© 2003 EMC Corporation. All rights reserved.
Read PFS DB0
Read PFS DB1
Write over PFS DB2
Write over PFS DB5
Write over PFS DB7
Write over PFS DB8
Write over PFS DB10
Read PFS DB0
Read PFS 3
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
DB8
DB9
DB10
DB11
SavVol
Save original DB2
Save original DB5
Save original DB7
Save original DB8
Save original DB10
Unchanged = 0,
Changed = 1
DB0
0
DB1
0
DB2
1
DB3
0
DB4
0
DB5
1
DB6
0
DB7
1
DB8
1
DB9
0
DB10 1
DB11 0
13
Architecture Planning: Hardware Infrastructure
 Once properly setup Oracle EMC NAS Deployments
are very easy to manage going forward.
 Most organizations have the infrastructure and
personnel in place to facilitate rapid deployment of
storage using EMC tools
 A separate storage network with private VLANS must
be set up
 Review existing host infrastructure for jumbo GigE
(9000MTU) NIC Compatibility through entire storage
stack….Host and Switch(s)
 Two switches are recommended for DB High availability
and recovery
© 2003 EMC Corporation. All rights reserved.
14
Architecture Planning: Database
 Number of databases which will reside on each array
 Size of the databases
 Type of database (OLTP, data warehouse …etc.)
 Combined peak I/O for all databases
 Segmentation of I/O by database object
 Number of concurrent users
 Database response time
 Other application activity on the storage
 Backup considerations
© 2003 EMC Corporation. All rights reserved.
15
EMC Oracle Database Reference Architecture
Shelf 1 15 disks Vol 1 - Log 1
./instance 1
./log
Vol 2 - Archive
./instance1
./arch
Vol 3 - Sav Vol
CISCO 6500
Switch GigE
Data & Indexes
Sun E4500
Oracle Server
Trunk 1
Jumbo Frame ETH
400 Ghz 10 CPU's
10Gb RAM
Ethernet
Card
Ethernet
Card
Ethernet
Card
Ethernet
Solaris 8
Card
Patch 21
Data &
Indexes
Jumbo Frame
ETH
Logs 1, Binaries
Ethernet
Card
Ethernet
Card
./instance 1
./data
Vol 1 - Log 1
./instance1
./log
Vol 5 - Data 1
./instance 1
./data
Vol 6 - Log 2
./instance1
./log
Failover
Ethernet
Card
Archives
Logs 2
Ethernet
Card
Shelf 3 15 disks
Ethernet
Card
Data Movers
Active/Passive
Logs 2
CISCO 6500
Switch GigE
Crossover cable
© 2003 EMC Corporation. All rights reserved.
Shelf 2 15 disks Vol 4 - Data 2
Ethernet
Card
Logs 1, Binaries
Archives
Trunk 2
Jumbo Frame
Jumbo Frame ETH
ETH
Crossover cable
EMC NS600
Vol 1 - Data 1
./instance 1
./data
Vol 4 - Data 2
./instance1
./log
Vol 6 - Log 2
./instance 1
./data
Vol 5 - Data 1
./instance1
./log
Vol 3 - Sav Vol
16
General NAS Architecture Guidelines for Oracle
 Standard Oracle physical disk separation for DB safety
 Separate Redo logs on at least two separate physical
disk stripe sets
 Present mounts for Redo logs down independent
network connections or VLANS
 If HA is required, place redo’s on separate switches
 Design NAS file systems to satisfy I/O demand from
each database object
 Design IP connections to balance or distribute disk I/O
© 2003 EMC Corporation. All rights reserved.
17
EMC Oracle Database on NAS Accelerator Service
 Qualified DBs move to more cost effective storage
 EMC and Oracle conduct a thorough pre-site inspection
 Customer runs scripts supplied by Oracle and EMC are
run to gather workload data, also new databases
 Oracle and EMC will compile, review I/O stats, design,
and test NAS Solution
 Oracle and EMC Consultants perform: installation,
setup, knowledge transfer and documentation
 An industry leading EMC robust backup and recovery
process will be installed and set up to optimize Mean
Time to Recovery or (MTTR)
© 2003 EMC Corporation. All rights reserved.
18
EMC Oracle Database on NAS Accelerator Service
Oracle Source
Database on DAS
or Other
Oracle Database
Now on NAS
Ready for High Speed
Backup and Recovery
EMCNAS Storage
Source Storage
DAS db1
Oracle Database
Copy DB to robust 8k block EMC NAS
Oracle compiles and
reviews database’s I/O for
migration to NAS
architecture
© 2003 EMC Corporation. All rights reserved.
NAS db1
Oracle Database
Oracle and EMC consultants
forward engineer all
database objects and optimize
database I/O on EMC NAS
19
EMC Oracle Database on NAS Accelerator Service
 Working together, Oracle and EMC Technical
Specialists will perform the following steps on your
Database in eight consecutive days to completion:
 Project Scope and Organization
– Phase I – Planning
– Phase II – Design, Configure, and Test
– Phase III – Documentation, Overview, Acceptance
© 2003 EMC Corporation. All rights reserved.
20
Phase I – Planning for a NAS Deployment
 EMC Technical Solutions Consultants works closely
with Oracle Consulting and your staff during this phase
to conduct these pre-site “discovery” tasks:
Run an analytical script in your environment which will:
–
–
–
–
–
–
–
Check for existence of specific patches/files
Server,O/S, DB Configurations (Source and Target)
Document the current DB file layout
Document the current storage array topology
Compile and study all I/O in the database
Detailed review and confirmation of the layout
Based on the results from pre-site probe, finalize and
document the existing configuration for an in-depth study
© 2003 EMC Corporation. All rights reserved.
21
Phase II – Design, Configure, and Test
Step 1 – Design
 Application and database mount point layout for optimal NAS
forward Engineering on an EMC NS600 NAS Storage array
 Specify network and hardware infrastructure requirements (if any)
 EMC will configure the NS600 and specify the right stripe depth for
each NAS file system based on required Database I/O.
 Oracle and EMC will design the backup and recovery process and
optimize MTTR using robust and patented EMC technologies
 A Test Plan will be set up to attain or exceed current service levels
© 2003 EMC Corporation. All rights reserved.
22
Phase II – Design, Configure, and Test
(Continued)
 Step 2 – Configure the NS600 for Optimal DB
Deployment
– The init.ora shared memory and semaphore parameters
– Set up NAS REDO Log Multiplexing for data safety
– Move data files and objects as necessary for NAS io
optimization
– Configure the NS600 Disks as specified in design phase
– All application and database startup / shutdown scripts
– RMAN and EMC Snapsure Backup and Recovery for
all Databases
© 2003 EMC Corporation. All rights reserved.
23
Celerra Web Manager
Designed to facilitate:
© 2003 EMC Corporation. All rights reserved.
•
Efficient storage
management
•
Complete functional
action on entire NAS
storage stack
•
Performance analysis
with Celerra monitor
24
Phase II – Design, Configure, and Test
(Continued)
 Step 3 – Test the entire Oracle on EMC NAS
Deployment
– Substantiate the transition strategy
– Execute some standard database I/O tests, review stats
pack
– Thoroughly review target NAS Database
– Application startup/shutdown testing source and target
– Review and test backup and recovery
– Full system and application stress test
© 2003 EMC Corporation. All rights reserved.
25
Phase III – Documentation, Functional Overview,
and Acceptance
 EMC Consulting and Oracle Consulting perform these
tasks
– Complete, review and deliver “best practices” engagement
documentation for:
• The entire Oracle and EMC NAS Accelerator Service
• Before and after: architecture, storage, application, and db
configuration
• Application and database backup / recovery processes and
benchmarks
– Allow for knowledge transfer throughout the entire engagement
by allowing you or your staff to assist and shadow consultants
– Gain acceptance of all procedures from you and your staff
© 2003 EMC Corporation. All rights reserved.
26
Benefits of the EMC Oracle Database on NAS
Accelerator Service
 Reduced Cost:
– Fixed price engagement
– Rapid installation with proven methodology
 Reduced Risk:
– Optimal setup has been validated by Oracle in EMC Labs and
is globally supported
– Repeatable NAS Database Storage methodology is
established for additional db deployments
 Improved SLA
– Fully-documented implementation
– Oracle Database experts will verify that all database objects
properly relocated and tuned on NAS
– World-class and Robust Global Presence provides solutions,
service, and 24x7x365 support for years to come
© 2003 EMC Corporation. All rights reserved.
27
Solution Presentation Summary
 Using NAS for databases : Now Feasible
 NAS Database Architecture Overview
 Important Metrics for planning: I/O review
 Solution: Jointly-developed Oracle database on NAS
accelerator service
 Full Live Oracle 11i on NAS Demonstration at the EMC
Booth
© 2003 EMC Corporation. All rights reserved.
28
© 2003 EMC Corporation. All rights reserved.
29