Post on 09-Dec-2016
Application MAA Best Practices on Oracle Exadata Mathew Steinberg Exadata Product Management
Raymond Dutcher Maximum Availability Architecture and X-Team
Vivek Puri Database Administration The Sherwin Williams Company
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 2
Disclaimer
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 3
Program Agenda
Application MAA Best Practices on Oracle Exadata Customer Case Study
– Sherwin Williams E-Business Suite on Exadata
Oracle Applications on Engineered Systems & In Memory Applications
Wrap up
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 4
Application MAA Best Practices on Oracle Exadata
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 5
One integrated system (servers, network, storage) optimized around the Oracle Database Intelligent, scale-out storage offloads database
processing; maintains optimal storage hierarchy – memory, flash, disk Industry best data compression Superior performance, price-performance,
availability, supportability
Exadata is Oracle’s Strategic Database Platform
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 6
Building Blocks of MAA Architecture, Configuration and Operational Practices = Maximize Availability
Configuration Best Practices
Operational Best Practices
MAA Architecture
• Architecture – Enabler • Configuration – Optimize
• Operations –Maintenance for Stability and Availability
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 7
Maximum Availability Architecture
HA best practices for: – Exadata Database Machine – Oracle Database – Oracle Fusion Middleware – Oracle Applications – Cloud Control – Partner solutions
Experience from Thousands of Deployments, Validated in Oracle Labs
Ref. http://www.oracle.com/goto/maa
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 8
Online Redefinition, Edition-based Redefinition, Data Guard, GoldenGate – Minimal downtime maintenance, upgrades, and migrations
Production Site
RAC – Scalability – Server HA
Flashback – Human error
correction
Active Data Guard – Data Protection, DR – Query Offload – Automatic Block Repair
GoldenGate – Active-active – Heterogeneous
Active Replica
MAA Database Low-Cost, Integrated, Fully Active, High ROI
Oracle Secure Backup – Backup to tape / cloud
ASM – Volume Management
RMAN & Fast Recovery Area – On-disk backups
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 9
Exadata Backup Destination Options
Fiber Channel
SAN
10GigE or InfiniBand Network
Oracle Secure Backup Media Servers
Oracle Secure Backup Admin Server
Tape library •Offsite Backups •Vaulting
ZFS Storage Appliance •Backups of database & non-database files •Snapshots •Clones
InfiniBand Network
Storage Expansion Rack •Fastest Backup and Restore •ILM Historical Archive •Second DATA2 Disk Group •Expansion of DATA
10GigE or InfiniBand Network
Ethernet
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 10
MAA and Oracle Applications Layered on MAA Best Practices
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 11
Migration Strategies
Migration Preparation is Essential – Simplify and optimize – Prepare source and Exadata target – Test and test again
Pick the Right Migration Method (Best may not be fastest) – Source platform and version – Database size – Availability requirement and other business requirements
Fast Network Reduces Migration Time – Having a fast network is important for quick migration, but watch out for
bottlenecks in other areas. See http://www.oracle.com/technetwork/database/features/availability/xmigration-11-
133466.pdf See MOS 1133355.1 for Oracle E–Business Suite
Getting to Exadata
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 12
Oracle Resource Management
Use hugepages for optimal memory management – My Oracle Support Note 361323.1
Instance Caging - limit the amount of CPU used by an Oracle instance Database Resource Manager - allocate CPU resources across multiple
services that share the same database I/O Resource Manager - allocate I/O bandwidth among databases
– IORM is unique to Exadata storage – Improve OLTP latencies
Latest resource management best practices refer to MOS note 1339769.1
Reliable Service & Optimal Performance in Consolidated Environments
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 13
Essential Exadata Operational Practices Goal: Maximum Stability and Availability
1. Exachk 2. Monitor 4. Patch 3. Testing Operations
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 14
Use Exadata HealthCheck (Exachk) Regularly Contains Critical Alerts and MAA configuration checks Exachk
Hardware, Software and MAA checks Validated Exadata MAA
configuration best practices MAA score card and review Critical software and patch updates Pre/Post 11.2.0.3 upgrade checks Support for V2, X2, and X3 Exadata
families MOS 1070954.1
When to run? • After initial Oracle Database Machine
deployment • During times of least load on system • Pre and post planned maintenance • Grid Infrastructure and at least one database
up and running • At least every three months as part of
regular operational procedures
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 15
Enterprise Manager 12c Exadata Monitoring
Integrated view of HW and SW Hardware view
– Schematic of cells, compute nodes and switches
– Hardware components alerts Software and System views:
– Performance, availability, usage by databases, services, clusters
– Software alerts db, cluster, ASM – Topology view of database
systems/clusters ‘exachk’ plug-in
Exadata as Grid Control Target
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 16
Testing: Best Protection is a Strong Defense
Essential Test Requirements and Goals
– Performance, HA and growth requirements understood
– Test and prove changes – Application functionality,
behavior and impact understood – Validate repair and recovery – Backout plans desired
Testing reduces risk and uncertainty
Essential Test Resources (in order of preference)
– Dedicated Exadata system identical to production
– Smaller Exadata system or Data Guard standby
– Non-Exadata system
Validate Change
1. Real App Testing/Clone Test
DB
2. Upgrade or Patch with
fallback
3. Functionality, Performance, HA
SLAs
4. Apply on Standby
5. Apply on Production
Essential Test Approach – Know upgrades work – Validate, automate, practice – Use MAA outage matrix – Execute Data Guard role
transitions
http://www.oracle.com/technetwork/database/features/availability/exadata-maa-best-practices-155385.html MAA Best Practices for Oracle Exadata Database Machine (technical white paper)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 17
Online Patches & Rolling Upgrades MOS 888828.1 - Exadata Bundle Patches, Cell Software, OS,
Firmware deployed using RAC, GI, Exadata, or HW rolling install Qualified one-off patches can be applied to a running Oracle
instance Standby-first patching using Data Guard Redo Apply Rolling database release/patchset upgrades migrations with
Data Guard transient logical upgrades or Golden Gate Data Center moves / SAN migration / tech refresh, with minimal
downtime via Data Guard / GoldenGate EBS Qualified patches included in Exadata BP, see
MOS 1392527.1
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 18
MAA Summary and Key Takeaways
MAA best practices
Health checks and operational best practices
Proactive monitoring and management
Keep current with patch sets
Best protection is a strong defense
The Sherwin-Williams Company
Vivek Puri Team Lead, Database Administration September 2013
Who We Are • Largest Producer of Paint & Coatings in US, among Top 3 worldwide
• Founded in 1866, Cleveland, OH
• 2016 is 150th Anniversary
• 2012 - $9.5 billion in sales
• Business in 120+ Countries
• 34,000+ employees
• 4,000+ Company Owned Stores
• 90+ Manufacturing Facilities Globally
Leading Sherwin-Williams Brands
SW EBS Footprint
Three Regional EBS Application Environments
US/Canada (R12.1.3) HR, Benefits (Global Employees Management Systems) Financials (AP,GL, FA) ; Property Management; EAM
Latin America (R12.1.3) Financials (AP,AR,GL, FA) ; Property Management; EAM Supply Chain & Manufacturing (OM, OPM, WMS, ASCP); Demantra
Asia Pacific (R12.1.3) Financials (AP,AR,GL, FA) Supply Chain & Manufacturing (OM, OPM, WMS, ASCP)
SW Adoption of Engineered Systems Where we started . . . .
Challenges (US/Canada EBS Env.)- - Complexity of using Veritas Clusterware with Solaris
- Concurrent Tier on DB Servers
- Long cloning time (24 hours) & backup time (12 hours)
- Poor performance of several business processes
- Apps Upgrade to R12 very slow on old hardware
SW Adoption of Engineered Systems Where we started . . . .
Objective – Replace Hardware along with Apps Upgrade from11i to R12
• POV of Exadata at OSC with SW actual EBS data & configuration • Evaluated Sun M5000, Dell R910 & Exadata X2-2 in Q4 2010 for our
US/Canada EBS Environment
Key Decision Points - Speed to market - Performance - Stability and Manageability with Engineered Architecture - Single vendor for support
• Acquired Two Exadata machines(X2-2 ¼ & X2-2 ½ ) in May 2011
• Faster delivery to meet business needs -Fully configured clustered hardware in 2 weeks
• Direct performance benefit in R12 upgrade cycle; Upgrade time reduced from ~ 200 hours (old H/W) to 65 hours (including Database platform migration to Exadata)
• Managed the Application upgrade to R12 in 36 hours, by handling Database Platform migration ahead of schedule
Benefits
• Key business processes performance increased significantly Depreciation of 1M+ assets
Before: 20-24 hours execution time serially After: 4-5 hours execution time in parallel
• Direct benefit to the business with significant improvements in the month-end processes
• Reduced backup and clones dramatically Before: ~12 hours to perform backup and restore of 1 TB DB After: <60 minutes to perform backup and restore of 2 TB DB
EBS Cloning time reduced to 6 hours from 24 hours
Benefits (continued)
Architecture Highly Available based on MAA Guidelines
SW Second Exadata Implementation Objective – Add capacity to Latin America EBS environment for EBS
implementation in Argentina and Brazil. And add capacity for OBIEE environment.
Additional Benefits – - Comprehensive Patching – Single application testing cycle - Significant performance improvements in Demantra & ASCP planning jobs
- Demantra weekend forecasting process time reduced to < 6 hours from 33 hours
- Performance improvement in various manufacturing & shipping processes - ASR - Created SR automatically & SW being notified for HW replacement - Reallocate resources to higher value-add activities
Performance Improvements for OBIEE – - ETL - Avg. 2X - 4X improvements - Reporting - Avg. 4X - 10X improvements
Consolidation Platform for Stores Custom Application - Acquired Two Exadata machines (X2-2 ½ rack) in May 2012 - Database consolidated for key stores POS & AR applications - Other Database consolidation is underway
Current Exadata Footprint - One X2-2 ¼ Rack (HP – High Performance HDD) - Two X2-2 ½ Rack (HP) - Three X2-2 ½ Rack (HC – High Capacity HDD)
Architecture Shared DR
Lessons Learned - Need to develop strategy for managing Exadata between
DBA, Unix, Network & Storage team. Who has root? - ¼ rack, too much space lost for fault tolerance - Do not use Exadata Admin subnet for AppsTier, SW specific - Leverage 10G interface for cloning / backup (if possible) - Understand implications of multiple Networks on host, this
was new to SW - EM Cloud Control 12c for monitoring - Periodically run and review Exachk
Platinum Services • Joined early adopter program – June 2012 • Platinum Services and ACS resources performed implementation • Immediate access to Platinum Services and Oracle Support
resources to resolve issues • Benefit to SW – Saved time ($$) and reduced risk • Lessons Learned -
– Plan Early - Demand on Oracle resources is high - Schedule is a challenge
– Manage the vendor - Review Upgrade Plans - Monitor Access to Systems
– Identify ways to minimize impact/downtime – Minor Issues encountered unique to SW Network
Our Vision - Next Steps • Exadata - Primary DB platform for applications requiring highest
availability and performance (both OLTP and Decision Support) • ZFS Backup Appliance – Implementation is underway for DB disk
backups; replacing NetApp. Using 10G N/W, move to IB in future • Exalogic – POV completed; very encouraging results for ERP, ASCP &
Demantra processes • Strategy is to move to complete Engineered Platform for ERP • Planning, Demantra, OBIEE and critical Java/WebLogic Applications
• Provision and Migrate AsiaPac EBS to Exadata / Exalogic platform
• Using Exadata with 12c multitenant(pluggable) for non-EBS Databases
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 34
Oracle Applications on Engineered Systems & In Memory Applications
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 35
Exadata for Oracle Applications Changing the Way You Do Business
Engineered Solution – Hardware and Software
Simulate Large Scale Processes in Real Time
Use Full Set of Production Data without Impacting Performance
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 36
In Memory Applications
Business critical applications and workflows often take hours or days to execute
– Financial Close, Cost Management, Projections, Planning
Oracle In-Memory Applications leverage DRAM and Flash memories to run 10-20 times faster
– Transforms batch processes to real time Changes business dynamics
– Quickly discover growth opportunities – Make smarter decisions – Reduce corporate costs – Accelerate time-consuming workflows
Business Critical Applications run 10-20 times faster
Product In-Memory Applications
Cost Management
Policy Analytics Next Best Action
Project Discovery Financial Position Analyzer Financial Allocations Analyzer Labor Rules and Monitoring
Sales Advisor Project Portfolio Management
Virtual Close
Consumption-Driven Planning Performance-Driven Planning
Logistics Command Center
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 37
Order Profit
Oracle In-Memory Sales Advisor
View total order profit margin, not just individual lines
Calculate historical average profit margin for customer
Display chart for the customer’s previous orders
Display chart for line level profit margin
New Dynamic Visibility of Profit Information
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 38
Fundamental limitations of current solutions No pre-built integrations between cost
simulations and margin analysis Linear and textual analytics
Solution A single business process flow from cost
configuration and simulation through profit & margin analysis
One system, optimized for high-performance and delivered as pre-configured Oracle Verification Methodology
Transformational Change
Oracle In-Memory Cost Management
High performance IMCM Applications
Scalability, Functionality, and Speed for a Transformation in Processes
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 39
Wrap Up
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 40
Exadata: More Than a Platform
Disaster Protection
Migration and
Monitoring
Backup
Resource Management
Operational Best Practices
Exadata
Maximum Availability
Architecture
Architecture, Configuration and Operational Practices = Maximize Availability
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 41
Benefits to IT | Business Benefits
2-Day Deployment
Less Administration
1-800-SUPPORT
Standard Configurations
Simplify IT
Deploy in Days
1-800-SUPPORT Consolidate|Standardize
Administer with Less
Global Scale OLTP
Work Faster & Smarter
Internet-Scale OLTP
Deeper Analytics
Real-Time BI Near Real-Time Batch
Real-Time BI
Deeper Analysis
Near Real-Time Batch
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 42
For More Information
Maximum Availability Architecture MAA on Exalogic and Exadata
– ATG Web Commerce – E-Business Suite – PeopleSoft – Siebel
New!
search.oracle.com
or oracle.com
Maximum availability architecture
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 43
Graphic Section Divider
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 44