Upgrade to Pro — share decks privately, control downloads, hide ads and more …

BOSH 101 winter 2018

ozzozz
December 02, 2018

BOSH 101 winter 2018

Cloud Foundryで標準の構築手段として使われている、だけじゃないBOSHというツールの基本的な話をします。 BOSH特有の概念も含め、使い方とか内部動作とかを、わかりやすく解説するよう努力した結果のスライドです。
2015年11月に発表した「BOSH 101」https://speakerdeck.com/ozzozz/bosh-101 のアップデート版として2017年9月に発表した「BOSH 101 autumn 2017」https://speakerdeck.com/ozzozz/bosh101-autumn-2017 の、さらなるアップデート版です。
Cloud Foundry Advent Calendar 2018 https://qiita.com/advent-calendar/2018/cloudfoundry の2日目の記事のために、BOSHの最新の状況を踏まえて記載を更新しました。

ozzozz

December 02, 2018
Tweet

More Decks by ozzozz

Other Decks in Technology

Transcript

  1. Ϟμϯͳ3FMFBTF&OHJOFFSJOHʹ͓͚ΔҎԼͷཁૉΛ࣮ݱ͢Δ •  *EFOUJpBCJMJUZ •  σϓϩΠର৅ͱͳΔιϑτ΢ΣΞͷ֤ߏ੒ཁૉͱɺσϓϩ Π݁Ռͱͯ͠ͷ࣮γεςϜͱͷରԠؔ܎ΛɺҰ؏ͯ͠؅ཧ Ͱ͖Δ •  3FQSPEVDJCJMJUZ • 

    ιʔείʔυΛ͸͡Ίɺಈ࡞؀ڥͱͳΔ04ΠϝʔδɺӬ ଓతσʔλɺ֎෦؀ڥͱͷ࿈ܞ৚݅ΛؚΉߏ੒৘ใ·Ͱɺ ࠶ݱՄೳͳܗͰ౷߹؅ཧͰ͖Δ •  $POTJTUFODZ •  ιϑτ΢ΣΞίϯϙʔωϯτͷ։ൃ͔ΒɺσϓϩΠɺߋ৽ɺ ߏ੒มߋʹࢸΔ·Ͱͷɺ೔ৗతͳϫʔΫϑϩʔͷ࿮૊ΈΛ ఏڙ͢Δ •  "HJMJUZ •  ιϑτ΢ΣΞϦϦʔεͷ࡞੒ࣗಈԽ΍γϯϓϧͳίϚϯυ ʹΑΔෳࡶͳγεςϜͷߋ৽ͷ࣮ݱʹΑΓɺ$*$%ͳͲ ೔ʑਐԽ͢ΔϕετϓϥΫςΟεͱͷ౷߹ΛՄೳʹ͢Δ ࢀߟ: https://bosh.io/docs/problems/ #04)ͷઃܭཧ೦
  2. #04)ͷجຊ֓೦  #04)ʹ༩͑Δ΋ͷ TUFNDFMM SFMFBTF Ͳͷ༻్ͷ7.ʹ΋Խ͚Δ 7.Πϝʔδ TUFNDFMMͰ࡞੒͞Εͨ 7.ͳΒͲ͜Ͱ΋ಈ͘ "84$1*

    0QFO4UBDL$1* W4QIFSF$1* ෼ࢄγεςϜͷߏ੒৘ใ Λͻͱͭͷ:".-Ͱ #04)Ͱ؅ཧ ͞ΕΔ΂͖ ͋ΒΏΔઃఆ (PPHMF$1* ɾɾɾ ˞$1*$MPVE1SPWJEFS*OUFSGBDF EFQMPZNFOU NBOJGFTU DPOpH
  3. •  04ͷϕʔεΠϝʔδʹɺ࠷খݶͷҰൠతͳϢʔςΟ ϦςΟύοέʔδ DVSM PQFOTTI CVJMEFTTFOUJBMT  DMPVEHVFTUVUJMT ֤छϥΠϒϥϦͳͲ ɺ͍͔ͭ͘

    ͷγεςϜઃఆϑΝΠϧɺ͞Βʹ#04)BHFOUͷό ΠφϦΛՃ͑ͯ࡞੒ͨ͠7.Πϝʔδͷ͜ͱ •  04ͷछྨ -JOVY͸σΟετϦ ͝ͱɺ͔ͭɺ*BB4ͷ छྨ͝ͱʹTUFNDFMMΛ༻ҙ •  7.͝ͱʹඞཁͳઃఆ /8पΓɺσΟεΫपΓɺೝ ূ৘ใͳͲ ͸શͯഉআ͠ɺ*BB4ܦ༝ NFUBEBUB TFSWJDFɺ·ͨ͸DPOpHESJWF ΍#04)BHFOUܦ༝ 3FHJTUSZͷࢀরɺ%JSFDUPSൃͷ/"54ϝοηʔδ Ͱ ஫ೖ͞ΕΔ৘ใͷΈʹج͍ͮͯ7.͕͋ΒΏΔ໾ׂΛ ՌͨͤΔΑ͏ʹઃܭ •  ηΩϡϦςΟ੬ऑੑͳͲʹΑΓஞ࣍Ξοϓσʔτ͞ ΕΔ͜ͱΛ૝ఆ͠ɺόʔδϣϯ൪߸Λ͚ͭͯ؅ཧ #04)ʹ͓͚ΔTUFNDFMM
  4. •  TUFNDFMMΛ༻͍ͯ࡞੒͞Εͨ͋ΒΏΔ7.্ͰͷϏϧυ ΍σϓϩΠʹ͓͍ͯ࠶ར༻ՄೳͳܗͰ·ͱΊΒΕͨɺ ओʹҎԼͷϑΝΠϧͷू߹ମ KPCTσΟϨΫτϦ഑ԼKPCUFNQMBUFΛߏ੒ •  ઃఆ߲໨ͷఆٛ •  ઃఆϑΝΠϧɺ͋Δ͍͸ͦͷςϯϓϨʔτ • 

    ىಈɾఀࢭεΫϦϓτɺ͋Δ͍͸ͦͷςϯϓϨʔτ •  NPOJUͷઃఆ •  ಺แ͢ΔQBDLBHFͷϦετ QBDLBHFT TSD DPOpHσΟϨΫτϦ഑ԼQBDLBHFΛߏ੒ •  ϏϧυεΫϦϓτ •  ιʔείʔυɺ͋Δ͍͸ͦͷ͋Γ͔ "844ͳͲ  •  όΠφϦ෦ࡐ KBSϑΝΠϧͳͲ ɺ͋Δ͍͸ͦͷ͋Γ͔ •  ஞ࣍Ξοϓσʔτ͞ΕΔ͜ͱΛ૝ఆ͠όʔδϣϯ൪߸Λ͚ͭͯ ؅ཧ #04)ʹ͓͚ΔSFMFBTF
  5. ओʹҎԼʹࣔ͢σϓϩΠ৚݅ઃఆ߲໨Λ ·ͱΊͯهड़ͨ͠ɺͻͱͭͷ:".-ϑΝΠϧ OBNF෼ࢄγεςϜ EFQMPZNFOU ͷ໊শ SFMFBTFTσϓϩΠର৅SFMFBTFʲෳ਺ࢦఆՄʳ TUFNDFMMT࢖༻͢ΔTUFNDFMMʲෳ਺ࢦఆՄʳ VQEBUF σϓϩΠ࣌ͷಉ࣌ฒߦॲཧ৚݅ ฒߦՄ൱ɺಉ࣌σϓϩΠ

    7.਺ ɺॲཧ଴ͪλΠϜΞ΢τ஋ɺ7.࠶࡞੒λΠϛϯά JOTUBODF@HSPVQT ֤7.ʹؔ͠ɺ઀ଓ͞ΕΔӬଓతσΟεΫɺσϓϩΠ͞Ε ΔKPCɺ౰֘7.ಛ༗ͷઃఆύϥϝʔλɺ7.਺ QSPQFSUJFTશ7.ʹΘͨͬͯڞ௨ͳઃఆύϥϝʔλ #04)ʹ͓͚ΔEFQMPZNFOUNBOJGFTU ࢀߟ: https://bosh.io/docs/manifest-v2/
  6. EFQMPZNFOUNBOJGFTUͷྫ •  "QBDIF;PP,FFQFS https://bosh.io/docs/deployment-basics/ ʹαϯ ϓϧͱͯ͠ܝࡌ •  7.ͷΫϥελΛͭͷ";ʹ·͕ͨͬͯσϓϩΠ •  $PODPVSTF$*

    https://github.com/concourse/concourse-bosh- deployment/blob/master/cluster/concourse.yml •  1PTUHSF42-αʔόYɺNBTUFSϊʔυYɺ XPSLFSϊʔυYͷ7.෼ࢄߏ੒ΛσϓϩΠ •  $MPVE'PVOESZ "QQMJDBUJPO3VOUJNF  https://github.com/cloudfoundry/cf-deployment/ blob/master/cf-deployment.yml •  $'ίϛϡχςΟͱͯ͠࠷৽ͷΠέͯΔߏ੒ •  ʲةݥʳ";ʹ·͕ͨͬͯܭ7.ΛσϓϩΠɻ ͦͷ·Μ·ैྔ੍*BB4্Ͱ࢖͏ͱഇ՝ۚϞʔυʹ
  7. EFQMPZNFOUT #04)ͷجຊ֓೦  #04)͕଄Δ΋ͷ EFQMPZNFOUT JOTUBODFHSPVQ JOTUBODFHSPVQ ɾɾɾ JOTUBODF QFSTJTUFOU

    EJTL KPC KPC QBDLBHF QBDLBHF JOTUBODF JOTUBODF KPC KPC QBDLBHF QBDLBHF DPNQJMFESFMFBTF DPNQJMFESFMFBTF DPNQJMFE  QBDLBHF DPNQJMFE  QBDLBHF DPNQJMFE  QBDLBHF /8 CPTI BHFOU CPTI BHFOU
  8. DPNQJMFESFMFBTF SFMFBTFʹؚ·ΕΔQBDLBHFΛϏϧυ͠ɺJOTUBODFʹͦͷ·· ΠϯετʔϧՄೳͱͨ͠DPNQJMFEQBDLBHFΛ·ͱΊͨ΋ͷ EFQMPZNFOU EFQMPZNFOUNBOJGFTUʹج͍ͮͯ#04)͔ΒσϓϩΠ͞Ε ؅ཧର৅ͱͳΔ෼ࢄγεςϜɻ ̍ͭPSෳ਺ͷJOTUBODFHSPVQ͔Βߏ੒͞ΕΔ JOTUBODFHSPVQ ಉҰͷߏ੒ΛͱΔJOTUBODF 㲈7.

    ͷू߹ɻ εέʔϧ JOTUBODFͷݸ਺ͱେ͖͞ Λௐ੔Մೳ QFSTJTUFOUEJTL JOTUBODFʹΞλον͞ΕӬଓతσʔλΛ֨ೲ͢ΔͨΊͷԾ૝ σΟεΫ ϒϩοΫετϨʔδ ɻ "84&#4ɺ0QFO4UBDL$JOEFS7PMVNFɺ($1ӬଓσΟεΫ ͳͲɻ JOTUBODFͱ͸ಠཱͯ͠؅ཧ͞ΕΔ #04)ͷجຊ֓೦  #04)͕଄Δ΋ͷ
  9. #04)͕଄ΔJOTUBODF 7. ͷத਎ JOTUBODF KPC KPC QBDLBHF QBDLBHF CPTI BHFOU

    var bin boot / backups tmp vcap bosh data store ... ... instance monit master/7d1753b7-c17f-481f-9e48-aada505dbf06:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 253:0 0 20G 0 disk !"vda1 253:1 0 2.9G 0 part / !"vda2 253:2 0 2G 0 part [SWAP] #"vda3 253:3 0 15.2G 0 part /var/vcap/data vdb 253:16 0 98G 0 disk #"vdb1 253:17 0 98G 0 part /var/vcap/store CPTIBHFOUؔ࿈ 7.ͷϝλσʔλ KPC༝དྷͷNPOJUઃఆ jobs packages sys log QFSTJTUFOU EJTL FQIFNFSBMEJTLɺ΋͘͠ ͸SPPUσΟεΫͷۭ͖ ύʔςΟγϣϯΛNPVOU ઃఆϑΝΠϧɺ ىಈఀࢭεΫϦϓτ౳ TUFNDFMMͷ σΟϨΫτϦπϦʔ ͦͷ·· ֤KPCʹͯ࢖༻͞ΕΔ DPNQJMFEQBDLBHF ֤ίϯϙʔωϯτ͕ ग़ྗ͢Δϩά QFSTJTUFOUEJTLΛNPVOU #04)ʹΑΔ؅ཧର৅
  10.   *BB4Λ४උ •  ςφϯτɺ"1*ΞΫηεΩʔɺ44)ݤϖΞɺηΩϡϦςΟάϧʔϓɺ 71$ 1SJWBUF/8ɺαϒωοτɺԾ૝ϧʔλ ͳͲ   #04)$-*Λ४උ  

    *BB4্ʹ#04)ࣗମΛσϓϩΠ "  #04)ࣗମͷEFQMPZNFOUNBOJGFTUͷݕ౼ #  σϓϩΠ   #04)Λ࢖ͬͯ*BB4্ʹԿΒ͔ͷ෼ࢄγεςϜΛ σϓϩΠ "  #04)$-*͔ΒͷϩάΠϯ #  σϓϩΠର৅γεςϜͷEFQMPZNFOUNBOJGFTUͷ࡞੒ $  TUFNDFMMͷొ࿥ #04)Λհͯ͠*BB4΁  %  σϓϩΠ 7.ɾϘϦϡʔϜͷ࡞੒ˠQBDLBHFͷϏϧυ ˠ֤7.΁ͷΠϯετʔϧˠ֤7.্Ͱͷϓϩηεىಈ    σϓϩΠ͞Εͨ෼ࢄγεςϜͷಈ࡞֬ೝ •  ಈ࡞֬ೝςετ ͋Ε͹ Λ#04)͔Βىಈ͢Δ͜ͱ͕Մೳ #04)ͷ࢖͍ํͷେ·͔ͳྲྀΕ
  11. QSPKFDU 73 pQ pQ TFDHSQ 7/8 (6*$-* ̍ɽ*BB4Λ४උ  C

    ϓϩδΣΫτͷதʹ7/8 73 TFDHSPVQ 'MPBUJOH*1Λ༻ҙ ʢ44)ݤϖΞొ࿥΋ʣ 5FSSBGPSNΛ׆༻͠؆୯Խ͢Δखஈ΋ଘࡏɻ https://github.com/cloudfoundry-incubator/bosh-openstack- environment-templates/tree/master/bosh-init-tf Λࢀর
  12. •  https://github.com/cloudfoundry/bosh-deployment Λ׆༻͠ɺ:".-ΛΠν͔Βॻ͜͏ͱ͠ͳ͍ •  bosh.ymlΛϕʔεͱ͠ɺ࢖͍͍ͨ$1*΍ػೳʹج͍ͮͯPQT pMFΛબΜͰύονΛ౰ͯɺ͞Βʹ؀ڥґଘͷύϥϝʔλΛ஫ ೖͯ͠EFQMPZNFOUNBOJGFTUΛ׬੒ͤ͞ΔΠϝʔδ •  PQTpMFͷબͼํͷྫ • 

    0QFO4UBDL$1*Λར༻ˠopenstack/cpi.yml •  #04)ͷϩάΛ֎෦TZTMPHαʔό΁సૹˠsyslog.yml •  ஫ೖ͢΂͖؀ڥґଘύϥϝʔλ •  #04)$-*Λ༻͍ͯɺྫ͑͹ҎԼͷΑ͏ʹͯ͠ൃݟՄೳ •  ஫ೖ͢Δύϥϝʔλ͸vars.ymlϑΝΠϧͱͯ͠·ͱΊͯ ͓͘ͱศར "ɽ#04)ࣗମͷEFQMPZNFOUNBOJGFTUͷݕ౼ $ bosh interpolate bosh.yml –o openstack/cpi.yml –o syslog.yml --vars-store=vars-store.yml --var-errs ࢀߟ: https://bosh.io/docs/cli-int/
  13. #ɽCPTIDSFBUFFOWίϚϯυͰ#04)ΛσϓϩΠ QSPKFDU 73 pQ pQ TFDHSQ 7/8 #04)$-* $ bosh

    create-env bosh.yml –o openstack/cpi.yml ... --vars-store=vars-store.yml --vars-file=vars.yml EFQMPZNFOU NBOJGFTU
  14. #ɽCPTIDSFBUFFOWίϚϯυͰ#04)ΛσϓϩΠ ɹ B $1*ͷϏϧυ QSPKFDU 73 pQ pQ TFDHSQ 7/8

    #04)$-* $1* $1*$MPVE1SPWJEFS*OUFSGBDF EFQMPZNFOU NBOJGFTU
  15. #04)֤ίϯϙʔωϯτͷ໾ׂ %BUB QPTUHSFTRMNZTRM #04)$-*͔Βొ࿥͞ΕͨσϓϩΠޙͷʮ͋Δ΂͖ ࢟ʯͳͲͷ؅ཧσʔλΛอ࣋ /"54%JSFDUPS)FBMUI.POJUPSʙBHFOUؒͷQVCTVCܕϝοηʔδϯάόε %JSFDUPS#04)"1*Λఏڙ͠ɺ7.΍σϓϩΠର৅ιϑτ΢ΣΞͷ ϥΠϑαΠΫϧͷ؅ཧ΍ΦʔέετϨʔγϣϯΛ୲͏ $1**BB4ͷछྨʹΑͬͯҟͳΔॲཧ ओʹ7.΍Ծ૝σΟεΫͳͲͷ

    ϥΠϑαΠΫϧૢ࡞ͷͨΊͷ*BB4"1*ݺͼग़͠ Λ୲͏ 3FHJTUSZ7.ىಈ࣌ɾߋ৽࣌ʹBHFOUʹΑͬͯ7.ʹઃఆ͢Δ*1ΞυϨε΍ σΟεΫϚ΢ϯτϙΠϯτͳͲΛอ࣋ #MPCTUPSFιʔείʔυܗࣜͱϏϧυࡁΈܗࣜͷSFMFBTFΛอ࣋ )FBMUI.POJUPSBHFOU͔Β/"54Λհͯ͠ૹΒΕΔ7.ͷঢ়ଶ΍ΠϕϯτΛ؂ࢹɺ ҟৗ࣌ʹΞϥʔτૹग़΍7.࠶࡞੒ BHFOU#04)ʹΑΓ࡞੒͞Εͨ7.ʹৗற͠ɺ%JSFDUPS͔Β/"54Λհͯ͠ ༩͑ΒΕΔࢦࣔʹैͬͯ7.ࣗମͷ֤छઃఆ΍#MPCTUPSF͔Βऔಘͨ͠ ιϑτ΢ΣΞύοέʔδͷϏϧυ΍࣮ߦΛߦ͏ͱͱ΋ʹɺ /"54Λհͯ͠7.ͷঢ়ଶ΍ΠϕϯτΛૹग़ #04)$-*#04)Ϣʔβ ෼ࢄγεςϜӡ༻ऀ ͕࢖༻͠ɺ#04)"1*΁ͷ ֤छΞΫηε΍ɺSFMFBTF࡞੒ɺEFQMPZNFOUNBOJGFTU݁߹ͳͲΛ୲͏
  16.   *BB4Λ४උ •  ςφϯτɺ"1*ΞΫηεΩʔɺ44)ݤϖΞɺηΩϡϦςΟάϧʔϓɺ 71$ 1SJWBUF/8ɺαϒωοτɺԾ૝ϧʔλ ͳͲ   #04)$-*Λ४උ  

    *BB4্ʹ#04)ࣗମΛσϓϩΠ "  EFQMPZNFOUNBOJGFTUͷ࡞੒ #  σϓϩΠ   #04)Λ࢖ͬͯ*BB4্ʹԿΒ͔ͷ෼ࢄγεςϜΛ σϓϩΠ "  #04)$-*͔ΒͷϩάΠϯ #  σϓϩΠର৅γεςϜͷEFQMPZNFOUNBOJGFTUͷ࡞੒ $  TUFNDFMMͷొ࿥ #04)Λհͯ͠*BB4΁  %  σϓϩΠ 7.ɾϘϦϡʔϜͷ࡞੒ˠQBDLBHFͷϏϧυ ˠ֤7.΁ͷΠϯετʔϧˠ֤7.্Ͱͷϓϩηεىಈ    σϓϩΠ͞Εͨ෼ࢄγεςϜͷಈ࡞֬ೝ •  #04)͔Βಈ࡞֬ೝςετ ͋Ε͹ Λݺͼग़͢͜ͱ͕Մೳ #04)ͷ࢖͍ํͷେ·͔ͳྲྀΕ ଓ͖͸͔͜͜Β
  17. "ɽ#04)$-*͔ΒͷϩάΠϯ QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* #04)7. pQ %JSFDUPS

    $ bosh alias-env bosh -e ʲ#04)7.ͷ*1ΞυϨεʳ --ca-cert <(bosh int vars-store.yml --path /director_ssl/ca) $ bosh interpolate vars-store --path /admin_password $ bosh –e bosh login ˠʢID͸ adminɺύεϫʔυ͸̍ͭલίϚϯυͷ݁Ռʹදࣔ͞Εͨจࣈྻʣ ˞#04)$-*͔Β%JSFDUPS΁ͷ"1*઀ଓ͸)5514Ͱ͋Δ͕ɺbosh create-envίϚϯυ࣮ߦ࣌ʹࣗಈੜ ੒͞Εͨ$"ূ໌ॻΛ࢖༻͢Δ ˞#04)$-*͔ΒͷϩάΠϯ࣌ͷύεϫʔυ΋bosh create-envίϚϯυ࣮ߦ࣌ʹࣗಈੜ੒͞Εͨ΋ͷ Λ࢖༻͢Δ
  18. #ɽEFQMPZNFOUNBOJGFTUͷ࡞੒ QSPKFDU 73 pQ TFDHSQ 7/8 TUFN DFMM #04)7. pQ

    EFQMPZNFOU NBOJGFTU #04)ͷEFQMPZNFOUNBOJGFTUΛbosh-deploymentϦ ϙδτϦʹཔͬͨΑ͏ʹɺcf-deploymentϦϙδτϦ΍ concourse-bosh-deploymentϦϙδτϦͳͲͰެ։͞ Ε͍ͯΔϕʔεͷ:".-ϑΝΠϧ΍PQTϑΝΠϧΛ׆༻͢ Δͷ͕ࠓͲ͖ͷ΍Γํ
  19. $ɽTUFNDFMM 7.Πϝʔδ ͷ*BB4΁ͷొ࿥ QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN

    DFMM #04)7. pQ %JSFDUPS $1* $ bosh –e bosh upload-stemcell ...
  20. 0QFO4UBDLͷ৔߹   "84ͷ৔߹   CPTIMJUFͷ৔߹ #04)΁ͷTUFNDFMMͷొ࿥͸جຊ͜ΕͰ0, $ bosh

    -e bosh upload-stemcell https://bosh.io/d/ stemcells/bosh-openstack-kvm-ubuntu-xenial-go_agent $ bosh -e bosh upload-stemcell https://bosh.io/d/ stemcells/bosh-aws-xen-hvm-ubuntu-xenial-go_agent ˞͍ͣΕ΋ͦͷ࣌఺ͷ࠷৽൛͕CPTIJP͔Βλʔήοτͷ#04)ʹ௚઀ొ࿥͞Ε·͢ $ bosh -e bosh upload-stemcell https://bosh.io/d/ stemcells/bosh-warden-boshlite-ubuntu-xenial- go_agent
  21. #04)ʹొ࿥ࡁͷTUFNDFMMΛࢀর $ bosh -e bosh stemcells Using environment '192.168.13.69' as

    client 'admin' Name Version OS CPI CID bosh-openstack-kvm-ubuntu-xenial-go_agent 170.9 ubuntu- xenial - 7dd07962-068d-4720-8ac2-9ae39ee0e915 (*) Currently deployed 1 stemcells Succeeded
  22. %ɽσϓϩΠ ɹ B SFMFBTFͷΞοϓϩʔυ QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-*

    TUFN DFMM #04)7. pQ %JSFDUPS #MPCTUPSF Ξοϓϩʔυ͞Εͨ SFMFBTF಺ͷQBDLBHF͸ ιʔείʔυܗࣜ ˞EFQMPZNFOUNBOJGFTUʹσϓϩΠର৅SFMFBTFͷϦϞʔτ63-ͱ4)"͕هೖ͞Ε͍ͯͳ͍৔߹͸ɺ ɹ༧Ίbosh upload-releaseίϚϯυʹΑΓखಈͰΞοϓϩʔυ͞Ε͍ͯΔඞཁ͕͋Δ
  23. QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ

    %JSFDUPS %ɽσϓϩΠ ɹ C EFQMPZNFOUNBOJGFTUͷΞοϓϩʔυ EFQMPZNFOU NBOJGFTU
  24. QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ

    %JSFDUPS %ɽσϓϩΠ ɹ D QBDLBHFϏϧυ༻7.ͷ࡞੒ EFQMPZNFOU NBOJGFTU $1* Ϗϧυ༻ 7. Ϗϧυ༻ 7.
  25. QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ

    %JSFDUPS %ɽσϓϩΠ ɹ E QBDLBHF ιʔείʔυܗࣜ ͷϏϧυ EFQMPZNFOU NBOJGFTU Ϗϧυ༻ 7. Ϗϧυ༻ 7. BHFOU #MPCTUPSF Ϗϧυॲཧ
  26. QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ

    %JSFDUPS %ɽσϓϩΠ ɹ F DPNQJMFEQBDLBHFͷΞοϓϩʔυ EFQMPZNFOU NBOJGFTU Ϗϧυ༻ 7. Ϗϧυ༻ 7. BHFOU #MPCTUPSF Ϗϧυॲཧ
  27. QSPKFDU 73 TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ %JSFDUPS

    %ɽσϓϩΠ ɹ G σϓϩΠઌ7.ɾϘϦϡʔϜͷ࡞੒ɾىಈ EFQMPZNFOU NBOJGFTU $1* 7. pQ pQ΍ϘϦϡʔϜ ͸EFQMPZNFOU NBOJGFTUͰࢦఆ ͞Εͨ7.ͷΈʹ ෇༩
  28. QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ

    %JSFDUPS %ɽσϓϩΠ ɹ H DPNQJMFEQBDLBHFͷΠϯετʔϧ EFQMPZNFOU NBOJGFTU Ϗϧυ༻ 7. 7. BHFOU #MPCTUPSF Πϯετʔϧ
  29. QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ

    %JSFDUPS %ɽσϓϩΠ ɹ I 7.্ͷϓϩηεͷNPOJUΛհͨ͠ىಈ EFQMPZNFOU NBOJGFTU Ϗϧυ༻ 7. 7. BHFOU NPOJU ϓϩηε ϓϩηε
  30. QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ

    %JSFDUPS %ɽσϓϩΠ ɹ J BHFOU͔Βͷ7.ͷϓϩηεىಈ׬ྃ௨஌ EFQMPZNFOU NBOJGFTU Ϗϧυ༻ 7. 7. BHFOU NPOJU ϓϩηε ϓϩηε
  31. QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ

    %JSFDUPS %ɽσϓϩΠ ɹ K BHFOU͔Βͷ7.ঢ়ଶͷఆظૹग़ EFQMPZNFOU NBOJGFTU Ϗϧυ༻ 7. 7. BHFOU NPOJU ϓϩηε ϓϩηε )FBMUI .POJUPS
  32. #04)ͰσϓϩΠࡁͷ෼ࢄγεςϜΛࢀর $ bosh -e bosh deployments Using environment '192.168.13.69' as

    client 'admin' Name Release(s) Stemcell(s) Team(s) concourse concourse/4.2.1 bosh-openstack-kvm- ubuntu-xenial-go_agent/170.9 - garden-runc/1.16.3 postgres/30 1 deployments Succeeded
  33. #04)ͰσϓϩΠࡁͷ7.ͷҰཡΛࢀর $ bosh -e bosh vms Using environment '192.168.13.69' as

    client 'admin' Task 12. Done Deployment 'concourse' Instance Process State AZ IPs VM CID VM Type Active db/44719a6c-a057-4bae-8c01-d63558a12b9a running z1 10.0.0.201 70f90767-06a8-4fc1-a811-422d0985c619 small true web/d2a79ed5-af8c-4028-ad42-c192c0777ee9 running z1 10.0.0.203 c089e702-1537-43d0-8455-48801e3b8128 small true worker/674d3455-b668-4e8d-ab8b-985d101a8799 running z1 10.0.0.202 ac0a3957-86ba-4277-842e-63d68813c688 small true 3 vms Succeeded
  34. QSPKFDU 73 pQ TFDHSQ 7/8 #04)$-* TUFN DFMM #04)7. pQ

    %JSFDUPS ̑ɽσϓϩΠ͞Εͨ෼ࢄγεςϜͷಈ࡞֬ೝ EFQMPZNFOU NBOJGFTU Ϗϧυ༻ 7. 7. ϓϩηε ϓϩηε ςετ༻ 7. BHFOU $1* ಈ֬ςετ $ bosh -e bosh run-errand ... TNPLFUFTUɺ BDDFQUBODFUFTU ͳͲ
  35. Ø  #04)༻%#ʹɺ#04)૊ΈࠐΈͷ1PTUHSF42-͚ͩ Ͱ͸ͳ͘ɺ֎෦ͷ.Z42-αʔόͱ͔΋࢖͑Δ Ø  #04)༻CMPCTUPSFʹɺ#04)૊ΈࠐΈͷ8FC%"7 ͚ͩͰ͸ͳ͘ɺ"844 "1*ޓ׵੡඼ؚΉ ΍($4ͱ ͍ͬͨ֎෦ΦϒδΣΫτετϨʔδ΋࢖͑Δ Ø 

    #04)͔ΒσϓϩΠ͠؂ࢹ͍ͯ͠Δ7.ͷނোΛ֎෦ ʹ௨஌ͨ͠Γɺ7.Λࣗಈతʹ࠶࡞੒ͨ͠ΓͰ͖Δ Ø  #04)͔ΒσϓϩΠ͠؂ࢹ͍ͯ͠Δ7.ͷجຊతͳϝ τϦΫεΛऩू͠ɺ֎෦Ͱอ؅ɾ෼ੳͰ͖Δ Ø  QFSTJTUFOUEJTLͷεφοϓγϣοτΛखಈఆظࣗ ಈߋ৽σϓϩΠ࣌ࣗಈͰऔಘͰ͖Δ Ø  #04)͔ΒσϓϩΠͨ͠7.ͷ*1ΞυϨεΛ໊લղܾ Ͱ͖Δ಺෦%/4ͱ౷߹Ͱ͖Δ Ø  EFQMPZNFOUNBOJGFTUʹهड़͢Δ΂͖ύεϫʔυ΍ ൿີݤͳͲΛผ؅ཧͨ͠Γࣗಈੜ੒ͨ͠ΓͰ͖Δ #04)Ͱ͜͜·ͰͰ͖Δͧू
  36. •  QSPT •  %FWͱ0QTͷڥքઢ͕Θ͔Γ΍͍͢ •  %FWͷΰʔϧ͸ͪΌΜͱಈ͘SFMFBTF •  0QTͷΰʔϧ͸ͪΌΜͱಈ͘EFQMPZNFOU NBOJGFTU • 

    ෼ࢄγεςϜͷܧଓతӡ༻ʹద͍ͯ͠Δ •  ႈ౳ੑΛ୲อʢ࿮૊Έͱͯ͠൒ڧ੍తʹʣ •  Կ΋ߟ͑ͳͯ͘΋ϩʔϦϯάΞοϓσʔτ •  DPOT •  ͳ͔ͳ͔׳Εͳ͍ɺݫֶ͍͠शۂઢ •  SFMFBTFΛͪΌΜͱ࡞Δͷ͕೉͍͠ •  EFQMPZNFOUNBOJGFTUΛͪΌΜͱॻ͘ͷ͕ ೉͍͠ ͍͞͝ʹɿ#04)QSPTDPOT