雙 uCPE:具有高可用和負載平衡的計算服務 NVR、POS 和 Wi-Fi
Dual uCPE: Computed NVR, POS, and Wi-Fi with High Availability and Load Balancing
摘要
服務提供商安裝客戶端設備(CPE)以在客戶端網絡中託管各種服務,例如網際網路網關、路由器、防火牆和機頂盒。虛擬化技術能夠虛擬化 x86 服務器上的服務,從而導致虛擬 CPE(vCPE)的出現。 vCPE 將計算和網絡服務合併在同一台服務器中,稱為通用 CPE(uCPE)。將所有服務託管在同一台服務器上會增加服務器負載,並可能導致災難性故障。在本論文中,我們提出了一種雙 uCPE架構,它支持高可用性計算和網絡服務,以最大限度地減少零售商案例研究中出現故障時的停機時間。雙uCPE系統採用主從模式,承載銷售時點情報系統(POS)、網路影片錄像機(NVR)、無線存取點(AP)等零售商應用。提出了三層 HA 網絡以確保 WAN 連接、託管虛擬路由器的雙 uCPE 服務器以及使用雙 WAN、雙網關和無線分佈式系統(WDS)的 WiFi 接入點的可用性。還實施了雙廣域網和雙網關上的流量平衡以提高吞吐量。評估了 HA 系統的故障轉移和故障恢復性能。 POS 和 NVR 故障轉移時間分別為 9.12 和 8.76 秒,而故障恢復時間為 7.1 和 6.92 秒。由於無需等待三個廣告消息序列進行恢復,因此故障回复時間更快。 HA 網絡的故障轉移和故障恢復時間在 WAN 連接失敗的情況下均為 0 秒,在 uCPE 服務器故障的情況下為 4.42 和 0.13 秒,在 AP 故障的情況下為 40.14 和 30.02 秒。 AP 上的故障耗時最長,因為它需要重新配置 WDS,這比使用 VRRP 的服務器恢復需要更多時間。雙uCPE在所有故障情況下的平均停機時間約為秒,這比人工手動恢復(可能需要幾分鐘)快得多。
A service provider installs customer premise equipment (CPE) to host various services in the customer side networks, such as an Internet gateway, router, firewall, and set-top box. Virtualization technology enables to virtualize services on x86 servers resulting in the emergence of virtual CPE (vCPE). vCPE merges computing and networking services in the same server, which was named universal CPE (uCPE). Hosting all services on the same server increases the server load and can lead to catastrophic failure. In this thesis, we propose a dual-uCPE that supports both high-availability computing and networking services to minimize downtime during failures for a retailer case study. With master-slave mode, the dual-uCPE system hosts retailer applications such as POS, NVR, and AP. Three-tier HA networking was proposed to ensure availability in WAN connections, the dual-uCPE server hosting virtual routers, and WiFi access points by using dual WAN, dual gateway, and wireless distributed system (WDS). Traffic balancing on the dual WANs and dual gateways were also implemented to improve the throughput. The failover and failback performance of the HA system were evaluated. The POS and NVR failover times are 9.12 and 8.76 seconds, respectively, while the failback times are 7.1 and 6.92 seconds. Failback time is faster due to no need to wait for three sequences of advertisements messages for recovery. The failover and failback times for HA networking are both 0 seconds in the event of a WAN connection failure, 4.42 and 0.13 seconds in the event of an uCPE server failure, and 40.14 and 30.02 seconds in the event of an AP failure. Failure on AP took the longest time because it needs to reconfigure WDS which takes more time than server recovery which uses VRRP. The average downtime of a dual-uCPE in all failure scenarios is in the order of seconds, which is much faster than manual recovery by a human, which may take minutes.