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

大規模サーバリプレイスを支える技術 / Background of Large Scale Server Replace

Shinya Tsunematsu
June 30, 2015
420

大規模サーバリプレイスを支える技術 / Background of Large Scale Server Replace

Shinya Tsunematsu

June 30, 2015
Tweet

More Decks by Shinya Tsunematsu

Transcript

  1. (.01FQBCP *OD
    4IJOZB546/&."546
    !UONU

    )PTUJOH$BTVBM5BMLT
    େن໛αʔόϦϓϨ
    ΠεΛࢧ͑Δٕज़

    View full-size slide

  2. ৗদ৳࠸!UONU
    ٕज़෦Πϯϑϥάϧʔϓ
    γχΞΤϯδχΞ

    View full-size slide

  3. ϩέʔγϣϯҠಈ
    ίετ࡟ݮ
    ϥϯχϯάඅ༻
    ࠷దԽɾϑΝγϦςΟͷύϫʔΞοϓ
    ిྗ
    ϥοΫ଱ՙॏ

    View full-size slide

  4. αʔόϦϓϨΠε
    ࿝ٺԽʹ൐͍
    ଱ো֐ੑΛߴΊΔ
    Ϣʔβ͞Μ΁ͷεϖοΫΞοϓͷԸ
    ܙ
    ू໿཰޲্ɺϦιʔε࠷దԽ

    View full-size slide

  5. େن໛ˍεέδϡʔϧ
    ͋Δఔ౓ͷظؒͰऴΘΒͤΔඞཁ͕
    ͋Δ
    ର৅୆਺୆ऑ
    Πϯϑϥϝϯόʔਓ

    View full-size slide

  6. ೔தʁਂ໷ʁ
    ೔தʹ࣮ࢪ͢Δ࢓૊Έͮ͘ΓΛ͢Δ
    ͷ΋ݕ౼͕ͨ͠ɺظ͕͔͔ؒΔͷͱ
    ࠓޙͷ࢖͍ճ͠Λߟ͑Δͱͳ͔ͳ͔
    ݫ͍͠
    طʹ࣮੷ͷ͋ΔϦϓϨʔεखॱΛ΋
    ͱʹ୹ظܾઓͰ͍͘͜ͱʹͨ͠

    View full-size slide

  7. ϦϓϨʔε४උΛࢧ
    ͑Δٕज़ʢखॱฤʣ

    View full-size slide

  8. طଘͷϦϓϨʔε
    αʔόͷ෺ཧނোʹΑΔμ΢ϯɺ·
    ͨ͸ϦιʔεͷṧഭͳͲͰͨ·ʹൃ
    ੜ͢ΔͨΊɺखॱࣗମ͸طʹ͋ͬͨ
    ຖճ࡞੒͢Δख͕ؒ͋Δ͕ɺ͜ͷ෦
    ෼͸ղܾ͍ͯͨ͠

    View full-size slide

  9. खॱͷςϯϓϨʔτԽ
    FSCΛ࢖ͬͯखॱΛࣗಈੜ੒
    ର৅αʔόͷϗετ໊ɾ*1ΛZBNMʹه
    ࡌ͓ͯ͘͠
    HFOFDPO
    IUUQTMJCSBSJFTJPSVCZHFNT
    HFOFDPO

    View full-size slide

  10. ୆ͷ࡞ۀͳΒͳΜͱ͔ͳΔ
    खॱॻ࡞੒
    ϝϯόʔΛΞαΠϯˍμ΢ϯλΠϜ
    Λઃ͚ͯਂ໷ʹϝϯςφϯε࣮ࢪ

    View full-size slide

  11. ن໛͕େ͖͘ͳΔͱ
    έΞ͢Δ͜ͱ͕૿͑Δ
    Ϣʔβ͞Μ΁ͷࠂ஌
    ͦ΋ͦ΋ͷαʔόͷ४උ
    ࣮ࢪ೔ɺର৅αʔόΛϛεͬͨΒʁ
    εέδϡʔϧͱͷ݉Ͷ߹͍ͱ୆ʹ࣮ࢪՄೳͳ୆਺
    ͱ
    ϝϯςͷਫ਼౓

    View full-size slide

  12. ͬͦ͘͞௚໘ͨ͠໰୊
    खॱ࡞੒ͷݩͱͳΔZBNMͷ४උ͕ΊΜͲ
    ͘͘͞ͳ͖ͬͯͨ
    ͨ·ʹ͔͠ͳ͍ͷͰखಈͰ࡞͍ͬͯͨ
    ෳ਺ਓͰͷνΣοΫͳͲख͕ؒ૿͑ΔҰํ
    ਺͕ଟ͘ͳΔ΄Ͳϛε΋૿͑Δݒ೦͕͋Δ

    View full-size slide

  13. ࣾ಺γεςϜͷσʔλϕʔε
    αʔόͷࢿ࢈؅ཧ৘ใͰओʹܦཧۀ຿ʹ͋ͨΔ
    ਓ͕ࢀর͢Δ
    ਺೥લʹΤΫηϧ͔ΒγεςϜԽ
    ϗετ໊΍*1ͳͲαʔϏεӡ༻ͷ৘ใ΋࣋ͬͯ
    ͍Δ
    ࣾ಺ͷσʔλϕʔεͳͷͰɺࣾ֎ͷӡ༻αʔϏ
    ε্ʹ͍͚࣋ͬͯͳ͍

    View full-size slide

  14. "1*͕ཉ͔ͬͨ͠
    Φʔμʔ͸ग़͚ͨ͠Ͳɺଞۀ຿ͷ݉
    Ͷ߹͍΋͋Γͳ͔ͳ͔࣮ݱͤͣ
    ཉ͍͠৘ใ͸͋Δఔ౓ܾ·͍ͬͯΔ
    ͷͰͪ͜ΒͰέΞग़དྷͳ͍͔
    ؔ࿈ۀ຿ͷਓͱ૬ஊɾௐ੔

    View full-size slide

  15. σʔλϕʔεΞΧ΢ϯτΛ΋Β͏
    ͨͩ͠SFBEPOMZ
    42-౳Ͱ৘ใ͸ग़ͤΔΑ͏ʹͳͬͨ
    σʔλͷ੔ܗ͸มΘΒͣେม
    ΞΧ΢ϯτΛ΋ΒͬͨΒ΍Ζ͏ͱࢥͬ
    ͍ͯͨ͜ͱʹணख

    View full-size slide

  16. $-*πʔϧΛ࡞Ζ͏
    ৘ใΛ੔ܗͯ͠ZBNMͰు͘খ͞ͳίϚϯυϥ
    ΠϯπʔϧΛ࡞ͬͯHFNԽ
    NBOFLJOFDP@JOGP
    UIPS
    NZTRMDTCJOE
    ෳ਺ਓʹΑΔ໨ࢹνΣοΫͷख͕ؒܰݮ

    View full-size slide

  17. ͜͜·ͰࣗಈԽग़དྷͨ͜ͱ
    ର৅αʔόͷऔಘ
    NBOFLJOFLP@JOGP
    ςϯϓϨʔτԽHFOFDPO
    ͔ͳΓָʹͳͬͨ

    View full-size slide

  18. ϦϓϨʔε४උΛࢧ
    ͑Δٕज़ʢߏஙฤʣ

    View full-size slide

  19. ͓͞Β͍
    ϦϓϨʔε͔ͩΒ౰વݩͱઌ͕͋Δ
    ϦϓϨʔεର৅͸୆Ͱɺॾʑ͋
    Δ͕४උ͢Δ୆਺͸ಉ͔͡গ͠গͳ
    ͍͘Β͍

    View full-size slide

  20. ࠓ·ͰͷੵΈॏͶ
    աڈͷ֎෦ൃද
    IUUQTTQFBLFSEFDLDPN
    UONUZFBSTIJTUPSZPGIFUFNM
    ͦΕʹʴͯ͠ࠓճͷϓϩδΣΫτʹ
    ׆͖ͨࢪࡦΛ঺հ

    View full-size slide

  21. 4FSWFSTQFD
    1VQQFUʹΑΔߏஙͷࣗಈԽͷޙԡ
    ͠
    ࠓճͷϦϓϨΠεͱ͸ผʹɺҎલ͔
    Βͱ͋Δ४උΛਐΊ͍ͯͨ

    View full-size slide

  22. ϦϓϨʔεͷ෭࣍ޮՌ
    σΟετϦϏϡʔγϣϯͷϝδϟʔόʔδϣ
    ϯΞοϓάϨʔυʹ੒ޭ
    ݹ͍όʔδϣϯͰಈ͘ϚχϑΣετΛ৽͠
    ͍όʔδϣϯͰ΋ಈ͘Α͏ʹௐ੔͍ͯ͘͠
    ಈ͘Α͏ʹ4FSWFSTQFDͷςετ͕௨
    ΔΑ͏ʹ

    View full-size slide

  23. Πϯϑϥ$*
    +FOLJOT7BHSBOU
    IUUQTTQFBLFSEFDLDPN
    UONUKFOLJOTQVQQFU
    TFSWFSTQFDJOGSBDJ

    View full-size slide

  24. Πϯϑϥ$*ʢ༨ஊʣ
    ϖύϘϓϥΠϕʔτΫϥ΢υԽʹ൐
    ͍ɺݱࡏਖ਼ৗʹՔಇ͓ͯ͠Βͣʜ
    ϓϥΠϕʔτΫϥ΢υΛར༻ͨ࣍͠
    όʔδϣϯͷ࢓૊ΈΛݕ౼த

    View full-size slide

  25. ϦϓϨʔε࣮ࢪΛࢧ
    ͑Δٕज़

    View full-size slide

  26. εέʔϧ͠ͳ͍ϝϯςφϯε࣮ࢪ
    खॱͷ࣮ࢪ͸·ͩख࡞ۀ
    ్த·Ͱ࣮ߦͯ͠ΤϥʔʹͳͬͯͷϦ
    ΧόϦͳͲߟ͑Δͱେม
    ՄಡੑͳͲߟ͑ΔͱΰϦΰϦͷγΣϧ
    εΫϦϓτʹΑΔࣗಈԽʹ͸఍߅͕͋
    Δ

    View full-size slide

  27. 'BCSJD
    ϝϯς࣮ࢪΛϓϩάϥϜͰ
    0QTϑϨϯυϦʔʹॻ͚Δ
    ࣮ߦॱংΛ໰Θͳ͍શαʔό࣮ࢪՄ
    ೳͳ෦෼͸!QBSBMMFMσίϨʔλʔ
    Ͱฒྻ࣮ߦՄೳ

    View full-size slide

  28. खॱΛؔ਺΁
    13Λग़͠ͳ͕Β
    ֬ೝग़དྷͨखॱ͸εΫϦϓτΛ࢖͏
    Α͏ʹςϯϓϨΛมߋ
    खಈ࣮ߦɾεΫϦϓτ࣮ߦ͸ࠞࡏ͢
    Δ͕ঃʑʹޙऀʹஔ͖׵͍͑ͯ͘

    View full-size slide

  29. ݁ՌʢϑΣʔζʣ
    खಈͰ೔୆Ͱ࣮ࢪ͍ͯͨ͠ϝϯς
    εΫϦϓτԽͰ೔୆
    ϝϯς࣮ࢪͷख͕ؒܰݮ͞ΕͨͷͰ
    ೔࣮ࢪͰिʹ୆

    View full-size slide

  30. ݁ՌʢϑΣʔζʣ
    ࠓճ৽نͰ࡞੒ͨ͠ϝϯςखॱ
    ॳճ͚ͩखಈͰ࣮ߦ͠ଈεΫϦϓτ
    Խ
    ೔ʹ୆ͷϝϯς

    View full-size slide

  31. ݁ՌʢϑΣʔζʣ
    ݱࡏઈࢍ࣮ࢪத
    ϑΣʔζͷͳ͔ͰҰ൪
    ର৅୆਺͕ଟ͍
    ॏཁͳϩʔϧΛؚΜͰ͍Δ
    ׈Γग़͠ॱௐʁ

    View full-size slide

  32. ͦͷଞࡉ͔ͳࢧ͑Δ
    ٕज़

    View full-size slide

  33. *1సૹͷ໰୊
    ಉҰϩέʔγϣϯͰͷϦϓϨΠεͰ
    ͸*1෇͚ସ͑ʹΑΓมߋ͸ൃੜ͠ͳ
    ͍
    ϩέʔγϣϯ͕ҟͳΔͱ*1సૹ͕ൃ
    ੜ͢Δ

    View full-size slide

  34. - - -
    ϓϩΩγग़དྷΔϛυϧ΢ΣΞ͸ͦΕͰ΍
    Δͱྑ͍ͱࢥ͏
    "QBDIFͷNPE@QSPYZ
    GUQ͸ TTI͸
    JQUBCMFTͰ΋͍͍͚Ͳϛυϧ΢ΣΞ୯ମ
    Ͱಈ͘ํ͕ݸਓతʹ͸޷Έ

    View full-size slide

  35. SJOFUE
    JOUFSOFUlSFEJSFDUJPOTFSWFSz
    ݹͷ5$1ϦμΠϨΫλ
    ͜Ε͔͠஌Βͳ͔ͬͨ
    ઃఆϑΝΠϧ͕γϯϓϧͰ෼͔Γ΍
    ͍͢

    View full-size slide

  36. SFEJS
    ࠷ۙWBHSBOULWN͍ͬͯͯ͡ݟ͚ͭ
    ͨˍ஌ͬͨ
    JOFUEܦ༝͔TUBOEBMPOFͰಈ͘Α͏ͩ
    ·ͩͪΌΜͱ৮Ε͍ͯͳ͍
    USBOTQSPYZΦϓγϣϯʹظ଴

    View full-size slide

  37. ϘτϧωοΫΛ௵͢
    ӡ༻΋Ұॹ
    ΊΜͲ͘͞͞
    ϛε͠΍͢͞ɾةͳ͞ʂ
    ਓྗͰεέʔϧ͠ͳ͍෦෼

    View full-size slide

  38. վળ͸஍ಓʹண࣮ʹ
    ඞཁͳ૬ஊ΋εϞʔϧελʔτ
    σʔλϕʔεͷSFBEPOMZΞΧ΢ϯ
    τΛ΋ΒͬͨΑ͏ʹ
    ඞཁͳ৘ใɾཁ๬Λۛຯ͢Δ
    खॱΛؔ਺Ͱ13ΛੵΉ

    View full-size slide

  39. ࢒Γ΋͏গ͠ؤுΓ
    ·͢ʂ

    View full-size slide

  40. օ͞Μͷۤ࿑ɾ޻෉࿩
    ΋ฉ͔͍ͤͯͩ͘͞ʂ

    View full-size slide