business continuity with sap on ibm i

10
1 © 2012 IBM Corporation Christian Bartels – SAP on IBM i Development 11 June 2012 Business Continuity with SAP on IBM i Minimizing planned and unplanned downtime © 2012 IBM Corporation 2 Business Continuity with SAP on IBM i Agenda Concepts of business continuity Physical and logical data replication SAP application availability Live Partition Mobility SAP near Zero Downtime Maintenance

Upload: common-europe

Post on 24-May-2015

279 views

Category:

Technology


3 download

DESCRIPTION

COMMON Europe Congress 2012 - Vienna

TRANSCRIPT

Page 1: Business continuity with SAP on IBM i

1

© 2012 IBM Corporation

Christian Bartels – SAP on IBM i Development

11 June 2012

Business Continuity with SAP on IBM iMinimizing planned and unplanned downtime

© 2012 IBM Corporation2

Business Continuity with SAP on IBM i

Agenda

� Concepts of business continuity

� Physical and logical data replication

� SAP application availability

� Live Partition Mobility

� SAP near Zero Downtime Maintenance

Page 2: Business continuity with SAP on IBM i

2

© 2012 IBM Corporation3

Business Continuity with SAP on IBM i

Concepts of business continuity

Data replication

Application Availability

Live PartitionMobility

nZDM*)

Softwaremaintenance Hardware

failure

Planned outages: Unplanned outages:

Disaster

Hardwaremaintenance

Offlinebackup

Databasemaintenance *) near Zero

DowntimeMaintenance

© 2012 IBM Corporation4

Business Continuity with SAP on IBM i

Independent Auxiliary Storage Pools (iASP)

Single level storage – unique virtual address for each object

System ASP IASP#1 IASP#2

/usr/sap/<sid>/...

/sapmnt/<sid> /IASP#1/sapmnt/<sid>

/sapmnt/trans /IASP#1/sapmnt/trans

R3<sid>JRN

R3<sid>DATA

SAP<sid>JRN

SAP<sid>DB

UDFS

Operating system

SQL packages

Work manage-ment objects

Page 3: Business continuity with SAP on IBM i

3

© 2012 IBM Corporation5

Business Continuity with SAP on IBM i

Operating system resiliency technology

Geographic Mirroring cluster

Page-level copy

• Independent ASPs on internal or external storage

• IBM i 6.1: Synchronous transmit only

• IBM i 7.1: Synchronous or asynchronous transmit

• IBM i Option 41, High Availability Switchable Resources

• Maximum distance dependent on link speed (latency)

© 2012 IBM Corporation6

Business Continuity with SAP on IBM i

Storage resiliency technology

Metro/Global MirrorFlashCopy

Metro Mirror / Global Mirror cluster

�Boot from SAN �Flash copy

�Tape backup

Basic SAN Copy Services

• External storage only

• IBM i 6.1: DS6000™, DS8000®

• IBM i 7.1 TR3: SAN Volume Controller (SVC), Storwize® V7000

• IBM i Option 41, High Availability Switchable Resources

• IBM PowerHA® SystemMirror for i 7.1 (5770-HAS)

• IBM PowerHA® SystemMirror for i Enhancements (5799-HAS)

• Metro Mirror = synchronously, Global Mirror = asynchronously

Page 4: Business continuity with SAP on IBM i

4

© 2012 IBM Corporation7

Business Continuity with SAP on IBM i

Logical data replication

Logical replication

Remote journal

• Object-based replication through journaling

• Database and other objects (including IFS)

• Internal or external storage, no hardware dependencies

• Replication software offered by several vendors

• Concurrent data access

© 2012 IBM Corporation8

Business Continuity with SAP on IBM i

IBM i clusters and cluster resource services

IBM i Cluster with PowerHA System Mirror for i

Application cluster resource group

CRG exit programm:R3SAP400/SAPCRGEXIT

(installed with SAPHOSTAGENT)

Device cluster resource group

Device cluster resource group

SAP NetWeaver databaseand journal receiver libraries

(ABAP and Java)

Global file system for SAP

Virtual host names – virtual (“takeover”) IP addresses

Page 5: Business continuity with SAP on IBM i

5

© 2012 IBM Corporation9

Business Continuity with SAP on IBM i

SAP on IBM i distributed landscape

Clustered database

ABAPschema

Javaschema

Independent AuxiliaryStorage Pool (iASP)

ABAPschema

Javaschema

Independent AuxiliaryStorage Pool (iASP)

Physical host

Local filesystem

Applicationserver 1

Physical host

Local filesystem

Applicationserver n

Clustered SAP central services

Switchovercluster infrastructure

Local filesystem

SCS ASCS

ERS

Switchovercluster infrastructure

Local filesystem

SCS ASCS

ERS...

...

...

...

Clustered file system

Global filesystem

Global filesystem

© 2012 IBM Corporation10

Business Continuity with SAP on IBM i

Redundant 2-tier SAP landscape

Central instance split up into central services for ABAP (ASCS) and Java (SCS).Enqueue replication server (ERS) holding a replica of the lock table.

ABAPschema

Javaschema

ABAPschema

Javaschema

Applicationserver 1

2-tier or2½-tier

Applicationserver n

Webdispatcher

Webdispatcher

SCS ASCS ERS ERS

Filesystem

Filesystem

3-tier

Page 6: Business continuity with SAP on IBM i

6

© 2012 IBM Corporation11

Business Continuity with SAP on IBM i

Installing SAP NetWeaver ABAP in a clustered environment

SAPFShostV

SAPGLOBALHOST

/iASP/sapmnt/<sid>

R3<sid>DATA

<sid>DBhostV

SAPDBHOST

<sid>ASCShostV

/sapmnt/<sid>

/usr/sap/<sid>/SYS/exe/usr/sap/<sid>/SYS/global/usr/sap/<sid>/SYS/profile

/usr/sap/<sid>/usr/sap/<sid>/<instance>

ASCSERS

Appl.Svr.

Primary

<sid>ASCShostV

/sapmnt/<sid>

/usr/sap/<sid>/SYS/exe/usr/sap/<sid>/SYS/global/usr/sap/<sid>/SYS/profile

/usr/sap/<sid>/usr/sap/<sid>/<instance>

ASCSERS

Appl.Svr.

Secondary

1. Install ASCS twice; once on each virtual host: primary and secondary.

2. Install ERS twice; once on each real host: primary and secondary.

3. Install DB once; only on the primary virtual host.

4. Install Central Instance once (for future upgrades)

5. Install additional Application servers anywhere on real hosts.

SAP Note 1635602

© 2012 IBM Corporation12

Business Continuity with SAP on IBM i

Live Partition Mobility with POWER7® and IBM i 7.1 TR4

Rebalance processing power across servers when and

where you need it.

Reduce planned downtime by moving workloads to another server during

system maintenance.

Movement to a

different server

with no loss of service

Virtualized SAN and Network InfrastructureVirtualized SAN and Network Infrastructure

Move a running partition from one POWER7 server to another with

no application downtime → successfully tested with SAP on IBM i.

Page 7: Business continuity with SAP on IBM i

7

© 2012 IBM Corporation13

Business Continuity with SAP on IBM i

Requirements for Live Partition Mobility

� HMC/Firmware� HMC V7R7.5.0M0� Firmware: 740.40 or 730.51� VIOS 2.2.1.4

� PowerVM Enterprise Edition

� Operating system� IBM i 7.1 TR4 (SF99707 level 4)

Software

� All I/O through the VIOS

� Virtual SCSI, NPIV (fibre channel),Virtual Ethernet

� External Storage

� Same external storage to bothsource and destination

� POWER7 Hardware

Hardware and I/O

https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/IBM%20i%20Technology%20Updates/page/Live%20Partition%20Mobility

© 2012 IBM Corporation14

Business Continuity with SAP on IBM i

SAP concepts of downtime minimization for software maintenance

„Near Zero Downtime Maintenance“(nZDM) capabilities of EHP installationwith Software Update Manager (SUM)

„Near Zero Downtime Maintenance“(nZDM) procedures for support

packages of SAP EP and SAP PI

„Downtime Minimization Services“of SAP Consulting and

SAP Active Global Support

Any system basedon SAP NetWeaver

Technology

Any system basedon SAP NetWeaver

Technology

SAP EPSAP PI

Customerprojects

Plannedavailability:

2013*)

Plannedavailability:Q4 2012*)

*) Statement of direction – may be subject of change

Page 8: Business continuity with SAP on IBM i

8

© 2012 IBM Corporation15

Business Continuity with SAP on IBM i

Software Update Manager (SUM): nZDM capabilities

Uptime Uptime

UptimeUptime

Business downtime

Bus. downtime

Cre

ate

new

repo

sito

ry

in s

had

ow

sys

tem

Cre

ate

new

repo

sito

ry

in s

had

ow

sys

tem

•R

eposi

tory

sw

itch

•Tabl

e a

dju

stm

ent

•M

ain

import

•X

PR

A, A

IM e

xecu

tion

•R

eposi

tory

sw

itch

•Tabl

e a

dju

stm

ent

•M

ain

import

•X

PR

A, A

IM e

xecu

tion

Import o

f cu

stom

er

speci

fic tra

nsp

orts

and a

dd-o

ns

Import o

f cu

stom

er

speci

fic tra

nsp

orts

and a

dd-o

ns

SG

EN

(Load

genera

tion)

SG

EN

(Load

genera

tion)

Test

and

valid

atio

n

Test

and

valid

atio

n

•C

reate

new

repo

sito

ry

in s

hado

w s

yste

m

•C

lone a

ppl

. ta

bles

affect

ed b

y upg

rade

•C

reate

new

repo

sito

ry

in s

hado

w s

yste

m

•C

lone a

ppl

. ta

bles

affect

ed b

y upg

rade

•Tabl

e a

dju

stm

ent

•M

ain

import

•X

PR

A, A

IM e

xecu

tion

part 1

in S

HD

•Tabl

e a

dju

stm

ent

•M

ain

import

•X

PR

A, A

IM e

xecu

tion

part 1

in S

HD

Cust

om

er sp

eci

fic

add-

ons

Cust

om

er sp

eci

fic

add-

ons

Cust

om

er transp

orts

in S

HD

Cust

om

er transp

orts

in S

HD S

GE

N (Load

genera

tion)

SG

EN

(Load

genera

tion)

Fin

al d

elta

repl

ay

Fin

al d

elta

repl

ay

Online delta replay(trigger-based)

Reposi

tory

switc

h

Reposi

tory

switc

h

XPRA, AIMexecution part 2

Test

and

valid

atio

n

Test

and

valid

atio

n

Upgrade,EHPtoday

FutureSUM SP5*)

*) Statement of direction – may be subject of change

© 2012 IBM Corporation16

Business Continuity with SAP on IBM i

nZDM for EP: Mirror update with switchover (planned 2013)*)

record

changes

Customer System Mirror System

Copied Customer System

Clone productive system

SP nSP n

SP n+mSP n+m

Switch to mirror system

SP nSP n

SP nSP n

SP n+mSP n+m

Normal production

� No restrictions

Normal production

� No restrictions

Record changes

� Applications can run

in record mode or in

read only mode

Record changes

� Applications can run

in record mode or in

read only modeStandard update

� Apply SP on mirror

system

Standard update

� Apply SP on mirror

system

System down� Switch to mirror

system, log off

users

� Stop production

System down� Switch to mirror

system, log off

users

� Stop production

Normal production

� Users log on to new

system

� No restrictions

Normal production

� Users log on to new

system

� No restrictions

Change

Recorder

transfer

changes

Transfer changes

� Transfer recorded

changes and adapt

to target SP level

Transfer changes

� Transfer recorded

changes and adapt

to target SP level

*) Statement of direction – may be subject of change

Page 9: Business continuity with SAP on IBM i

9

© 2012 IBM Corporation17

Business Continuity with SAP on IBM i

nZDM for PI: Mirror update with back copy (planned 2013)*)

*) Statement of direction – may be subject of change

© 2012 IBM Corporation18

Downtime

Business Continuity with SAP on IBM i

SAP Downtime Minimization Services

Host A

Original SAPsystem

Host B

IntermediateSAP system

Host B

Target SAPsystem

clo

ne

change recording

Upgrade/consolidation/conversion

Offered by SAP Consulting and SAP Active Global Support

Useful for major projects,such as:• Upgrade• Unicode conversion• Client consolidation• Migration

Fin

al d

elta

rep

lay

Page 10: Business continuity with SAP on IBM i

10

© 2012 IBM Corporation19

Business Continuity with SAP on IBM i

Thank you for your time today.

For more information:

� IBM developerWorks – SAP on IBM i http://www.ibm.com/developerworks/ibmi/sap

� IBM Support and services: SAP on IBM ihttp://www.ibm.com/systems/i/support/erp

� SAP Community Network – SAP on IBM ihttp://www.sdn.sap.com/irj/sdn/db4

� SAP Community Network – High Availabilityhttp://www.sdn.sap.com/irj/sdn/ha

� SAP Note 1635602: Attachment “SAP High Availability on IBM i Configuration Guide”

� SAP Note 568820: “IBM i: Implementing an Independent ASP (iASP) System”

� Downtime Minimization Services from SAP:http://www.service.sap.com/downtimeminimization

Contact:

� Christian Bartels

� +49-6227-7-45488

[email protected]

© 2012 IBM Corporation20

Business Continuity with SAP on IBM i

Trademarks and notes

IBM Corporation 2012

� IBM, the IBM logo, ibm.com, DB2, DB2 Universal Database, System i, Power Systems, POWER7, PowerHA, BladeCenter,

DS6000, DS8000, Storwize, XIV and PureSystems are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked

on their first occurrence in this information with the appropriate symbol (® or ™), these symbols indicate US registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered

or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and

trademark information” at www.ibm.com/legal/copytrade.shtml.

� SAP, R/3, SAP NetWeaver and other SAP products and services mentioned herein as well as their respective logos are

trademarks or registered trademarks of SAP AG in Germany and other countries.

� Other company, product and service names may be trademarks or service marks of others.

� References in this publication to IBM products or services do not imply that IBM intends to make them available in all countries in which IBM operates.