2020/3/19APVTechnicalTrainingConfidential:ArrayInternalUseOnly2020/3/192内容ArrayAppvelocity(简称APV)产品介绍APV负载均衡器工作原理APV初始化安装与基本配置集群配置典型组网Confidential:ArrayInternalUseOnly2020/3/193ArrayAppvelocity(简称APV)产品介绍APV1200•4*1000Mports•1000Mbpsthroughput•IntelCeleronProcessor•1GBRAMConfidential:ArrayInternalUseOnly2020/3/194ArrayAppvelocity(简称APV)产品介绍APV2200•4*1000Mports•2*1000MSFP•1500Mbpsthroughput•IntelP4Processor•2GBRAMConfidential:ArrayInternalUseOnly2020/3/195ArrayAppvelocity(简称APV)产品介绍APV3200•8*1000Mports•2*1000MSFP•2Gbpsthroughput•IntelP4Processor•4GBRAMConfidential:ArrayInternalUseOnly2020/3/196ArrayAppvelocity(简称APV)产品介绍APV5200•8*1000Mports•4*1000MSFP•8Gbpsthroughput•AMDQuad-CoreProcessor•4GBRAMConfidential:ArrayInternalUseOnly2020/3/197ArrayAppvelocity(简称APV)产品介绍APV6200•8*1000Mports•4*1000MSFP•2*10Gports(可选)•10Gbpsthroughput•AMDQuad-CoreProcessor•8GBRAMConfidential:ArrayInternalUseOnly2020/3/198ArrayAppvelocity(简称APV)产品介绍APV6250•8*1000Mports•4*1000MSFP•2*10Gports•12Gbpsthroughput•AMDQuad-CoreProcessor•8GBRAMConfidential:ArrayInternalUseOnly2020/3/199内容ArrayAppvelocity(简称APV)产品介绍APV负载均衡器工作原理APV初始化安装与基本配置集群配置典型组网Confidential:ArrayInternalUseOnly2020/3/1910SLBTerminologyRealService(“Real”)RepresentsaphysicalservicewhichwillhandleclientrequestsRealServiceGroup(“Group”)RepresentsagroupofrealserviceswhichtrafficwillbedistributedtoDefineswhichloadbalancingalgorithmtouseVirtualService(“Virtual”)RepresentsavirtualservicethatclientscanconnecttoPolicyAssociatesrealservicegroupswithvirtualservicesservice1service5service4service3service2Real1Real3Real4Real5Real2Group1Group2Virtual1Virtual2InternetConfidential:ArrayInternalUseOnly2020/3/1911ServerLoadBalancingExampleBasicServerLoadbalancingInternetServiceGroupRealservicesVirtualIP10.10.10.1012345Userenters(VIP)of10.10.10.10.2ClientsendsrequesttoVIP.3Arrayproxiesrequesttoselectedrealservice.4Furtherrequestsfromtheclientmaybesenttothesameoradifferentrealservice,dependingonpersistencyconfiguration.5DNSConfidential:ArrayInternalUseOnly2020/3/1912SLBModesServerLoadBalancingcanbeperformedinthreemodes:ReverseProxyMode•ArrayAPVproxiesallclientconnectionstorealservices.TransparentMode•ArrayAPVtransparentlyproxiesallclientconnectionstorealservices.TriangleMode•ArrayAPVtransparentlyproxiesallclientconnectionstorealservices.Confidential:ArrayInternalUseOnly2020/3/1913ReverseProxyModePacketFlow1.ClientconnectstoVIPonArrayAPVandsendsrequesttoArrayAPV.2.ArrayAPVopensanewconnectiontorealserviceandsendsrequesttoservice.3.servicerespondstoArrayAPV.4.ArrayAPVrespondstoClient.VirtualInternetservice1service2InsideInterfaceOutsideInterface1234Confidential:ArrayInternalUseOnly2020/3/1914ReverseProxyModeTranslationsVirtualInternetservice1service2InsideInterfaceOutsideInterface1234StepSourceIPSourcePortDestinationIPDestinationPort1Client-IPClient-PortVirtual-IPVirtual-Port2Inside-IPInside-PortReal-IPReal-Port3Real-IPReal-PortInside-IPInside-Port4Virtual-IPVirtual-PortClient-IPClient-PortConfidential:ArrayInternalUseOnly2020/3/1915TransparentModePacketFlow1.ClientsendsrequesttoVIPonArrayAPV.2.ArrayAPVforwardsrequesttorealservice,maintainingtheclient’sIP.3.RealservicereturnsresponseviaclientIP(handledbyArrayAPV).4.ArrayAPVforwardsresponsetoClient.VirtualIPInternetservice1service2235461Confidential:ArrayInternalUseOnly2020/3/1916TransparentModeTranslationsVirtualIPInternetservice1service2235461StepSourceIPSourcePortDestinationIPDestinationPort1Client-IPClient-PortVirtual-IPVirtual-Port23Client-IPClient-PortReal-IPReal-Port4Real-IPReal-PortClient-IPClient-Port56Virtual-IPVirtual-PortClient-IPClient-PortConfidential:ArrayInternalUseOnly2020/3/1917TriangleTransmissionModeTriangleTransmissionArray’sTriangleTransmissionisspeciallydesignedforlow-inbound/high-outboundapplicationssuchasVideoOnDemand(VOD),andtoaccommodaterequestsinthequickestandmostefficientmanner.Anewsystemmode“trianglemode”isaddedforthisnewfeature.Fortriangletransmission,whenselectingaproperrealserverfromagroup,administratorscanuseRoundRobin(rr),PersistentIP(pi),HashIP(hi),ConsistentHashIP(chi),Leastconnections(lcandSNMP(snmp)groupmethod.Confidential:ArrayInternalUseOnly2020/3/1918WorkingFlow1.ClientsendsarequesttoaVirtualIP10.3.61.80onArrayAPVbytherouter.2.ArrayAPVforwardstherequesttoarealservice.TheVirtualIP10.3.61.80hasbeenconfiguredastheloopbackinterfaceontherealservice,sothattherequestcanbereceivedbytherealservice.3.Therealservicereturnsresponsetotherouterdirectly.SincethedefaultrouteIPontherealserviceissettobe10.3.61.1,theresponsewillbesenttotherouterdirectly4.TherequestwillpassthroughAPV,theresponsewillbesentfromtherealservertotheclientdirectlywithouthittingAPV.Notes:triangletransmissionSLBhealthisbasedonthesystemIPaddressesoftherealservers,nottheloopbackIPaddresses.Thismeanswhenhealthcheckisup,therealservicemightnotbeavailable.INTERNETTMTMLoopback:10.3.61.80Defaultroute:10.3.61.1Loopback