Installing Highly Available SAP system with Failover Oracle Database on Solaris Cluster
Real Application Cluster in a SAP-environment1
Transcript of Real Application Cluster in a SAP-environment1
Page 1Real Application Cluster in a SAP -environment.ppt
Real Application Cluster in a SAP-environment
Mathias Mangold, BASF IT Services GmbH
October 25, 2004
Page 2Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC - Agenda
n Agenda
n Introduction BASF IT Services
n Project SDC
n Project reasons
n Project environment & milestones
n DataGuard & RAC
n SAP Standalone Enqueue Server with replication
n Implementation
n Go Live productive system
n Further activites
n Vision
Page 3Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
BASF IT ServicesIntroduction
n Creation of BASF pan-european IT organisation 02-Apr-2001n BASF IT Services B.V.
n Headquarters in Waedenswil, Switzerland
n Leading IT service provider within Europe for the
chemical industry
Page 4Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
BASF IT ServicesIntroduction
n Integration of european BASF IT organisations of:
n BASF AG, BASF Schwarzheide, Elastogran
n BASF Computer Services subsidiaries
n BASF IT Services Spain
n BASF IT Services Italy
n Major emphasis on growth through external business
n More than 20 locations in Europe, with own IT competence centres,
sales and marketing units
n More than 2,300 employees
n More than 442 Mio. euro turnover in 2003
Page 5Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC: SAP Database Clustering
n Components of project „SAP Database Clustering“
n Database Clustering (RAC)
n DataGuard (Standby-Database)
n Elimination of all existing SinglePointOfFailures
n SAP Standalone Enqueue Server with Replication provides a HA solution
n Integration in HA/CMP takeover to provide a full HA level on operating system/ database/ SAP software
n stretched storage-subsystem cluster
Page 6Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC – Project reasons
n Project reasons
n Cost reductions
n Use several medium size servers instead of one highend
n Scalability leading to more efficient use of hardware
n Flexibility to be gained by adding servers instead replacement
n Service improvement
n High Availability
n Ability to extend the scope of highend-systems (max. size)
n Transparancy (modifications have no effect on application)
n maintenance window negotiation
Page 7Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Oracle RACèservice avail. & scalability
Standby Databaseè data availability
Replicated Enqueueè availability
dynamic loadbalancing (implemented)è availability
Streched Storage Cluster
Database Instance BDatabase Instance A
PCPC PCPC
Centr.Inst.
Appl.Srv.
Appl.Srv.
PCPC PCPC
Repl.CI
Appl.Srv.
Appl.Srv.
controlled integration into Verbundè availability
Project SDC – Layer of availability
Page 8Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC - environment
n Project environment
n Application: SAP Rel. 4.6B (4.6D kernel) mit OCI-7-Library
n Database: Oracle V9i, 800GB, 2000 users
n Standby Database: ORACLE Dataguard
n Operatingsystem: IBM AIX 5.2 (64bit) + HA/CMP ES V4.5
n Filesystem: IBM GPFS V2.1 (2 phys. replica‘s)
n Server: IBM Pseries
n Storage: IBM ESS
n Project Team
n ORACLE, SAP, IBM and BASF IT Services
Page 9Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC - milestones
n Project milestones
n Q2/2003 Start of Project
n DataGuard and SAP
n Q3/Q4 2003
n Correction of GPFS errors
n Load Tests
n Availability Tests
n Q1/2004 Training of all involved units
n Feb 04: Go Live RAC on development system
n April 04: Go Live RAC and DataGuard on productive system
Page 10Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Positioning RAC and DATA GUARD
xXxDisaster
xXHuman Error
xXMedia Error
xXSystem Outage
Backup/ Recovery
Standby DB RAC/ Failover
Page 11Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC - RAC
n RAC – Oracle Real Application Cluster
n RAC = Availability of service
n more than one database instance serves one database
n Hot 'Failover' solution
n in case of instance/ server failure system remains available with no data loss besides regular database crash recovery rules
n Shared Disk Cluster=> high available disk subsystem neccessary
n Reduction/ avoidance of planned/ unplanned system downtime
n Easy integration within SAP environment (transparency)
Page 12Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC – R/3 and RAC
Node 2
SAP R/3Dialog Instances
Oracle Instance 1SID
Listener 1
Central Instance(ENQ, MSG-Server)
Node 1
Listener 2
Oracle Instance 2SID
SAP R/3Dialog Instances
Central Instance(Automatic failover with
Replicated Enqueue)
Automatic with Transparent Application Failoverstarting with SAP OCI-8 Kernel; R/3 WP Reconnect with SAP OCI-7 Kernel
CFS GPFS
Page 13Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC - DataGuard
n DataGuard – Oracle Standby Database Solution
n DataGuard = Availability of data
n replaces current product Libelle to provide a standby database, (due to lack of RAC support)
n graceful switchover
n different levels of redo information transport possible
n maximum performance solution in use (lowest influence on productive system)
n all standby database advantages are also available with DataGuard (e.g consistency check of offline redo logs)
Page 14Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Data Centre 1 Data Centre 2
Hard-ware
Data-base
SAPR/3
OS
Data-baseSDB
ApplicationServer
Data-baseProd
ApplicationServer
Central Instance
Databaseinstance
R/3-Appl.instanceR/3-Appl.
instanceR/3-Appl.instance
R/3-Appl.instanceR/3-Appl.
instanceR/3-Appl.instance
R/3-Appl.instanceR/3-Appl.
instanceR/3-Appl.instance
R/3-Appl.instanceR/3-Appl.
instanceR/3-Appl.instance
R/3-Appl.instanceR/3-Appl.
instanceR/3-Appl.instance
StandbyDatabase
ChangesChangesChanges
ChangesChanges
ApplicationServer
ApplicationServer
StandbyDatabaseServer
DatabaseServer
every5 min.
deferred recovery (period selectable)
immediatetransfer
Project SDC – R/3 and DataGuard
Page 15Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC – SAP Enqueue Server
n SAP Standalone Enqueue Server with Replication
n SAP enqueue table is a single point of failure within SAP environment
n SAP Standalone Enqueue Server with Replicated Enqueue Server provides a HA solution
n Integration in HACMP takeover to provide a full HA level on operating system/ database/ SAP software
n Integration of SAP 620 SAP Standalone Enqueue Server within 46D environment possible
Page 16Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC – SAP general
n Update Table Multiplexing
n Tables are handled seperately on each instance
n New RAC Monitor ST04N available from KB46C47, KB46D36, KB61039620, KB62039, KB64002
n OSS Note 705608, 716000
n BrTools support since 620, full support with 640
n Monitoring Report Adaptions for 46B
Page 17Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC – Communication
Page 18Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC – Go Live Productive System
n complete database export/import in 13 hours
n migration to new tablespace layout with enhanced support of RAC needs
n migration to RAC and SAP rename activites because of new hostnames finished in 3 hours
n very smooth migration, almost no notification through application
Page 19Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC – current / further activities
n intensive system monitoring
n database performance (db request time within SAP R/3) improvement of more than factor 2
n correction of outstanding problems
n migration of other productive systems to RAC
n requests depend on current hardware enhancements and SLA requests
n evaluation DataGuard and SAP (without RAC)
n replacement of 'Libelle' - environment
n migration of next systems
Page 20Real Application Cluster in a SAP -environment.ppt
Mathias Mangold
Project SDC
n Results
n Cost savings
n Reduction of Operating Costs *
n Enhanced service
n Availability
n Scalability
n Flexibility
* resulting from several activities that include usage of new hardware (server, storage etc.) as well as RAC.
Page 21Real Application Cluster in a SAP -environment.ppt
Thank you for your attention
Page 22Real Application Cluster in a SAP -environment.ppt
Contact
Mathias Mangold SAP-Basissupport Europe
BASF IT- Services GmbHJaegerstraße 1, D-67059 Ludwigshafen
Phone +49 621 60-49455Fax +49 621 60-21762
E-Mail [email protected]