34
SAP FORUM İSTANBUL Discover Simple Automating SAP HANA System Replication Speaker’s Name : Dirk Oppenkowski Department : SAP Alliance Director, SUSE

Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

Embed Size (px)

Citation preview

Page 1: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

SAP FORUM İSTANBULDiscover SimpleAutomating SAP HANA System ReplicationSpeaker’s Name : Dirk OppenkowskiDepartment : SAP Alliance Director, SUSE

Page 2: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 2Internal

Agenda

Introduction

SAP HANA System Replication Overview

SAP HANA HA/DR scenarios

Q & A

Page 3: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 3Internal

Introduction

Page 4: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 4Internal

SUSE Linux Enterprise + SAP HANA

SAP HANA was developed on SUSE

7,000+ SAP HANA customers on SUSE

SAP HANA Enterprise Cloud runs on SUSE

SAP IT runs SAP HANA on SUSE

17 out of 17 SAP HANA benchmarks on SUSE

Page 5: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 5Internal

SUSE Linux: Technology Leadership

SAP uses SUSE Linux as development platform for UNIX/LINUX

Co-developed Netweaver 7.30 Cluster certification

#1 provider for SAP HANA Scale-up HA/DR

Currently in Ramp-up for SAP HANA Scale-out HA/DR

20,000+ SAP customers rely on SUSE Linux

Page 6: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 6Internal

SAP HANA System Replication Overview

Page 7: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 7Internal

SAP HANA Business Continutity

HW SAP

Business Continuity

HA per Datacenter

Disaster recovery between Datacenter

SAP HANA Host Auto Failover

(scale out with standby)

SAP HANA System Replication SAP HANA System Replication

SAP HANA Storage Replication

SAP

HW

SAP

Page 8: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 8Internal

Automate SAP HANA System Replication

SAP HANA SystemReplication

“sr_takeover” is a Manual process

Page 9: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 9Internal

Automate SAP HANA System Replication

SUSE High Availability Solution

Automates the“sr_takeover”

SAP HANA SystemReplication

Page 10: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 10Internal

Automate SAP HANA System Replication

Service Level Agreement

improves

SAP HANA SystemReplication

SUSE High Availability Solution

Page 11: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 11Internal

Reliable, Scalable and Secure Operating SystemSUSE Linux Enterprise Server

High AvailabilitySAP Netweaver & SAP HANA

Faster InstallationSAP Installation Wizard

Page Cache Management

AntivirusClamAV

Specific Update Channel

24x7 PRIORITY SUPPORT for SAP

24x7 PRIORITY SUPPORT for SAP

PRIO

RIT

Y SU

PPO

RT

for S

AP

PRIO

RIT

Y SU

PPO

RT

for S

AP

18 Month Grace PeriodLong-Term Service Pack Support

Simplify Linux for SAP WorkloadsSUSE Linux Enterprise Server for SAP Applications 11

Page 12: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 12Internal

SAP HANA System ReplicationPowered by SUSE High Availability Solution

resource failover

active / active

node 1 node 2

N M

A B

N M

A B

HANADatabase

HANAmemory-preload

A B

SystemReplication

HANA PR1primary

HANA PR1secondary

Performance optimized Secondary system completely used for the preparation of a possible take-over Resources used for data pre-load on Secondary Take-overs and Performance Ramp shortened maximally

Page 13: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 13Internal

From Concept to ImplementationSUSE High Availability Solution for SAP HANA

SAP HANAPrimary

SAP HANASecondary

vIP

SAPHanaMaster/Slave ResourceMaster Slave

SAPHanaTopologyClone ResourceClone Clone

suse01 suse02

Cluster Communication

Fencing

Page 14: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 14Internal

Four Steps to Install and Configure

Install SAP HANA

Configure SAP HANA System Replication

Install and initialize SUSE Cluster

Configure SR Automation using HAWK wizard

Page 15: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 15Internal

SAPHanaSR HAWK Wizard

Page 16: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 16Internal

What is the Delivery?SUSE Linux Enterprise Server for SAP Applications

The package SAPHanaSR the two resource agents

SAPHanaTopology SAPHana

HAWK setup Wizard (as technical preview)

The package SAPHanaSR-doc the important SetupGuide

Page 17: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 17Internal

SAP HANA HA/DR scenarios

Page 18: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 18Internal

Allowed Scenarios

• Scale-Up performance-optimized - syncron (=>)A => B

• Scale-Up in a chain or multi tier - asyncron (->)A => B -> C

• Scale-Up in a cost-optimized scenario (+)A => B + Q

• Scale Up in a mixed scenario A => B -> C + Q

• Now all with multi tenancy (%) - here cost optimized%A => %B + %Q

Page 19: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 19Internal

Performance-OptimizedSingle-tier System Replication and memory preload

Pacemaker

System Replication

node 1 node 2

SAP HANAPR1 primary

SAP HANAPR1 secondary

SystemPR1

vIP

SystemPR1

Performance optimized (A → B)

Secondary system completely used for the preparation of a possible take-over Resources used for data pre-load on SecondaryTake-over performance much faster than a cold start

Page 20: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 20Internal

Cost-OptimizedSingle-tier System Replication and DEV / QAS

SystemPR1

SystemDEV

Cost optimized (A → B + Q)

Operating non-prod systems on SecondaryDuring take-over the non-prod operation has to be endedTake-over performance similar to cold start-upNeeds another disk stack for non-prod usage load

Pacemaker

System Replication

node 1 node 2

SAP HANAPR1 primary

SAP HANADEV / PR1 secondary

SystemPR1

vIP

Page 21: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 21Internal

starting with version 0.149 Multi Tier System Replication – Cascading Systems

Datacenter Datacenter

asyncsync

Production Local standbywith data preload

Remote standby systemwith or without preload(mixed usage with non-prod.)

Available since SAP HANA SPS7

(Three cascading systems)

Page 22: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 22Internal

Multi-tier System ReplicationChain Topology ( A → B → C )

asyncsync

ClusterP S

A B C

Default Setup - Chain

Cluster

async

P

A B C

only async now

Page 23: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 23Internal

Multi-tier System ReplicationChain Topology ( A → B → C )

asyncsync

ClusterPS

A B C

asyncsync

ClusterP S

A B C

Default Setup - Chain

Cluster

async

P

A B C

only async now

Page 24: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 24Internal

Multi-tier System ReplicationChain Topology ( A → B → C )

asyncsync

ClusterPS

A B C

asyncsync

ClusterP S

A B C

Default Setup - Chain

Cluster

async

P

A B C

only async now

Not allowed from SAP This would be a star

Page 25: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 25Internal

async

ClusterP

A B C

Only async

Multi-tier System ReplicationChain Topology ( A → B → C )

Page 26: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 26Internal

async

ClusterP

A B CADMIN:Break Replication complete

async

ClusterP

A B C

Only async

Multi-tier System ReplicationChain Topology ( A → B → C )

Page 27: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 27Internal

asyncsync

PS

A BC Again a chain

async

ClusterP

A B CADMIN:Break Replication complete

async

ClusterP

A B C

Only async

starting with version 0.149 Multi-tier System ReplicationChain Topology ( A → B → C )

ADMIN:Create new SystemReplication

Page 28: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 28Internal

Page 29: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 29Internal

SUSE SAPHanaSR in 3 Facts

Reduces complexity- provides a wizard for easy configuration with just SID,instance number and IP address

- automates the sr-takeover and IP failover ("bind")

Reduces risk- includes always a consistent picture of the SAP HANAtopology

- provides a choice for automatic registrations and site takeover preference

Increases reliability- provides short takeover times in special for table preloadscenarios

- includes the monitoring of the system replication status toincrease data consistency

Page 30: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 30Internal

Outlook: HANA in a SUSE Linux Enterprise High Availability Extension ClusterHANA Multi Node – System Replication / Scale-OUT

SUSE is still scoping and researching this cluster concept.

site 1 site 2

N M

A B

N M

A B

HANADatabase

HANAmemory-preloadA B

SystemReplication

HANA PR1primary

HANA PR1syncmem

resource failover active / active

Page 31: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 31Internal

HANA SR Scale Out

• Metro Cluster

• Up to 31 (15 per site + 1 decision maker) nodes in Cluster

• Master/Slave concept

Page 32: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 32Internal

Our Community

Developed jointly in the SAP Linux Lab in Walldorf

Integration of the solution in partner products

Upstream open-source project

You are invited to joinour community :-)

Visit our booth or contact us via

[email protected] or [email protected]

Page 33: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 33Internal

Q & A

Page 34: Suse Linux i̇le SAP Hana felaket kurtarma ve otomati̇k yük devri̇ çözümleri̇

© 2015 SAP SE or an SAP affiliate company. All rights reserved.

Thank youContact information:

Dirk OppenkowskiSAP Alliance [email protected]+49 173 5876 826