Shunze ¾Ç¶é >¸ê°T³]³Æ±M°Ï >Array > ¡m¤À¨É¡nGlobal Server Load Balancing «¢Åo¡AÁÙ¨S¦³µù¥U©ÎªÌµn¤J¡C½Ð§A[µù¥U|µn¤J]
« ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD » Åã¥Ü¦¨¦C¦L¼Ò¦¡ | ¼W¥[¨ì§Úªº³Ì·R
µoªí·s¥DÃD µoªí¦^ÂÐ
§@ªÌ
¥DÃD
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nGlobal Server Load Balancing¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

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¥Ñ½Ö¦b­t³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¸òPort­n¹ïÀ³¨ì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
¦]¬°§Ú­Ì·Q­nªº¬O¥HSite¡÷Region¡A¥Ñ¤p¨ì¤jªº¤À¬£¤è¦¡¡A
©Ò¥H­n¦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 Type­Yª½±µ«ü¦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!




2014-06-29, 14:56 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
  « ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD »
µoªí·s¥DÃD µoªí¦^ÂÐ
¸õ¨ì:

Powered by: Burning Board 1.1.1 2001 WoltLab GbR