ããã«ã¡ã¯ãæ²³åã§ãããµã¼ãã¹ãéç¨ããä¸ã§æ¢ããªããã¨(å¯ç¨æ§)ã¯ã¨ã¦ãéè¦ã§ããããèæ ®ãã¹ããã¼ãã¨ãã¦BCP(äºæ¥ç¶ç¶è¨ç»)ã»DR(Disaster Recoveryï¼ç½å®³å¾©æ§)対çãããã¾ãããã®ã¨ãæ´»èºããã®ãGSLB(Global Server Load Balancingï¼åºåè² è·åæ£)ãµã¼ãã¹ã§ãï¼GSLBã使ãã°ãç½å®³ãªã©ã®æäºã«ããã¡ã¤ã³ãµã¤ããã¦ã³æã®ããã¯ã¢ãããµã¤ããããã¯Sorryãµã¼ãã¼ã¸ã®èªååãæ¿ããã大è¦æ¨¡ãªã¢ã¯ã»ã¹ãããæã®åæ£ã®ä»çµã¿ãå®ç¾ãããã¨ãã§ãã¾ãã ä»åã¯IDCFã¯ã©ã¦ã DNS/GSLBã®GSLBãµã¼ãã¹ã«ãã©ã¼ã«ã¹ãã¦ã次ã®æµãã§è¨å®æ¹æ³ãç¨éãç´¹ä»ãã¾ãã
GSLBæ¦è¦
GSLBã¨ã¯ãDNSã®åå解決ãç¨ãããã¼ããã©ã³ã·ã³ã°æ©è½ã§ããDNSã©ã¦ã³ãããã³ã¨ã®æ大ã®éãã¯ããã«ã¹ãã§ãã¯ãéã¿ä»ããã§ããã¨ããã§ãã
GSLBã使ã£ãã°ãã¼ãã«ã¬ãã«ã§ã®åæ£ã¯ã大è¦æ¨¡ã¢ã¯ã»ã¹æã®è² è·åæ£ãç½å®³çºçæã®ãµã¤ãåãæ¿ããå®ç¾ãäºæ¥ç¶ç¶æ§ãé«ãã¾ããä¾ãã°BCP対çã¨ãã¦ã®GSLBå°å
¥ã«ã¯ã次ã®ãããªã¡ãªãããæãããã¾ãã
ãã»è¤æ°æ ç¹éã§ã®åæ£
ããç©ççã«é¢ããç°å¢éã§ãµã¤ãåæ£ãããã¨ã§å¯ç¨æ§ãåä¸ããèªç¶ç½å®³ããããªã©ã®ç·æ¥æã«ããµã¼ãã¹ãç¶ç¶ã§ãã¾ãã
ãã»éã¿ä»ãã«ããèªç±ãªæ§æ
ããåã¬ã³ã¼ãã«å¯¾ãã¦éã¿ä»ããã§ãããããActive/ActiveãActive/Standbyãªã©èªç±åº¦ãé«ãæ§æãå®ç¾ã§ãã¾ãã ä¾ãã°Active/Standbyã¯ãã¡ã¤ã³ãµã¤ãã¨é害æã®ã¿ä½¿ãããã¯ã¢ãããµã¤ãã¨ãããããActive/Activeæ§æã§ããã°ä¸¡ãµã¤ãåæã«ãµã¼ãã¹æä¾ãããããªå®å
¨åé·ãã§ãã¾ãããªã½ã¼ã¹ãã³ã¹ããªã©ãè¸ã¾ãã¦ã¦ã¼ã¶ã¼ãæé©ã«é¸æãããã¨ãã§ãã¾ãã
ãã»èªååãæ¿ããã«ãããã¦ã³ã¿ã¤ã ã®è»½æ¸ã»åé¿
ãããã«ã¹ãã§ãã¯ã«å¤±æããæã«ã¯ãèªåã§åãæ¿ãããçºçããã®ã§ããµã¼ãã¹ã®ãã¦ã³ã¿ã¤ã ã軽æ¸ã§ãã¾ããã¾ããä¸è¨ã§ç´¹ä»ããActive/Activeæ§æãæ¡ç¨ãã¦ããå ´åãå®å
¨åé·ããã¦ãããããä¸ãä¸é害ãç½å®³ãçºçãã¦ããµã¼ãã¹ã¸ã®å½±é¿ãæå°éã«çãããã¨ãã§ãã¾ãã
ãã®GSLBã以åããã¯ããã°ã§ç´¹ä»ããã¦ããã ãã¾ãããIDCFã³ã¼ãã¬ã¼ããµã¤ãã§ãåãå ¥ãã¦ãã¾ããæ±æ¥æ¬ã®ã¡ã¤ã³ãµã¤ããã¦ã³æã«ã¯è¥¿æ¥æ¬ã®ããã¯ã¢ãããµã¤ãã¸åãæ¿ããããããã¦ã³ã¿ã¤ã ãæå°éã«æããæ§æã«ãã¦ãã¾ãã
é¢é£è¨äº
ã³ã¼ãã¬ã¼ããµã¤ãã®ã»ãã¥ãªãã£å¯¾çã¯ä¸å
¨ã§ããï¼
GSLBã¯DNSãµã¼ãã¹ã¨ä¸ç·ã«ã使ãããã ããµã¼ãã¹ã¨ãªãã¾ããæå°æ§æãªãã¯ã³ã³ã¤ã³ããå§ããããã®ã§ãç¡çãªãå°å ¥ãå§ãããã¨ãã§ãã¾ããã¾ããIDCFã¯ã©ã¦ãDNSã®ãã¼ã ãµã¼ãã¼ã¯å½å 3æ ç¹ã«åæ£é ç½®ããã¹ã¦ãã©ã¤ããªã®åé·æ§æã¨ãªã£ã¦ããããå®å¿ãã¦ã使ãããã ãã¾ãã詳ããä»æ§ã¯ãµã¼ãã¹ãã¼ã¸ãããã²ãã§ãã¯ãã¦ã¿ã¦ãã ããï¼
è¨å®æ¹æ³
ããããç´¹ä»ãã3ã¹ãããã§ç°¡åã«åæ£ç°å¢ãDRç°å¢ãä½æã§ããã®ã§ããã£ããè¨å®ãã¦ããã¾ããããä¾ã§æ§ç¯ããã®ã¯Apache Webãµã¼ãã¼ã®ç°¡åãªDRç°å¢ã§ããæ±æ¥æ¬ã¨è¥¿æ¥æ¬ã®2æ ç¹ã§Active/Standbyæ§æã¨ãã¾ããGSLBã§ã¯ã¬ã³ã¼ããã¨ã«éã¿ä»ãã®è¨å®ãã§ããStandbyã«ããã«ã¯éã¿0ã¨ãªãã¾ããéã¿ä»ãã«ã¤ãã¦ã¯ãã®å¾Step2ã§èª¬æãã¾ãã
â²å³1. ä½æããç°å¢ã¤ã¡ã¼ã¸
Step1. GSLBãµã¼ãã¹ç³è¾¼ã¿ï¼ãã°ã¤ã³
IDCFã¯ã©ã¦ãã³ã³ã½ã¼ã«ãããªã³ã©ã¤ã³ã§ãç³è¾¼ã¿ããã ãã¾ããã°ãã¼ãã«ã¡ãã¥ã¼ãããDNS/GSLBããæå¹åãã¦ãã ãã(å³2)ã
â²å³2. ã°ãã¼ãã«ã¡ãã¥ã¼
Step2. æ¯ãå ãµã¼ãã¼ã®ç»é²
対象ã¾ã¼ã³ãé¸æãããã¬ã³ã¼ãç»é²ããé¸æãã¾ãã
â²å³3. é¸æããã¾ã¼ã³ã®è¨å®ç»é¢
â»GSLBåä½ã§ã®å©ç¨ã¯åºæ¥ãªãã®ã§ããããããDNSãµã¼ãã¹ã§ã¾ã¼ã³ä½æã®å¿
è¦ãããã¾ããã¾ã¼ã³ã®ä½ææ¹æ³ã«ã¤ãã¦ã¯æ¬¡ã®ããã¥ã¡ã³ãããåèãã ããã
åèããã¥ã¡ã³ã
IDCFã¯ã©ã¦ã DNSãã¹ã¿ã¼ãã¢ããã¬ã¤ã
ã¬ã³ã¼ãä½æç»é¢ã§Aã¬ã³ã¼ããé¸æããã¨GSLBã®æ¬ãè¦ããããã«ãªãã¾ããããã§ãæå¹ããé¸æããã¨GSLBã§è¨å®ãããã©ã¡ã¼ã¿(å³4)ã表示ãããã®ã§ãå©ç¨ã«å¿ãã¦è¨å ¥ãã¾ããããä»åãã¬ã³ã¼ãåã¯wwwã¨ãã¦ãã¾ãã
â²å³4. GSLBè¨å®é
ç®
åè¨å®é ç®ã¯æ¬¡ã®éãã§ãã
ãã©ã¡ã¼ã¿ | å 容 |
---|---|
TTL(ç§) | ãã£ãã·ã¥ã®ä¿ææéã5ç§ï½86400ç§ã®ç¯å²ã§æå® |
å¤ã»è©³ç´° | IPv4ã¢ãã¬ã¹ï¼ãã«ãã¦ã³ããGSLBã®æ¯ãå
ä»®æ³ãã·ã³ãæå®ããããIPã¢ãã¬ã¹ãç´æ¥å
¥å éã¿ï¼0ï½10ã§æå®ã0ã®æã¯Standbyã¨ãã¦æ©è½ãã1以ä¸ãActiveã¨ãã¦æ©è½â»1 ãã«ã¹ãã§ãã¯ï¼ãªã/ããèªåæå¹å/ããæåæå¹å ããé¸æâ»2 |
â²è¡¨1. GSLBãã©ã¡ã¼ã¿
â»1 ä¾ãã°A,B,C 3ã¤ã®æ¯ãå
ã«å¯¾ãã¦1:2:3ã®éã¿ä»ãã«ããã¨ããããã1/6ã2/6ã3/6ã®å²åã«ãªãã¾ããã§ãã®ã§DNSã®åãåããã6åæ¥ãå ´åãAã1åãBã2åãCã3åè¿çãã¾ãã
â»2 ã¾ã¼ã³èªè¨¼ãå®äºãã¦ããªãã¨ãã«ã¹ãã§ãã¯ã®æå¹åãã§ããªãã®ã§ã注æãã ããã
ãã«ã¹ãã§ãã¯å¤±ææã®åä½
ãã«ã¹ãã§ãã¯ã§ç°å¸¸ã¨å¤æããå ´åãæ¯ãåã対象ããåãé¢ããã¾ãããã®å¾1åã«1度èªåã§å¾©æ§ã®ç¢ºèªãè¡ããããã§ãã¯ã2åé£ç¶ã§æåããã¨å¾©æ§ã¨å¤æãã¾ãã
ãã«ã¹ãã§ãã¯ã®è¨å®ããããèªåæå¹åãã§ããã°ã復æ§æã«èªåçã«æ¯ãåã対象ã¨ãã¦åãæ»ããããããæåæå¹åãã®å ´åã¯æåã§åãæ»ããå®æ½ãã¦ããã ãå¿
è¦ãããã¾ãã
詳細è¨å®ãçµäºããããå³ç«¯ã®ãï¼ããã¯ãªãã¯ããã¨æ¯ãåã対象ã®ãµã¼ãã¼ã¨ãã¦ç»é²ããã¾ããããã¾ã§ã®æä½ãç»é²ãããµã¼ãã¼ãã¨ã«è¡ã£ã¦ãã ããã
ä»åã®ç°å¢ã§ã¯Web-1(æ±æ¥æ¬ãªã¼ã¸ã§ã³)ãéã¿1ã®æååãæ¿ããWeb-2(西æ¥æ¬ãªã¼ã¸ã§ã³)ãéã¿0ã®èªååãæ¿ãã§ç»é²ãã¾ãã
Step3. ãã«ã¹ãã§ãã¯è©³ç´°è¨å®
ãã«ã¹ãã§ãã¯ãããããã«ãã¦ã¬ã³ã¼ããç»é²ããã¨ãããã«ãã«ã¹ãã§ãã¯ã®è©³ç´°è¨å®é
ç®ãåºã¦ãã¾ã(å³5)ããã«ã¹ãã§ãã¯ã®ç¨®é¡ãHTTP/HTTPS/TCPããé¸æãã使ç¨ãããã¼ããæå®ãã¾ãã
â»ãã«ã¹ãã§ãã¯ãªãã«ããã¨åç´ãªéã¿ä»ãããã®DNSã©ã¦ã³ãããã³ã¨ãã¦å©ç¨ã§ãã¾ã
â²å³5 ãã«ã¹ãã§ãã¯è¨å®
ããã§ãã¯ãé ç®ã§ã¯ãã«ã¹ãã§ãã¯ã®ééã失æåæ°ãªã©ãæå®ãããã¨ãå¯è½ã§ãã
ãã©ã¡ã¼ã¿ | å 容 | ããã©ã«ã |
---|---|---|
éé(ç§) | ãã«ã¹ãã§ãã¯ã®éé 10ï½300ç§ã®éã§æå®ãã¦ãã ãã |
30 |
ã¿ã¤ã ã¢ã¦ã(ç§) | ãã«ã¹ãã§ãã¯ã®å¿çå¾
ã¡æé 2ï½10ç§ã®éã§è¨å®ãã¦ãã ãã |
5 |
失æåæ°(Down) | ç°å¸¸å¤æã¨ããã¿ã¤ã ã¢ã¦ãã®åæ° 3ï½10åã®éã§è¨å®ãã¦ãã ãã |
5 |
â²è¡¨2. ãã«ã¹ãã§ãã¯é ç®
HTTP/HTTPSã®å ´åãã¹ãã¼ã¿ã¹ã³ã¼ãã100,200,300çªå°ãæ£å¸¸ã¨å¤æãã¾ããTCPã®å ´åã¯SYN/ACKã®è¿çã«ãã£ã¦æ£å¸¸ã確èªãã¾ãã
ãªãããã«ã¹ãã§ãã¯å¯¾è±¡IPã¢ãã¬ã¹å´ã§ãã«ã¹ãã§ãã¯ãµã¼ãã¼ããã®éä¿¡ã®è¨±å¯ãå¿ããã«ãã¦ãã ããã次ã®ã°ãã¼ãã«IPã¢ãã¬ã¹ãIDCFãã«ã¹ãã§ãã¯ãµã¼ãã¼ã®IPã¢ãã¬ã¹ã§ãã
ã210.140.111.128/25
ã202.239.51.128/25
ã210.152.239.128/25
éç¥å
ã«ã¯ã¡ã¼ã«/Slackã®2種é¡ãé¸æã§ãããã«ã¹ãã§ãã¯å¤±æ/復æ§æã®éã«éç¥ãå®æ½ããã¾ãã
ãã¹ã¦ã®è¨å®ãçµãã£ãããç»é²ããããã¯ãªãã¯ãã¦GSLBã¬ã³ã¼ãã®è¨å®å®äºã§ãï¼
åãæ¿ããã®ç¢ºèª
ã§ã¯ãè¨å®ããGSLBãæ³å®éãã«åãã¦ããã確èªãã¦ã¿ã¾ãããã ã¾ãã¯ãã©ã¦ã¶ããç»é²ãããã¡ã¤ã³ã«ã¢ã¯ã»ã¹ãã¾ãã
â²å³6 Web-1 (Activeãµã¤ã)
Active(éã¿1)ã«è¨å®ããWeb-1ãµã¼ãã¼ã®ãã¼ã¸ã表示ããã¦ãããã¨ã確èªããã¨ããã§ãWeb-1ã®httpdãDownããã¾ãã
ãã®å¾ãã©ã¦ã¶ããªãã¼ãããã¨ãWeb-2ãµã¼ãã¼ã®ãã¼ã¸ã表示ããã¾ããããã¾ãåãæ¿ãã£ã¦ãã¾ãã
â²å³7 Web-2 (Standbyãµã¤ã) ã¸ã®åãæ¿ãã確èª
GSLBã«ããèªååãæ¿ãã確èªã§ããã¨ããã§ãå
ã»ã©DownãããWeb-1ãå度ç«ã¡ä¸ãã¦æååãæ¿ããå®è·µãã¾ãã
IDCFã¯ã©ã¦ãã³ã³ã½ã¼ã«ã®DNS/GSLBãã¼ã¸ãéãã¨æååãæ¿ãå¾
ã¡ã®ç¶æ
ã«ãªã£ã¦ããã®ã§(å³8)ããã¦ã¹ãªã³ãã¦ãæå¹åããããã¯ãªãã¯ããå
ã®Web-1ãActiveãWeb-2ãStandbyã®ç¶æ
ã«æ»ãã¾ãã
â²å³8 æååãæ¿ãå¾
ã¡ç¶æ
ãã®å¾å度Webãã¼ã¸ããªãã¼ãããWeb-1ã表示ããã¦ãããã¨ã確èªãã¾ãã ããã§ä»åæ§ç¯ããDRç°å¢ã®åä½ç¢ºèªãã§ãã¾ãããä»åã¯æåã§åãæ»ãããã¾ããããèªåã§åãæ»ããã¨ãå¯è½ã§ãã
ã¾ã¨ã
ããã¾ã§ãGSLBã®è¨å®ï½åä½ç¢ºèªã¾ã§ãç´¹ä»ãã¾ãããGSLBã¬ã³ã¼ãèªä½ã¯ããã3ã¹ãããã§ç»é²ã§ãã¦ãã¾ãã®ã§ãã¨ã¦ãç°¡åã«å§ãããã¾ããï¼
GSLBã®ç¹é·ã¯ãã¤ã³ãã©é¢ä¿ãªãè¤æ°æ ç¹ã対象ã¨ãã¦è¨å®ã§ãããã¨ã§ããã¾ããIDCFã®ç°å¢ã®ã¿ã«ã¨ã©ã¾ãããå¤é¨ã®ãµã¼ãã¹ã¨ãçµã¿åããã¦ãå©ç¨ããã ãã¾ãããã®ãããIDCFã¯ã©ã¦ãéã«éãããã¦ã¸ã³ã°ÃIDCFã¯ã©ã¦ããä»ç¤¾ã¯ã©ã¦ãÃIDCFã¯ã©ã¦ãã¨ãã£ãæè»ãªæ§æãå®ç¾ã§ãã¾ããããGSLBã使ãããIDCFã¯ã©ã¦ãDNSã¸åãæ¿ããæ¤è¨ãããå ´åã¯ããã¡ãã§ç¡åæ¢åãæ¿ãã®æé ãå
¬éãã¦ãã¾ãã®ã§ããåèãã ããã
è¿æ¥ä¸ã«GSLBã®æ©è½ã¢ãããã¼ããäºå®ãã¦ããã¾ãã®ã§ããã®éã¯æ¹ãã¦ç´¹ä»ãããã¨æãã¾ãã
ããã§ã¯ã楽ãã¿ã«ï¼