CN108234159A - The configuration method and system of load balancing host - Google Patents

The configuration method and system of load balancing host Download PDF

Info

Publication number
CN108234159A
CN108234159A CN201611151472.2A CN201611151472A CN108234159A CN 108234159 A CN108234159 A CN 108234159A CN 201611151472 A CN201611151472 A CN 201611151472A CN 108234159 A CN108234159 A CN 108234159A
Authority
CN
China
Prior art keywords
load balancing
module
host
balancing host
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611151472.2A
Other languages
Chinese (zh)
Inventor
侯健
马俊杰
王阳利
刘涛
宋潇豫
赵峰
乔咏
申利飞
万淑珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Standard Software Co Ltd
Original Assignee
China Standard Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Standard Software Co Ltd filed Critical China Standard Software Co Ltd
Priority to CN201611151472.2A priority Critical patent/CN108234159A/en
Publication of CN108234159A publication Critical patent/CN108234159A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to the configuration method and system of load balancing host, the method includes:S1:Division module:The configuration of load balancing host is investigated, four front-end module, rear module, service node module and access control rule module modules are divided into according to function;S2:Drawing template establishment:For each module of load balancing host, the template of corresponding module is created;S3:Create load balancing host:The title of modules is inputted, and selects corresponding template, completes the establishment of load balancing host;S4:Write daily record:When load balancing host breaks down, automatically daily record is written in a manner that module divides in fault message by load balancing host.Present invention obviates traditional cumbersome configuration methods as unit of host, make the establishment of load balancing host and safeguard more flexible;Also, modular division log mode can largely reduce maintenance and operation cost, promote the efficiency of hostdown reparation.

Description

The configuration method and system of load balancing host
Technical field
The present invention relates to field of computer technology, and in particular to a kind of configuration method and system of load balancing host.
Background technology
In recent years, with the high speed development of Internet technology, the control and management of network load also become now more next More popular topic, each major company all employ the load-balancing technique of oneself to manage and control network load.It is equal in load In weighing apparatus technology, be required for creating load balancing host, and traditional load balancing host creation method, can only using individual host as Unit is configured by platform, and the establishment process of load balancing host is usually relatively complex, this results in configuration process easily to go out It is wrong;Also, more load balancing hosts are created, there are many repetitions and be configured, the workload of redundancy is more;Finally, with single negative It is unit to carry balanced host, and maintenance process is comparatively laborious, also can not quick positioning failure when load balancing host breaks down Position, maintenance cost are higher.
Invention content
To solve the deficiencies in the prior art, a kind of configuration method of quick and easy load balancing host is provided, the present invention A kind of configuration method of load balancing host is provided, is included the following steps:
S1:Division module:The configuration of load balancing host is investigated, front-end module, rear module, industry are divided into according to function Business node module and access control rule module;
S2:Drawing template establishment:For each module of load balancing host, the template of corresponding module is created;
S3:Create load balancing host:The title of modules is inputted, and selects corresponding template, completes load balancing host Establishment;
S4:Write daily record:When load balancing host breaks down, load balancing host is automatically divided fault message with module Mode daily record is written.
Wherein, in the step S2, same type of template creates multiple.
Wherein, in the step S2, if template does not create success, mistake, and drawing template establishment again are prompted.
Wherein, in the step S3, if load balancing host does not create success, mistake is prompted, and re-create load Balanced host.
Invention additionally provides a kind of configuration system of load balancing host, the load balancing host includes front end mould Block, rear module, service node module and access control rule module, the front-end module, rear module, service node module And access control rule module is connect with load balancing host main body, wherein,
The front-end module is set to the front end of load balancing host, for define the address of load balancing host, port and Some global variables;
User's request is distributed to different business by the rear module for handling the user's request received from front-end module On node;
The service node module is used to provide service;
The access control rule module is used for the access control rule of load balancing host.
Wherein, the rear module and the service node module are set as multiple, and each rear module corresponds to multiple industry Business node module.
The configuration method and system of load balancing host provided by the invention avoid traditional numerous as unit of host Trivial configuration method makes the establishment of load balancing host and safeguards more flexible;Also, modular division log mode, can be with Maintenance and operation cost is largely reduced, promotes the efficiency of hostdown reparation.
Description of the drawings
Fig. 1:The configuration method flow chart of the load balancing host of the present invention;
Fig. 2:The operational flowchart that the load balancing host of the present invention breaks down in the process of running;
Fig. 3:The load balancing host configuration system framework figure of the present invention.
Specific embodiment
In order to have further understanding to technical scheme of the present invention and advantageous effect, attached drawing is coordinated to be described in detail below Technical scheme of the present invention and its advantageous effect of generation.
Fig. 1 is the configuration method flow chart of the load balancing host of the present invention, as shown in Figure 1, the present invention provides one kind The configuration method of load balancing host, includes the following steps:
S1:Division module:The configuration of load balancing host is investigated, module division is carried out to it according to function, general load is equal The module of weighing apparatus host can be divided into front-end module, rear module, service node module and access control rule module;
S2:Drawing template establishment:For each module of load balancing host, the template of corresponding module is created;
S3:Create load balancing host:When creating load balancing host, it is only necessary to input the title of modules, and select Corresponding template, so that it may complete the establishment of load balancing host;
S4:Write daily record:When load balancing host breaks down, load balancing host is automatically divided fault message with module Mode daily record is written.
When it is implemented, in the step S2, same type of template creates multiple.
When it is implemented, in the step S2, if template does not create success, mistake, and drawing template establishment again are prompted.
When it is implemented, in the step S3, if load balancing host does not create success, mistake is prompted, and create again Build load balancing host.
The present invention can quickly and easily create load balancing by the configuration method of the load balancing host based on template Host;The reuse of template, reduces repetitive operation, improves the deployment efficiency of load balancing host.Meanwhile when load is equal When weighing apparatus host breaks down, load balancing host can carry out record log automatically according to template division, so as to help O&M people Member's quick positioning question reduces the repair time of platform.
Invention additionally provides a kind of configuration system of load balancing host, the load balancing host includes front end mould Block, rear module, service node module and access control rule module, the front-end module, rear module, service node module And access control rule module is connect with load balancing host main body, wherein,
The front-end module is set to the front end of load balancing host, for define the address of load balancing host, port and Some global variables;
User's request is distributed to different business by the rear module for handling the user's request received from front-end module On node;When it is implemented, rear module is equivalent to the grouping of service node, i.e. a rear module can correspond to multiple business sections Point module;
The service node module is used to provide service;That is, service node module is responsible for providing the entity of service, it is real Business host;
The access control rule module is responsible for the access control rule of load balancing host.
When it is implemented, the rear module and the service node module are set as multiple, each rear module corresponds to Multiple service node modules.
This modular configuration method avoids traditional cumbersome configuration method as unit of host, makes load equal The establishment and maintenance of weighing apparatus host are more flexible.
The configuration method of load balancing host provided by the invention, is applicable to the configuration of any load equilibrium software.
In the specific implementation, the present invention provides down by taking the realization of most typical acceptance of the bid kylin load balancing software as an example State embodiment:
Acceptance of the bid kylin load balancing software is based on Linux platform and Haproxy softwares, is developed using Python A load balancing software based on template.By taking kylin load balancing software of getting the bid as an example, specific implementation of the invention is:
(1)Before creating load balancing host, load balancing template is created, acceptance of the bid kylin load balancing software provides front end mould The template of plate, four type of rear Side Template, service node template and access control rule template, user make after drawing template establishment The establishment of load balancing host is carried out with template.
(2)Kylin load balancing of getting the bid host at runtime, if a failure occurs, can be by the modular record of fault message To journal file, facilitate orientation problem(Refer to Fig. 2).
In the present invention, so-called " Linux " is a set of free class Unix operating systems using with Free propagation, is one A multi-user based on POSIX and UNIX, multitask, the operating system for supporting multithreading and multi -CPU.
In the present invention, so-called " Haproxy softwares " is a offer high availability, load balancing and based on TCP (4th layer)And HTTP(Layer 7)The agent software of application.
In the present invention, so-called " Python ", be a kind of object-oriented, literal translate formula computer programming language.It The java standard library of one group of complete function is contained, many common tasks can be easily accomplished.Its grammer is simple, is come using retraction Definition statement block.
Advantageous effect achieved by the present invention is:
1st, the present invention is based on the configuration that template carries out load balancing host, this method can quickly and easily create load balancing master Machine, moreover it is possible to according to the position of the quick positioning load equilibrium hostdown of module.
2nd, the configuration of load balancing host is divided into multiple modules by configuration method provided by the invention, by each module Configuration is fabricated to template, and user is when creating load balancing host, it is only necessary to and the template of disparate modules is selected to be combined establishment, The configuration of completion load balancing host that thus can be simple and quick, and template may be reused, and reduce repetition behaviour Make, improve the deployment efficiency of load balancing host;
3rd, the modular configuration method of the present invention, can also carry out modular division when host breaks down by daily record, so as to Location of fault can be quickly located, reduces maintenance cost, promotes the efficiency of load balancing hostdown reparation.
4th, present invention obviates traditional cumbersome configuration mode as unit of host, make load balancing host establishment and It safeguards more flexible.
Although the present invention is illustrated using above-mentioned preferred embodiment, the protection model that however, it is not to limit the invention It encloses, any those skilled in the art are not being departed within the spirit and scope of the present invention, and various changes are carried out with respect to above-described embodiment It is dynamic still to belong to the range of the invention protected, therefore protection scope of the present invention is subject to what claims were defined with modification.

Claims (6)

1. a kind of configuration method of load balancing host, which is characterized in that include the following steps:
S1:Division module:The configuration of load balancing host is investigated, front-end module, rear module, industry are divided into according to function Business node module and access control rule module;
S2:Drawing template establishment:For each module of load balancing host, the template of corresponding module is created;
S3:Create load balancing host:The title of modules is inputted, and selects corresponding template, completes load balancing host Establishment;
S4:Write daily record:When load balancing host breaks down, load balancing host is automatically divided fault message with module Mode daily record is written.
2. the configuration method of load balancing host as described in claim 1, which is characterized in that in the step S2, same class The template of type creates multiple.
3. the configuration method of load balancing host as described in claim 1, which is characterized in that in the step S2, if template Success is not created, then prompts mistake, and drawing template establishment again.
4. the configuration method of load balancing host as described in claim 1, which is characterized in that in the step S3, if load Balanced host does not create success, then prompts mistake, and re-creates load balancing host.
5. a kind of configuration system of load balancing host, it is characterised in that:The load balancing host includes front-end module, rear end Module, service node module and access control rule module, the front-end module, rear module, service node module and access Control rule module is connect with load balancing host main body, wherein,
The front-end module is set to the front end of load balancing host, for define the address of load balancing host, port and Some global variables;
User's request is distributed to different business by the rear module for handling the user's request received from front-end module On node;
The service node module is used to provide service;
The access control rule module is used for the access control rule of load balancing host.
6. the configuration system of load balancing host as described in claim 1, it is characterised in that:The rear module and the industry Business node module is set as multiple, and each rear module corresponds to multiple service node modules.
CN201611151472.2A 2016-12-14 2016-12-14 The configuration method and system of load balancing host Pending CN108234159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611151472.2A CN108234159A (en) 2016-12-14 2016-12-14 The configuration method and system of load balancing host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611151472.2A CN108234159A (en) 2016-12-14 2016-12-14 The configuration method and system of load balancing host

Publications (1)

Publication Number Publication Date
CN108234159A true CN108234159A (en) 2018-06-29

Family

ID=62638276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611151472.2A Pending CN108234159A (en) 2016-12-14 2016-12-14 The configuration method and system of load balancing host

Country Status (1)

Country Link
CN (1) CN108234159A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510842A (en) * 2018-12-29 2019-03-22 北京威努特技术有限公司 A kind of method and device of industry control network file Mandatory Access Control configuration

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970908A (en) * 2014-05-28 2014-08-06 浪潮电子信息产业股份有限公司 Virtual machine template IVF storage method
CN104079657A (en) * 2014-07-07 2014-10-01 用友软件股份有限公司 Configurable cluster deployment device and method based on templates
CN104394224A (en) * 2014-11-28 2015-03-04 无锡华云数据技术服务有限公司 Load balance system
CN104468735A (en) * 2014-11-19 2015-03-25 山东中创软件工程股份有限公司 Load balancer management method and device based on graphical user interface
CN105049536A (en) * 2015-09-08 2015-11-11 南京大学 Load balancing system and load balancing method in IaaS (Infrastructure As A Service) cloud environment
US20160139940A1 (en) * 2014-11-14 2016-05-19 Quanta Computer Inc. Systems and methods for creating virtual machine
CN105743946A (en) * 2014-12-10 2016-07-06 中兴通讯股份有限公司 Template disposition method and apparatus
CN105740047A (en) * 2016-01-26 2016-07-06 中标软件有限公司 Cloud computing based virtual machine template management system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970908A (en) * 2014-05-28 2014-08-06 浪潮电子信息产业股份有限公司 Virtual machine template IVF storage method
CN104079657A (en) * 2014-07-07 2014-10-01 用友软件股份有限公司 Configurable cluster deployment device and method based on templates
US20160139940A1 (en) * 2014-11-14 2016-05-19 Quanta Computer Inc. Systems and methods for creating virtual machine
CN104468735A (en) * 2014-11-19 2015-03-25 山东中创软件工程股份有限公司 Load balancer management method and device based on graphical user interface
CN104394224A (en) * 2014-11-28 2015-03-04 无锡华云数据技术服务有限公司 Load balance system
CN105743946A (en) * 2014-12-10 2016-07-06 中兴通讯股份有限公司 Template disposition method and apparatus
CN105049536A (en) * 2015-09-08 2015-11-11 南京大学 Load balancing system and load balancing method in IaaS (Infrastructure As A Service) cloud environment
CN105740047A (en) * 2016-01-26 2016-07-06 中标软件有限公司 Cloud computing based virtual machine template management system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘锴: "利用HAProxy实现选课系统Web负载均衡", 《电脑知识与技术》 *
杨昌等: "基于HAProxy的负载均衡选课系统应用研究", 《楚雄师范学院学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510842A (en) * 2018-12-29 2019-03-22 北京威努特技术有限公司 A kind of method and device of industry control network file Mandatory Access Control configuration
CN109510842B (en) * 2018-12-29 2021-01-29 北京威努特技术有限公司 Method and device for configuring forced access control strategy of industrial control network file

Similar Documents

Publication Publication Date Title
US20190026085A1 (en) Intelligent cloud engineering platform
CN104252391B (en) Method and apparatus for managing multiple operations in distributed computing system
US10575121B2 (en) System and method for instantiation of services at a location based on a policy
US20210173718A1 (en) Devops virtual assistant platform
CN103092670A (en) Cross-platform virtual computing resource management method under cloud computing environment
CN108737168B (en) Container-based micro-service architecture application automatic construction method
CN104516730A (en) Data processing method and device
CN104954220A (en) Virtual network service deployment method and device thereof
CN104765620A (en) Programming module deploying method and system
CN105684357A (en) Management of addresses in virtual machines
WO2011156922A1 (en) Method and system for workload distributing and processing across a network of replicated virtual machines
CN110737653B (en) Integrated enterprise data processing system and method based on micro-service
CN105100127A (en) Device and method for verifying application deployment topology of cloud computing environment
CN103377402A (en) Multi-user analysis system and corresponding apparatus and method
CN104077187B (en) For the method and system of the execution of scheduling application
CN107678831A (en) It is a kind of to realize the V2V methods migrated between virtual platform
TWI456944B (en) Management method and system using the same
Xu et al. A cloud robotic application platform design based on the microservices architecture
EP3355192A1 (en) Methods for provisioning an industrial internet-of-things control framework of dynamic multi-cloud events and devices thereof
CN106385330A (en) Network function virtualization composer realization method and device
US20120330895A1 (en) Transitioning application replication configurations in a networked computing environment
CN104123135B (en) A kind of method and device of unified back office interface
CN108234159A (en) The configuration method and system of load balancing host
CN116400987B (en) Continuous integration method, device, electronic equipment and storage medium
CN104793928A (en) Developing and running platform implementation method and system based on Java

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180629