SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
Transcript of SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 1/21
SAP HANA System Replication and
SUSE ® Linux Enterprise Server for
SAP ApplicationsOverview
Peter Schinagl
Technical Architect, Global SAP Alliance
!a"ian Herschel SUSE
SAP Senior Architect [email protected]
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 2/21
#
Agenda
$oncept
%elivery
Prere&uisites and Parameters
'utloo(
Next)Steps
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 3/21
*
HANA in a SUSE ® Linux EnterpriseHigh Availa"ility Extension $luster HAA Sin!le "ox # S$stem %eplication & Scale'(P
resource )ailover
active & active
no*e + no*e
-
A "
-
A "
HAAatabase
HAAmemor$'preloa* A "
S$stem%eplication
HANA PR+primary
HANA PR+secondary
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 4/21
,
'utloo(- HANA in a SUSE Linux EnterpriseHigh Availa"ility Extension $luster HAA -ulti o*e # S$stem %eplication & Scale'O(T
S(S/ is still scopin! an* researchin! this cluster concept.
site + site #
-
A "
-
A "
HAAatabase
HAAmemor$'preloa* A "
S$stem%eplication
HANA PR+primary
HANA PR+syncmem
resource )ailover
active & active
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 5/21
.
SAP HANA SR and SUSE Linux EnterpriseHigh Availa"ility Extension $luster HAA Sin!le "ox
Pacema0er
S$stem %eplication
node + node #
SAP HANAPR+primar$
SAP HANAPR+secon*ar$
S$stemP%+
S$stemP%+
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 6/21
/
SAP HANA SR and SUSE Linux EnterpriseHigh Availa"ility Extension $luster HAA Sin!le "ox
Pacema0er
S$stem %eplication
node + node #
SAP HANAPR+primar$
SAP HANAPR+secon*ar$
S$stemP%+
S$stemP%+
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 7/210
SAP HANA SR and SUSE Linux EnterpriseHigh Availa"ility Extension $luster HAA Sin!le "ox
Pacema0er
S$stem %eplication
node + node #
SAP HANAPR+1primar$2
SAP HANAPR+secon*ar$
S$stemP%+
S$stemP%+
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 8/211
SAP HANA SR and SUSE Linux EnterpriseHigh Availa"ility Extension $luster HAA Sin!le "ox
irection o) the s$stem replication will onl$ be chan!e* i) theparameter A(TO-AT/3%/G4ST/% is been chan!e* to 5true.6
7e recommen* startin! with the *e)ault8 A(TO-AT/3%/G4ST/%96)alse6
Pacema0er
S$stem %eplication
node + node #
SAP HANAPR+secon*ar$
SAP HANAPR+primar$
S$stemP%+
S$stemP%+
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 9/212
!rom $oncept to 3mplementation
SAP HAAPrimar$ SAP HAASecon*ar$
v4P
SAPHana -aster&Slave %esource
4aster Slave
SAPHana5opology :lone %esource
:lone :lone
suse;+ suse;
:luster :ommunication
S$stem %eplication
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 10/21+6
7hat is the %elivery8
Pac0a!e SAPHanaSR with two resource a!ents8SAPHana5opology an* SAPHana
SAPHanaS% HA7< 7i=ar*is a technical preview.
Setup 9uideSetup 9uide SAPHanaSR HA7: 7i;ardSAPHanaSR HA7: 7i;ard
an*an*
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 11/21++
SAPHanaSR HA7: 7i;ard
Technical preview inclu*e*in the shippin!.
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 12/21+#
SAPHanaSR in HA7:
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 13/21+*
$urrent Allo<ed Scenarios
•
Two'no*e clusters
•Scale'up >sin!le'box to sin!le'box? HAA s$stem replication
•"oth no*es are in the same networ0 se!ment >la$er ?
•Pre)erre* site ta0eover active. There is no other SAP HAA
s$stem >li0e A? on the replicatin! no*e that nee*s to be
stoppe* *urin! ta0eover >reuires a**itional testin!?
•"oth SAP HAA instances have the same SAP 4*enti)ier
>S4? an* 4nstance umber
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 14/21+,
$urrent Allo<ed Scenarios >:ont.?
•
"oth cluster no*es in'time s$nc >ntp?
•Technical users an* host names resolve* locall$
•"oth ph$sical an* 5virtual6 SAP host names
•istance & Latencies. 4) the cluster no*es are installe* in*i))erent *ata centers or *ata center areas, the environment
must match the reuirements o) the S(S/ Linux /nterprise
Hi!h Availabilit$ /xtension cluster. This speci)icall$ means the
networ0 latencies between the no*es an* the recommen*e*
maximum *istance. Please review our pro*uct *ocumentation)or recommen*ations.
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 15/21+.
Parameters for SAP HANA 5opology
Parameter %escriptionS4 SAP i*enti)ier >SL/?
4nstanceumber SAP instance number >;;?
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 16/21+/
Parameters for SAP HANA
Parameter %escriptionS4 SAP i*enti)ier >SL/?
4nstanceumber SAP instance number >;;?
P%/F/%3S4T/3TA</OB/% e)ines, i) Secondary shoul* ta0eover, i) primary instance >not no*e?)ails otherwise pre)er local restart o)SAP HAA >true?
A(TO-AT/3%/G4ST/% e)ines i) a )ormer Primary shoul*be re!istere* as new Secondary
a)ter )ormer Secon*ar$ complete*the ta0eover an* became newPrimar$ >)alse?
(PL4:AT/3P%4-A%C3T4-/O(T e)ines the the lpa time !ap nee*e*between to primaries to select the5correct6 primar$.
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 17/21+0
5he !ive 3nterfaces
HANA Startframe<or(- sapstartsrv & sapcontrol & H">calls, output )ormat 5GetProcessList6?
HANA)5opology- lan*scapeHost:on)i!uration.p$
>rc, output )ormat?
SR)5opology- h*bnsutil>calls, output )ormat 5'sr3state ''sapcontrol9+6?
SAP Hostagent- saphostctrl
>call, output )ormat 5List4nstances6?
SR)Status- h*bsl >now? & s$stem%eplicationStatus.p$ >)uture? >nowD
rc, calls, output )ormat?
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 18/21
+1
Previe< Scale)'ut
Every 2.0s: bash ./crm_mon+attr Wed Apr 2 17:17:21 2014
Last updated: Wed Apr 2 17:17:21 2014Last change: Wed Apr 2 17:14:27 2014 by hacluster via crmd on lv9042
Stack: classic openais (with plugin)
Current DC: lv9048 - partition with quorum
Version: 1.1.10-65bb87e
6 Nodes configured, 6 expected votes
14 Resources configured
Online: [ lv9041 lv9042 lv9048 lv9049 lv9050 lv9051 ]
Full list of resources:
stonith-sbd (stonith:external/sbd): Started lv9042
rsc_ip_LNX_HDB42 (ocf::heartbeat:IPaddr2): Started lv9049
Master/Slave Set: msl_SAPHana_LNX_HDB42 [rsc_SAPHana_LNX_HDB42]
Masters: [ lv9049 ]
Slaves: [ lv9041 lv9042 lv9048 lv9050 lv9051 ]
Clone Set: cln_SAPHanaTopology__LNX_HDB42 [rsc_SAPHanaTopology_LNX_HDB42]
Started: [ lv9041 lv9042 lv9048 lv9049 lv9050 lv9051 ]
Host \ Attr clone_state remoteHost roles site srmode sync_state vhost lpa_lnx_lpt
-------------------------------------------------------------------------------------------------------------------
lv9041 DEMOTED lv9051 3:S:master1:master:standby:master WALLDORF sync SOK lv9041 30
lv9042 WAITING 3:P:master1:slave:worker:standby ROT sync PRIM lv9042 1396451811
lv9048 DEMOTED lv9051 3:S:master3:slave:worker:slave WALLDORF sync SFAIL lv9048 30
lv9049 PROMOTED lv9041 3:P:master2:master:standby:master ROT sync PRIM lv9049 1396451811
lv9050 DEMOTED lv9051 3:S:master2:slave:worker:standby WALLDORF sync SFAIL lv9050 30
lv9051 DEMOTED lv9041 3:P:master3:slave:worker:slave ROT sync PRIM lv9051 1396451805
rsc_SAPHana_LNX_HDB42:4 promotion score on lv9049: 154
rsc_SAPHana_LNX_HDB42:0 promotion score on lv9041: 100rsc_SAPHana_LNX_HDB42:5 promotion score on lv9051: 60
rsc_SAPHana_LNX_HDB42:3 promotion score on lv9042: -9000
rsc_SAPHana_LNX_HDB42:1 promotion score on lv9048: -INFINITY
rsc_SAPHana_LNX_HDB42:2 promotion score on lv9050: -INFINITY
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 19/21
Than0 $ou.
+2
!ind our =est Practices at-
<<<>suse>com?products?sles)for)sap ?resource)li"rary?
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 20/21
$orporate Head&uarters-ax)el*strasse E;; urember!German$
++ I; EJ ; >7orl*wi*e?www.suse.com
Koin us on8www.opensuse.or!
#6
8/10/2019 SAP HANA System Replication and SUSE® Linux Enterprise Server for SAP Applications
http://slidepdf.com/reader/full/sap-hana-system-replication-and-suse-linux-enterprise-server-for-sap-applications 21/21
Unpu"lished 7or( of SUSE> All Rights Reserved>This wor0 is an unpublishe* wor0 an* contains con)i*ential, proprietar$ an* tra*e secret in)ormation o) S(S/. Access to this wor0 is restricte* to S(S/ emplo$ees who have a nee* to 0now to per)orm tas0s within the scope o)their assi!nments. o part o) this wor0 ma$ be practice*, per)orme*, copie*, *istribute*, revise*, mo*i)ie*, translate*,
abri*!e*, con*ense*, expan*e*, collecte*, or a*apte* without the prior written consent o) S(S/. An$ use or exploitation o) this wor0 without authori=ation coul* subect the perpetrator to criminal an* civil liabilit$.
9eneral %isclaimer This *ocument is not to be construe* as a promise b$ an$ participatin! compan$ to *evelop, *eliver, or mar0et apro*uct. 4t is not a commitment to *eliver an$ material, co*e, or )unctionalit$, an* shoul* not be relie* upon in ma0in!purchasin! *ecisions. S(S/ ma0es no representations or warranties with respect to the contents o) this *ocument,an* speci)icall$ *isclaims an$ express or implie* warranties o) merchantabilit$ or )itness )or an$ particular purpose. The*evelopment, release, an* timin! o) )eatures or )unctionalit$ *escribe* )or S(S/ pro*ucts remains at the sole*iscretion o) S(S/. Further, S(S/ reserves the ri!ht to revise this *ocument an* to ma0e chan!es to its content, at
an$ time, without obli!ation to noti)$ an$ person or entit$ o) such revisions or chan!es. All S(S/ mar0s re)erence* inthis presentation are tra*emar0s or re!istere* tra*emar0s o) ovell, 4nc. in the (nite* States an* other countries. Allthir*'part$ tra*emar0s are the propert$ o) their respective owners.