| In order to meet the growing business needs,Internet enterprises need to run a large number of server devices to support related business.Server management software is a software product that monitors and manages server nodes in enterprise network environment.It integrates the management and configuration of server equipment such as rack server and blade server.The management node manages other server nodes in the network environment by running the software.Because the server will inevitably fail in the real production environment,the management node will not be able to continue to provide management services after failures.Therefore,it is necessary to improve the availability of server management software to ensure uninterrupted management services.High Availability refers to improving system availability through relevant design and methods,reducing service unavailability time due to hardware and software failures,while maintaining high availability of services.In order to improve the availability of server management software,the problem that the management node can not continue to provide management services after the failure of the management node in the actual network environment is solved.This thesis designs and implements a high-availability module of server management software.When the management node fails,the service of the management node is transferred to the standby node,so that the system can provide uninterrupted server management service to the outside world.The main work of this thesis is as follows:(1)Analyzing the commonly used high availability modes and key technologies,and designing the scheme needed in this thesis based on the current application scenarios.According to the status of server management software,the requirement analysis is carried out,the functional sub-module of this thesis is designed,and the nonfunctional requirements of the system are put forward.(2)Using data link layer management protocol,a communication mechanism between nodes is designed and implemented.Communication between nodes is achieved by sending and receiving messages from link layer.On the basis of this communication mechanism,the functions of heartbeat detection and node management are designed.(3)According to the requirement analysis,the design and implementation of each module are proposed,including node management,data backup,service switching and other modules.When the management node has obstacles,the standby node takes over the task of the management node,reduces the service stagnation time,and improves the availability of management software.(4)Finally,the high availability module is tested and validated,and the test results are given.As a part of the server management software,the high availability module meets the expected goal of the project after testing and acceptance,and is applied in the server product supporting software.At the same time,this module provides some practical solutions for the high availability of server management. |