Ciab Howto

Embed Size (px)

Citation preview

  • 8/14/2019 Ciab Howto

    1/193

    Red Hat Cloud Foundations

    Reference Architecture

    Edition One: Private IaaS Clouds

    Version 1.0

    Aril !010

  • 8/14/2019 Ciab Howto

    2/193

    Red Hat Cloud Foundations Reference ArchitectureEdition One: Private IaaS Clouds

    1801 Varsity DriveRaleigh NC 27606-2072 USA

    Phone !1 "1" 7#$ %700Phone 888 7%% $281&a' !1 "1" 7#$ %701P( )o' 1%#88Resear*h +riangle Par, NC 2770" USA

    in.' is a registere/ tra/ear, o in.s +orval/s Re/ 3at4 Re/ 3at 5nterrise in.' an/ the Re/ 3atSha/oan logo are registere/ tra/ear,s o Re/ 3at4 9n* in the Unite/ States an/ other*o.ntries

    :i*rosot an/ ;in/os are US registere/ tra/ear,s o :i*rosot Cororation

    UN9< is a registere/ tra/ear, o +he (en =ro.

    9ntel4 the 9ntel logo4 si/iariesin the Unite/ States an/ other *o.ntries

    All other tra/ear,s reeren*e/ herein are the roerty o their rese*tive oners

    ? 2010 >y Re/ 3at4 9n* +his aterial ay >e /istri>.te/ only s.>@e*t to the ters an/ *on/itions setorth in the (en P.>li*ation i*ense4 V10 or later the latest version is resently availa>le athttBBoen*ontentorgBoen.>B

    +he inoration *ontaine/ herein is s.>@e*t to *hange itho.t noti*e Re/ 3at4 9n* shall not >e lia>le

    or te*hni*al or e/itorial errors or oissions *ontaine/ herein

    Distri>.tion oo/iie/ versions o this /o*.ent is rohi>ite/ itho.t the e'li*it erission o Re/3at 9n*

    Distri>.tion o this or, or /erivative o this or, in any stan/ar/ aer >oo, or or *oer*ial.roses is rohi>ite/ .nless rior erission is o>taine/ ro Re/ 3at 9n*

    +he =P= ingerrint o the se*.rityre/hat*o,ey isCA 20 86 86 2) D6 "D &C 6# &6 5C C$ 21 "1 80 CD D) $2 A6 05

    """.redhat.co# !

    http://www.opencontent.org/openpub/mailto:[email protected]:[email protected]://www.opencontent.org/openpub/
  • 8/14/2019 Ciab Howto

    3/193

    $a%le of Contents

    1 5'e*.tive S.ary72 Clo./ Co.ting Deinitions"

    21 5ssential Chara*teristi*s"

    211 (n-/ean/ Sel-Servi*e "

    212 Reso.r*e Pooling"

    21% Rai/ 5lasti*ity "

    21$ :eas.re/ Servi*e"

    22 Servi*e :o/els10

    221 Clo./ 9nrastr.*t.re as a Servi*e 9aaS10222 Clo./ Plator as a Servi*e PaaS10

    22% Clo./ Sotare as a Servi*e SaaS10

    22$ 5'ales o Clo./ Servi*e :o/els11

    2% Deloyent :o/els12

    2%1 Private Clo./12

    2%2 P.>li* Clo./1%

    2%% 3y>ri/ Clo./1$

    2%$ Co.nity Clo./1$

    % Re/ 3at an/ Clo./ Co.ting1#

    %1 5vol.tion4 not Revol.tion E A Phase/ Aroa*h to Clo./ Co.ting1#

    %2 Unlo*,ing the Val.e o the Clo./17

    %% Re/eining the Clo./18

    %%1 Delta*lo./18

    $ A 3igh evel &.n*tional Vie o Clo./ Co.ting20

    $1 Clo./ User B +enant22

    $11 User og-9n22

    $12 V: Deloyent F :onitoring22

    $1% V: (r*hestration F Dis*overy22

    $2 Clo./ Provi/er B A/inistrator2%

    $21 +enant A**o.nt :anageent2%

    $22 Virt.aliGation S.>strate :anageent2%

    $2% Sotare ie-Cy*le :anageent2$

    & """.redhat.co#

  • 8/14/2019 Ciab Howto

    4/193

    $2$ (erations :anageent2$

    $2# Clo./ Provi/er &.n*tionality - CreatingB:anaging an 9aaS Clo./ 9nrastr.*t.re2$

    $% :.lti-Clo./ Conig.rations 26

    # Re/ 3at Clo./ Sotare Sta*, an/ 9nrastr.*t.re Coonents27#1 Re/ 3at 5nterrise in.'2"

    #2 Re/ 3at 5nterrise Virt.aliGation R35V or Servers%0

    #% Re/ 3at Netor, R3N Satellite%1

    #%1 Co>>ler%1

    #$ H)oss 5nterrise :i//leare%2

    #$1 H)oss 5nterrise Ali*ation Plator 5AP%%

    #$2 H)oss (erations Netor, H(N%%

    ## Re/ 3at 5nterrise :R= =ri/%#

    6 Proo-o-Con*et Syste Conig.ration%6

    61 3ar/are Conig.ration%7

    62 Sotare Conig.ration%8

    6% Storage Conig.ration %"

    6$ Netor, Conig.ration$1

    7 Deloying Clo./ 9nrastr.*t.re Servi*es$2

    71 Netor, =ateay $$

    72 9nstall &irst :anageent No/e$6

    7% Create Satellite Syste$8

    7%1 Create Satellite V:$8

    7%2 Conig.re D3CP#0

    7%% Conig.re DNS#2

    7%$ 9nstall an/ Conig.re R3N Satellite Sotare#%

    7%# Conig.re :.ltile (rganiGations#$

    7%6 Conig.re C.sto Channels or R35 ## )eta##

    7%7 Co>>ler#6

    7%71 Conig.re Co>>ler#6

    7%72 Conig.re Co>>ler :anageent o D3CP#7

    7%7% Conig.re Co>>ler :anageent o DNS#8

    7%7$ Conig.re Co>>ler :anageent o P

  • 8/14/2019 Ciab Howto

    5/193

    77 Conig.re V:s as Cl.ster Servi*es7$

    771 Create Cl.ster Servi*e o Satellite V:7$

    772 Create Cl.ster Servi*e o .*i V:7#

    78 Conig.re N&S Servi*e or 9S( i>rary767" Create R35V :anageent Plator80

    7"1 Create V:80

    7"2 Create Cl.ster Servi*e o V:81

    7"% 9nstall R35V-: Sotare82

    7"$ Conig.re the Data Center87

    8 Deloying V:s in 3yervisor 3osts8"

    81 Deloy R35V-3 3yervisor"0

    82 Deloy R35 =.ests Prary"#

    82% Deloying R35 V:s .sing +elates"7

    8% Deloy ;in/os =.ests 9S( B +elate on R35V-3 3ost""

    8%1 Deloying ;in/o V:s .sing 9S( i>rary""

    8%2 Deloying ;in/os V:s .sing +elates101

    8$ Deloy R35 ! IV: 3yervisor 3ost10%

    8# Deloy R35 =.ests P

  • 8/14/2019 Ciab Howto

    6/193

    1022 Deloy Using +elate1$%

    10% S*ale H)oss 5AP Ali*ation1$7

    11 Deloying :R= =ri/ Ali*ations in R35 V:s1$"

    111 Deloy :R= :anager in :anageent Servi*es Cl.ster1$"

    112 Deloy :R= =ri/ in R35 V:s161

    11% Deloy :R= =ri/ Ali*ation166

    11$ S*ale :R= =ri/ Ali*ation167

    12 Clo./ 5n/-User Use-Case S*enarios168

    1% Reeren*es16"

    Aen/i' A Conig.ration &iles170

    A1 Satellite anserst't170A2 Co>>ler settings17%A% rhJ-installsh180

    A$ Conig.ration Channels &iles18#

    """.redhat.co# )

  • 8/14/2019 Ciab Howto

    7/193

    1 E*ecutive Su##ar+Re/ 3atKs s.ite o oen so.r*e sotare rovi/es a ri*h inrastr.*t.re or *lo./ rovi/ers to

    >.il/ .>li*Brivate *lo./ oerings+his Vol.e 1 g.i/e or /eloying the Re/ 3at inrastr.*t.re or a rivate *lo./ /es*ri>es theo.n/ation or >.il/ing a Re/ 3at Private *lo./

    1 Deloyent o inrastr.*t.re anageent servi*es4 eg4 Re/ 3at Netor, R3NSatellite4 Re/ 3at 5nterrise Virt.aliGation R35V :anager R35V-:4 DNS servi*e4D3CP servi*e4 Pility

    2 Deloyent o a ar o R35V host systes either in the or o R35V 3yervisorsor as R35!IV: to r.n tenantsK V:s

    % Deonstrate sale R35 ali*ations4 H)oss ali*ations an/ :R= =ri/ali*ations rese*tively in the tenant V:s

    Se*tion 2 resents soe *oonly .se/ /einitions o *lo./ *o.ting

    Se*tion % /is*.sses the hase/ a/otion o *lo./ *o.ting >y enterrises ro the .se ovirt.aliGation4 to the /eloyent o internal *lo./s an/ lea/ing to .ll-.n*tional .tility*o.ting .sing rivate an/ .>li* *lo./s

    Se*tion $ /es*ri>es a high level .n*tional vie o *lo./ *o.ting +he o/el is /es*ri>e/ in

    ters o Clo./ a/inistratorBrovi/er a*tions an/ los - to *reate an/ aintain the *lo./

    inrastr.*t.re Clo./ .serBtenant a*tions an/ los - to /eloy an/ anage ali*ations in the *lo./

    Se*tion # /es*ri>es the sotare inrastr.*t.re or the Re/ 3at Clo./

    Se*tion 6 /es*ri>es the *onig.ration .se/ or the roo-o-*on*et

    Se*tion 7 is a /etaile/ ste->y-ste g.i/e or /eloying *lo./ inrastr.*t.re anageentservi*es in a Re/ 3at Cl.ster S.ite R3CS *l.ster or high availa>ility

    Se*tion 8 is a /etaile/ ste->y-ste g.i/e or /eloying R35V host systes to r.n tenantsKV:s

    Se*tion " is a /etaile/ ste->y-ste g.i/e or /eloying an/ s*aling a sale R35ali*ation in tenant V:s

    Se*tion 10 is a /etaile/ ste->y-ste g.i/e or /eloying an/ s*aling a sale H)ossali*ation in tenant V:s

    , """.redhat.co#

  • 8/14/2019 Ciab Howto

    8/193

    Se*tion 11 is a /etaile/ ste->y-ste g.i/e or /eloying an/ s*aling a sale :R= =ri/ali*ation in tenant V:s

    Se*tion 12 /es*ri>es soe en/-.ser .se-*ases s*enarios o the *lo./ inrastr.*t.re o.tline/

    in Se*tion 6 thro.gh Se*tion 11 a>ove

    Se*tion 1% lists reeren*e/ /o*.ents

    &.t.re versions o the Re/ 3at Clo./ Reeren*e Ar*hite*t.re ill ta,e these *on*ets .rther

    Re/ 3at Clo./ Reeren*e Ar*hite*t.re A//ing sel-servi*e

    Re/ 3at Clo./ Reeren*e Ar*hite*t.re :anaging i'e/ rivate *lo./s

    Re/ 3at Clo./ Reeren*e Ar*hite*t.re A//ing .>li* *lo./s

    Re/ 3at Clo./ Reeren*e Ar*hite*t.re Creating large-s*ale *lo./s

    """.redhat.co# -

  • 8/14/2019 Ciab Howto

    9/193

    ! Cloud Co#utin: /efinitionsClo./ *o.ting is a o/el or ena>ling *onvenient4 on-/ean/ netor, a**ess to a share/

    ool o *onig.ra>le *o.ting reso.r*es eg4 netor,s4 servers4 storage4 ali*ations4 an/servi*es that *an >e rai/ly rovisione/ an/ release/ ith inial anageent eort orservi*e rovi/er intera*tion +his *lo./ o/el rootes availa>ility an/ is *oose/ o iveessential characteristicsthree service #odels4 an/ o.r delo+#ent #odels +heolloing /einitions have >een roose/ >y National 9nstit.te o Stan/ar/s an/ +e*hnology(N9S+ in the /o*.ent o.n/ athttBB*sr*nistgovBgro.sBSNSB*lo./-*o.tingB*lo./-/e-v1#/o*

    2.1 Essential CharacteristicsClo./ *o.ting *reates an illusion of infinite co#utin resourcesavaila>le on /ean/4

    there>y eliinating the nee/ or Clo./ Co.ting .sers to lan ar ahea/ or rovisioning

    !.1.1 On-demand Self-ServiceA *ons.er *an .nilaterally rovision *o.ting *aa>ilities4 s.*h as server tie an/netor, storage4 as nee/e/ a.toati*ally itho.t reJ.iring h.an intera*tion ith ea*hservi*eLs rovi/er

    2.1.2 Resource Pooling+he rovi/erLs *o.ting reso.r*es are oole/ to serve #ultile consu#ers usin a #ultitenant #odel4 ith /ierent hysi*al an/ virt.al reso.r*es /ynai*ally assigne/ an/reassigne/ a**or/ing to *ons.er /ean/ +here is a sense o location indeendenceinthat the *.stoer generally has no *ontrol or ,nole/ge over the e'a*t lo*ation o therovi/e/ reso.r*es >.t ay >e a>le to se*iy lo*ation at a higher level o a>stra*tion eg4*o.ntry4 state4 or /ata *enter 5'ales o reso.r*es in*l./e storage4 ro*essing4 eory4netor, >an/i/th4 an/ virt.al a*hines

    !.1.& Rapid ElasticityCaa%ilities can %e raidl+ and elasticall+ rovisioned4 in soe *ases a.toati*ally4 toJ.i*,ly s*ale o.t an/ rai/ly release/ to J.i*,ly s*ale in +o the *ons.er4 the *aa>ilitiesavaila>le or rovisioning oten aear to >e .nliite/ an/ *an >e .r*hase/ in any J.antityat any tie

    2.1.4 easured ServiceClo./ systes auto#aticall+ control and oti#i2e resource use %+ leverain a#eterin caa%ilit+at soe level o a>stra*tion aroriate to the tye o servi*e eg4storage4 ro*essing4 >an/i/th4 an/ a*tive .ser a**o.nts Reso.r*e .sage *an >eonitore/4 *ontrolle/4 an/ reorte/ rovi/ing transaren*y or >oth the rovi/er an/*ons.er o the .tiliGe/ servi*e

    3 """.redhat.co#

    http://csrc.nist.gov/groups/SNS/cloud-computing/cloud-def-v15.dochttp://csrc.nist.gov/groups/SNS/cloud-computing/cloud-def-v15.dochttp://csrc.nist.gov/groups/SNS/cloud-computing/cloud-def-v15.dochttp://csrc.nist.gov/groups/SNS/cloud-computing/cloud-def-v15.doc
  • 8/14/2019 Ciab Howto

    10/193

    2.2 Service odels

    2.2.1 Cloud !nfrastructure as a Service "!aaS#

    +he *aa>ility rovi/e/ to the *ons.er is to rovision ro*essing4 storage4 netor,s4 an/other .n/aental *o.ting reso.r*es here the *ons.er is a>le to /eloy an/ invo,ear>itrary sotare4 hi*h *an in*l./e oerating systes an/ ali*ations +he *ons.er /oesnot anage or *ontrol the .n/erlying *lo./ inrastr.*t.re >.t has *ontrol over oeratingsystes4 storage4 /eloye/ ali*ations4 an/ ossi>ly liite/ *ontrol o sele*t netor,ing*oonents eg4 host irealls

    2.2.2 Cloud Platform as a Service "PaaS#+he *aa>ility rovi/e/ to the *ons.er is to /eloy onto the *lo./ inrastr.*t.re *ons.er-*reate/ or a*J.ire/ ali*ations *reate/ .sing rograing lang.ages an/ tools s.orte/>y the rovi/er +he *ons.er /oes not anage or *ontrol the .n/erlying *lo./ inrastr.*t.rein*l./ing netor,4 servers4 oerating systes4 or storage4 >.t has *ontrol over the /eloye/ali*ations an/ ossi>ly ali*ation hosting environent *onig.rations

    2.2.$ Cloud Soft%are as a Service "SaaS#+he *aa>ility rovi/e/ to the *ons.er is to .se the rovi/erLs ali*ations r.nning on a*lo./ inrastr.*t.re +he ali*ations are a**essi>le ro vario.s *lient /evi*es thro.gh a thin*lient intera*e s.*h as a e> >roser eg4 e>->ase/ eail +he *ons.er /oes notanage or *ontrol the .n/erlying *lo./ inrastr.*t.re in*l./ing netor,4 servers4 oeratingsystes4 storage4 or even in/ivi/.al ali*ation *aa>ilities4 ith the ossi>le e'*etion oliite/ .ser-se*ii* ali*ation *onig.ration settings

    """.redhat.co# 10

  • 8/14/2019 Ciab Howto

    11/193

    !.!.' E*a#les of Cloud Service 4odels

    11 """.redhat.co#

    Figure 1

  • 8/14/2019 Ciab Howto

    12/193

    2.$ &eployment odels

    2.$.1 Private Cloud

    +he *lo./ inrastr.*t.re is oerate/ solely or an organiGation 9t ay >e anage/ >y theorganiGation or a thir/ arty an/ ay e'ist on reise or o reise

    """.redhat.co# 1!

    Figure 2

  • 8/14/2019 Ciab Howto

    13/193

    2.$.2 Pu'lic Cloud+he *lo./ inrastr.*t.re is a/e availa>le to the general .>li* or a large in/.stry gro. an/is one/ >y an organiGation selling *lo./ servi*es

    1& """.redhat.co#

    Figure 3

  • 8/14/2019 Ciab Howto

    14/193

    2.$.$ (y'rid Cloud+he *lo./ inrastr.*t.re is a *oosition o to or ore *lo./s rivate4 *o.nity4 or .>li*that reain .niJ.e entities >.t are >o.n/ together >y stan/ar/iGe/ or rorietary te*hnologythat ena>les /ata an/ ali*ation orta>ility eg4 loa/->alan*ing >eteen *lo./s

    2.$.4 Community Cloud+he *lo./ inrastr.*t.re is share/ >y several organiGations an/ s.orts a se*ii* *o.nitythat has share/ *on*erns eg4 ission4 se*.rity reJ.ireents4 oli*y4 an/ *olian*e*onsi/erations 9t ay >e anage/ >y the organiGations or a thir/ arty an/ ay e'ist onreise or o reise

    """.redhat.co# 1'

    Figure 4

  • 8/14/2019 Ciab Howto

    15/193

    & Red Hat and Cloud Co#utin

    $.1 Evolution) not Revolution * + Phased +pproach toCloud Computing;hile *lo./ *o.ting reJ.ires virt.aliGation as an .n/erlying an/ essential te*hnology4 it isina**.rate to eJ.ate *lo./ *o.ting ith virt.aliGation +he ig.re >elo /islays the/ierent levels o a>stra*tion a//resse/ >y virt.aliGation an/ *lo./ *o.ting rese*tively

    1( """.redhat.co#

    Figure 5: Levels of Abstraction

  • 8/14/2019 Ciab Howto

    16/193

    +he olloing ig.re ill.strates a hase/ aroa*h to te*hnology a/otion starting ith server*onsoli/ation .sing Kvirt.aliGationK4 then a.toating large /eloyents o virt.aliGation ithinan enterrise .sing Krivate *lo./sK4 an/ inally e'ten/ing rivate *lo./s to hy>ri/

    environents leveraging .>li* *lo./s as a .tility

    """.redhat.co# 1)

    Figure 6: Phases of Technology Adotion in the !nterrise

  • 8/14/2019 Ciab Howto

    17/193

    $.2 ,nlocing the alue of the CloudRe/ 3atKs aroa*h /oes not lo*, an enterrise into one ven/orKs *lo./ sta*,4 >.t instea/oers a ri*h set o sol.tions or >.il/ing a *lo./ +hese *an >e .se/ alone or in *[email protected]*tion

    ith *oonents ro thir/-arty ven/ors to *reate the otial *lo./ to eet .niJ.e nee/sClo./ *o.ting is one o the ost iortant shits in inoration te*hnology to o**.r in/e*a/es 9t has the otential to irove the agility o organiGations >y alloing the to

    1 5nhan*e their a>ility to reson/ to oort.nities42 )on/ ore tightly ith *.stoers an/ artners4 an/% Re/.*e the *ost to a*J.ire an/ .se 9+ in ays never >eore ossi>le

    Re/ 3at is ro./ to >e a lea/er in /elivering the inrastr.*t.re ne*essary or relia>le4 agile4an/ *ost-ee*tive *lo./ *o.ting Re/ 3atKs *lo./ vision is .nli,e that o any other 9+ven/or Re/ 3at re*ogniGes that 9+ inrastr.*t.re is - an/ ill *ontin.e to >e - *oose/ oie*es ro any /ierent har/are an/ sotare ven/ors Re/ 3at ena>les the .se an/

    anageent o these /iverse assets as one *lo./ 5na>ling *lo./ to >e an evol.tion4 not arevol.tion

    Re/ 3atKs vision sans the entire range o *lo./ o/els

    ).il/ing an internal 9nrastr.*t.re as a Servi*e 9aaS *lo./4 or sealessly .sing athir/-artyKs *lo./

    Creating ne in.'4 A:P4 or Hava ali*ations online4 as a Plator as a Servi*ePaaS

    Provi/ing the easiest ath to igrating ali*ations to attra*tive Sotare as a Servi*eSaaS o/els

    Re/ 3atKs oen so.r*e aroa*h to *lo./ *o.ting rote*ts e'isting investent an/anages /iverse investents as one *lo./ -- hether in.' or ;in/os4 Re/ 3at 5nterriseVirt.aliGation4 V:are or :i*rosot 3yer-V4 AaGon 5C2 or another ven/orKs 9aaS4 Net orHava4 H)oss or ;e>Shere4 '86 or ainrae

    1, """.redhat.co#

  • 8/14/2019 Ciab Howto

    18/193

    $.$ Redefining the Cloud

    Clo./ *o.ting is the irst a@or ar,et ave here oen so.r*e te*hnologies are >.ilt inro the >eginning4 oering the vast a@ority o early *lo./s

    (en so.r*e ro/.*ts that a,e . Re/ 3atKs *lo./ inrastr.*t.re in*l./e

    Re/ 3at 5nterrise Virt.aliGation

    Re/ 3at 5nterrise in.'

    Re/ 3at Netor, Satellite

    Re/ 3at 5nterrise :R= =ri/

    H)oss 5nterrise :i//leare

    9n a//ition Re/ 3at is lea/ing or, on an/ investing in several oen so.r*e ro@e*ts relate/to *o.ting As these ro@e*ts at.re4 an/ ater .n/ergo rigoro.s testing4 t.ning4 an/har/ening4 the i/eas ro any o these ro@e*ts ay >e in*ororate/ into .t.re version o

    the Re/ 3at *lo./ inrastr.*t.re +hese ro@e*ts in*l./e Delta*lo./ - A>stra*ts the /ieren*es >eteen *lo./s

    )o'=rin/er- :a,ing it easy to grin/ o.t server *onig.rations or a .ltit./e ovirt.aliGation a>ri*s

    Co>>ler- 9nstallation server or rai/ set . o netor, installation eJ.ient

    Con/or- )at*h syste anaging illions o a*hines orl/i/e

    Cooling+oer- Sile ali*ation-*entri* tool or /eloying ali*ations in the *lo./

    3ail- U>rella *lo./ *o.ting ro@e*t or *lo./ servi*es

    9ninisan- 5'treely s*ala>le4 highly availa>le /ata gri/ lator

    i>virt- Coon4 generi*4 an/ s*ala>le layer to se*.rely anage /oains on a no/e

    Si*e- (en reote *o.ting sol.tion or sol.tion or intera*tion ith virt.aliGe//es,to /evi*es

    +hin*r.st- +ools to >.il/ alian*es or the *lo./

    &.&.1 /eltacloud+he goal o Delta*lo./ is sile a,ing any *lo./s a*t as one Delta*lo./ ais to >ri/gethe /ieren*es >eteen /iverse silos o inrastr.*t.re4 alloing the to >e anage/ as one(rganiGations to/ay ay have /ierent *lo./s >.ilt on4 or e'ale4 Re/ 3at 5nterriseVirt.aliGation4 V:are4 or 3yer-V +he Delta*lo./ ro@e*t is /esigne/ to a,e theanagea>le as one *lo./4 one ool o reso.r*es (r organiGations ay ish to .se internal*lo./ *aa*ity4 as ell as AaGon 5C24 an/ erhas *aa*ity ro other 9aaS rovi/ers +heDelta*lo./ ro@e*t is /esigne/ to a,e these anagea>le as one

    +o/ay ea*h 9aaS *lo./ resents a .niJ.e AP9 that /eveloers an/ 9SVs nee/ to rite to inor/er to *ons.e the *lo./ servi*e +he Delta*lo./ eort is *reating a *oon4 R5S+->ase/AP94 s.*h that /eveloers *an rite on*e an/ anage anyhere Delta*lo./ is *lo./ >ro,er4so to sea,4 ith /rivers that a the AP9 to >oth .>li* *lo./s li,e 5C2 an/ rivatevirt.aliGe/ *lo./s >ase/ on V:are an/ Re/ 3at 5nterrise in.' ith integrate/ IV:virt.aliGation te*hnology +he AP9 *an >e test /riven ith the sel-servi*e e> *onsole4 hi*h

    """.redhat.co# 1-

    http://www.jboss.org/stormgrind/projects/boxgrinder/rest.htmlhttps://fedorahosted.org/cobbler/http://www.cs.wisc.edu/condor/http://www.jboss.org/stormgrind/projects/coolingtowerhttp://hail.wiki.kernel.org/index.php/Main_Pagehttp://www.jboss.org/infinispanhttp://libvirt.org/http://www.spice-space.org/http://www.thincrust.net/http://www.jboss.org/stormgrind/projects/boxgrinder/rest.htmlhttps://fedorahosted.org/cobbler/http://www.cs.wisc.edu/condor/http://www.jboss.org/stormgrind/projects/coolingtowerhttp://hail.wiki.kernel.org/index.php/Main_Pagehttp://www.jboss.org/infinispanhttp://libvirt.org/http://www.spice-space.org/http://www.thincrust.net/
  • 8/14/2019 Ciab Howto

    19/193

    is also a art o the Delta*lo./ eort ;hile a yo.ng ro@e*t4 the resonse has >eenoverheling an/ the otential ia*t on .sers4 /eveloers4 an/ 9+ to *ons.e *lo./servi*es via a *oon set o tools is ei* +o learn ore a>o.t the Delta*lo./ ro@e*t4 visithttBB/elta*lo./org

    Re/ 3atKs .niJ.e oen so.r*e /eveloent o/el eans that one *an o>serve4 arti*iatein4 an/ irove the /eveloent o o.r te*hnologies ith .s 9t is /one in the oen to ens.reinteroera>ility an/ *oati>ility 9t yiel/s .n*oroising4 sta>le4 relia>le4 se*.re4enterrise-*lass inrastr.*t.re sotare4 hi*h oers the orl/Ks ar,ets4 >.sinesses4governents4 an/ /eense organiGations +he oer o this o/el is >eing harnesse/ to /rivethe *lo./ orar/

    13 """.redhat.co#

    http://deltacloud.org/http://deltacloud.org/
  • 8/14/2019 Ciab Howto

    20/193

    ' A Hih 5evel Functional Vie" of CloudCo#utin+he Re/ 3at inrastr.*t.re or *lo./ *o.ting is /es*ri>e/ in ters o

    1 Clo./ a/inistratorBrovi/er intera*es E to *reate an/ aintain the *lo./inrastr.*t.re

    2 Clo./ .serBtenant intera*es E to /eloy an/ anage ali*ations in the *lo./

    6ote::ost *lo./ ar*hite*t.re rite-.s only /es*ri>e the *lo./ .ser intera*e Sin*e thisreeren*e ar*hite*t.re is inten/e/ to hel enterrises set . rivate *lo./s .sing the Re/ 3atinrastr.*t.re4 this /o*.ent rovi/es an overvie o the *lo./ rovi/er intera*es in a//itionto the *lo./ tenant intera*es

    """.redhat.co# !0

    Figure ": #loud Provider $ Tenants

  • 8/14/2019 Ciab Howto

    21/193

    !1 """.redhat.co#

    Figure %: #loud #o&onents $ 'nterfaces

  • 8/14/2019 Ciab Howto

    22/193

    4.1 Cloud ,ser / 0enant+he *lo./ .ser or tenant .ses the .ser ortal intera*es to /eloy an/ anage theirali*ation on to o a *lo./ inrastr.*t.re oere/ >y a *lo./ rovi/er +hree tyes o .serortal .n*tionality are *overe/ at a very high level in this se*tion

    1 User og-9n

    2 V: Deloyent F :onitoring

    % V: (r*hestration F Dis*overy

    '.1.1 7ser 5oInUser A**o.nt :anageent ena>les *lo./ .sers to *reate ne a**o.nts4 log into e'istinga**o.nts4 an/ gain a**ess to their a*tive or /orant V:s

    +he .ser ortal s.orts all these .n*tions via a e>BAP9 intera*e hi*h s.orts .lti-

    tenan*y4 ie4 ea*h .ser or tenant has se*.re a**ess to only their V:s an/ is isolate/ roother V:s it /oes not on

    '.1.! V4 /elo+#ent 8 4onitorin+he or,horses in a *lo./ are virt.al a*hines loa/e/ ith the e'e*.ta>le iagestelates o the ali*ation sta*, ith a**ess to ali*ation /ataBstorage4 netor,*onne*tions4 an/ a .ser ortal

    +he .ser ortal ena>les .n*tions li,e iortBe'ortB>a*,. o iages in the V:4 a//Be/it V:reso.r*es4 an/ state *ontrol o the V: via *oan/s s.*h as r.n4 sh.t/on an/ s.sen/

    '.1.& V4 Orchestration 8 /iscover++here are any atterns o ho a *lo./ is .se/ as a .tility &or e'ale4 one 9aaS atternay >e here the *lo./ rovi/es ast rovisioning o the re-*onig.re/ virt.al a*hines(ther /etails o atterns o .se ay involve ali*ation /ata ersisting a*ross V: invo*ationsstate.l or not ersisting a*ross V: invo*ations stateless4 or 9P *onne*tions ersistinga*ross V: invo*ations or not 9 a .ser starts a gro. o V:s r.nning *lient-serverali*ations4 the virt.al a*hines r.nning the *lients sho.l/ >e a>le to lo*ate virt.al a*hinesr.nning the servers

    V: or*hestration an/ /is*overy servi*es are .se/ to organiGe V:s into gro. o *ooeratingvirt.al a*hines >y assigning araeters to V:s that *an >e .se/ to *.stoiGe the V:

    instan*e a**or/ing to its role

    """.redhat.co# !!

  • 8/14/2019 Ciab Howto

    23/193

    4.2 Cloud Provider / +dministrator+he *lo./ rovi/er has a set o anageent intera*es to *reate4 onitor an/ anage the*lo./ inrastr.*t.re &o.r tyes o *lo./ a/inistrator .n*tionality are *overe/ at a very high

    level in his se*tion1 +enant A**o.nt :anageent

    2 Virt.aliGation S.>strate :anageent

    % Ali*ation B Sotare B 9age ie-Cy*le :anageent

    $ (erations :anageent

    '.!.1 $enant Account 4anae#entUser A**o.nt :anageent rovi/es the se*.rity raeor, or *reating an/ aintaining*lo./ .ser or tenant a**o.nts 9t tra*,s all the virt.al har/are an/ sotare reso.r*es

    assigne/ to a tenant an/ rovi/es the ne*essary isolation o a tenantKs reso.r*es ro.na.thoriGe/ a**ess 9t oers an intera*e to tra*, the reso.r*e *ons.tion an/ >illinginoration on a er tenant >asis

    '.!.! Virtuali2ation Su%strate 4anae#entVirt.aliGation S.>strate :anageent is a *entraliGe/ anageent syste to a/inister an/*ontrol all ase*ts o a virt.aliGe/ inrastr.*t.re in*l./ing /ata*enters4 *l.sters4 hosts an/virt.al a*hines 9t oers ri*h .n*tionality via >oth an AP9 as ell as a ;e> >roser =U9&.n*tions in*l./e

    ive :igration Dynai*ally ove virt.al a*hines >eteen hosts ith no servi*einterr.tion

    3igh Availa>ility Virt.al a*hines a.toati*ally restart on another host in the *ase ohost ail.re

    ;or,loa/ :anageent )alan*e or,loa/s in the /ata*enter >y /ynai*ally live-igrating virt.al a*hines >ase/ on reso.r*e .sage an/ oli*y

    Poer :anageent D.ring o-ea, ho.rs4 *on*entrates virt.al a*hines on eerhysi*al hosts to re/.*e oer *ons.tion on .n.se/ hosts

    :aintenan*e :anager Peror aintenan*e on hosts itho.t g.est /ontieUgra/e hyervisors /ire*tly ro anageent syste

    9age :anager Create ne virt.al a*hines >ase/ on telates Use snashots to*reate oint-in-tie iage o virt.al a*hines

    :onitoring Real tie onitoring o virt.al a*hines4 host systes an/ storage Alertsan/ notii*ations

    !& """.redhat.co#

  • 8/14/2019 Ciab Howto

    24/193

    Se*.rity Role >ase/ a**ess *ontrol alloing ine graine/ a**ess *ontrol an/ the*reation o *.stoiGe/ roles an/ resonsi>ilities Detaile/ a./it trails *overing =U9 an/AP9 a**ess

    AP9 AP9 or *oan/ line anageent an/ a.toation

    CentraliGe/ 3ost anageent :anage all ase*ts o host *onig.ration in*l./ingnetor, *onig.ration4 >on/ing4 VANs an/ storage

    '.!.& Soft"are 5ifeC+cle 4anae#entSotare ie-Cy*le :anageent is a sotare anageent sol.tion /eloye/ insi/e the*.stoerKs /ata *enter an/ ireall that rovi/es sotare ./ates4 *onig.rationanageent4 an/ lie *y*le anageent a*ross >oth hysi*al an/ virt.al servers 9ts.orts

    (erating Syste sotare :i//leare sotare

    Ali*ation sotare

    9t also rovi/es oer.l systes a/inistration *aa>ilities s.*h as rovisioning an/onitoring or large /eloyents an/ ens.res that se*.rity i'es an/ *onig.ration iles arealie/ *onsistently a*ross the entire environent

    '.!.' Oerations 4anae#entSin*e the virt.aliGe/ environent e'ists in a hysi*al environent4 (erations :anageentis a *at*h-all *ategory hi*h *overs a hole host o anageent .n*tions reJ.ire/ to install4

    *onig.re an/ anage hysi*al servers4 storage an/ netor,s

    (ther .n*tions *overe/ >y (erations :anageent in*l./e overall hysi*al /ata*enterse*.rity4 eroran*e4 high availa>ility4 /isaster toleran*e4 SABMoS4 energy anageent4sotare li*ensing4 .sageB>illingB*harge->a*, a*ross /ivisions o a *oany

    '.!.( Cloud Provider Functionalit+ Creatin94anain an IaaSCloud InfrastructureClo./ rovi/er B a/inistrator .n*tionality in*l./es

    1 Create an/ ange *lo./ .ser a**o.nts

    2 :anaging hysi*al reso.r*es Servers

    Storage

    Netor,

    Poer

    % :anaging virt.aliGation s.>strate

    Create virt.al /ata *enters an/ asso*iate/ storage /oains

    Conig.re virt.aliGation *l.sters *orising virt.al hosts ithin the virt.al /ata

    """.redhat.co# !'

  • 8/14/2019 Ciab Howto

    25/193

    *enters

    Create re-*onig.re/ V:s on virt.al hosts ith /ea.lt reso.r*es vCPUs4

    v:e4 vNetor, an/ vStorage

    Deloy (erating Syste an/ other sotare in re-*onig.re/ V:s

    Create telates or re-*onig.re/ V:s (er intera*es to anage the virt.aliGe/ environent *reate ne telates4

    sh.t/onBres.eBsnashotBreove V:s$ :anaging iages4 sotare sta*, B ali*ation lie *y*le

    # :anaging se*.rity E .sers4 gro.s4 a**ess *ontrols4 erissions

    6 (ering a s*he/.ling B /isat*hing .n*tion or s*he/.ling or,

    7 :anaging an/ onitor SA B MoS oli*y

    Peroran*e

    3ABD+

    Poer

    8 :anaging a**o.nting B *harge>a*,

    !( """.redhat.co#

  • 8/14/2019 Ciab Howto

    26/193

    4.$ ulti-Cloud ConfigurationsFiure 3ta,es the *lo./ .n*tionality shon inFiure -an/ e'ten/s it to a .lti-*lo./*onig.ration

    Figure (: )ulti*#loud #onfiguration * #o&onents $ 'nterfaces

    """.redhat.co# !)

  • 8/14/2019 Ciab Howto

    27/193

    ( Red Hat Cloud: Soft"are Stac and

    Infrastructure Co#onentsFiure 10as Re/ 3at inrastr.*t.re *oonents to the Clo./ .n*tionalityshon inFiure 3.

    Figure 1+: )aing ,ed -at #o&onents for #loud Functionality

    Re*all that Re/ 3at itsel /oes not oerate a *lo./ >.t its s.ite o oen so.r*e sotarerovi/es the inrastr.*t.re ith hi*h *lo./ rovi/ers are a>le to >.il/ .>li*Brivate *lo./oerings Se*ii*ally

    1 9aaS >ase/ on

    R35V

    :R= =ri/

    !, """.redhat.co#

  • 8/14/2019 Ciab Howto

    28/193

    2 PaaS >ase/ on

    H)oss

    Fiure 11/ei*ts the sotare sta*, o Re/ 3at *lo./ inrastr.*t.re *oonents

    Figure 11: ,ed -at .oft/are .tac0

    """.redhat.co# !-

  • 8/14/2019 Ciab Howto

    29/193

    .1 Red (at Enterprise inu3

    Re/ 3at 5nterrise in.' R35 is the orl/Ks lea/ing oen so.r*e ali*ation lator (n

    one *ertiie/ lator4 R35 oers a *hoi*e o Ali*ations - +ho.san/s o *ertiie/ 9SV ali*ations

    Deloyent - 9n*l./ing stan/alone or virt.al servers4 *lo./ *o.ting4 or sotarealian*es

    3ar/are - ;i/e range o lators ro the orl/Ks lea/ing har/are ven/ors

    Re/ 3at has anno.n*e/ the ith ./ate to R35 # Re/ 3at 5nterrise in.' ##

    R35 ## is /esigne/ to s.ort neer 9ntel es.orte/ on ea*h hysi*al server (.r internal testing to /ate has shon that this release*an s.ort signii*antly ore virt.al g.ests than other virt.aliGation ro/.*ts +he nehar/are an/ roto*ols in*l./e/ in the >eta signii*antly irove netor,ing s*aling >yrovi/ing /ire*t a**ess ro the g.est to the netor,

    R35 ## also intro/.*es irove/ interoera>ility ith :i*rosot ;in/os 7 ith an ./ate

    to Sa>a +his e'ten/s the A*tive Dire*tory integration to >etter a .sers an/ gro.s onRe/ 3at 5nterrise in.' systes an/ siliies anaging ilesystes a*ross lators

    An iortant eat.re o any R35 ./ate is that ,ernel an/ .ser ali*ation rograingintera*es AP9s reain .n*hange/4 ens.ring R35 # ali*ations /o not nee/ to >e re>.iltor re-*ertiie/ +he .n*hange/ ,ernel an/ .ser AP9s also e'ten/ to virt.aliGe/ environents

    ith a .lly integrate/ hyervisor4 the ali*ation >inary intera*e A)9 *onsisten*y oere/ >yR35 eans that ali*ations *ertiie/ to r.n on R35 on hysi*al a*hines are also*ertiie/ hen r.n on virt.al a*hines ;ith this4 the ortolio o tho.san/s o *ertiie/ali*ations or Re/ 3at 5nterrise in.' alies to >oth environents

    !3 """.redhat.co#

  • 8/14/2019 Ciab Howto

    30/193

    .2 Red (at Enterprise irtualiation "R(E# for ServersRe/ 3at 5nterrise Virt.aliGation R35V or Servers is an en/-to-en/ virt.aliGation sol.tionthat is /esigne/ to ena>le ervasive /ata *enter virt.aliGation4 an/ .nlo*, .nre*e/ente/*aital an/ oerational ei*ien*y

    R35V is the i/eal lator on hi*h to >.il/ an internal or rivate *lo./ o Re/ 3at 5nterrisein.' or ;in/os virt.al a*hines

    R35V *onsists o the olloing to *oonents

    Red Hat Enterrise Virtuali2ation 4anaer ;RHEV4< for servers A eat.re-ri*h

    server virt.aliGation anageent syste that rovi/es a/van*e/ *aa>ilities or hostsan/ g.ests4 in*l./ing high availa>ility4 live igration4 storage anageent4 systes*he/.ler4 an/ ore

    Red Hat Enterrise Virtuali2ation H+ervisor ;RHEVHase/ on Iernel->ase/ Virt.al :a*hine IV: virt.al te*hnology hi*h *an >e/eloye/ either as a stan/alone >are etal hyervisor in*l./e/ ith Re/ 3at5nterrise Virt.aliGation or Servers4 or as Re/ 3at 5nterrise in.' #$an/ later.r*hase/ searately installe/ as a hyervisor host

    Soe ,ey *hara*teristi*s o R35V 21 are liste/ >elo

    Scala%ilit+: 3ost U to 2#6 *ores4 1 +) RA:

    =.estBV: U to 16 vCPUs4 6$ =) RA:

    Cl.sters (ver #0 hosts er *l.ster

    Pre/i*ta>le4 s*ala>le eroran*e or enterrise or,loa/s ro SAP4 (ra*le4:i*rosot4 Aa*he4 et*

    Advanced features:

    :eory age sharing4 a/van*e/ s*he/.ling *aa>ilities4 an/ ore4 inherite/ ro theRe/ 3at 5nterrise in.' ,ernel

    =uest oeratin s+ste# suort: Paravirt.aliGe/ netor, an/ >lo*, /rivers or highest eroran*e Re/ 3at 5nterrise in.' =.ests %2->it F 6$->it Re/ 3at 5nterrise in.' %4 $ an/ #

    :i*rosotO

    ;in/osO

    =.ests %2->it F 6$->it ;in/os 200% server4 ;in/os 2008server4 ;in/os

  • 8/14/2019 Ciab Howto

    31/193

    .$ Red (at 5et%or "R(5# SatelliteAll Re/ 3at netor, .n*tionality is on the netor,4 alloing .*h greater .n*tionality an/*.stoiGation +he Satellite server *onne*ts ith Re/ 3at over the .>li* 9nternet to

    /onloa/ ne *ontent an/ ./ates +his o/el also allos *.stoers to ta,e their Re/ 3atNetor, sol.tion *oletely o-line i /esire/

    &eat.res in*l./e

    An e>e//e/ /ata>ase to store a*,ages4 roiles4 an/ syste inoration 9nstantly ./ate systes or se*.rity i'es or to rovi/e a*,ages or ali*ations

    nee/e/ ie/iately AP9 layer allos the *reation o s*rits to a.toate .n*tions or integrate ith e'isting

    anageent ali*ations Distri>.te *.sto or %r/ arty ali*ations an/ ./ates Create stage/ environents /eveloent4 test4 ro/.*tion to sele*t4 anage an/

    test *ontent in a str.*t.re/ anner Create errata or *.sto *ontent4 or o/iy e'isting errata to rovi/e se*ii*

    inoration to /ierent gro.s A**ess to a/van*e/ eat.res in the Provisioning :o/.le4 s.*h as >are etal Poot

    rovisioning an/ integrate/ netor, install trees A**ess to Re/ 3at Netor, :onitoring :o/.le or tra*, syste an/ ali*ation

    eroran*e

    R3N Satellite is Re/ 3atLs on-reises systes anageent sol.tion that rovi/es sotare./ates4 *onig.ration anageent4 rovisioning an/ onitoring a*ross >oth hysi*al an/virt.al Re/ 3at 5nterrise in.' servers 9t oers *.stoers oort.nities to gain enhan*e/eroran*e4 *entraliGe/ *ontrol an/ higher s*ala>ility or their systes4 hile /eloye/ on aanageent server lo*ate/ insi/e the *.stoerLs /ata *enter an/ ireall

    9n Sete>er 200"4 Re/ 3at release/ R3N Satellite #%4 the irst .lly oen so.r*e version othe ro/.*t +his latest version oers oort.nities or in*rease/ le'i>ility an/ asterrovisioning set.s or *.stoers ith the in*ororation o oen so.r*e Co>>ler te*hnology inits rovisioning ar*hite*t.re

    (.&.1 Co%%lerCo>>ler is a in.' installation server that allos or rai/ set. o netor, installationenvironents 9t >in/s an/ a.toates any asso*iate/ in.' tas,s4 eliinating the nee/ orany vario.s *oan/s an/ ali*ations hen rolling o.t ne systes an/4 in soe *ases4*hanging e'isting ones ;ith a sile series o *oan/s4 netor, installs *an >e

    *onig.re/ or Pase/ net-installs4 an/ virt.aliGe/ installss.orting >ler *an also otionally hel ith anaging D3CP4 DNS4 an/ y. a*,age irroringinrastr.*t.re 9n this regar/4 it is a ore generaliGe/ a.toation ali*ation4 rather than @.st/ealing se*ii*ally ith installations +here is also a lighteight >.ilt-in *onig.rationanageent syste as ell as s.ort or integrating ith other *onig.ration anageentsystes Co>>ler has a *oan/ line intera*e as ell as a e> intera*e an/ several AP9a**ess otions

    &1 """.redhat.co#

    http://www.redhat.com/about/news/prarchive/2009/satellite-53.htmlhttp://www.redhat.com/about/news/prarchive/2009/satellite-53.html
  • 8/14/2019 Ciab Howto

    32/193

    .4 67oss Enterprise iddle%are+he olloing H)oss 5nterrise :i//leare Develoent +ools4 Deloyent Plators an/:anageent 5nvironent are availa>le via s.>s*ritions that /eliver in/.stry lea/ing SA->ase/ ro/.*tion an/ /eveloent s.ort4 at*hes an/ ./ates4 .lti-year aintenan*e

    oli*ies an/ sotare ass.ran*e ro Re/ 3at4 the lea/er in oen so.r*e sol.tions

    /evelo#ent $ools:

    H)oss Develoer St./io - P5 Portolio 5/ition 5verything nee/e/ to /evelo4 testan/ /eloy ri*h e> ali*ations4 enterrise ali*ations an/ S(A servi*es

    Enterrise Platfor#s:

    H)oss 5nterrise Ali*ation Plator 5verything nee/e/ to /eloy4 an/ hostenterrise Hava ali*ations an/ servi*es

    H)oss 5nterrise ;e> Plator A stan/ar/s->ase/ sol.tion or light an/ ri*h Hava e>ali*ations

    H)oss 5nterrise ;e> Server a single enterrise oen so.r*e sol.tion or large s*alee>sites an/ lighteight e> ali*ations

    H)oss 5nterrise Portal Plator Plator or >.il/ing an/ /eloying ortals orersonaliGe/ .ser intera*tion ith enterrise ali*ations an/ a.toate/ >.sinessro*esses

    H)oss 5nterrise S(A Plator A le'i>le4 stan/ar/s->ase/ lator to integrateali*ations4 S(A servi*es4 an/ >.siness events as ell as to a.toate >.sinessro*esses

    H)oss 5nterrise )R:S An oen so.r*e >.siness r.les anageent syste thatena>les easy >.siness oli*y an/ r.les /eveloent4 a**ess4 an/ *hange

    anageent

    H)oss 5nterrise Data Servi*es Plator )ri/ge the ga >eteen /iverse e'istingenterrise /ata so.r*es an/ the ne ors o /ata reJ.ire/ >y ne ro@e*ts4ali*ations4 an/ ar*hite*t.res

    Enterrise Fra#e"ors:

    H)oss 3i>ernate &raeor, 9n/.stry-lea/ing o>@e*tBrelational aing an/ersisten*e

    H)oss Sea &raeor, Poer.l ali*ation raeor, or >.il/ing ne't generation;e> 20 ali*ations

    H)oss ;e> &raeor, Iit A *o>ination o o.lar oen so.r*e e> raeor,s or>.il/ing light an/ ri*h Hava ali*ations

    H)oss @)P: &raeor, ).siness ro*ess a.toation an/ or,lo engine

    4anae#ent:

    H)oss (erations Netor,H(N An a/van*e/ anageent lator orinventorying4 a/inistering4 onitoring4 an/ ./ating H)oss 5nterrise Plator/eloyents

    """.redhat.co# &!

    http://www.jboss.com/products/devstudio/http://www.jboss.com/products/hibernate/http://www.jboss.com/products/seam/http://www.jboss.com/products/wfk/http://www.jboss.com/products/jbpm/http://www.jboss.com/products/jbosson/http://www.jboss.com/products/devstudio/http://www.jboss.com/products/hibernate/http://www.jboss.com/products/seam/http://www.jboss.com/products/wfk/http://www.jboss.com/products/jbpm/http://www.jboss.com/products/jbosson/
  • 8/14/2019 Ciab Howto

    33/193

    (.'.1 >?oss Enterrise Alication Platfor# ;EAPle Hava ali*ations 9ntegrate/4 siliie/4 an/ /elivere/ >y the lea/er in enterriseoen so.r*e sotare4 it in*l./es lea/ing oen so.r*e te*hnologies or >.il/ing4 /eloying4an/ hosting enterrise Hava ali*ations an/ servi*es

    H)oss 5nterrise Ali*ation Plator >alan*es innovation ith enterrise *lass sta>ility >yintegrating the ost o.lar *l.stere/ Hava 55 ali*ation server ith ne't generationali*ation raeor,s ).ilt on oen stan/ar/s4 H)oss 5nterrise Ali*ation Platorintegrates H)oss Ali*ation Server4 ith H)oss 3i>ernate4 H)oss Sea4 an/ other lea/ingoen so.r*e Hava te*hnologies ro H)ossorg into a *olete4 sile enterrise sol.tion orHava ali*ations

    Features and ?enefits:

    Colete 5*lise->ase/ 9ntegrate/ Develoent 5nvironent H)oss DeveloerSt./io

    ).ilt or Stan/ar/s an/ 9nteroera>ility H)oss 5AP s.orts a i/e range o Hava 55

    an/ ;e> Servi*es stan/ar/s

    5nterrise Hava )eans an/ Hava Persisten*e

    H)oss 5AP >.n/les an/ integrates 3i>ernate4 the /e a*to lea/er in (>@e*tBRelational

    aing an/ ersisten*e

    ).ilt-in Hava naing an/ /ire*tory intera*e HND9 s.ort

    ).ilt-in H+A or to-hase *oit transa*tion s.ort

    H)oss Sea &raeor, an/ ;e> Ali*ation Servi*es

    Ca*hing4 Cl.stering4 an/ 3igh Availa>ility Se*.rity Servi*es

    ;e> Servi*es an/ 9nteroera>ility

    9ntegration an/ :essaging Servi*es

    5>e//a>le4 Servi*e-(riente/ Ar*hite*t.re i*ro,ernel

    Consistent :anagea>ility

    (.'.! >?oss Oerations 6et"or ;>O6ility4 eroran*e an/availa>ility

    (ne *entral *onsole rovi/es an integrate/ vie an/ *ontrol o H)oss i//leareinrastr.*t.re

    && """.redhat.co#

  • 8/14/2019 Ciab Howto

    34/193

    +he H(N anageent lator server-agent /elivers *entraliGe/ systes anageent orthe H)oss i//leare ro/.*t s.ite ;ith it one *an *oor/inate the any stages oali*ation lie *y*le an/ e'ose a *ohesive vie o i//leare *oonents thro.gh*ole' environents4 irove oerational ei*ien*y an/ relia>ility thro.gh thoro.gh visi>ilityinto ro/.*tion availa>ility an/ eroran*e4 an/ ee*tively anage *onig.ration an/ rollo.t

    o ne ali*ations a*ross *ole' environents ith a single4 integrate/ tool

    A.to-/is*over ali*ation reso.r*es (erating systes4 ali*ations an/ servi*es

    &ro one *onsole4 store4 e/it an/ set ali*ation *onig.rations

    Start sto or s*he/.le an a*tion on an ali*ation reso.r*e

    Reotely /eloy ali*ations

    :onitor an/ *olle*t etri* /ata or a arti*.lar lator4 server or servi*e

    Alert s.ort ersonnel >ase/ .on ali*ation alert *on/itions

    Assign roles or .sers to ena>le ine-graine/ a**ess *ontrol to H(N servi*es

    """.redhat.co# &'

  • 8/14/2019 Ciab Howto

    35/193

    . Red (at Enterprise R8 8rid:R= =ri/ rovi/es high thro.gh.t an/ high eroran*e *o.ting A//itionally4 it ena>lesenterrises to ove to a .tility o/el o *o.ting to hel enterrises a*hieve >oth higher

    ea, *o.ting *aa*ity an/ higher 9+ .tiliGation >y leveraging their e'isting inrastr.*t.re to>.il/ high eroran*e gri/s

    )ase/ on the Con/or ro@e*t4 :R= =ri/ rovi/es the ost a/van*e/ an/ s*ala>le latoror high thro.gh.t an/ high eroran*e *o.ting ith *aa>ilities li,e

    s*ala>ility to r.n the largest gri/s in the orl/

    a/van*e/ eat.res or han/ling riorities4 or,los4 *on*.rren*y liits4 .tiliGation4 lo

    laten*y s*he/.ling4 an/ ore

    s.ort or a i/e variety o tas,s4 ranging ro s.>-se*on/ *al*.lations to long-

    r.nning4 highly arallel :P9 @o>s

    the a>ility to s*he/.le to all availa>le *o.ting reso.r*es4 in*l./ing lo*al gri/s4

    reote gri/s4 virt.al a*hines4 i/le /es,to or,stations4 an/ /ynai*ally rovisione/*lo./ inrastr.*t.re

    :R= =ri/ also ena>les enterrises to ove to a .tility o/el o *o.ting4 here they *an

    s*he/.le a variety o ali*ations a*ross a heterogeneo.s ool o availa>le reso.r*es

    a.toati*ally han/le seasonal or,loa/s ith high ei*ien*y4 .tiliGation4 an/ le'i>ility

    /ynai*ally allo*ate4 rovision4 or a*J.ire a//itional *o.ting reso.r*es or

    a//itional ali*ations an/ loa/s

    e'e*.te a*ross a /iverse set o environents4 ranging ro virt.al a*hines to >are-

    etal har/are to *lo./->ase/ inrastr.*t.re

    &( """.redhat.co#

  • 8/14/2019 Ciab Howto

    36/193

    ) ProofofConcet S+ste# Confiuration+his roo-o-*on*et or /eloying the Re/ 3at inrastr.*t.re or a rivate *lo./ .se/ the*onig.ration shon in Fiure 1!*orise/ o

    1 9nrastr.*t.re anageent servi*es4 eg4 Re/ 3at Netor, R3N Satellite4 Re/ 3at5nterrise Virt.aliGation :anager R35V-:4 DNS servi*e4 D3CP servi*e4 Pility

    2 A ar o R35V host systes either in the or o R35V 3yervisors or asR35!IV: to r.n tenantsK V:s

    % Sale R35 ali*ations4 H)oss ali*ations an/ :R= =ri/ ali*ations/eloye/ in the tenant V:s

    """.redhat.co# &)

    Figure 12

  • 8/14/2019 Ciab Howto

    37/193

    9.1 (ard%are Configuration

    Hard"are S+ste#s Secifications

    6A$ S+ste#@1 * HP Pro5iant /5(-( =!

    M.a/ So*,et4 D.al Core4 8 *oresA:D (teron 8222 S5 %0 =3G 4 72=) RA:

    $ ' 72 =) SAS 1#I internal /is, /rives

    2 ' )roa/*o )C:#706 =iga>it 5thernet Controller

    4anae#ent Cluster 6odes

    @! * HP Pro5iant /5(-0 =(

    M.a/ So*,et4 M.a/ Core 16 *ores

    9ntelB

  • 8/14/2019 Ciab Howto

    38/193

    9.2 Soft%are Configuration

    Soft"are Version

    Re/ 3at 5nterrise in.' R35## )eta

    2618-1"1el# ,ernel

    Re/ 3at 5nterrise Virt.aliGation R35V 22 )eta

    Re/ 3at Netor, R3N Satellite #%

    H)oss 5nterrise Ali*ation Plator 5AP #0

    H)oss (erations Netor, H(N 22

    Re/ 3at 5nterrise :R= =ri/ 12

    Table 2: .oft/are #onfiguration

    """.redhat.co# &-

  • 8/14/2019 Ciab Howto

    39/193

    9.$ Storage Configuration

    Hard"are Secifications

    1 * HP Storaeors 4SA!&!'fcFi%re Channel Storae Arra+ D

    HP Storaeors ,0 4odular S#artArra+ "ith /ual /o#ain IO 4odule

    @!'D!( * 1')=? 10 RP4 SAS diss

    Storage ControllerCo/e Version :100R18oa/er Co/e Version 1"006

    :eory ControllerCo/e Version &%00R22

    :anageent ControllerCo/e Version ;$$0R20oa/er Co/e Version 1201#

    5'an/er ControllerCo/e Version 10%6

    CPD Co/e Version 8

    3ar/are Version #6

    1 * HP Storaeors '91)SA6 S"itch

    &irare v#%0

    1 * HP Storaeors -9'0SA6 S"itch

    &irare v610a

    Table 3: .torage -ard/are

    +he :SA2%2$* array as *onig.re/ ith o.r 11-/is, RA9D6 v/is,s4 ea*h ith sares

    create vdisk level r6 disks 1.1-11 spare 1.12 VD1 create vdisk level r6 disks 1.13-23 spare 1.24 VD2 create vdisk level r6 disks 2.1-11 spare 2.12 VD3 create vdisk level r6 disks 2.13-23 spare 2.24-25 VD4

    &3 """.redhat.co#

    http://h10010.www1.hp.com/wwpc/us/en/sm/WF25a/12169-304616-3930445-3930445-3930445-3355734.htmlhttp://h10010.www1.hp.com/wwpc/us/en/sm/WF25a/12169-304616-3930445-3930445-3930445-3355734.htmlhttp://h10010.www1.hp.com/wwpc/us/en/sm/WF25a/12169-304616-3930445-3930445-3930445-3355734.htmlhttp://h10010.www1.hp.com/wwpc/us/en/sm/WF25a/12169-304616-3930445-3930445-3930445-3355734.html
  • 8/14/2019 Ciab Howto

    40/193

    UNs ere *reate/ an/ resente/ as o.tline/ in the olloing ta>le

    Volu#e Si2e Presentation Purose

    sat/is, %00 =) :anageent Cl.ster Satellite Server V: (S /is,

    l.*i/is, 20 =) :anageent Cl.ster .*i server V: (S /is,

    J/is, #0 :) :anageent Cl.ster :anageent Cl.ster M.or.

    @on/is, $0 =) :anageent Cl.ster H(N V: (S Dis,

    gtvirt/is, %00 =) :anageent Cl.ster :anageent Virt.aliGation Storage

    rhev/is, %0 =) :anageent Cl.ster R35V-: (S Dis,

    rhev-ns-s %00 =) :anageent Cl.ster R35V-: 9S( i>rary

    rhev-storage 1 +) 3yervisor 3osts R35V-: Storage Pool

    Table 4: L #onfiguration

    As an e'ale4 the olloing *oan/s ere .se/ to *reate the %0 =) rhev/is, UN an/resent it e'*l.sively to ea*h 3)A in the anageent *l.ster no/es

    create volume rhevm-vm vdisk VD4 size 30GB lu 0! map volume rhevm-vm access r" ports a1#a2#$1#$2 lu 0! host

    moet%host0#de&as%host0#de&as%host1#moet%host1 umap volume rhevm-stora&e

    """.redhat.co# '0

  • 8/14/2019 Ciab Howto

    41/193

    9.4 5et%or Configuration+he *oonents o this *lo./ inrastr.*t.re ere stage/ in a rivate s.>net4 alloing theenvironent *olete *ontrol o the netor, eg4 D3CP4 DNS4 an/ >y 9+ or *hanges to s.ort a segent hi*h they o.l/ not aintain an/ *ontrol (ther*onig.rations are s.orte/ >.t this one as the ost tie ei*ient or this e'er*ise

    ;hile the inrastr.*t.re is in a rivate s.>-net4 a**ess to an/ ro the systes to the*olete netor, is reJ.ire/ +his as han/le/ >y *onig.ring a syste that has netor,*onne*tions to >oth the rivate s.>net an/ the .>li* netor, +his a*hine serve/ as agateay >eteen the netor,s >y *onig.ring ita>les to eror Netor, A//ress+ranslation NA+ A syste as *onig.re/ to a*t as a NA+ .sing the to a//ress172221%12#$ as a gateay an/ a netor, /oain nae ora.rh.com

    +he initial estiate/ 9P reJ.ireent as aro'iately 1000 a//ress in an R&C 1"18a//ress allo*ation or rivate internet a//ress sa*e +he /e*ision as a/e to .se a *lass) netor, hi*h o.l/ >e in the 17216B12 sa*e +his n.>er o a//resses reJ.ires a 22->it s.>net as, eg4 17220128B2##2##2#20 hi*h yiel/s a//resses 172201280thro.gh 172201%12##

    '1 """.redhat.co#

  • 8/14/2019 Ciab Howto

    42/193

    , /elo+in Cloud Infrastructure Services+his se*tion rovi/es a set o /etail a*tions reJ.ire/ to *onig.re Re/ 3at ro/.*ts that*onstit.te the inrastr.*t.re .se/ or a rivate *lo./

    +he goal is to *reate a set o highly availa>le *lo./ inrastr.*t.re anageent servi*es+hese *lo./ anageent servi*es ill then >e .se/ to set . the *lo./ hosts4 the V:s ithinthose hosts an/ inally loa/ ali*ations in those V:s

    3igh availa>ility is a*hieve/ >y *l.stering to R35 no/es a*tive B assive .sing the Re/3at Cl.ster S.ite R3CS 5a*h o the *l.ster no/es is set . to r.n R35 ## ith the>.n/le/ IV: hyervisor &or ost anageent servi*es a V: is *reate/ .sing the IV:hyervisor an/ not R35V-: an/ *onig.re/ as an R3CS servi*e An/ then the anageentservi*e in installe/ in the V:4 eg4 R3N Satellite V:4 H(N V: A high level al,-thro.gh othe stes to *reate these highly availa>le *lo./ inrastr.*t.re anageent servi*es isresente/ >elo

    1 9nstall R35 ! IV: on a no/e

    2 Use Virt-anager to *reate a V:

    % 9nstall R3N Satellite in the V: Satellite V:

    $ Syn*hroniGe Satellite ith R3N F /onloa/ a*,ages ro all aroriate *hannels B*hil/ *hannels

    )ase R35 #

    Cl.stering R3CS4 T

    Cl.ster storage =&S4 T

    Virt.aliGation IV:4 T

    R3N +ools

    R35V anageent agents or R35 hosts# Use .lti-organiGation s.ort in Satellite - *reate a +enantL organiGation an/

    :anageentL organiGation

    6 Conig.re *o>>ler

    Conig.re *o>>lerLs anageent o D3CP

    Conig.re *o>>lerLs anageent o DNS

    Conig.re *o>>lerLs anageent o P

  • 8/14/2019 Ciab Howto

    43/193

    12:a,e *lo./ inrastr.*t.re anageent servi*es *l.stere/ servi*es

    1%)alan*e *l.stere/ servi*es or >etter eroran*e

    1$Conig.re R35V-:

    R35V /ata *enters

    R35V *l.sters ithin the /ata *enters

    '& """.redhat.co#

  • 8/14/2019 Ciab Howto

    44/193

    :.1 5et%or 8ate%ay+he gateay syste renoir.lab.bos.redhat.comas installe/ ith a >asi* *onig.ration o Re/3at 5nterrise in.' #$ A/van*e/ Plator an/ ita>les as *onig.re/ to eror netor,a//ress translation to allo *o.ni*ation >eteen the rivate s.>net an/ the .>li*

    netor,

    +he olloing /etails the ro*e/.re or this *onig.ration

    1 9nstall Re/ 3at 5nterrise in.' #$ A/van*e/ Plator

    a Use o>vio.s naing *onvention or oerating syste vol.e gro. eg4NATVG

    > 5'*l./e all sotare gro.s hen sele*ting sotare *oonents

    * ;hen rote/4 *onig.re the reerre/ netor, intera*e .sing D3CP

    / Set S5in.' to erissive o/e

    e Disa>le the ireall ita>les

    2 Conig.re Se*.re Shell ssh ,eys

    """.redhat.co# ''

    Figure 13

  • 8/14/2019 Ciab Howto

    45/193

    % +o revent/etc/resolv.confro >eing overritten >y D3CP4 *onvert eth0/etc/sysconfig/networ!scri"t/ifcfg!eth0 to a stati* 9P

    DEVICE=eth0BOOTPROTO=static

    NETMASK=255.255.248.0IPADDR=10.16.41.102!ADDR=00"1E"0B"BB"42"#0ONBOOT=$esT%PE=Ethe&'et

    $ Conig.re eth#/etc/sysconfig/networ!scri"t/ifcfg!eth# ith gateay a//ress or therivate s.>net

    DEVICE=eth1BOOTPROTO=staticNETMASK=255.255.252.0IPADDR=1#2.20.1(1.254!ADDR=00"1E"0B"BB"42"#2T%PE=Ethe&'etONBOOT=$es

    # U/ate/etc/hostsith ,non a//resses or NA+4 DNS4 et*

    6 +o >e a>le to sear*h >oth .>li* an/ rivate netor,s4 e/it/etc/resolv.confto *ontainthe olloing

    sea&ch &a.&h.c*+,-a.*s.&e/hat.c*+'a+ese&e& 1#2.20.128.(5 sate--ite s$ste+'a+ese&e& 10.16.(6.2'a+ese&e& 10.16.255.2'a+ese&e& 10.16.255.(

    7 5/it/etc/sysclt.conf Set net.i"v$.i"%forward

    8 5na>le4 *onig.re an/ save ita>les settings .sing the olloing *oan/s chkco'i& ipta$les o service ipta$les o ipta$les -( ipta$les -t at -( ipta$les -t ma&le -( ipta$les -t at -) *+,+/G -o eth0 - ),/)D ipta$les -) (+)D -i eth1 - )77* service ipta$les save

    '( """.redhat.co#

    http://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.confhttp://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.confhttp://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.confhttp://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.confhttp://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.confhttp://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.conf
  • 8/14/2019 Ciab Howto

    46/193

    :.2 !nstall ;irst anagement 5ode9nstall an/ *onig.re the irst o the no/es that ill *orise the anageent servi*es *l.ster

    1 Disa>le i>re *hannel *onne*tivity ith syste eg4 sit*h ort /isa>le4 *a>le .ll43)A /isa>le4 et*

    2 9nstall Re/ 3at 5nterrise in.' ## A/van*e/ Plator

    a Use o>vio.s naing *onvention or oerating syste vol.e gro. eg4Clo./V=

    > 9n*l./e the Cl.stering an/ Virt.aliGation sotare gro.s hen sele*ting sotare*oonents

    * Sele*t the 'stomi)e Nowotion an/ highlight the Virt.aliGation entry at letChe*, the >o' or *V+ 5ns.re Virtali)ationis .n*he*,e/

    / ;hen rote/4 *onig.re the reerre/ netor, intera*e .sing

    a stati* 9P the NA+ server 9P a//ress as a /ea.lt ro.te 9P a//resses or lo*ally *onig.re/ DNS

    """.redhat.co# ')

    Figure 14

  • 8/14/2019 Ciab Howto

    47/193

    e Set S5in.' to erissive o/e

    5na>le the ireall ita>les leaving orts oen or ssh4 htt4 an/ htts

    % Conig.re Se*.re Shell ssh ,eys

    $ U/ate/etc/hostsith ,non a//resses or NA+4 DNS4 et*

    # :o/iy/etc/resolv.confto *ontain the olloingsea&ch &a.&h.c*+'a+ese&e& 1#2.20.128.(5 sate--ite s$ste+ IP

    6 Conig.re N+P .sing the olloing *oan/s service tpd start chkco'i& tpd o

    7 :o/iy ireall r.les to in*l./e oenais4 rganager4 ri**i4 /l4 *ss/4 an/ vn* .sing theolloing *oan/s

    ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p udp --dport 5404#5405 - )77* 9 opeais ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p tcp --dports 41:66#41:6!#41:6;#41:6: - )77* 9 r&maa&er ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p tcp --dports 11111 - )77* 9 ricci ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p tcp --dports 21064 - )77* 9 dlm ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p tcp --dports 50006#5000;#5000: - )77* 9 cssd ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p udp --dports 5000! - )77* 9 cssd ipta$les - 8-(ire"all-1-*/ -m state --state -p tcp

    --destiatio-port 5:00 - )77* 9 vc ipta$les - 8-(ire"all-1-*/ -m state --state -p tcp

    --destiatio-port 5;00 - )77* 9 vc service ipta$les save

    8 Disa>le ACP9D chkco'i& acpid o''

    " Conig.re /evi*e-aer

    a 5na>le /evi*e-aer .ltiathing .sing the olloing *oan/s oot the no/e

    ', """.redhat.co#

    http://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.confhttp://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.confhttp://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.confhttp://irish.lab.bos.redhat.com/pub/projects/cloud/resources/resolv.conf
  • 8/14/2019 Ciab Howto

    48/193

    ,.& Create Satellite S+ste#+he satellite syste rovi/es the *onig.ration anageent o the Re/ 3at 5nterrise in.'syste an/ is the netor, aintainer o D3CP4 DNS an/ Pri/ge to allo sharing

    a Create netor, >ri/ge or virt.aliGation Create >ri/ge *onig.ration ile/etc/sysconfig/networ!scri"ts/ifcfg!cmls0

    DEVICE=c3+3-3s0T%PE=B&i/eBOOTPROTO=staticIPADDR=1#2.20.128.10NETMASK=255.255.252.0ATE!A%=1#2.20.1(1.254ONBOOT=$es

    > :o/iy the e'isting .>li* netor, ile eg4 i*g-eth a// ,-G&cmls0

    """.redhat.co# '-

    Figure 15

  • 8/14/2019 Ciab Howto

    49/193

    *onir ,11T2-1T1&none reoveB*oent o.t any stati* 9P a//ress

    * Restart netor,4 *oniring the >ri/ge *oes online service et"ork restart

    / Re>oot no/e to a,e syste servi*es aare o netor, *hanges

    2 Create storage vol.eeg4 sat%dis o aroriate siGe %00=) See se*tion ).&or greater /etail on a//ing an/ resenting UNs ro storage

    % Create Virt.al :a*hine4 .sing virt-maa&er

    Nae eg4 ra!sat!vm3 Set Virt.aliGation :etho/ 4lly virtali)ed CPU ar*hite*t.re 567%7$ 3yervisor vm Sele*t 8ocal install mediainstallation etho/ (S +ye 8in5 (S Variant -ed 9at nter"rise 8in5 :.$ or later Se*iy reerre/ installation e/ia Se*iy ,loc devicestorage lo*ation eg4 /dev/ma""er/sat%dis Se*iy ;hared "hysical device netor, *onne*tion eg4cmls03 :a' eory 6#= Start. eory 6#= Virt.al CPUs $

    $ 9nstall (S

    Re/ 3at 5nterrise in.' #$ A/van*e/ Plator Use lo*al /evi*e eg4 vda or (S

    Use o>vio.s naing *onvention or (S vol.e gro. eg4 ;atV+VG Desele*t all sotare gro.s Conig.re netor, intera*e eth0ith stati* 9P a//ress Set S5in.' to erissive o/e 5na>le ireall

    # (en reJ.ire/ ireall orts ipta$les - 8-(ire"all-1-*/ -p tcp -m state --state -m tcp

    --dport 53 - )77* 9 D,=amed ipta$les - 8-(ire"all-1-*/ -p udp -m state --state -m udp

    --dport 53 - )77* 9 D,=amed ipta$les - 8-(ire"all-1-*/ -p tcp -m state --state -m tcp

    --dport 6; - )77* 9 D87* clietipta$les - 8-(ire"all-1-*/ -p udp -m state --state -m udp--dport 6; - )77* 9 D87* cliet

    ipta$les - 8-(ire"all-1-*/ -p udp -m state --state -m udp--dport 6: - )77* 9 t'tp

    ipta$les - 8-(ire"all-1-*/ -p tcp -m state --state -m tcp--dport 6: - )77* 9 t'tp

    ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport ;0 - )77*9 8*

    ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport ;0 - )77*

    '3 """.redhat.co#

    http://irish.lab.bos.redhat.com/pub/projects/cloud/CIAB_HOWTO.html#storagehttp://irish.lab.bos.redhat.com/pub/projects/cloud/CIAB_HOWTO.html#storage
  • 8/14/2019 Ciab Howto

    50/193

    9 8* ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport 443 - )77*

    9 8*, ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport 443 - )77*

    9 8*,

    ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport 4545 -)77* 9 8 ,atellite ,erver oitori& ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport 4545 -

    )77* 9 8 ,atellite ,erver oitori& ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport 5222 -

    )77* 9 >** 7liet 7oectio ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport 5222 -

    )77* 9 >** 7liet 7oectio ipta$les - 8-(ire"all-1-*/ -p udp -m state --state -m udp

    --dport 25150 - )77* 9 7o$$ler ipta$les - 8-(ire"all-1-*/ -p tcp -m state --state -m tcp

    --dport 25151 - )77* 9 7o$$ler service ipta$les save

    ,.&.! Confiure /HCP+his initial D3CP *onig.ration ill rovi/e ie/iate .n*tionality an/ >e*oe the >asis othe telate hen *o>>ler is *onig.re/

    1 9nstall the9'2sotare a*,age

  • 8/14/2019 Ciab Howto

    51/193

    *ti*' /*+ai';'a+e ?&a.&h.c*+?: *ti*' /*+ai';'a+e;se&e&s 1#2.20.128.(5:

    *ti*' ti+e;*set ;18000: Easte&' Sta'/a&/ Ti+e

    &a'e 1#2.20.128.1(0 1#2.20.1(1.25(: /ea3-t;-ease;ti+e 21600: +a@;-ease;ti+e 4(200:

    h*st +*'et *ti*' h*st;'a+e ?+*'et.&a.&h.c*+?: ha&/>a&e ethe&'et 00"1E"0B"42"#A: i@e/;a//&ess 1#2.20.128.10: h*st /eas *ti*' h*st;'a+e ?/eas.&a.&h.c*+?: ha&/>a&e ethe&'et 00"21"5A"5C"2E"46:

    i@e/;a//&ess 1#2.20.128.15: h*st &a;sat;+ *ti*' h*st;'a+e ?&a;sat;+.&a.&h.c*+?: ha&/>a&e ethe&'et 54"52"00"6A"(0"CA: i@e/;a//&ess 1#2.20.128.(5: h*st &a;-3ci;+ *ti*' h*st;'a+e ?&a;-3ci;+.&a.&h.c*+?: ha&/>a&e ethe&'et 54"52"00"50"80"0A: i@e/;a//&ess 1#2.20.128.25:

    h*st &a;&he+;+ *ti*' h*st;'a+e ?&a;&he+;+.&a.&h.c*+?: ha&/>a&e ethe&'et 54"52"00"0#"B0"85: i@e/;a//&ess 1#2.20.128.40: h*st &e'*i& *ti*' h*st;'a+e ?&e'*i&.&a.&h.c*+?: ha&/>a&e ethe&'et 00"18"#1"EB"8#"D: i@e/;a//&ess 1#2.20.1(1.254:

    % Che*, the synta' o the /h*/*on ile an/ resolve any iss.es service dhcpd co'i&test

    $ Start the servi*e service dhcpd start chkco'i& dhcpd o

    # )oot a test syste an/ veriy that an aroriate entry is ro/.*e/ in/var/lib/dhc"d/dhc"d.leases

    (1 """.redhat.co#

  • 8/14/2019 Ciab Howto

    52/193

    ,.&.& Confiure /6S1 9nstall DNS sotare an/ relate/ *onig.ration tool

    e /eine/ &orat sho.l/ >e

    W2 AddressX W4lly alified 9ost NameX

    $ 9nvo,e s

  • 8/14/2019 Ciab Howto

    53/193

    ,.&.' Install and Confiure RH6 Satellite Soft"are+his installation ill .se the e>e//e/ /ata>ase or Satellite &or *olete /etails4 reer tothe Re/ 3at Netor, Satellite #%0 9nstallation g.i/e at httBBre/hat*oB/o*sBen-

    USBRe/3atNetor,SatelliteB#%B9nstallation=.i/eBhtlBin/e'htl

    1 Register ra!sat!vmith *entral Re/ 3at Netor, rh%re&ister

    2 (>tain a Satellite *ertii*ate an/ la*e in a ,non lo*ation

    % Donloa/ redhat!rhn!satellite!:.?!server!567%7$!:!embedded!oracle.iso Starting atthe R3N e>site4 sele*t the olloing lin,s Donloa/ Sotare -X e5"andRe/ 3at5nterrise in.' v # or 6$->it '866$ -X Re/ 3at Netor, Satellite v#% or Serverv# A:D6$ B 9ntel6$ -X Satellite #%0 9nstaller or R35-# - 5>e//e/ Data>ase

    $ :o.nt the CD iage mout -o loop =root=redhat-rh-satellite-5.3-server-@;6%64-5-

    em$edded-oracle.iso =media=cdrom

    # Create an anserst't or the installation

    (& """.redhat.co#

    Figure 16

    http://www.redhat.com/docs/en-US/Red_Hat_Network_Satellite/5.3/Installation_Guide/html/index.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Network_Satellite/5.3/Installation_Guide/html/index.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Network_Satellite/5.3/Installation_Guide/html/index.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Network_Satellite/5.3/Installation_Guide/html/index.html
  • 8/14/2019 Ciab Howto

    54/193

    a Coy the sale answers.t5t cp =media=cdrom=istall=as"ers.t@t =tmp=

    > 5/it the *oie/ ile a//ressing all the olloing reJ.ire/ iel/s an/ any /esire/otional iel/s4 reer to Aendi* A: or the e'ale .se/

    a/in-eail SS /ata

    ssl-set-org ssl-set-org-.nit ssl-assor/ ssl-set-org ssl-set-*ity ssl-set-state ssl-set-*o.ntry ssl-assor/

    satellite-*ert-ile ssl-*onig-sslvhost

    6 Start installation cd =media=cdromA .=istall.pl --as"er-'ile=tmp=as"ers.t@t

    7 Ater *oletion o installation4 /ire*t a ;e> >roser to the /islaye/ a//ress an/eror the olloing stes

    a Create Satellite A/inistrator

    > =eneral Conig.ration

    * R3N Satellite Conig.ration E :onitoring

    / R3N Satellite Conig.ration E )ootstra

    e R3N Satellite Conig.ration E Restart

    8 Preare *hannelsa ist a.thoriGe/ *hannels

    satellite-s Donloa/ >ase *hannel *o.l/ ta,e several ho.rs satellite-s

  • 8/14/2019 Ciab Howto

    55/193

    Desire/ ogin Desire/ Passor/ Conir Passor/ 5ail

    &irst Nae ast Nae

    2 Ater sele*ting 'reate 1rgani)ationthe ;ystem ntitlement age ill >e /islaye/9n.t the n.>er o entitleents or ea*h entitleent tye this organiGation ill >eallo*ate/ an/ sele*t @"date 1rgani)ation.

    % Navigate to the ;oftware 'hannel ntitlementsage U/ate the *hannel entitleentallo*ation or all *hannels

    $ Navigate to the Trstsage Sele*t to tr.st all organiGations an/ sele*t +odify Trsts

    ,.&.) Confiure Custo# Channels for RHE5 (.( ?eta

    1 Create ne *hannel or ea*h o the olloing rhel#-#-'866$-server Y>ase *hannelZ rhel#-#-'866$-vt rhel#-#-'866$-*l.ster rhel#-#-'866$-*l.sterstorage

    a Starting at the satellite hoe age4 sele*t the olloing lin,s 'hannels !> +anage;oftware 'hannels !> create new channelan/ rovi/e the inoration >elo orea*h *hannel *reate/

    Channel Nae

    Channel a>el Parent Channel YNonein/i*ates >ase *hannelZ Parent Channel Ar*hite*t.re eg4 567%7$ Channel S.ary (rganiGation Sharing eg4"blic

    2 Pla*e a*,ages into *reate/ *hannels E ass.es /istri>.tion has >een a/e availa>le.n/er/distro

    rhpush -v -c rhel5-5-@;6%64-server --serverhttpC==localhost=)**--dir=distro=rhel5-server-@;6%64=,erver -u admi -p

    rhpush -v -c rhel5-5-@;6%64-vt --serverhttpC==localhost=)**--dir=distrorhel5-server-@;6%64=V -u admi -p

    rhpush -v -c rhel5-5-@;6%64-cluster --serverhttpC==localhost=)**--dir=distro=rhel5-server-@;6%64=7luster -u admi -p

    rhpush -v -c rhel5-5-@;6%64-clusterstora&e--serverhttpC==localhost=)** --dir=distro=rhel5-server-@;6%64=7luster,tora&e -u admi -p

    % Clone the R3N +ools *hil/ *hannel as a R35#-# *hil/ *hannela Starting at Satellite 3oe4 sele*t the olloing lin,s 'hannels !> +anage ;oftware

    'hannels !> clone channel Clone &ro -ed 9at Networ Tools for -98 ;erver (v.: 7$!bit 567%7$3

    (( """.redhat.co#

  • 8/14/2019 Ciab Howto

    56/193

    Clone 'rrent state of the channel (all errata3 Cli*, 'reate 'hannel

    9n the etailsage /islaye/ Parent Channel eg4 rhel:!:!567%7$!server3

    Channel Nae se "rovided or s"ecify name Channel a>el se "rovided or s"ecify label )ase Channel Ar*hite*t.re 567%7$ Channel S.ary se "rovided or s"ecify smmary 5nter any otional non asteris, inoration as /esire/ Cli*, 'reate 'hannel

    (n re-/islaye/ etailsage (rganiGational Sharing 2blic Cli*, @"date 'hannel

    $ :a,e /istri>.tion ,i*,starta>lea Starting at Satellite 3oe4 sele*t the olloing lin,s ;ystems !> *icstart !>

    istribtions !> create new distribtions Distri>.tion a>el eg4 rhel:!:%567!7$3 +ree Path /distro/rhel:!server!567%7$ )ase Channel rhel:!:!567%7$!server 9nstaller =eneration -ed 9at nter"rise 8in5 : YotionalZ *ernel 1"tionsan/ 2ost *ernel 1"tions 'reate *icstart istribtion

    ,.&., Co%%lerR3N Satellite in*l./es the Co>>ler server that allos a/inistrators to *entraliGe their syste

    installation an/ rovisioning inrastr.*t.re Co>>ler is an installation server that *olle*ts thevario.s etho/s o eroring .natten/e/ syste installations4 hether it >e server4

    or,station4 or g.est systes in a .ll or ara-virt.aliGe/ set. Co>>ler has several tools toassist in re-installation g.i/an*e4 ,i*,start ile anageent4 *ontent *hannel anageent4an/ ore

    ,.&.,.1 Confiure Co%%ler

    +he stes liste/ in this se*tion eror the initial stes to *onig.re *o>>ler +he se*tions thatollo ill rovi/e the ro*e/.re or *o>>lerKs anageent o a//itional servi*es

    1 Conig.re the olloing settings in/etc/cobbler/settings +he *olete settings ile *an

    >e o.n/ in Aen/i' A.! re/hatanageentserver ra!sat!vm.ra.rh.com server ra!sat!vm.ra.rh.com registerneinstalls # re/hatanageenttye site D( N(+ set s*tra*,ena>le/ 14 .nless git has >een installe/

    2 5na>le S5in.' to all 3++PD e> servi*e *oonents setse$ool -* httpd%ca%et"ork%coect true

    """.redhat.co# ()

  • 8/14/2019 Ciab Howto

    57/193

    % Che*, the *onig.ration4 ignore arning a>o.t version o reosyn* co$$ler check

    $ Syn*hroniGe *o>>ler *ontrolle/ iles co$$ler se o.n/ in Aen/i' A.!

    anage/h* # /h*/>in/sr/sbin/dhc"d /h*/*on/etc/dhc"d.conf restart/h* #

    2 Veriy Y/h*Z se*tion o/etc/cobbler/modles.confis set as modle & manage%isc

    % Create/etc/cobbler/dhc".tem"late>ase/ on e'isting/etc/dhc"d.conf*reate/ earlierith a//itional se*tion o a*ros to a// anage/ systes as shon in the e'*ert>elo

    DCP Se&e& C*'i3&ati*' i-e. see 73s&7sha&e7/*c7/hc97/hc/.c*'.sa+-ea3th*&itie://'s;3/ate;st$-e i'te&i+:i'*&e c-ie't;3/ates:

    s3'et 1#2.20.128.0 'et+as< 255.255.252.0

    . . .

    h*st &e'*i& *ti*' h*st;'a+e ?&e'*i&.&a.&h.c*+?: ha&/>a&e ethe&'et 00"1E"0B"BB"42"#2: i@e/;a//&ess 1#2.20.1(1.254: *& /hcta i' /hctas.a&e ethe&'et +ac: i iace.ia//&ess"

    (, """.redhat.co#

  • 8/14/2019 Ciab Howto

    58/193

    i@e/;a//&ess iace.ia//&ess: e'/ i i iace.h*st'a+e" *ti*' h*st;'a+e ?iace.h*st'a+e?: e'/ i

    e'/ *&e'/ *&

    6 Syn*hroniGe *o>>ler *ontrolle/ iles co$$ler s

  • 8/14/2019 Ciab Howto

    59/193

    statistics;i-e ?7a&7'a+e/7/ata7'a+e/stats.t@t?::H*'e ?.? IN t$e hi't: i-e ?'a+e/.&**t?::H*'e ?-*ca-/*+ai'.? IN t$e +aste&: i-e ?-*ca-/*+ai'.H*'e?: a--*>;3/ate '*'e: ::H*'e ?-*ca-h*st.? IN t$e +aste&: i-e ?-*ca-h*st.H*'e?: a--*>;3/ate '*'e: ::H*'e ?0.0.12#.i';a//&.a&a.? IN

    t$e +aste&: i-e ?'a+e/.-*ca-?: a--*>;3/ate '*'e: ::H*'e ?0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.i6.a&a.? IN t$e +aste&: i-e ?'a+e/.i6.-*ca-?: a--*>;3/ate '*'e: ::H*'e ?255.i';a//&.a&a.? IN t$e +aste&: i-e ?'a+e/.&*a/cast?:

    a--*>;3/ate '*'e: ::H*'e ?0.i';a//&.a&a.? IN t$e +aste&: i-e ?'a+e/.He&*?: a--*>;3/ate '*'e: ::*& H*'e i' *&>a&/H*'esH*'e ?H*'e.? t$e +aste&: i-e ?H*'e?::

    e'/ *&*& H*'e, a&a i' &ee&seH*'esH*'e ?a&a.? t$e +aste&: i-e ?H*'e?::e'/ *&i'c-3/e 7etc7&'/s.

  • 8/14/2019 Ciab Howto

    60/193

    $ 6ote [one iles ill >e nae/ as se*iie/ in/etc/cobbler/settings4 *hange/ ro theoriginal nae se*iie/ in Betc/named.conf

    # Create Gone telates

    a Create/etc/cobbler/)one%tem"lates

    mkdir =etc=co$$ler=zoe%templates> Coy Gone iles or the anage/ Gones ro/var/namedto

    /etc/cobbler/)one%tem"lates*hanging to se*iie/ nae an/ aen/ingBhost%record to the en/ o the *ontents o ea*h ile

    6 Syn*hroniGe *o>>ler *ontrolle/ iles co$$ler s>ler *ontrolle/ iles co$$ler s

  • 8/14/2019 Ciab Howto

    61/193

    ,.' ?uild 5uci V4Create an/ *onig.re the virt.al a*hine on hi*h l.*i ill r.n or *l.ster anageent

    1 (n a anageent *l.ster no/e4 *reate netor, >ri/ge or *l.ster inter*onne*t

    Create >ri/ge *onig.ration ile/etc/sysconfig/networ!scri"ts/ifcfg!ic0DEVICE=ic0BOOTPROTO='*'eONBOOT=$esT%PE=B&i/e

    IPADDR=IP a//&essLNETMASK=IP +as

  • 8/14/2019 Ciab Howto

    62/193

    Re>oot no/e to a,e syste servi*es aare o netor, *hanges

    2 Create storage vol.eeg4 lci%dis o aroriate siGe 20=) See se*tion ).&or greater /etail on a//ing an/ resenting UNs ro storage

    % Using virt-maa&er4 *reate the l.*i V: .sing the olloing in.t

    Nae ra!lci!vm Set Virt.aliGation :etho/ 4lly virtali)ed CPU ar*hite*t.re 567%7$ 3yervisor vm Sele*t 8ocal install mediainstallation etho/ (S +ye 8in5 1; VariantC -ed 9at nter"rise 8in5 :.$ or later Se*iy reerre/ installation e/ia Se*iy ,loc devicestorage lo*ation eg4 /dev/ma""er/lci%dis Se*iy ;hared "hysical device netor, *onne*tion eg4cmls03 :a' eory =0$6 Start. eory =0$6 Virt.al CPUs =

    $ 9nstall (S

    Re/ 3at 5nterrise in.' ## A/van*e/ Plator Use lo*al /evi*e eg4 vda or (S Use o>vio.s naing *onvention or (S vol.e gro. eg4 8ciV+VG Desele*t all sotare gro.s Conig.re netor, intera*e eth0ith stati* 9P a//ress Set S5in.' to erissive o/e 5na>le ireall

    # (en ireall orts 804 $$%4 an/ 808$ ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport ;0 - )77* ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport ;0 - )77* ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport 443 - )77* ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport 443 - )77* ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport ;0;4 -

    )77* 9 luci ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport ;0;4 -

    )77* 9 luci service ipta$les save

    """.redhat.co# )!

    http://irish.lab.bos.redhat.com/pub/projects/cloud/CIAB_HOWTO.html#storagehttp://irish.lab.bos.redhat.com/pub/projects/cloud/CIAB_HOWTO.html#storage
  • 8/14/2019 Ciab Howto

    63/193

  • 8/14/2019 Ciab Howto

    64/193

    / ;hen rote/4 *onig.re the reerre/ netor, intera*e .sing

    a stati* 9P the NA+ server 9P a//ress as a /ea.lt ro.te 9P a//resses or lo*ally *onig.re/ DNS

    e Set S5in.' to erissive o/e 5na>le the ireall ita>les leaving orts oen or ssh4 htt4 an/ htts

    % Conig.re Se*.re Shell ssh ,eys

    $ U/ate/etc/hostsith ,non a//resses or NA+4 DNS4 et*

    # 5/it/etc/resolv.confto *ontain the olloingsea&ch &a.&h.c*+'a+ese&e& 1#2.20.128.(5 sate--ite s$ste+ IP

    6 Conig.re N+P .sing the olloing *oan/s service tpd start

    chkco'i& tpd o7 :o/iy ireall r.les to in*l./e oenais4 rganager4 ri**i4 /l4 *ss/4 an/ vn* .sing the

    olloing *oan/s ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p udp --dport 5404#5405 - )77* 9 opeais ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p tcp --dports 41:66#41:6!#41:6;#41:6: - )77* 9 r&maa&er ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p tcp --dports 11111 - )77* 9 ricci ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p tcp --dports 21064 - )77* 9 dlm ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p tcp --dports 50006#5000;#5000: - )77* 9 cssd ipta$les - 8-(ire"all-1-*/ -m state --state -m multiport

    -p udp --dports 5000! - )77* 9 cssd ipta$les - 8-(ire"all-1-*/ -m state --state -p tcp

    --destiatio-port 5:00 - )77* 9 vc ipta$les - 8-(ire"all-1-*/ -m state --state -p tcp

    --destiatio-port 5;00 - )77* 9 vc service ipta$les save service ipta$les restart

    8 Disa>le ACP9 /aeon to allo an integrate/ en*e /evi*e to sh.t /on a serverie/iately rather than atteting a *lean sh.t/on

    chkco'i& acpid o''

    " Conig.re /evi*e-aer

    a 5na>le /evi*e-aer .ltiathing .sing the olloing *oan/s

  • 8/14/2019 Ciab Howto

    65/193

    10 Create *l.ster inter*onne*t >ri/ge/ netor,

    Create >ri/ge *onig.ration ile/etc/sysconfig/networ!scri"ts/ifcfg!ic0DEVICE=ic0BOOTPROTO='*'e

    ONBOOT=$esT%PE=B&i/eIPADDR=IP a//&essLNETMASK=IP +asli* netor, ile eg4 i*g-eth a// ,-G&cmls0 *onir ,11T2-1T1&none reoveB*oent o.t any stati* 9P a//ress

    * Restart netor,4 *oniring the >ri/ge *oes online service et"ork restart

    12 5na>le i>re *hannel *onne*tivity /isa>le/ in ste 1

    1% Re>oot to /is*over i>re *hannel /evi*es an/ a,e syste servi*es aare o netor,*hanges

    )( """.redhat.co#

    http://irish.lab.bos.redhat.com/pub/projects/cloud/resources/ifcfg-ic0http://irish.lab.bos.redhat.com/pub/projects/cloud/resources/ifcfg-ic0http://irish.lab.bos.redhat.com/pub/projects/cloud/resources/ifcfg-ic0
  • 8/14/2019 Ciab Howto

    66/193

    :.9 Configure R(CSNo that the *l.stering sotare is resent on the targete/ *l.ster no/es an/ the l.*i server4the *l.stering agent an/ server o/.les *an >e engage/

    1 Start the ri**i servi*e on ea*h server that ill @oin the *l.ster service ricci start

    2 (n the reote server on hi*h l.*i as installe/4 an a/inistrative assor/ .st >eset .sing luci%admi >eore the servi*e *an >e starte/

    luci%admi iit

    % Restart l.*i service luci restart

    """.redhat.co# ))

    Figure 1(

  • 8/14/2019 Ciab Howto

    67/193

    $ +he irst tie l.*i is a**esse/ via a e> >roser at httsBB808$4the .ser ill nee/ to a**et to SS *ertii*ates >eore >eing /ire*te/ to the loginage

    # 5nter the login nae an/ *hosen assor/ to vie the lci home "age.

    6 9n the .*i 3oe age4 *li*, on the clsterta> at the to o the age an/ then on'reate a New 'lsterro the en.>ar on let 9n the *l.ster *reation in/o4 enterthe reerre/ nae or the *l.ster 1# *har a'4 the host naes assigne/ to the lo*alinter*onne*t o ea*h server an/ their root assor/s +his in/o also rovi/esotions to

    .se the *l.stering sotare alrea/y resent on the syste or /onloa/ thereJ.ire/ a*,ages

    ena>le share/ storage s.ort re>oot the systes rior to @oining the ne *l.ster

    *he*, to veriy that syste assor/s are i/enti*al vie the SS *ertii*ation ingerrints o ea*h server

    7 Note that it is ossi>le to .se the e'ternal hostnaes o the servers to >.il/ a *l.ster+his eans that the *l.ster ill >e .sing the .>li* AN or its inter-no/e*o.ni*ations an/ heart>eats 9t also eans that the server r.nning l.*i ill nee/ to>e a>le to a**ess the *l.stere/ systes on the sae .>li* AN A saer an/ orehighly re*oen/e/ *onig.ration is to .se the inter*onne*t naes or their 9Pa//resses hen >.il/ing the *l.ster +his ill reJ.ire that the l.*i server also have a

    ), """.redhat.co#

  • 8/14/2019 Ciab Howto

    68/193

    *onne*tion to the rivate AN an/ ill reove any ossi>ilities o .>li* 9( trai*interering ith the *l.ster a*tivities

    8 Cli*, the ;bmit>.tton to /onloa/ i sele*te/ an/ install the *l.ster sotarea*,ages onto ea*h no/e4 *reate the *l.ster *onig.ration ile4 roagate the ile to

    ea*h *l.ster e>er4 an/ start the *l.ster +his ill then /islay the ain *onig.rationin/o or the nely *reate/ *l.ster +he Generalta> shon >elo /islays *l.sternae an/ rovi/es a etho/ or o/iying the *onig.ration version an/ a/van*e/*l.ster roerties

    " +he 4enceta> ill /islay the en*e an/ eteen 20 an/ %0se*on/s4 >.t *an vary to .ser reeren*e &or this eort4 the /ea.lt 2ost!Eoin elay

    as set to %0 se*on/s hile /ea.lt val.es ere .se/ or the other araeters Set the2ost!Eoin elayval.e as reerre/ an/ *li*,A""ly

    10+he +lticastta> /islays the .lti*ast *onig.ration in/o +he /ea.lt otion to8et clster choose the mlticast address is sele*te/ >e*a.se Re/ 3at Cl.ster sotare*hooses the .lti*ast a//ress or anageent *o.ni*ation a*ross *l.stere/no/es 9 the .ser .st .se a se*ii* .lti*ast a//ress4 *li*, ;"ecify the mlticast

    """.redhat.co# )-

  • 8/14/2019 Ciab Howto

    69/193

    address manallyFenter the a//ress an/ *li*,A""lyor *hanges to ta,e ee*t(therise4 leave the /ea.lt sele*tions alone

    11+he orm 2artitionta> /islays the J.or. artition *onig.ration in/oReeren*e the 'onsiderations for @sing orm isan/ Global 'lster 2ro"erties

    se*tions o Conig.ring an/ :anaging a Re/ 3at Cl.ster or .rther *onsi/erationsregar/ing the .se o a *l.ster J.or. /evi*e +o .n/erstan/ the .se o J.or. /is,araeters an/ he.risti*s4 reer to the diskE5Fan age

    Create storage vol.eeg4 dis o aroriate siGe #0:) See se*tion ).&orgreater /etail on a//ing an/ resenting UNs ro storage

    +he mkdisk*oan/ ill *reate the J.or. artition Se*iy the /evi*e an/ a.niJ.e i/entiying la>el

    mkdisk -c =dev=mapper=disk -l %disk

    No that aroriate la>el has >een assigne/ to the J.or. artition or /is,4 *onig.re

    the nely la>ele/ %disas the *l.ster J.or. /evi*e

    (n*e the reerre/ J.or. attri>.tes has >een entere/ an/ any /esire/ he.risti*s4

    )3 """.redhat.co#

    http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Cluster_Administration/index.htmlhttp://irish.lab.bos.redhat.com/pub/projects/cloud/CIAB_HOWTO.html#storagehttp://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Cluster_Administration/index.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Cluster_Administration/index.htmlhttp://irish.lab.bos.redhat.com/pub/projects/cloud/CIAB_HOWTO.html#storage
  • 8/14/2019 Ciab Howto

    70/193

    an/ their rese*tive s*ores4 have >een /eine/4 *li*, Aly to *reate the J.or./evi*e 9 .rther inoration regar/ing J.or. artition /etails an/ he.risti*s isreJ.ire/4 lease reeren*e

    the 'onsiderations for @sing orm isan/ Global 'lster 2ro"ertiesse*tions o Conig.ring an/ :anaging a Re/ 3at Cl.ster

    the Cl.ster Pro@e*t &AM

    Re/ 3at Inole/ge>ase Arti*le 9D 1%%1#

    the diskE5Fan age

    12 (n*e the initial *l.ster *reation has *olete/4 *onig.re ea*h o the *l.stere/ no/es

    """.redhat.co# ,0

    http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Cluster_Administration/index.htmlhttp://sources.redhat.com/cluster/faq.htmlhttp://kbase.redhat.com/faq/FAQ_46_13315.shtmhttp://kbase.redhat.com/faq/FAQ_46_13315.shtmhttp://kbase.redhat.com/faq/FAQ_46_13315.shtmhttp://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Cluster_Administration/index.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Cluster_Administration/index.htmlhttp://sources.redhat.com/cluster/faq.htmlhttp://kbase.redhat.com/faq/FAQ_46_13315.shtmhttp://kbase.redhat.com/faq/FAQ_46_13315.shtmhttp://kbase.redhat.com/faq/FAQ_46_13315.shtm
  • 8/14/2019 Ciab Howto

    71/193

    1% A ailover /oain is a *hosen s.>set o *l.ster e>ers that are eligi>le to r.n a*l.ster servi*e in the event o a no/e ail.re &ro the *l.ster /etails in/o4 *li*,4ailover omainsan/ thenAdd a 4ailover omain

    ,1 """.redhat.co#

  • 8/14/2019 Ciab Howto

    72/193

    1$ Cli*, on the 4enceta> to *onig.re a &en*e Daeon

    """.redhat.co# ,!

  • 8/14/2019 Ciab Howto

    73/193

    1# Cli*, on theAdd a fence device for this levellin, at the >otto o the syste /etailsage to reveal the 4ence eviceor 5nter the inoration or the en*e /evi*e >eing.se/ Cli*, on @"date main fence "ro"ertiesto ro*ee/

    ,& """.redhat.co#

  • 8/14/2019 Ciab Howto

    74/193

    :.: Configure s as Cluster Services

    ,.,.1 Create Cluster Service of Satellite V4

    1 9 r.nning4 sh.t /on the satellite V: rior to *onig.ring it as a *l.ster servi*e +his is/.e to the a*t that hen the 'hec the bo5 to Atomatically ;tart this ;erviceotion isena>le/ or a *l.ster servi*e4 it ill a.toati*ally start the servi*e as soon as it is*reate/ hi*h ill *onli*t ith any *.rrently r.nning satellite V:

    virsh shutdo" ra-sat-vm

    2 9n the l.*i *l.ster *onig.ration in/o4 sele*t the olloing lin,s ;ervices !> Add aVirtal +achine ;ervicean/ enter the inoration ne*essary to *reate the servi*e

    V: nae ra!sat!vm

    Path to V: Conig.ration &iles /etc/libvirt/em

    eave V: :igration :aingem"ty

    :igration +ye live 3yervisor *V+

    Che*, the >o' toAtomatically ;tart this ;ervice

    eave the N4; 8oc Horarondan/ -n5clsive>o'es.n*he*,e/

    &( Doain ciab%fod

    Re*overy Poli*y -estart

    :a' restarts =

    ength o restart 70

    Sele*t@"date Virtal +achine ;ervice

    """.redhat.co# ,'

  • 8/14/2019 Ciab Howto

    75/193

  • 8/14/2019 Ciab Howto

    76/193

    :.< Configure 5;S Service "for !SO i'rary#Create an/ *onig.re an N&S *l.ster servi*e to rovi/e storage or the R35V-: 9S( iageli>rary

    1 :o/iy ireall r.les on allno/es in anageent *l.ster ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport 2020 -

    )77* ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport 2020 -

    )77* ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport 204: -

    )77* ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport 204: -

    )77* ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport 111 - )77* ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport 111 - )77* ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport 662 - )77* ipta$les - 8-(ire"all-1-*/ -p tcp -m tcp --dport 662 - )77* ipta$les - 8-(ire"all-1-*/ -p udp -m udp --dport 32;03 -

    )77*

    """.redhat.co# ,)

    Figure 2+

  • 8/14/2019 Ciab Howto

    77/193

  • 8/14/2019 Ciab Howto

    78/193

  • 8/14/2019 Ciab Howto

    79/193

    &( Doain ciab%fod Re*overy Poli*y -estart :a' restarts= ength o restart 70

    Sele*t @"date Virtal +achine ;ervice

    6O$E:;hen *onig.ring the N&S e'ort reso.r*e or an N&S servi*e4 it .st>e *onig.re/ as a *hil/ o the &ile Syste reso.r*e A//itionally4 ea*h N&S*lient reso.r*e or an N&S servi*e .st >e *onig.re/ as a *hil/ o the N&Se'ort reso.r*e

    g &olloing the *hil/ *onig.ration r.le as /es*ri>e/ in the revio.s ste4 a//ea*h o the a>ove reso.r*es *reate/ in stes KaK thro.gh KeK 9P4 N&S 5'ort4>oth N&S Clients to the rhev!nfsservi*e .sing the A// a reso.r*e to thisservi*e >.tton

    ,3 """.redhat.co#

  • 8/14/2019 Ciab Howto

    80/193

  • 8/14/2019 Ciab Howto

    81/193

    :a' eory =0$6 Start. eory =0$6 Virt.al CPUs =

    % 9nstall ;in/os Server 2008 R2 5nterrise

    a Reeren*e Se*tion 1# Y9nstalling ith a virt.aliGe/ loy /is,Zo the Re/ 3atVirt.aliGation =.i/eor instr.*tion on installing the ara-virt.aliGe/ /rivers /.ring a;in/os installation Pro*ee/ ith installation

    > Sele*t lang.age reeren*e

    * Sele*t (S Hindows ;erver =006 -= nter"rise (4ll nstallation3

    / A**et li*ense ters

    e Sele*t 'stom (Advanced3to install a ne *oy o ;in/os

    oa/ the PV /river i installer ails to i/entiy any /evi*es on hi*h to install

    g Ater syste re>oots ti*e an/ reares or irst .se4 set assor/ henrote/

    h +he 9nitial Conig.ration +as,s in/o ill rovi/e the oort.nity to

    a*tivate ;in/os set tie Gone ena>le a.toati* ./ates install availa>le ./ates

    i Disa>le ;in/os ireall

    ,.3.! Create Cluster Service of V4

    1 9n the l.*i *l.ster *onig.ration in/o4 sele*t the olloing lin,s ;ervices !> Add aVirtal +achine ;ervicean/ enter the olloing

    V: Nae rhevm!vm Path to V: Conig.ration &iles /etc/libvirt/em V: :igration :aing :igration +ye live 3yervisor *V+ Che*, the >o' toAtomatically ;tart this ;ervice eave the N4; 8oc Horarondan/ -n 5clsive>o'es .n*he*,e/ &ailover Doain ciab%fod

    Re*overy Poli*y -estart :a' Restarts = ength o Restart 70 Sele*t@"date Virtal +achine ;ervice

    -1 """.redhat.co#

    http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/chap-Virtualization-KVM_Para_virtualized_Drivers.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/chap-Virtualization-KVM_Para_virtualized_Drivers.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/chap-Virtualization-KVM_Para_virtualized_Drivers.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/chap-Virtualization-KVM_Para_virtualized_Drivers.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/chap-Virtualization-KVM_Para_virtualized_Drivers.htmlhttp://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.4/html/Virtualization_Guide/chap-Virtualization-KVM_Para_virtualized_Drivers.html
  • 8/14/2019 Ciab Howto

    82/193

    ,.3.& Install RHEV4 Soft"are

    +his release o the Re/ 3at 5nterrise Virt.aliGation :anager as hoste/ on :i*rosot;in/os Server 2008 R2 5nterrise

    1 (en +CP ort #$%21 on ea*h anageent *l.ster no/e ipta$les - 8-(ire"all-1-*/ -p tcp --dport 54321 -m state

    --state - )77*

    2 9nstall ;in/os Server 2008 R2 5nterrise an/ any ali*a>le ./ates

    % R35V :anager .tiliGes N5+ &raeor, Veriy that N5+ &raeor, %# is resenton the syste 9n ;in/os Server 2008 R24 N5+ &raeor, *an >e ena>le/ in theServer :anager ;tart !> All 2rograms !> Administrative Tools !> ;erver +anager4 i it/oes not a.to start at login (n*e starte/4 *li*, &eat.res to e'an/ the *ategory N5+&raeor, is the irst eat.re in the list o eat.res to ena>le 9 there are eat.resalrea/y ena>le/ an/ Net &raeor, is not liste/ aong the4 *li*, A// &eat.res to

    see the list o eat.res reaining to a// to install it$ Re/ 3at reJ.ires that ;in/os PoerShell 20 >e installe/ +his is in*l./e/ in the

    ;in/os 2008 R2 installation >.t i it sho.l/ not resent on the syste4 thearoriate version or the (S *an >e o>taine/ >y sear*hing the :i*rosot e> site 9PoerShell has >een installe/ on the syste4 it ill have its on i*on in the ;in/ostas,>ar or a *oan/ in/o aears >y tying KoershellK in the -n.../ialog >o'o the ;tarten.

    # Syste an/ .ser a.thenti*ation *an >e lo*al or thro.gh the .se o an A*tive Dire*toryDoain 9 there is an e'isting /oain4 an a/inistrator *an @oin .sing the 'om"terNameta> o the ;ystem 2ro"ertiesin/o Another otion o.l/ >e to *onig.re the

    syste hi*h r.ns the R35V :anager sotare as a /oain *ontroller

    """.redhat.co# -!

  • 8/14/2019 Ciab Howto

    83/193

    6 Prior to installing the R35V :anageent sotare4 reeat visits to Hindows @"date.ntil there are no ore ali*a>le ./ates A//itionally4 *onig.re the syste tos*he/.le a.toati* ;in/os ./ates

    7 +he R35V-: installation rogra .st >e availa>le to the server ;hile an 9S( iage*ontaining the nee/e/ sotare *an >e /onloa/e/ .sing the /onloa/ sotare lin,4the olloing ro*e/.re ill relia>ly in/ the sotare *oonents &ro -ed 9atNetwor .sing an a**o.nt ith the R35V or Servers entitleent4sele*t the -ed 9atnter"rise Virtali)ation +anagerChannel ilter in the 'hannelsta> 5'an/ the -ed9at n