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

ロードバランサを用いたWebサーバの冗長化

rpaka
June 01, 2018

 ロードバランサを用いたWebサーバの冗長化

講義での発表資料です。
This is my presentation material of lecture.

rpaka

June 01, 2018
Tweet

More Decks by rpaka

Other Decks in Technology

Transcript

  1. ಋೖ ಺༰ • എܠ •  ෼ࢄܕͰޮՌ͕ݱΕͳ͍αʔϏε •  8FCαʔόͷෛՙ૿Ճ

    • ·ͱΊ • ఏҊ͢ΔωοτϫʔΫ • ωοτϫʔΫਤ • ϩʔυόϥϯαͱ͸ • ϩʔυόϥϯαৼΓ෼͚ํࣜൺֱ • ઀ଓํࣜͷܾఆ • ੑೳධՁ • Ԡ౴࣌ؒ • $16࢖༻཰ • ·ͱΊ ૝ఆ؀ڥʢࢦಋॻ௨Γʣ ωοτϫʔΫͷαΠζ LNºLN -"/ͷ1$୆਺ ୆º ܭ୆ %#ΞΫηε τϥϯβΫγϣϯ .JY  τϥϯβΫγϣϯ ౸ணִؒ ඵ &ϝʔϧ ૹ৴ ౸ணִؒ ඵ ड৴ ౸ணִؒ ඵ ϝʔϧαΠζ CJU '51సૹ ίϚϯυ .JY  ౸ணִؒ ඵ 8FCϒϥ΢δϯά ϖʔδ ౸ணִؒ ඵ αʔό $16 ݸɼίΞ .)[ ֤αʔϏεͷύϥϝʔλ
  2. എܠʢ̍ʣ ෼ࢄܕͰޮՌ͕ݱΕʹ͍͘αʔϏε        

            %#ूத &ϝʔϧԼूத &ϝʔϧ্ूத '51Լूத %#෼ࢄ &ϝʔϧԼ෼ࢄ &ϝʔϧ্෼ࢄ '51Լ෼ࢄ                 )5511BHFूத )5511BHF෼ࢄ                 )5510CKFDUूத )5510CKFDU෼ࢄ ॎɿԠ౴࣌ؒʢඵʣ ԣɿܦա࣌ؒʢඵʣ Ԡ౴࣌ؒ
  3. എܠʢ̍ʣ ෼ࢄܕͰޮՌ͕ݱΕʹ͍͘αʔϏε        

            %#αʔό &ϝʔϧαʔό '51αʔό 8FCαʔό                 αʔό ॎɿ$16࢖༻཰ʢˋʣ ԣɿܦա࣌ؒʢඵʣ ूதܕ $16࢖༻཰ ෼ࢄܕ $16࢖༻཰
  4. ఏҊ͢ΔωοτϫʔΫ %# &ϝʔϧ '51 )551 ϩʔυόϥϯα ఏҊ͢ΔωοτϫʔΫ ී௨ͷ෼ࢄܕωοτϫʔΫ %# &ϝʔϧ

    '51 )551 )551 %# &ϝʔϧ ී௨ͷूதܕωοτϫʔΫ '51 ΞΠίϯૉࡐɿ˜5PQFDPO)FSPFT
  5. ϩʔυόϥϯαͱ͸ ΫϥΠΞϯτ  IUUQTXXXBJDIJQVBDKQ  ϩʔυόϥϯα 8"/ଆ  -"/ଆ 

    8FCαʔό  8FCαʔό  8FCαʔό  ϦΫΤετৼΓ෼͚ ΞυϨεަ׵ ϦΫΤετ  ϦΫΤετ  Ϩεϙϯε  Ϩεϙϯε  ϦΫΤετৼΓ෼͚ͷํࣜ ΞΠίϯૉࡐɿ˜5PQFDPO)FSPFT ࢀߟը૾ɿIUUQTOFXTNZOBWJKQQIPUPBSUJDMFMPBE@CBMBODFSJNBHFTMKQH • ੩త෼ࢄํࣜ • ϥϯμϜˎ • ϥ΢ϯυϩϏϯˎ • ॏΈ෇͖ϥ΢ϯυϩϏϯ • ಈత෼ࢄํࣜ • ࠷খίωΫγϣϯ਺ˎ • ࠷খΫϥΠΞϯτ਺ • ࠷খσʔλ௨৴ྔ • ࠷খԠ౴࣌ؒ • ࠷খαʔόෛՙˎ • ࠷খ'/"-6਺ ᒵࣈɿ3JWFSCFEͰγϛϡϨʔτՄೳ ˎҹͷํࣜΛൺֱ ࢀߟɿ IUUQXXXGVKJUTVDPNKQQSPEVDUTOFUXPSLTFDVSJUZ CBOEXJEUIDPOUSPMMPBE CBMBODFSJQDPNNBUFSJBMEBUBIUNM
  6. ϩʔυόϥϯαৼ෼ํࣜൺֱʢ̍ʣ         

             )5510CKFDUԠ౴࣌ؒ )5511BHFԠ౴࣌ؒ                 ॎɿԠ౴࣌ؒʢඵʣ ԣɿܦա࣌ؒʢඵʣ ࠷খ઀ଓ ࠷খෛՙ ϥϯμϜ ϥ΢ϯυϩϏϯ
  7. ϩʔυόϥϯαৼ෼ํࣜൺֱʢ̎ʣ         

           ϩʔυόϥϯα $16࢖༻཰ 8FCαʔό$16࢖༻཰ ॎɿ$16࢖༻཰ʢˋʣ ԣɿܦա࣌ؒʢඵʣ                                 8FCαʔό$16࢖༻཰ 8FCαʔό$16࢖༻཰                 ࠷খ઀ଓ ࠷খෛՙ ϥϯμϜ ϥ΢ϯυϩϏϯ
  8. ఏҊ͢ΔωοτϫʔΫʢৼΓ෼͚ํܾࣜఆʣ %# &ϝʔϧ '51 )551 ϩʔυόϥϯα ࠷খ઀ଓ਺ৼΓ෼͚ ఏҊ͢ΔωοτϫʔΫ ࠷খ઀ଓ਺ৼΓ෼͚Λ࠾༻ ΞΠίϯૉࡐɿ˜5PQFDPO)FSPFT

    ࠷খ઀ଓ ࠷খෛՙ ϥϯμϜ ŽřƃŪƄƁűƄƃ )5510CKFDUฏۉԠ౴࣌ؒ     )5511BHFฏۉԠ౴࣌ؒ     ϩʔυόϥϯα ฏۉ$16࢖༻཰     8FCαʔό ฏۉ$16࢖༻཰ʢ্͔Βॱʹ  ʣ            
  9. ੑೳධՁʢ̍ʣԠ౴࣌ؒ         

           )5510CKFDU )5511BHF                 ॎɿԠ౴࣌ؒʢඵʣ ԣɿܦա࣌ؒʢඵʣ ूத ෼ࢄ ఏҊ
  10. ੑೳධՁʢ̍ʣԠ౴࣌ؒ         

          %# '51μ΢ϯϩʔυ                            &ϝʔϧ μ΢ϯϩʔυ &ϝʔϧΞοϓϩʔυ              ॎɿԠ౴࣌ؒʢඵʣ ԣɿܦա࣌ؒʢඵʣ ूத ෼ࢄ ఏҊ
  11. ੑೳධՁʢ̎ʣ $16࢖༻཰        

            ूத                 ൚༻αʔό 8FCαʔό 8FCαʔό 8FCαʔό ϩʔυόϥϯα ूதܕ ෼ࢄܕ ఏҊ ॎɿ$16࢖༻཰ʢˋʣ ԣɿܦա࣌ؒʢඵʣ                 %#αʔό &ϝʔϧαʔό '51αʔό
  12. &/%