版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、2021/2/1,APV Technical Training,2021/2/1,2,內(nèi)容,Array Appvelocity(簡稱APV)產(chǎn)品介紹 APV負載均衡器工作原理 APV初始化安裝與基本配置 集群配置 典型組網(wǎng),2021/2/1,3,Array Appvelocity(簡稱APV)產(chǎn)品介紹,APV 1200,4*1000M ports 1000 Mbps throughput Intel Celeron Processor 1GB RAM,2021/2/1,4,Array Appvelocity(簡稱APV)產(chǎn)品介紹,APV 2200,4*1000M ports 2*1000M S
2、FP 1500 Mbps throughput Intel P4 Processor 2GB RAM,2021/2/1,5,Array Appvelocity(簡稱APV)產(chǎn)品介紹,APV 3200,8*1000M ports 2*1000M SFP 2Gbps throughput Intel P4 Processor 4GB RAM,2021/2/1,6,Array Appvelocity(簡稱APV)產(chǎn)品介紹,APV 5200,8*1000M ports 4*1000M SFP 8Gbps throughput AMD Quad-Core Processor 4GB RAM,2021/2
3、/1,7,Array Appvelocity(簡稱APV)產(chǎn)品介紹,APV 6200,8*1000M ports 4*1000M SFP 2*10G ports(可選) 10Gbps throughput AMD Quad-Core Processor 8GB RAM,2021/2/1,8,Array Appvelocity(簡稱APV)產(chǎn)品介紹,APV 6250,8*1000M ports 4*1000M SFP 2*10G ports 12Gbps throughput AMD Quad-Core Processor 8GB RAM,2021/2/1,9,內(nèi)容,Array Appveloc
4、ity(簡稱APV)產(chǎn)品介紹 APV負載均衡器工作原理 APV初始化安裝與基本配置 集群配置 典型組網(wǎng),2021/2/1,10,SLB Terminology,Real Service (“Real”) Represents a physical service which will handle client requests Real Service Group (“Group”) Represents a group of real services which traffic will be distributed to Defines which load balancing alg
5、orithm to use Virtual Service (“Virtual”) Represents a virtual service that clients can connect to Policy Associates real service groups with virtual services,service 1,service 5,service 4,service 3,service 2,Real 1,Real 3,Real 4,Real 5,Real 2,Group 1,Group 2,Virtual 1,Virtual 2,Internet,2021/2/1,11
6、,Server Load Balancing Example,Basic Server Load balancing,Internet,Service Group,Real services,Virtual IP 0,4,DNS,2021/2/1,12,SLB Modes,Server Load Balancing can be performed in three modes: Reverse Proxy Mode Array APV proxies all client connections to real services. Transparent Mode Arr
7、ay APV transparently proxies all client connections to real services. Triangle Mode Array APV transparently proxies all client connections to real services,2021/2/1,13,Reverse Proxy Mode,Packet Flow Client connects to VIP on Array APV and sends request to Array APV. Array APV opens a new connection
8、to real service and sends request to service. service responds to Array APV. Array APV responds to Client,Virtual,Internet,service1,service2,Inside Interface,Outside Interface,1,2,3,4,2021/2/1,14,Reverse Proxy Mode,Translations,Virtual,Internet,service1,service2,Inside Interface,Outside Interface,1,
9、2,3,4,2021/2/1,15,Transparent Mode,Packet Flow Client sends request to VIP on Array APV. Array APV forwards request to real service, maintaining the clients IP. Real service returns response via client IP (handled by Array APV). Array APV forwards response to Client,Virtual IP,Internet,service1,serv
10、ice2,2,3,5,4,6,1,2021/2/1,16,Transparent Mode,Translations,Virtual IP,Internet,service1,service2,2,3,5,4,6,1,2021/2/1,17,Triangle Transmission Mode,Triangle Transmission Arrays Triangle Transmission is specially designed for low-inbound/high-outbound applications such as Video On Demand (VOD), and t
11、o accommodate requests in the quickest and most efficient manner. A new system mode “triangle mode” is added for this new feature. For triangle transmission, when selecting a proper real server from a group, administrators can use Round Robin (rr), Persistent IP (pi), Hash IP (hi), Consistent Hash I
12、P (chi), Least connections (lc and SNMP (snmp) group method,2021/2/1,18,Working Flow,Client sends a request to a Virtual IP 0 on Array APV by the router. Array APV forwards the request to a real service. The Virtual IP 0 has been configured as the loopback interface on the real ser
13、vice, so that the request can be received by the real service. The real service returns response to the router directly. Since the default route IP on the real service is set to be , the response will be sent to the router directly The request will pass through APV, the response will be sen
14、t from the real server to the client directly without hitting APV. Notes: triangle transmission SLB health is based on the system IP addresses of the real servers, not the loopback IP addresses. This means when health check is up, the real service might not be available,Triangle Transmission Mode,20
15、21/2/1,19,負載均衡算法,非保持性算法 1, Round Robin(RR) 2, Least Connection(LC) 3, Fastest Response Time(FRT) 保持性算法 1, Persistent IP(PI) 2, Hash IP(HI) 3, Consistent Hash IP(CHI) 4, Hash Header(HH) 5, Persistent Hostname(PH) 6, Persistent URL(PU) 7,SSL Session ID(SSLID) 8, Persistent Cookie(PC) 9, Rewirte Cookie
16、(RC) 10, Insert Cookie(IC) 11,Hash Cookie(HC) 12,Embed Cookie(EC) 13,2021/2/1,20,Round Robin (rr,Distributes new connections sequentially between available real services. Example: Connections are distributed to the real services in the following order: 1, 2, 3, 4, 5, 1, 2, 3 The “granularity” option
17、 may be configured so that each real service handles a specific number of new connections before the next service is selected. Example: Granularity value of “3” illustrates the distribution: 1, 1, 1, 2, 2, 2, 3, 3, 3, etc,Internet,2021/2/1,21,Round Robin,Clients,Router,APV,Servers,Client requests ar
18、e distributed evenly,1,2,3,4,5,6,7,8,Internet,Round Robin (rr,2021/2/1,22,Least Connections (lc,Distributes new connections to the real service that has the least number of current connections. Example: real service 5 has the fewest current connections, so the next connection will go to real service
19、 5. The “granularity” option can be used to treat real services within the same connection count range as the same; a new real service will not be chosen until this range is exceeded for the current one,Internet,2021/2/1,23,Clients,Router,Servers,1,2,Internet,Distributes new connections to the real
20、service that has the least number of current connections,Least Connections (lc,2021/2/1,24,Real Service Weighting (rr, lc,Weighting allows you to change the distribution between real services in the group. Example: You may set one service to handle twice as many connections as another service. Use w
21、eighting if you have a mix of backend services with different performance capabilities. Example: If you add new services that have faster CPUs, you could weight them higher so they receive more connections,Internet,2021/2/1,25,Clients,Router,Servers,Administrator sets ratio for distributing Client r
22、equests 3:1:1:1,1,4,5,6,7,10,11,12,Internet,2,3,8,9,Real Service Weighting (rr, lc,APVX,2021/2/1,26,Clients,Router,Servers,1,2,Internet,Fastest Response time (frt,Distributes new connections to the real service that has the shortest response time,2021/2/1,27,the same IP request should be assigned to
23、 the same server,1,2,3,1,2,3,Persistent IP (pi,2021/2/1,28,Hash IP (hi,Distributes new connections to a real service based on a hash of the source IP address. Client sends a request to the virtual service. Array hashes source IP address of request to select a real service. Array forwards all request
24、s with same hash value to the same real service. Note If a real service fails, persistence will not be maintained for existing clients on healthy services. Consistent mappings of client IP to real service across multiple Arrays during failover is not guaranteed,2021/2/1,29,Consistent Hash IP (chi,Di
25、stributes new connections to a real service based on a hash of the source IP address. Client sends a request to the virtual service. Array hashes source IP address of request to select a real service. Array forwards all requests with same hash value to the same real service. Note If a real service f
26、ails, persistence will be maintained for existing clients on healthy services. Mappings of client IP to real service are consistent across all Arrays so that clients will continue to go to the same real service on failover,2021/2/1,30,Hash Header (hh,Distributes new connections to a real service bas
27、ed on a hash of a non-standard/standard HTTP Header Non-standard header = headers not defined in RFC 2616 (HTTP/1.1) Example: X-MSISDN header generated by WAP gateways All wireless clients (mobile phones) proxied through a WAP gateway have the same source IP address. Problem for client-IP persistenc
28、e methods! Options include cookie-persistence and Hash Header methods. WAP gateway can receive MSISDN (phone number) of user from Radius and insert it into proxied HTTP request as X-MSISDN header. Hash Header on this header provides good load distribution across the real services while maintaining c
29、lient persistence,2021/2/1,31,Persistent Hostname (ph,Distributes new connections to a real service based on a hash of the hostname found in the HTTP requests Host header sent from the client. Client sends a request to the virtual service with a Host: header. Array examines Host: header value to sel
30、ect a real service. Array forwards all requests with same Host: header value to the same real service,2021/2/1,32,Persistent URL (pu,Distributes new connections to a real service based on a static match of a URL Tag and Value. Client sends a request to the virtual service with a Tag and Value includ
31、ed in the URL. Array hashes Value to select a real service. Array forwards all requests with same Tag and Value to the same real service,2021/2/1,33,SSL Session ID (sslsid,SSL Session ID (negotiated during SSL connection setup) is used to maintain a client-to-service binding. Client opens an HTTPS c
32、onnection to the virtual service. Array selects a real service and forwards request to it. Response from real service contains an SSL Session ID. Array tracks SSL SID and real service combination. Next request from client contains SSL SID. Array examines SSL SID and sends request to the same real se
33、rvice that was chosen earlier. May only be used when load balancing SSL connections,2021/2/1,34,Persistent Cookie (pc,Real service is selected based on a static match of the cookie name/value pair. Client sends a request to the virtual service. Array selects a real service and forwards request to it
34、. Response from real service contains a specific cookie with a value denoting that service. Client receives cookie in response. Next request from client includes cookie. Array examines cookie and sends request to proper real service. Each real service within a group must be configured with a unique
35、cookie value,2021/2/1,35,Client,Server,pickserver,cookiespecifiesserver,APV,Persistent Cookie (pc,2021/2/1,36,Rewrite Cookie (rc,Array rewrites (modifies) a named cookies value in the service response. Client sends a request to the virtual service. Array selects a real service and forwards request t
36、o it. Response from real service contains a specific cookie with a generic value. Array rewrites cookie value based on the real service. Client receives cookie in response. Next request from client includes cookie. Array examines cookie and sends request to indicated real service. Used to simplify c
37、ookie based persistence configuration. All backend services within a group must set the same name=value pair,2021/2/1,37,Client,Server,pickserver,cookiespecifiesserver,APV,Rewrite Cookie (rc,2021/2/1,38,Insert Cookie (ic,Array automatically inserts a Cookie in the service response Client sends a req
38、uest to the virtual service. Array selects a real service and forwards request to it. Response from real service does not contain a cookie, but cookie persistence is needed. Array creates a cookie based on the real service and inserts it in the response. Client receives cookie in response. Next requ
39、est from client includes cookie. Array examines cookie, strips out cookie, and sends request to same real service as first request. Used in cases where the web site does not have built-in cookie support,2021/2/1,39,Client,Server,pickserver,cookiespecifiesserver,APV,Insert Cookie (ic,2021/2/1,40,Hash
40、 Cookie (hc,Real service selection is based on a hash of the specified cookies value. Used when each client browser session to the web site results in a unique cookie value for that browser session,2021/2/1,41,Client,Server,pickserver,cookie hash specifiesserver,Server,cookie hash specifiesserver,AP
41、V,Hash Cookie (hc,2021/2/1,42,Embed Cookie(ec,Embed cookie allows us to embed a section of a cookie value to the cookie can be sent back to the same server. Client sends a request to the virtual service. Array selects a real service and forwards request to it. Response from real service contains a c
42、ookie. Array embeds a specific value based on the real service. Client receives cookie in response. Next request from client includes cookie. Array examines cookie and removes the embedded value, then sends request to indicated real service. Unlike rewrite cookie, we will strip out the modifications
43、 that the ArrayOS has made in the request. so the backend will see the original cookie,2021/2/1,43,Embed Cookie(ec,Client,Server,pickserver,cookiespecifiesserver,APV,2021/2/1,44,幾種算法的區(qū)別,Insert Cookie :Array會自動插入一個Cookie。 Re-Write Cookie:Array在Response時重寫Cookie的值,服務(wù)器看到的已經(jīng)是修改后的Cookie。 Embed Cookie:Arr
44、ay在Response時在服務(wù)器回應(yīng)的Cookie里,插入一段值。 Persistent Cookie:根據(jù)服務(wù)器的Cookie的值進行保持(靜態(tài)匹配) Hash Cookie:根據(jù)服務(wù)器的Cookie的值進行保持(不需要靜態(tài)匹配,Hash Cookie的值,2021/2/1,45,SLB Virtual Services,The following parameters are associated with a virtual service: Virtual service protocol (udp, tcp, ftp, http; tcps and https for SSL) Vi
45、rtual service name Virtual service IP address Virtual service port,2021/2/1,46,SLB Policy,SLB Policy Policy Matching Policy Precedence Policy Types,2021/2/1,47,SLB Policy,A policy defines the rules for matching client requests on a virtual service to a specific group or real service. Virtual service
46、s may have multiple policies assigned to them allowing hierarchical L7 load balancing. Policies have precedence levels to resolve conflicts if a client request matches more than one policy of the same type,Policy,Real b,Real c,Real a,Group,Virtual Service,2021/2/1,48,virtual server:80,Gro
47、up1,Group member (server= :80,Intelligent Traffic Control(look at URL, client IP . Cookie, Hostname Header、 regex、 etc.,Incoming request,Load Balancing,policy,Group2,Group member (server= :80,Group member (server= :80,Group member (server= :80,Group member (server= 10
48、.1.1.5:80,Group member (server= :80,SLB Policy,Virtual services may have multiple policies assigned to them allowing hierarchical L7 load balancing,2021/2/1,49,Policy Types,Basic Policy Types Static Default Backup Redirect,Persistent Policy Types Persistent URL Persistent Cookie Rewrite Cook
49、ie Insert Cookie Header QoS Policy Types QoS Cookie QoS Hostname QoS URL QoS Network Regular Expression Header,2021/2/1,50,The precedence between policy types,1.static 2. redirect 3. qos network 4. persistent url 5. rewrite cookie 6. insert cookie 7. persistent cookie 8. qos cookie 9. qos hostname 1
50、0. qos url 11. regex 12. header 13. default 14. backup,2021/2/1,51,健康檢查類型,ICMP 向后臺的Real IP發(fā)送ICMP echo請求,并根據(jù)是否收到響應(yīng)判斷健康狀態(tài) 網(wǎng)絡(luò)層檢查 UDP DNS TCP 與后臺的服務(wù)器嘗試建立一個特定端口的TCP連接,根據(jù)能否建立連接來判斷健康狀態(tài)傳輸層檢查 HTTP 請求/響應(yīng) 向后臺服務(wù)器發(fā)送一個預(yù)先配置的HTTP請求,將接收到的響應(yīng)與預(yù)先配置的內(nèi)容進行比較,以此來判斷健康狀態(tài)應(yīng)用層檢查 缺省的請求是“HEAD / HTTP/1.0rnrn”. 缺省的響應(yīng)是“200 OK”. TCP-
51、Script, UDP-Script 定制模擬用戶訪問請求和服務(wù)器相應(yīng) Radius應(yīng)用 Web應(yīng)用中針對關(guān)鍵字的健康檢查,服務(wù)器1,服務(wù)器3,服務(wù)器2,Internet,2021/2/1,52,內(nèi)容,Array Appvelocity(簡稱APV)產(chǎn)品介紹 APV負載均衡器工作原理 APV初始化安裝與基本配置 1,APV-配置-初始化 2,APV-配置-Vlan 3,APV-配置-Interface 4,APV-配置-Routing 5,APV-配置-針對于關(guān)鍵字的健康檢查 6,APV-配置-Real Services 7,APV-配置-Groups 8,APV-配置-Virtual Ser
52、vices 9,APV-配置-Nat 集群配置 典型組網(wǎng),2021/2/1,53,終端配置,Requirements Client computer Rollover cable + RJ45-DB9 adapter (provided) Terminal Client such as HyperTerminal or TeraTerm Terminal software settings Terminal Type = VT100 Baud = 9600 Bits = 8 Parity = None Stop Bits = 1 Flow control = None,2021/2/1,54,
53、初始化菜單,通過console連接到Array APV的設(shè)備后,回車登陸。APV產(chǎn)品默認需要認證,才能進行管理配置,默認的用戶名為array,口令為,admin,APV系列產(chǎn)品的三種工作模式分別具有以下功能: 1,登陸模式:以“”開頭,僅僅能夠進行一些基本狀態(tài)查看 2,管理模式:以“#”開頭,能夠進行所有狀態(tài)信息的查看,同一時刻允許有多個管理員處在此模式下。 從登陸模式進入管理模式的命令:enable(可簡寫為en),通過enable口令認證后(默認的enable密碼為空),即可進入管理模式。 3,配置模式:以“(config)”開頭,能夠?qū)υO(shè)備進行配置和管理,同一時刻僅僅允許一個管理人員處在
54、配置模式下。此模式下可以同時具有管理模式和登陸模式的功能。 從管理模式進入配置模式的命令為:configure terminal(可簡寫為config t),即可進入配置模式。 從高級模式退出到低級模式的命令為exit或disable,2021/2/1,55,初始化配置,配置IP地址 命令:ip address outside | inside 實例:例如需要對設(shè)備的outside端口進行配置 AN(config)#ip address outside 啟用webui功能 AN(config)# webui on 配置缺省路由 命令:ip rout
55、e default 實例:AN(config)#ip route default ,2021/2/1,56,SSH登陸管理,Requirements SSH client to securely connect via SSH. PuTTY (freeware) can be downloaded from Configure an interface IP address on the Array system. Establishing an SSH connection Windows PuTTY clients: Select the SSH Radio button.
56、 Enter the IP address of the Array APV (in this example, ). Unix clients: Enter ssh array from the command shell,2021/2/1,57,WEB登陸管理,Requirements Web browser client to securely connect via HTTPS (SSL). Internet Explorer 6.0 (or higher) Netscape Navigator 7.0 (or higher) Using a serial conso
57、le CLI connection: Set an interface IP address Set a default router Enable the WebUI (disabled by default) Establishing an SSL connection WebUI uses port 8888 by default. Port is configurable by the user. Open URL: https:/: Example: 00:8888 Enter username and password. Default adminis
58、trator account: Username = array Password = admin,2021/2/1,58,WEB登陸管理,2021/2/1,59,WEB登陸管理,2021/2/1,60,WEB全局界面,2021/2/1,61,WEB頁面語言選擇,2021/2/1,62,WEB中文管理界面,2021/2/1,63,說明,說明: Array的配置分為running-config和startup-config,因此,在做完所有的配置后,必須要進行保存配置操作,如下圖所示: 點擊“Save Config”即可,2021/2/1,64,內(nèi)容,Array Appvelocity(簡稱AP
59、V)產(chǎn)品介紹 APV負載均衡器工作原理 APV初始化安裝與基本配置 1,APV-配置-初始化 2,APV-配置-Vlan 3,APV-配置-Interface 4,APV-配置-Routing 5,APV-配置-針對于關(guān)鍵字的健康檢查 6,APV-配置-Real Services 7,APV-配置-Groups 8,APV-配置-Virtual Services 9,APV-配置-Nat 集群配置 典型組網(wǎng),2021/2/1,65,Vlan配置,2021/2/1,66,Vlan配置,2021/2/1,67,Delete Vlan,Delete,2021/2/1,68,內(nèi)容,Array Appv
60、elocity(簡稱APV)產(chǎn)品介紹 APV負載均衡器工作原理 APV初始化安裝與基本配置 1,APV-配置-初始化 2,APV-配置-Vlan 3,APV-配置-Interface 4,APV-配置-Routing 5,APV-配置-針對于關(guān)鍵字的健康檢查 6,APV-配置-Real Services 7,APV-配置-Groups 8,APV-配置-Virtual Services 9,APV-配置-Nat 集群配置 典型組網(wǎng),2021/2/1,69,Assign IP Address,Basic Networking Interface,在Static IP Address和Static
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年電動四輪車銷售代理合同模板
- 2025年度沙漠綠化工程分包合同4篇
- 二零二五版智能安防產(chǎn)品定制開發(fā)合同3篇
- 二零二五年度采石廠經(jīng)營權(quán)及產(chǎn)品銷售合同樣本2篇
- 二零二四年個人汽車貸款授信額度借款合同模板3篇
- 二零二五版軍人離婚案件法律代理及調(diào)解服務(wù)合同2篇
- 2025版路燈照明設(shè)施節(jié)能降耗與運維管理合同4篇
- 二零二五年度企業(yè)內(nèi)部研發(fā)項目保密合同范本4篇
- 2025年教育機構(gòu)收益權(quán)轉(zhuǎn)讓及投資合作合同3篇
- 個人股東股權(quán)質(zhì)押融資合同(2024版)版B版
- DB-T29-74-2018天津市城市道路工程施工及驗收標準
- 小學(xué)一年級20以內(nèi)加減法混合運算3000題(已排版)
- 智慧工廠數(shù)字孿生解決方案
- 病機-基本病機 邪正盛衰講解
- 品管圈知識 課件
- 非誠不找小品臺詞
- 2024年3月江蘇省考公務(wù)員面試題(B類)及參考答案
- 患者信息保密法律法規(guī)解讀
- 老年人護理風(fēng)險防控PPT
- 充電樁采購安裝投標方案(技術(shù)方案)
- 醫(yī)院科室考勤表
評論
0/150
提交評論