¡m¤À¨É¡nGlobal Server Load Balancing | |
Global Server Load Balancing
Global Server Load Balancing(GSLB)¥i¥Î©ó¥ø·~¥~³¡DNS¤À¬£«ü¦V¡A
¨Ò¦p¤@°ê»Ú¥ø·~¦P®É¦³¥xÆW¡B¤¤°ê¡B¬ü°êµ¥¹ï¥~ªA°È¤§¥D¾÷¡A
¨Ì¾Ú¨Ï¥ÎªÌ¨Ó´£¨Ñ¤£¦PDNSªº¾É¦V¡A´N¬OGSLBªº¤u§@¡C
·í¨Ï¥ÎªÌ¦V¨Ï¥ÎªÌ¦Û¤vªºLocal DNS Query www.abc.com ®É¡A
·|¥ý¦VRoot DNS¸ß°Ýabc.comªºDNS¥Ñ½Ö¦bt³d¡H
µM«á§âabc.comªºQueryÂà¦VAPV-A¨Ó¶i¦æ¡C
APV-A¦A¨Ì¾Ú¨Ï¥ÎªÌªº¤£¦P¡Aµo²{³Ì¾A¦Xªº www.abc.com ¥D¾÷¬°AVP-C¡A¨Ã´£¨Ñµ¹¨Ï¥ÎªÌ«á¡A
¨Ï¥ÎªÌ¤§«á©M www.abc.com ªº³s½u´N³z¹LAVP-C¨Ó¶i¦æ¤F¡C
¦Ó³o¥x¨Ì¾Ú¨Ï¥ÎªÌªº¤£¦P¡A´£¥X¤£¦PªºFQDN¥D¾÷¹ïÀ³ªº¦WºÙ¸ÑªR¥D¾÷APV-A¡A´N¬OGSLB¡C
¹ê»Ú¦b³]©wGSLB®É¡A¥i¨Ì¾ÚRegion¡BSite¡BHost»PPoolµ¥¥|Ó¤j¶µ¨Ó³]©w¡C
Region ¥Î©w¸q°Ï°ì¡A¨Ò¦p¨È¬w¡A¬ü¬w¡A¥þ²yµ¥¡C
Site ¥Î¨Ó©w¸q°Ï°ì¤Uªº¥D¾÷¡A¨Ò¦p¨È¬w¤Uªº¥xÆW¡A¤¤°êµ¥¡C
Host ¥Î¨Ó©w¸qFQDN¡A¨Ò¦pwww.abc.com¡Awww.xyz.com...µ¥¡C
Pool ¥Î¨Ó©w¸qIP Pool¤Î¹ïÀ³¨ìHostªº¤è¦¡¡C
¥H¤U¬°WebUIªº¥Ü½d±¡¹Ò¡A§Ú̳z¹LWebUI¨Ó³]©w¤@²ÕGSLB¹ïÀ³Ãö«Y
SDNS 10.10.4.104
Site TW(1.1.1.1)¡ACN(2.2.2.2)
Region ASIA(3.3.3.3)¡AWWW(4.4.4.4)¡A¨ä¤¤ASIA¥]§tSite TW¡A¦ÓWWW«h¥]§tRegion ASIA
Host www.abc.com
Pool ¥Î¨ÓÃöÁpSite/Region»P¦UHostªº¹ïÀ³Ãö«Y
±Ò¥ÎSDNS
¦b³]©wGSLB«e¡A§ÚÌn¥ý±Ò¥ÎSDNS¡C
©óADVANCED LOAD BALANCE / Global Load Balance / General Settings¤¤±Ò¥ÎSDNS¡C
µM«á¦A¼W¥[¤@Ó¹ïÀ³¨ìAVP¥»¨ªºSDNS Member³]©w¡C
¹L¤F´X¬í«á¡A¦A¦^¨ÓÀˬdMember³]©w¡A·|µo²{status¤w¸gup°_¨Ó¥Í®Ä¤F¡C
³]©wHost(FQDN Record)
¦A¨Ó´N¬O¦bADVANCED LOAD BALANCE / Records / A¤¤§â©Ò¦³·|¹ïÀ³¨ìFQDNªº¥D¾÷¥[¤J¡C
¦b³oùØ¡A§Ṳ́@¦@©ó www.abc.com ¤¤¡A¥[¤F¤J1.1.1.1¡ã4.4.4.4¦@¥|µ§¥D¾÷°O¿ý¡C
³o¦a¤è¸ò SLB ¤@¼Ë¡A¥D¾÷ªºIP¸òPortn¹ïÀ³¨ìReal(«áºÝ¯u¹ê¥D¾÷)¡A
³o¼Ë¦b°µhealth check®É¡A¤~·|¦³¯u¥¿ªºÀˬd®ÄªG¡C
³]©wSite»PRegion
Site»PRegion¤@¼Ë¡A³£¬O¦bADVANCED LOAD BALANCE / Topology¤¤³]©w¡C
§ÚÌ¥ý¦bSite¤¤¡A§âTW¤ÎCNªºSite¤ÎÅv«¥[¤J¡C
µM«á¦bRegion¤¤¡A§âASIA¤ÎWWWªºRegion»PÅv«¥[¤J¡C
³Ì«á¦A§â¦URegion¤¤ªºSite¥[¤JRegion¤¤¡C
§Ú̪º±¡¹Ò¬ORegion ASIA¤U¦³Site TW¤ÎCN¡F
¦ÓRegion WWW¤U«h¦³Region ASIA¡C
Site(TW¡ACN)¡÷Region(ASIA)¡÷Region(WWW)
³]©wPool
±µµÛ¦bADVANCED LOAD BALANCE / Methods / Region/Pool¤¤§âHost www.abc.com ©Ò¹ïÀ³¨ìªºSite/Region¥[¤J¡C
¦@¦³TW¡BCN¡BASIA¤ÎWWW¥|µ§¸ê®Æ¡C
¦A¦U¦ÛÂI¶}TW¡BCN¡BASIA¤ÎWWWªº¥|µ§¸ê®Æ¡A§â¥¦¹ïÀ³ªºReal IP¥[¤J¡C
קïDomainªºLoad Balance¤À¬£¤è¦¡-Method
¦bFQDN Record³]©w¦n¤Fdomain«á¡A·|¦Û°Ê¦bMethodsªºHost¤¤«Ø¥ß¤@µ§¥H grr °µ¬°methodªºHost¸ê®Æ¡C
¦]¬°§ÚÌ·Qnªº¬O¥HSite¡÷Region¡A¥Ñ¤p¨ì¤jªº¤À¬£¤è¦¡¡A
©Ò¥Hn¦bADVANCED LOAD BALANCE / Methods / Host¤¤¶i¦æקï¡A±Nmethod§ï¬°region¡C
¡ô³oӿﶵ³]©w¦ü¥G¥u¹ïÀ³IEÂsÄý¾¹¡H¦b¨ä¥¦ÂsÄý¾¹¤¤µLªkק諸¸Ü¡A½Ð§ï¬°IE¨Ó¾Þ§@§a¡C
¥t¥~¡A¤]¥i¥H¤Ï¹L¨Ó¾Þ§@¡A¥ý¦bMethods¤¤ªºHost«Ø¥ßdomain¤Î¹ïÀ³method¡A
µM«á¦A¦^ÀY¥h«Ø¥ßFQDNªºRecord¡A³o¼Ë¤]¥i¥HÁקK¦¹IE onlyªº°ÝÃD¡C
קï¦n«á¡A§ÚÌ¥i¥H¦b¤U¤èªºDETAILS OF SDNS HOST¬Ý¨ìµ²ªG¡C
Domain www.abc.com ¥HRegion°µ¬°Method¡A¦@¦³1.1.1.1¡ã4.4.4.4µ¥¥|µ§°O¿ý¡C
³]©wProximity
Proximity¬O¤@ºØ¨Ì¥Î¤áºÝ¨Ó·½IP¡A¨Ó¾É¦V¤£¦PSite/Regionªº°tµo¤è¦¡¡C
°²³]§ÚÌn§â©Ò¦³IP¨ÌSite¡÷Regionªº¼h¯ÅÃö«Y¨Ó°µ¹ïÀ³¡A¨º§ÚÌ¥i¥H¶i¦æ¦p¤U³]©w¡C
¦bADVANCED LOAD BALANCE / Topology / Proximity¤¤·s¼W¤@µ§Proximity Rule¡C
µM«á§â0.0.0.0/0¾É¦VSite TW¡C
´ú¸Õ
´ú¸Õ®É¡A§Ú̦babc.comªºDNS¥D¾÷¤W¡A©e¬£www¤lºô°ìµ¹SDNS¥D¾÷APV 10.10.1.104¨Ó±±¨î¡C
·í§Ú̧âTW¥D¾÷1.1.1.1¤ÎASIA¥D¾÷3.3.3.3°±±¼®É¡A
¥Ñ©ó§Ú̳]©wªºSite/RegionÃö«Y¬OTW(1.1.1.1)¡÷ASIA(3.3.3.3)¡÷WWW(4.4.4.4)¡A
©Ò¥H·íTW¤ÎASIA¥D¾÷ÂùÂùDOWN±¼®É¡A§ÚÌ¥hquery www.abc.com ¡A±o¨ìªºIP´N·|¬O4.4.4.4¡C
¶¶¤lªá¤FÂI®É¶¡¶i¦æ§ó¦hªº´ú¸Õ¡A
µo²{¦bSite/RegionªºÅv«³]©w³£¬Û¦P®É¡AGSLBªº¤À¬£½T¹ê¬O¥ÑSite¨ì¤lRegion¡A¦A¨ì¤÷Region¡A¥Ñ¤l¨ì¤jªº¹ïÀ³Ãö«Y¡C
¦ýYÅv«³]©w¤£¦P®É¡ASite/Region¶¡ªº¤÷¤lÃö«Y´N¤£¦A¬OGSLB¤À¬£®Éªº«ÂI¡A
¯Âºé·|¥H¤£¦PªºÅv«Ãö«Y¨Ó°tµo¡AÅv«·U¤jªº¡AÀu¥ý°tµo¡C
¦Ó¦bProximity¤¤ªºLocation TypeYª½±µ«ü¦V¬YÓRegion¡A«h·|²¤¹LSite¡Aª½±µ¥H¸ÓRegion¨Ó°tµo(¦bÅv«¬Û¦Pªº±ø¥ó¤U)¡C
Array GSLBªº¯S¦â»PÀuÂI
´£¨Ñ¦h¹F¤CºØªººtºâªk¡C
¨C¤@ºØºtºâªk³£¥i¤¬¬Û½Õ°t¨Ï¥Î¡C
³æ¤@¥x§Y¥i¹B§@¡A¤£»Ýn¦¨¹ï¡C
¥i°t¦XLink Load Balancing¡C
¤£¶·ÃB¥~¦¨¥»ºûÅ@¥þ²yIP¸ê°T¸ê®Æ®w¡C
¥i§¹¥þ¨ú¥N¥ø·~DNS¥\¯à¡C
³Ì¨Îªº®Ä¯à»ù®æ¤ñ¡C
¥þ²y¹s®É®t§Þ³N¤ä´©¡C
¥i³]©w512Óºô°ì¦WºÙ¡C
¨CÓºô°ì¦WºÙ¥i³]©w64ÓVIP¡C
¨CÓSmart DNSºô¸ô¥i¥H¦³64¥xAPV¡C
♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã
If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!
|