Elasticsearch RerouteAPIを使ったシャード配置の制御

Ec94734aeba732630e328317bf059aa5?s=47 pisatoshi
September 16, 2014

Elasticsearch RerouteAPIを使ったシャード配置の制御

Ec94734aeba732630e328317bf059aa5?s=128

pisatoshi

September 16, 2014
Tweet

Transcript

  1. $MVTUFS3FSPVUF"1*Λ࢖ͬͨ γϟʔυ഑ஔͷ੍ޚ ୈճFMBTUJDTFBSDIษڧձ 4BUPTIJ5",*%" !QJTBUPTIJ

  2. ࣗݾ঺հ ໊લୌా੟ݾ !QJTBUPTIJ  ॴଐגࣜձࣾ෋࢜௨ιϑτ΢ΣΞςΫϊϩδʔζ ੜଉ஍ͧ͠ʔ͔ ͓࢓ࣄݘͷࢄา
 ɹɹɹɹ#BB4ج൫։ൃ
 ɹɹɹɹ࠷ۙ͸"84Ͱ͝ʹΐ͝ʹΐ

  3. $MVTUFS3FSPVUF"1* w ར༻ऀ͕໌ࣔతʹγϟʔυͷׂΓ౰ͯΛ੍ޚͰ͖Δɻ w ϦΫΤετϘσΟʹࢦఆͨ͠3FSPVUF$PNNBOEΛ࣮ߦɻ
 3FSPVUF$PNNBOE͸ෳ਺هड़Մೳɻ w 3FSPVUF$PNNBOET
 ɹ"MMPDBUF
 ɹ$BODFM


    ɹ.PWF w ެࣜΨΠυ
 IUUQXXXFMBTUJDTFBSDIPSHHVJEFFO FMBTUJDTFBSDISFGFSFODFDVSSFOUDMVTUFSSFSPVUFIUNM
  4. "1*$BMM&YBNQMF DVSM91045MPDBMIPTU@DMVTUFSSFSPVUFE
 \
 DPNNBOET<\
 NPWF
 \
 JOEFYUFTU TIBSE 
 GSPN@OPEFOPEF

    UP@OPEFOPEF
 ^
 ^ 
 \
 BMMPDBUF\
 JOEFYUFTU TIBSE OPEFOPEF
 ^
 ^
 >
 ^
  5. $PNNBOE"MMPDBUF \
  BMMPDBUF\
  JOEFYUFTU 
  TIBSE 


     OPEFOPEF 
 BMMPX@QSJNBSZUSVF
  ^
  ^
  6. $PNNBOE$BODFM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TBUPTIJDFEGBGDEFD

  15. ·ͱΊ 3FSPVUF"1* w ໌ࣔతʹγϟʔυׂΓ౰ͯΛ੍ޚͰ͖Δɻ
 ͨͩ͠ɺγϟʔυ࠶഑ஔͷઃఆ͸ద੾ʹɻ w ࣮ࡍ໰୊ɺ࢖͍ॴ͕೉͍͠ɻ
 #POTBJJTDPPM w ͜ΜͳωλͷͨΊʹ"84ͷ্ݶ؇࿨ਃ੥ͯ͠͠·ͬͨɻ

    w 3FNPUF5SBOTQPSU&YDFQUJPO͕සൃɻ
 ʢγϟʔυ͕ଟ͗͢Δʁʣ w ݁ߏۤ࿑ׂͨ͠ʹ͸Կͷ໾ʹ΋ཱͨͳ͍ɻ

  16. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠