Font Size: a A A

Design And Implementation Of A High Availability Based On Load Balancing Login Mechanism

Posted on:2015-07-22Degree:MasterType:Thesis
Country:ChinaCandidate:Q ZhouFull Text:PDF
GTID:2348330542952447Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the development of the Internet technology,applications of Internet based on C/S structure and B/S structure have also been widely development,the salient feature of such applications are user authentication via login mechanism,user can use the related applications after successful validation,and it can effectively ensure the security of user data.At the same time,with the increasing volume of users and the increasing demands of the product,if the product login module failure,it will directly lead to the user can't use product normally,and cause serious damage to the satisfaction of the product and the development.Therefore,in the large number of users,the reliability and stability of the enterprises' login module have higher requirements.Enterprises need to pay more attention to the login module of the high availability and stability.Aiming at the above problems,this paper mainly completed the following work:1.In this paper,through the research on the cluster technology,design and realize the management functions of the cluster host.Cluster use a large number of computers connected together through the networks,make the whole cluster can share all the resources of the computers and to provide users with services.At the same time the computer node performance for each separate cluster is not mandatory,and each node can independently provide service for the user,and does not depend on the whole cluster,which makes the cluster with the characteristics of high performance,low-cost.Through carries on the management to the cluster of hosts,this paper realized host node operation,in order to ensure the normal operation of the cluster.2.In this paper,through the research on the high availability technology,design and implementation of login service functions with high availability.High availability is refers to the long-term stability of the cluster can provide the services for the users.With the increasing of the number of cluster nodes,the probability of failure increases,it will create the serious influence on the high availability cluster.Therefore system need to design and implement a high availability mechanism to take appropriate measures when the fault appears in the cluster node to ensure that the cluster can still normal to provide service for the users,make the users still normal login.3.Through the research of the load balancing technology,this paper design and realize the function of the load balancing the login service.Through the equalization algorithm effectively,the load balancing means nodes in the cluster can achieve load balancing,make full use of the resources of each node,does not make a node relative to other nodes in the high load and the emergence of short response time,concurrency poor ability of low performance status.Method of processing is when a node is in the idle state,it will be assigned to the current user requests the idle node,the node load sharing of other nodes and the cluster in a state of equilibrium,in order to improve the performance of the entire cluster.4.This paper combines the above techniques and functions,design and implement a high availability login mechanism based on load balance.System access server connection status,service conditions and load information,management,on the server at the same time,carries on the classification to the server,and the node information of the current services can be provided to join the list of available,which can be used to provide a list of login service server IP storage for the user.The system uses simulated login to detection the status of the login service of the server,for the possible of the abnormal state of the simulated login,propose a plan to add a list of login failures which effectively solution the problem of simulated login's abnormal states.When a client sends a login request,the system returns a set of appropriate IP according to the circumstances which are lightly loaded server IP.The client uses this set of IP to log in until the login is successful.System will ensure that the client can use the returned IP successful login,in order to achieve a high availability login mechanism based on load balancing.5.The system uses multiple sets of test cases for functional and performance testing,test results show that a large amount of users accessing the system can reasonably return IP based on load balancing,high availability to meet the performance requirements of the system,it is possible to achieve High Availability based on load balancing login mechanism.
Keywords/Search Tags:Cluster, Load Balancing, Node Decision, High Availability, Login
PDF Full Text Request
Related items