Research Article Dynamic Server Cluster Load Balancing in Virtualization Environment with OpenFlow

Similar documents
Interactive Monitoring, Visualization, and Configuration of OpenFlow-Based SDN

Mobile Management Method for SDN-based Wireless Networks

The Load Balancing Research of SDN based on Ant Colony Algorithm with Job Classification Wucai Lin1,a, Lichen Zhang2,b

Research Article A Two-Level Cache for Distributed Information Retrieval in Search Engines

Load balancing algorithms in cluster systems

Open Access Mobile Management Method for SDN-Based Wireless Networks

Research Article MFT-MAC: A Duty-Cycle MAC Protocol Using Multiframe Transmission for Wireless Sensor Networks

A Hybrid Hierarchical Control Plane for Software-Defined Network

Interconnected Multiple Software-Defined Network Domains with Loop Topology

Load Balancing through Multipath Selection Mechanism for Big Data Centers in Clouds

Research Article Cooperative Signaling with Soft Information Combining

Research Article A Multicontroller Load Balancing Approach in Software-Defined Wireless Networks

Research on Firewall in Software Defined Network

Research Article Implementation of Personal Health Device Communication Protocol Applying ISO/IEEE

OPTIMAL METHOD FOR SHARING INTERNET IN WIRELESS MESH NETWORK USING FIXED- BAND NON-SHARING, NON-FIXED-BAND NON-SHARING / SHARING ALGORITHMS

Research Article Average Bandwidth Allocation Model of WFQ

Architecture Design and Experimental Platform Demonstration of Optical Network based on OpenFlow Protocol

Research Article Modeling and Simulation Based on the Hybrid System of Leasing Equipment Optimal Allocation

A Mediator based Dynamic Server Load Balancing Approach using SDN

Dynamic Load-balance Scheduling Approach in Linux Based on. Real-time Modifying LVS Weight. YihuaLIAO1, a,min LIN2

A Software-Defined Networking Security Controller Architecture. Fengjun Shang, Qiang Fu

Dynamic Load-balanced Path Optimization in SDN-based Data Center Networks

Centralization of Network using Openflow Protocol

Managing Failures in IP Networks Using SDN Controllers by Adding Module to OpenFlow

Achieving Distributed Buffering in Multi-path Routing using Fair Allocation

A SDN-like Loss Recovery Solution in Application Layer Multicast Wenqing Lei 1, Cheng Ma 1, Xinchang Zhang 2, a, Lu Wang 2

Optimization on TEEN routing protocol in cognitive wireless sensor network

IN recent years, the amount of traffic has rapidly increased

A Scheme of Multi-path Adaptive Load Balancing in MANETs

A priority based dynamic bandwidth scheduling in SDN networks 1

Design the DNS-like Smart Switch for Heterogeneous Network base on SDN Architecture

Performance benchmarking of SDN experimental platforms

Server Load Balancing with Path Selection in Virtualized Software Defined Networks

Research Article Regressive Structures for Computation of DST-II and Its Inverse

Impact of End-to-end QoS Connectivity on the Performance of Remote Wireless Local Networks

A Study on Load Balancing Techniques for Task Allocation in Big Data Processing* Jin Xiaohong1,a, Li Hui1, b, Liu Yanjun1, c, Fan Yanfang1, d

Applications and Performance Analysis of Bridging with L3 Forwarding on Wireless LANs

T9: SDN and Flow Management: DevoFlow

LOAD BALANCING ALGORITHMS ROUND-ROBIN (RR), LEAST- CONNECTION, AND LEAST LOADED EFFICIENCY

Preliminary Research on Distributed Cluster Monitoring of G/S Model

Research Article Cloud Platform Based on Mobile Internet Service Opportunistic Drive and Application Aware Data Mining

2013 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media,

Comparison of SDN OpenFlow Network Simulator and Emulators: EstiNet vs. Mininet

Software Defined Networking: A New Networking Approach

Research on Heterogeneous Communication Network for Power Distribution Automation

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Performance and Scalability with Griddable.io

TheComponentsthatcanBuildFlexibleEfficientSoftwareDefinedNetwork

SOFTWARE DEFINED NETWORKS. Jonathan Chu Muhammad Salman Malik

Using libnetvirt to control the virtual network

Applications and Performance Analysis of Bridging with Layer-3 Forwarding on Wireless LANs

Implementing an OpenFlow Switch With QoS Feature on the NetFPGA Platform

The Design and Implementation of Disaster Recovery in Dual-active Cloud Center

ADAPTIVE AND DYNAMIC LOAD BALANCING METHODOLOGIES FOR DISTRIBUTED ENVIRONMENT

An Cross Layer Collaborating Cache Scheme to Improve Performance of HTTP Clients in MANETs

Open Access The Three-dimensional Coding Based on the Cone for XML Under Weaving Multi-documents

A Method of Identifying the P2P File Sharing

Application-Aware SDN Routing for Big-Data Processing

Automatic bootstrapping of OpenFlow networks

Control Traffic Analysis of On-Demand Routing Protocol. in Mobile Ad-hoc Networks

Multi-agent tasks scheduling system in software defined networks

The Study of Intelligent Scheduling Algorithm in the Vehicle ECU based on CAN Bus

EXPERIMENTAL STUDY OF FLOOD TYPE DISTRIBUTED DENIAL-OF- SERVICE ATTACK IN SOFTWARE DEFINED NETWORKING (SDN) BASED ON FLOW BEHAVIORS

Low Overhead Geometric On-demand Routing Protocol for Mobile Ad Hoc Networks

PathMon: Path-Specific Traffic Monitoring in OpenFlow-Enabled Networks

Australian Journal of Basic and Applied Sciences. Comparative Investigation On Mygrant Wlan Performance Analysis With And Without Load Balancer

Resilient Packet Rings with Heterogeneous Links

Advanced Computer Networks. Network Virtualization

Networking Recap Storage Intro. CSE-291 (Cloud Computing), Fall 2016 Gregory Kesden

An Enhanced Binning Algorithm for Distributed Web Clusters

The Design and Optimization of Database

Software Defined Networking

ABSTRACT I. INTRODUCTION

Presenting a multicast routing protocol for enhanced efficiency in mobile ad-hoc networks

VIRTUALIZATION IN OPENFLOW NETWORKS

PerformanceAnalysisofDifferentOpenflowbasedControllerOverSoftwareDefinedNetworking

Introduction to Software-Defined Networking UG3 Computer Communications & Networks (COMN)

Correlation based File Prefetching Approach for Hadoop

An Improved Data Flow Architecture for Logic

Efficient Use of SDN in LTE for Better Cellular Traffic Control

vsphere Networking Update 2 VMware vsphere 5.5 VMware ESXi 5.5 vcenter Server 5.5 EN

HPC Considerations for Scalable Multidiscipline CAE Applications on Conventional Linux Platforms. Author: Correspondence: ABSTRACT:

Lecture 10.1 A real SDN implementation: the Google B4 case. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

XCo: Explicit Coordination to Prevent Network Fabric Congestion in Cloud Computing Cluster Platforms. Presented by Wei Dai

Radio Frequency Convergence Protocol for 4G Networks

Open Access Apriori Algorithm Research Based on Map-Reduce in Cloud Computing Environments

Slicing a Network. Software-Defined Network (SDN) FlowVisor. Advanced! Computer Networks. Centralized Network Control (NC)

vsphere Networking Update 1 ESXi 5.1 vcenter Server 5.1 vsphere 5.1 EN

National Taiwan University. Software-Defined Networking

Random Early Detection Web Servers for Dynamic Load Balancing

Research Article A Novel Solution based on NAT Traversal for High-speed Accessing the Campus Network from the Public Network

Active source routing for ad-hoc network: seamless integration of wireless environment

Evaluation of Cartesian-based Routing Metrics for Wireless Sensor Networks

Energy Conservation through Sleep Scheduling in Wireless Sensor Network 1. Sneha M. Patil, Archana B. Kanwade 2

Real Time Monitoring of Packet Loss in Software Defined Networks

Novel Cluster Based Routing Protocol in Wireless Sensor Networks

DCFabric: An Open Source SDN Controller for Cloud Computing Data Centers. White Paper. Shanghai Engineering Research Center for Broadband Networks

Research Article A Novel Metaheuristic for Travelling Salesman Problem

A Time-To-Live Based Reservation Algorithm on Fully Decentralized Resource Discovery in Grid Computing

Tortoise vs. hare: a case for slow and steady retrieval of large files

Transcription:

Distributed Sensor Networks Volume 215, Article ID 531538, 9 pages http://dx.doi.org/1.1155/215/531538 Research Article Dynamic Server Cluster Load Balancing in Virtualization Environment with OpenFlow Wenbo Chen, Zhihao Shang, Xinning Tian, and Hui Li School of Information Science and Engineering, Lanzhou University, Lanzhou 73, China Correspondence should be addressed to Zhihao Shang; shangzh11@lzu.edu.cn Received 4 August 214; Accepted 8 September 214 Academic Editor: Neil Y. Yen Copyright 215 Wenbo Chen et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The load balancing technology is widely used in current enterprise network to provide high quality and reliable service. Conventional load balancing technology is often achieved by specific hardware that is usually very expensive and lacks sufficient flexibility. Meanwhile, it is easy to become a single point of failure and would be restricted in virtualization environments. Thus, we propose a load balancing algorithm based on server running state, which can calculate comprehensive loading according to the CPU utilization, memory utilization, and network traffic of the servers. Furthermore, a load balancing solution based on software defined networks (SDN) technology is applied in this paper, and it is designed and implemented in OpenFlow network. We combine network management and server state monitor in this scheme, in which the OpenFlow switches forward the request to the least comprehensive loading server by modifying the packet. 1. Introduction Currently,trafficonthenetworkisveryhugeandisgrowing rapidly. Network congestion and server overload are becoming severe problems faced by enterprises. In particular, the technologies and concepts such as cloud computing, virtualization, and big data make the issue particularly important [1]. Typical enterprise networks are very complex, and with the growth of business, enterprises need to purchase more equipment, build more sophisticated networks, and handle more traffic. Most internet service providers use load balancing technology to assign the user s requests to different computers in data center. In order to minimize response time of requests and enhance user experience, requests from different users are processed by different computing nodes [2]. Therefore, the amount of computation for each node is reduced. Load balancingtechnologyismainlyforwebservice,ftpservice, business-critical application, and other network applications [3]. Traditional load balancers are expensive, and the load balancer policy set needs to be formulated in advance, with its lack of flexibility leading to its inability to deal with emergency situations. Traditional load balancer requires dedicated administrators to be maintained and does not allow users to design flexible strategies based on their actual network conditions. Since all requests are passed through a single piece of hardware, any failures on the load balancer will cause the collapse of the entire service. Various load balancing schemes have some deficiencies in current situations. The fundamental reason is that the traditional design of the Internet has some problems [4]. Under the impact of the new requirements, the bottleneck of traditional network architecture has been reflected in many aspects. People are looking for new options to meet changing business. Among many projects, SDN is the most influential and distinguished one, as the representative of SDN from the beginning, OpenFlow [5] has received wide attention from researchers. The goal of OpenFlow is to change the way of controlling traditional network devices. In traditional networks, network devices forward data in accordance with distributed data management and, in the process of forwarding data from source to destination, individual equipment determines how to forward its data independently. OpenFlow separates control module from the devices and puts it into an external server with a control program running on it; the server can send commands to

2 Distributed Sensor Networks Controller OpenFlow protocol the flexible configuration capabilities of this architecture. An OpenFlow switch can connect to multiple controllers in OpenFlow1.3, we can use several servers as controller connecting to OpenFlow Switch, so as to improve the robustness of the system [8]. 2. Related Work OpenFlow channel Flow table Pipeline OpenFlow switch Group table Flow table Figure 1: The idealized OpenFlow switch model [17]. the OpenFlow switches to control the forwarding policy, and the control program can also provide an external application programming interface for network administrators to control the switch programmatically. This does not only reduce the need for manual configurations on switch, it can also provide greater flexibility in network management. The OpenFlow switch model is shown in Figure 1. Using load balancing technology in OpenFlow network can well overcome some of the shortcomings of traditional load balancing and provide a simple and effective solution with high flexibility [6]. Due to the difference between the traditional Internet and OpenFlow network, they inevitably differ from each other in using load balancing techniques in traditional network and OpenFlow network. The traditional load balancing technology is not fully applicable to the OpenFlow network. New problems have emerged, such as load balancing module design, the server operating status monitoring, and how to ensure the flexibility of load balancing. On the other hand, many businesses in the enterprise network are migrating to virtual environments because virtualization technology can help companies to save money, consolidate servers, and maximize the utilization of limited resources [7]. But now that load balancing technology is not mature enough in virtual environment, the application of traditional load balancing products is under restrictions in data center virtualization environments, which brought resistance to enterprise data center virtualization development. We proposed the design and implementation of OpenFlow-based server clusters dynamic load balancing in a virtualized environment. The architecture not only is inexpensive but also provides the flexibility to write modules in the controller for implementing the customizable policy set. Internet applications can achieve real-time monitoring of load and timely access the appropriate resources by Uppal and Brandon implemented and evaluated an alternative load balancing architecture using an OpenFlow switch connected to an NOX controller, which gains flexibility in policyandhasthepotentialtobemorerobusttofailure with future generations of switches [9]. OpenFlow load balancing architecture in this paper used an OpenFlow switch connected to the controller, the Internet, and a group of servers. Each server used a static IP address and the controller maintained the server list. NOX controller defined load balancing policy and added a new rule of the flow table to the OpenFlow switch using handler function. The module implemented the three load balancing strategies: Random, Round Robin, and Load-Based. Thus, all clients request to the same IP address; when a request arrives, NOX modifies the destination MAC address and the destination IP address of package based on the load balancing strategy. After modifying, the switch forwards the packet to a picked server. When the response from the server arrives, OpenFlow switch modifies the source MAC address and the source IP address into the destination MAC address and the destination IP address of the client request. Handigol et al. described a structure of the network load balancing system that addresses two aspects of load balancing concerns: network congestion and server load [1]. Plug-nserver tried to minimize response time by controlling the load of network and servers using customized flow routing. The system allowed the operator in any way to add computing resources and switch to increase the capacity of web services. Plug-n-server controller used an integrated optimization algorithm developed by Stanford, called LOBUS. In the demonstration, all servers were assigned the same IP alias. When the request whose destination IP address was the IP of the servers arrived, the controller determined which server and which route to be chosen to minimize response time. To achieve this goal, Plug-n-server completed the following tasks: (1) monitoring the current status of the network and servers, including network topology, network congestion, and load of servers and(2) selecting the appropriate server to respond to the request from client. Yu and Pan proposed a dynamic routing algorithm for load balancing in the network data center to obtain high performance and low latency [11]. By comparison, dynamic load balancing routing could schedule network traffic according to the updated traffic statistics on each network device. Although dynamic load balancing is flexible and adaptive to real-time network statistics, it brings extra overheads for monitoring network statistics and scheduling flows. Their paperpresentedaloadbalancerforthefat-treenetwork with multipath support. They implemented a dynamic load balancing routing algorithm in the load balancer, which was

Distributed Sensor Networks 3 Client 1 Controller. OpenFlow network Client n LAN Server cluster SAN ISCSI protocol Storage cluster Figure 2: Load balance architecture based on OpenFlow. adaptive to network traffic and scheduled flows by examining the current available bandwidth on all alternative links. Long et al. proposed a novel path-switching algorithm LABERIOto balance the traffic dynamically [12]. The purpose of LABERIO is to minimize network latency and transmission time and to maximize the throughput by utilizing resources better. The experiments performed in two kinds of network architectures show that LABERIO could get less response time than other typical load balancing algorithms. And they conducted some comparative study; it came that the algorithm was better than other methods within multiple transmission modes. And they compared some relative studies; it came that the algorithm was better than other methods within multiple transmission modes. Ghaffarinejad and Syrotiuk developed a load balancing solution based on SDN for their campus network [13]. Their aimistoshowthatsuchasolutionmaycutcostsandimprove flexibility of network. In the solution, their application shared elements with the distributed control plane of Kandoo [14] and there were a root controller and multiple local controllers. When an event comes, if it is not required global information of network, the local controller will handle it; otherwise, the event will be forwarded to the root controller, which keeps network-wide state and could process it best. 3. Proposed Research The load balancing architecture described in this paper consists of OpenFlow network with controller and server clusters, which is connected to the OpenFlow network, and a SAN storage network which provides shared storage for the server cluster. Controller rules the OpenFlow switches; at the same time, it obtains running status from the servers regularly. As is shown in the Figure 2, each server, which provides external service, and the controller are equipped with a static IP address. The controller maintains a server address pool and generates current network topology in real-time. There is also a virtual IP address used by clients to request. From the client s perspective, the server cluster reflects an IP-based system. All the servers share the virtual address and all the clients will send their requests to the virtual IP address. That

4 Distributed Sensor Networks Packet-in from network Lookup flow Send to controller Apply actions Figure 3: The procedure of OpenFlow switch processing packet. is to say, the clients treat the server cluster as one server whose IP address is the virtual IP address. When a client sends a request to the OpenFlow network, OpenFlow switches use the packet header information to compare with flow entry in the flow table; if packet header information matches up with a flow entry, OpenFlow switches will increase the counters and byte counters associated with the flow and forward the packet using actions in the flow entry. If there is no flow entry that matched up with the packet, OpenFlow switches will forward this packet to the OpenFlow controller, and then let the controller determine how the switch forwards the packet. The controller adds the corresponding flow entry to switch through OpenFlow protocol. Figure 3 shows the procedure of OpenFlow switch processing packet. When a packet-in message comes into the controller, the controller will check if the IP address of the packet is the same as the virtual IP address, by which the servers provide network service. If not, the controller will forward the packet normally. Otherwise, the controller will select a server to respond to the client based on the load balancing strategy, and it will also add a flow entry to the OpenFlow switch which sent the packet-in message. In addition, the servers use a shared storage via iscsi protocol to behave the same. 3.1. Load Balancing Strategies 3.1.1. Random Algorithm. Immediately after each flow is forwarded to the controller, the controller randomly selects a server from the server list to process the client request [15]. 3.1.2. Round Robin. For each flow that is forwarded to the controller just a moment, the controller selects a server to process the client s request according to a certain order [16]. 3.1.3. Server-Based Load Balancing Algorithm (SBLB) (1) Dynamic feedback of the current server load mainly collects CPU occupancy rate L(C i ),memoryoccupancy rate L(M i ), and response time L(R i ),butthis information does not directly represent the load of a node, so it needs a function to convert these indicators andthengettheloadoftheserverl(s i ): L(S i )=r 1 L(C i )+r 2 L(M i )+r 3 L(R i ), (1) i=,1,...,n 1; sum r i =1. Due to the fact that there are different service types, which can have different influences on each part of the node, we introduced the parameter r; it is used to emphasize different degrees of influence of different parts. (2) Processing computation ability of server node: when wecomputeloadbalancing,iftheservicenodesare heterogeneous, we not only should consider the node load but also must consider the node s processing capacity. For the processing ability C(S i ) of node s i, it is mainly considered from the following several indicators: CPU quantity n i, CPU computation ability C(C i ), CPU type, memory capacity C(M i ), disk I/O rate C(D i ),networkthroughputc(n i ),andmaximum process number C(p i ): C(S i )=k 1 n i C(C i )+k 2 C(M i )+k 3 C(D i ) +k 4 C(N i )+k 5 C(p i ), i=,1...,n 1; sum (k i )=1. (3) Calculating weight: when the server load balancing system comes into use, the administrator should set DEFAULT WEIGHTi as initial weight to every server; as the server load changes, the weight will be adjusted. In order to avoid that the weight becomes a too large value, we set a range of weights to [DEFAULT WEIGHTi, SCALE DEFAULT WEIGHTI ], where SCALE can be adjusted, and its default value to 1. Controller runs SNMP module periodically to query the load parameters and calculate the aggregate load value AGGREGATE LOAD i.and,usingasigmoid function to map aggregate load to [, + ),ifthe result is 1, we think the server is in the best condition. We introduce the following formula depending on the server aggregate load value to adjust its weight: (2) w i =w i +A 3.95 AGGREGATE LOADi. (3) In the formula,.95 is what the system utilization we want to achieve, and A is an adjustable coefficient (the default value is 5). If the aggregate load is.95 then the server weight will not change, if the aggregate load is greater than.95, it will become smaller, andiftheaggregateloadislessthan.95,itwill become larger. If the new weight is greater than SCALE DEFAULT WEIGHTI,wesetthenewweight of SCALE DEFAULT WEIGHTi. This is a dynamic feedback formula that will adjust the weights to a stable point. When a system achieves the desired state, theweightwillbeconstant.inpractice,iftheweightof every server is less than DEFAULT WEIGHT,theserver cluster is considered overloaded. In this case, new nodes need to be added to the server cluster to address this issue. Conversely, if the weight of every server is close to SCALE DEFAULT WEIGHT,thecurrent system load is considered very small. (4) For each new incoming request, the load balancer selectsnodetorespondtotheclientinthefollowing method.firstly,findouttheservers m that has the maximum value of weight, and then find out a server S i,whoseweightw(s i ) fulfills W(S i )>W(S m ) f, i=,1,...,n 1,wherefis a constant. Then, add S i to

Distributed Sensor Networks 5 Main process: (1) for i:1to length(servers) (2) calculate L(S i ), the load of server i (3) calculate C(S i ), the computation ability of server i (4) Calculate P(S i )duetoc(s i ), the probability of task of server i (5) end for (6) find n servers, which has least load (7) selects a server from the n servers based on the probability Algorithm 1: Server-based load balancing algorithm. collect J.Afterthat,wecalculatetheprobabilityP(S k ) for each server in the collection using the following: P(S k )= C(S k ) sum C(S i ). (4) Then the system selects a server based on the probability. The pseudocode is shown in Algorithm 1. 3.2. OpenFlow Based Load Balancer Implementation. Controller forwards the packet which accesses the virtual host to a server whose aggregated load is the smallest in the server pool by adding flow. It works as follows: all clients use the virtual IP address for accessing the servers, which is known as an address for the network service. Client should set an ARP request for the virtual address before request. When OpenFlow switch receives the ARP request and sends a packet-in message to controller, controller will send an ARP reply packet through a packet-out message, which contains a virtual MAC address associated with the virtual IP address. When a request arrives to OpenFlow switch, then the controller designates one server to serve it according to the load balancing strategy then adds the flow entry to the flow table, which will modify the request packet s destination MAC and IP address into the selected server s MAC and IP address and forward packet to the selected server. Meanwhile, it also adds a flow for the response of server, which will modify the response packet s source MAC and IP address into the virtual MAC and IP address. Then the connection between the client and the server is established; all packets will be forwarded at line speed. In this paper, our load balancer consists of three modules as follows: virtual machine management, load balancing policy module, and Floodlight, as shown in Figure 4. In the experiments, we use Libvirt to implement virtual machine management module. This module is responsible for obtaining the running status of each virtual machine in fixed period, including CPU usage, memory usage, system I/O usage and response time of web server, and feeding the result back totheloadbalancingpolicymodule.theresponsibilityof the load balancing policy module is to select a server for the client according to the SBLB algorithm when a request arrives,whichwillprocesstherequestfromtheclient.in order to achieve that, the load balancing policy module calculates the aggregated load of each server according to the feedback information from virtual machine management moduleandthenselectsthesmallestloadingserverbased on the calculated result. The selected server will process the client s request. Floodlight module establishes a connection between the client and the server that serves the client by adding flows. When a client request arrives, Floodlight module will notify the load balancing policy module. Load balancing module will then select a server and let Floodlight know. Lastly, Floodlight module will establish network connection between the server and client so that the client and the server can resume normal communication. The whole request process is therefore completed. 4. Experiment 4.1. Experiment Environment. The main purpose of this experiment is to compare the performance of using different load balancing strategies in virtualization environment based on OpenFlow. As shown in Figure 5,thereare4KVMvirtual machines as web servers and 3 Open vswitch instances as OpenFlow switches, which connect to the servers. The servers in the network map to the same virtual address and provide the same service. Since we must guarantee the consistency of the servers content so that they offer the same web service, another KVM virtual machine is used as a shared storage node that interfaces with other nodes as an iscsi target in theformofashareddisk.thekvmserversaresetasiscsi client that mount the shared disk so that they could access the samestoragetoprovidethesameservice. 4.2. Experiment Results. In order to store the running state of the server, we store all the results into MySQL databases that are collected by virtual machine management module. Load balancing policy module gets data from the database tocalculatethecurrentloadandinformsfloodlight.the Ubuntu based client runs Jmeter, a load test tool, to simulate 1 users accessing the service concurrently. And there are thesameconfigurationandhardwareforallserversinthe experiment. To see the advantage of SBLB load balancing strategy in performance more intuitively, we analyzed the system response time by three different load balancing strategies, SBLB, Random, and Round Robin. Figure 6 shows the system response time by three different load balancing strategies. The horizontal axis represents

6 Distributed Sensor Networks Load balancer Client Request Open vswitch OpenFlow protocol Floodlight Load balancing strategies Virtual machine manager Server state Figure 4: Functional units of load balancer. Open vswitch Virtual user 1. Controller Virtual user 1 KVM1 KVM2 KVM3 KVM4 ISCSI protocol Storage Figure 5: Load balancing architecture in virtualization environment using Open vswitch. the number of clients accessing and the vertical axis represents the system s response time in seconds. As shown in the Figure 6,comparedtotheRoundRobinandRandom,SBLB algorithm has great advantages: it significantly reduced the response time and provided a better user experience in the experiment. To illustrate, SBLB load balancing strategy is more efficient than Round Robin and Random in utilization of network resource; we analyzed the throughput of the entire load balancing architecture when different load balancing strategies are used. Throughput refers to the number of client requests that had been processed per unit time. Figure 7 showsthethroughputchartofusingthreedifferentload balancing strategies. The graph shows the value of the amount of received data from web server per second. As is shown in Figure 7, the client gets about 375 KB data per second when SBLB algorithm is used. And the client could only get about 3 KB data when Round Robin or Random algorithm is used. It is clear that SBLB algorithm did improve the throughput of the system. We also analyzed the CPU and memory utilization of each server by the three load balancing strategies to illustrate that SBLB algorithm could make better use of each server s computing ability. Figure 8 shows the four servers memory utilization when SBLB strategy is used.

Distributed Sensor Networks 7.62.61.6.59.58.57.56.55 1 11 21 31 41 51 61 71 81 91 SBLB Round Robin Random Figure 6: Response time by 3 different load balancing strategies. 4 35 3 25 2 15 1 5 Memory utilization 4 Figure 9: Servers memory utilization by Round Robin strategy. (KB/s) 35 3 25 2 15 1 5 4 35 3 25 2 15 1 5 Memory utilization Throughput SBLB Random Round Robin Figure 1: Servers memory utilization by Random strategy. Figure 7: Throughput by three different load balancing strategies. 35 3 25 2 15 1 5 Memory utilization Figure 8: Servers memory utilization by SBLB strategies. Figure 9 shows the four servers memory utilization when Round Robin strategy is used. Figure 1 shows the four servers memory utilization when Random strategy is used. As can be seen from Figures 8 1,whenSBLBstrategyis used, four servers memory utilization is closer. When Round RobinorRandomalgorithmisused,thereisagapinthe four servers memory utilization. It means that the policy can allocate user requests more evenly and make rational use of memory for each server. Figure 11 shows the four servers CPU utilization when SBLB strategy is used. Figure 12 shows the four servers CPU utilization when Round Robin strategy is used. Figure 13 shows the four servers CPU utilization when Random strategy is used. AscanbeseenfromFigures11 13,whenSBLBalgorithm is used, four servers CPU utilization is closer. When Round Robin or Random algorithm is used, there is a gap in the four servers CPU utilization. It means that SBLB algorithm can allocate user requests better and make rational utilization of CPU for each server.

8 Distributed Sensor Networks 6 5 4 3 2 1 CPU utilization Figure 11: Servers CPU utilization by Random strategy. 5. Conclusion This paper described a server cluster dynamic load balancing methodbasedonopenflowtechnologyinvirtualenvironment to solve the problem of how to take load balancing into network virtualization in data center. The experiments show that it is possible to make a powerful, flexible, and cost effective load balancing methods by OpenFlow. OpenFlow technology provides flexibility for the realization of different load balancing strategies, which makes it convenient to use software-defined method to achieve different load balancing strategies in different network environments. Experimental results show that, compared with the traditional algorithms, suchasroundrobinandrandom,thesblbloadbalancing algorithm which we proposed can not only decrease the response time to provide a better user experience but also make the utilization of server CPU and memory more efficient and offer a more effective load balancing method. Conflict of Interests 6 5 4 3 2 1 CPU utilization Figure 12: Servers CPU utilization by Round Robin strategy. 6 5 4 3 2 1 CPU utilization Figure 13: Servers CPU utilization by Random strategy. The authors declare that there is no conflict of interests regarding the publication of this paper. References [1] T.Benson,A.Anand,A.Akella,andM.Zhang, Understanding data center traffic characteristics, ACM SIGCOMM Computer Communication Review,vol.4,no.1,pp.92 99,21. [2]R.Schoonderwoerd,J.L.Bruten,O.E.Holland,andL.J.M. Rothkrantz, Ant-based load balancing in telecommunications networks, Adaptive Behavior,vol.5,no.2, pp.169 27,1997. [3] V. Cardellini, M. Colajanni, and P. S. Yu, Dynamic load balancing on web-server systems, IEEE Internet Computing, vol. 3, no. 3, pp. 28 39, 1999. [4] B.Raghavan,T.Koponen,A.Ghodsi,M.Casado,S.Ratnasamy, and S. Shenker, Software-defined internet architecture: decoupling architecture from infrastructure, in Proceedings of the 11th ACM Workshop on Hot Topics in Networks (HotNets 12),pp.43 48, ACM, October 212. [5] N. McKeown, T. Anderson, H. Balakrishnan et al., OpenFlow: enabling innovation in campus networks, ACM SIGCOMM Computer Communication Review, vol.38,no.2,pp.69 74, 28. [6] R. Wang, D. Butnariu, and J. Rexford, OpenFlow-based server load balancing gone wild, in Proceedings of the 11th USENIX Conference on Hot Topics in Management of Internet, Cloud, and Enterprise Networks and Services (Hot-ICE 11), Boston, Mass, USA, April 211. [7] T.Anderson,L.Peterson,S.Shenker,andJ.Turner, Overcoming the internet impasse through virtualization, Computer,vol. 38, no. 4, pp. 34 41, 25. [8] M. Koerner and O. Kao, Multiple service load-balancing with openflow, in Proceedings of the IEEE 13th International Conference on High Performance Switching and Routing (HPSR 12), pp. 21 214, Belgrade, Serbia, June 212. [9] H.UppalandD.Brandon, OpenFlowbasedloadbalancing, Project Report CSE561: Networking, University of Washington, 21.

Distributed Sensor Networks 9 [1] N. Handigol, S. Seetharaman, M. Flajslik, N. McKeown, and R. Johari, Plug-n-serve: load-balancing web traffic using Open- Flow, in Proceedings of the ACM SIGCOMM Conference on Data Communication (SIGCOMM 9), Barcelona, Spain, 29. [11] L. Yu and D. Pan, OpenFlow based load balancing for fat-tree networks with multipath support, in Proceedings of the 12th IEEE International Conference on Communications (ICC 13), Budapest,Hungary,213. [12] H. Long, Y. Shen, M. Guo, and F. Tang, LABERIO: dynamic load-balanced routing in OpenFlow-enabled networks, in Proceedings of the 27th IEEE International Conference on Advanced Information Networking and Applications (AINA 13), pp.29 297, IEEE, March 213. [13] A. Ghaffarinejad and V. R. Syrotiuk, Load balancing in a campus network using software defined networking, in Proceedings of the 3rd GENI Research and Educational Experiment Workshop (GREE 14), IEEE, 214. [14] S. Hassas Yeganeh and Y. Ganjali, Kandoo: a framework for efficient and scalable offloading of control applications, in Proceedings of the 1st ACM International Workshop on Hot Topics in Software Defined Networks (HotSDN '12), pp.19 24,New York, NY, US, August 212. [15] Y. Murata, T. Inaba, H. Takizawa, and H. Kobayashi, A distributed and cooperative load balancing mechanism for large-scale P2P systems, in Proceedings of the International Symposium on Applications and the Internet Workshops (SAINT 6), pp. 126 129, IEEE, January 26. [16]S.Adabala,V.Chadha,P.Chawlaetal., Fromvirtualized resources to virtual computing grids: the in-vigo system, Future Generation Computer Systems,vol.21,no.6,pp.896 99, 25. [17] Specification, OpenFlow Switch. v1. 3.., 212.

Rotating Machinery Engineering Journal of The Scientific World Journal Distributed Sensor Networks Journal of Sensors Journal of Control Science and Engineering Advances in Civil Engineering Submit your manuscripts at Journal of Journal of Electrical and Computer Engineering Robotics VLSI Design Advances in OptoElectronics Navigation and Observation Chemical Engineering Active and Passive Electronic Components Antennas and Propagation Aerospace Engineering Modelling & Simulation in Engineering Shock and Vibration Advances in Acoustics and Vibration