quickstart sap 04 sles11-in-vmware

Upload: katamoly

Post on 04-Jun-2018

238 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    1/38

    SUSE

    Linux Enterprise 11Platform for SAPVMware's Best Guest

    Lars PinneSUSE Linux GmbH

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    2/38

    2

    Agenda

    General Timekeepin

    ! "nsi#e t$e VM % SUSE Linux Enterprise Ser&er

    ! (n t$e $ost % VMware ES)

    Performan*e (ptimisation! "nsi#e t$e VM % SUSE Linux Enterprise Ser&er

    ! (n t$e $ost % VMware ES)

    +eplo,ment

    SLE%HA -luster! VMware HA an# SLE%HA

    Mis*ellaneous

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    3/38

    General

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    4/38

    4

    SUSELinux Enterprise Server 11VMware's Best Guest

    . SUSE Linux Enterprise Ser&er Virtualisation uest on all ma/or platforms

    Virtualisation $ost for )en an# 0VM

    (ffere# b, SUSE an# &ia partners

    -ommon support *$annels

    SLES Priorit, Support for SAP

    . SUSE Linux Enterprise Ser&er for VMware

    1on%nee#e# &irtualisation *omponents remo&e# 2)en30VM4

    (ffere# &ia VMware

    Support t$rou$ VMware

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    5/38

    5

    SUSELinux Enterprise Server 11VMware's Best Guest

    . "mportant *omponents from SUSE kernel &mi enable#

    mo#ules &mxnet53 &mw6p&s*si

    ntp#

    . "mportant *omponents from VMware

    VMware tools

    mo#ule &mw6balloon

    a##itional para%&irtualise# #e&i*e #ri&ers. "mportant *omponents from SAP

    sapos*ol 2 notes 7899:3 7:8;

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    6/38

    Timekeepin

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    7/387

    Timekeeping inside the V

    . To make t$e s,stem time more exa*t insi#e VMware&irtual ma*$ines3 VMware re*ommen#s to run t$e$ar#ware *lo*k wit$ UT-=

    . T$e *urrent *on*ept is base# on 1TP for reliable times,n*$roni>ation of t$e (S time= T$e &irtual H? *lo*k

    s$oul# not be use#=

    . VMware perio#i* time s,n*$roni>ation must not be use#=

    . T$e implementation for SLES%x@

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    8/38!

    Timekeeping inside the V"TP

    . 1TP *onfiuration insi#e VM

    tinker panic 0

    # NOT server 127.127.1.0

    # NOT fudge 127.127.1.0 stratum 0

    . T$e $ar#ware *lo*k 29=9==84 must not be use#=

    . T$e option Ctinker pani* 8D tells t$e 1TP #aemon3 to *ontrol t$etime un#er all *ir*umstan*es3 e&en w$en #rift is abnormal2!89: se*4= T$is option $as to be t$e first in t$e *onfi file=

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    9/38#

    Time $eeping %n the &%st

    . VM SettinsTime S,n* t$rou$ VMware onl, in *ase of CesumeD

    T$e nee#e# options *oul# be a##e# wit$ a &Sp$ere *lient or insi#et$e &mx%file= T$e followin options are re*ommen#e#F

    tools.syncTime = "0"

    time.synchronize.continue = "0"

    time.synchronize.restore = "0"

    time.synchronize.resume.disk = "1"

    time.synchronize.shrink = "0"

    time.synchronize.tools.startup = "0"

    . 1TP Settins

    1TP $as to work properl, on all VMware $osts= All $osts s$oul#use t$e same 1TP ser&ers=

    T$e 1TP ser&ers *oul# be a##e# wit$ a &Sp$ere *lient or inet*ntp=*onf =

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    10/38

    Performan*e (ptimi>ation

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    11/3811

    'ptimi(ati%n )nside the V 1*4

    . Use runle&el 5

    . +isable non%nee#e# ser&i*es3 f=e= $ar#ware%relate#

    mi*ro*o#e=*tl

    ir6balan*er

    fbset

    alsasoun#

    smart#

    m*elo

    boot=multipat$

    multipat$#

    . Use para%&irtualise# #e&i*e #ri&ers &mxnet53 &mw6p&s*si

    noteF VMware #efault is CLS" MPTD an# Ce888D for SLES=

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    12/3812

    'ptimi(ati%n )nside the V 2*4

    . +isable #isk "( s*$e#ulin use noop s*$e#uler 2 s,s===ueues*$e#uler or bootrubmenu=lst an#

    et*s,s*onfibootloa#er 4=

    . e#u*e #isk "(

    mount option noatime3no#iratime for all files,stems=

    mount option noa*l3#ataIwriteba*k3barrierI8 if appropriate3 f=e= for &ar 2pls=rea# man pae4=

    *reate files,stems wit$ appropriate ino#e #ensit,3 f=e= %Tlarefile for +BMS#ata=

    a## more AM to a&oi# swappin=

    . Alin partitions wit$in VM+0 file

    start first partition at VMJS blo*k si>e= 1oteF SLESsp9 starts at MB=

    use w$ole%number multiples of VMJS blo*k si>e for partition boun#aries3 f=e=w$ole MBs=

    for +M obe, storae manufa*turers re*ommen#ations=

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    13/381+

    'ptimi(ati%n )nside the V +*4

    . A#apt "( ueues use reater timeout 2 s,sblo*k===#e&i*etimeout 4=

    not ne*essar, if VMware tools alrea#, $a&e set t$is to ;8s=

    ma,be use larer "( ueues 2 s,s===ueuenr6reuests 4=

    . A#apt *ron /ob s*$e#ulin

    run "( relate# *ron /obs on #ifferent times in all VMs=

    #efine#F #ifferent *rontabs in VMs

    ran#omF usrbinperl %le 'sleep ran# 588' or binsleep K KA1+(M 8

    . A#apt network3 if low laten*, is nee#e#

    swit*$ off firewall

    tune T-P sta*k

    net=ip&:=t*p6low6laten*, I

    net=ip&:=t*p6timestamps I 8

    net=ip&:=*onf=all=rp6filter I 8

    #isable lare re*ei&e offloa#

    et*mo#probe=*onf=lo*alF options &mxnet5 #isable6lroI

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    14/3814

    'ptimi(ati%n )nside the V 4*4

    . Memor, ma,be use $uepaes

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    15/3815

    "et,%rk 'ptimi(ati%n )nside the V

    . Low Laten*, 1o firewall3 or &er, basi* rules

    T-P low laten*, swit*$ on

    1o T-P timestamps

    1o "nterrupt *oales*in b, #ri&er

    1o T-P offloa# b, #ri&er P-" pass t$rou$

    T(+(

    . Hi$ T$rou$put

    "nterrupt *oales*in swit*$e# on for #ri&er

    Numbo frames 2for *omplete network pat$ between en#points4

    Lare ) an# T) ueues an# ba*klos

    P-" pass t$rou$

    . All options $a&e to teste# for impa*t an# si#e effe*ts

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    16/381-

    'ptimi(ati%n %n the &%st 1*2

    . -PU an# AM *urrent &Sp$ere supports VMs up to

  • 8/13/2019 Quickstart SAP 04 SLES11-In-VMware

    17/3817

    'ptimi(ati%n %n the &%st 2*2

    . 1etwork3 if low laten*, is nee#e# #isable p$,si*al interrupt *oales*in

    #isable &irtual interrupt *oales*in

    wit$ &Sp$ere *lient or insi#e &mx%fileF

    et$ernet)=*oales*inS*$eme I #isable#$ttpFwww=&mware=*omresour*este*$resour*es8998

    $ttpFwww=&mware=*omresour*este*$resour*es89