CN107959711A - A kind of method and system for realizing the automatic dilatation of LVS clusters - Google Patents

A kind of method and system for realizing the automatic dilatation of LVS clusters Download PDF

Info

Publication number
CN107959711A
CN107959711A CN201711082073.XA CN201711082073A CN107959711A CN 107959711 A CN107959711 A CN 107959711A CN 201711082073 A CN201711082073 A CN 201711082073A CN 107959711 A CN107959711 A CN 107959711A
Authority
CN
China
Prior art keywords
real server
lvs
dilatation
realizing
bearing capacity
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.)
Withdrawn
Application number
CN201711082073.XA
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.)
Taizhou Jiji Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201711082073.XA priority Critical patent/CN107959711A/en
Publication of CN107959711A publication Critical patent/CN107959711A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • 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/1031Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

The present invention provides a kind of method for realizing the automatic dilatation of LVS clusters, including:S100 configures the bearing capacity of the real server of each LVS and the maximum invalid connection value of permission in LVS group systems;S200 configures the spare real server of each LVS in background management system;S300 detects the bearing capacity of each real server and maximum invalid connection value by timer automatically;S400 judges whether the bearing capacity of each real server has been maxed out being worth respectively, if it is, selecting one to complete automation dilatation and verify from spare real server;And S500 judges whether the maximum invalid connection value of each real server has reached critical value respectively, if it is, unloading real server, and send notifications.The present invention also provides a kind of system for realizing the automatic dilatation of LVS clusters.The present invention can solve the problems, such as the automatic detection of LVS clusters and dilatation and verification.

Description

A kind of method and system for realizing the automatic dilatation of LVS clusters
Technical field
The present invention relates to server field, espespecially a kind of method and system for realizing the automatic dilatation of LVS clusters.
Background technology
LVS (Linux Virtual Server, Linux virtual server), is a virtual server cluster system, For forwarding load balancing.
LVS clusters are using IP load-balancing techniques and based on content requests distribution technology.Scheduler has to be handled up well Rate, request is balancedly transferred on different servers and is performed, and scheduler automatic shield falls the failure of server, so that will One group of server forms high performance, High Availabitity a virtual server.Entirely the structure of server cluster is to client Bright, and it is not necessary to modify the program at client and server end.For this reason, design when need consideration system the transparency, can Retractility, high availability and ease of manageability.
In existing technical solution, not for the automatic of the real server (real server) under LVS clusters Change the detection simultaneously method of dilatation and verification, lack the automatically dispose scheme of LVS clusters.
It is therefore desirable to provide a kind of automatic detection that can solve real server under LVS clusters and dilatation and verification A kind of method and system for realizing the automatic dilatation of LVS clusters.
The content of the invention
The object of the present invention is to provide a kind of method and system for realizing the automatic dilatation of LVS clusters, solve true under LVS clusters The problem of automatic detection and dilatation and verification of real server.
Technical solution provided by the invention is as follows:
A kind of method for realizing the automatic dilatation of LVS clusters, including step:
S100 configured in LVS group systems the real server of each LVS bearing capacity and permission it is maximum invalid Connection value;
S200 configures the spare real server of each LVS in the background management system of the LVS group systems;
S300 detects the bearing capacity of each real server and maximum invalid connection value by timer automatically;
S400 judges whether the bearing capacity of each real server has been maxed out being worth respectively, if it is, One is selected to complete automation dilatation and verify from spare real server;And
S500 judges whether the maximum invalid connection value of each real server has reached critical value respectively, if It is then to unload the real server, and send notifications.
Further, in the step S200, further include for each spare real server configure deployment template and Validation template.
Further, in the step S400, one is selected from spare real server according to pre-set deployment Template and validation template complete automatically dispose and verification.
Further, if it is determined that the bearing capacity of current real server is not reaching to maximum, then under continuing The detection and judgement of one real server;If it is determined that the maximum invalid connection value of current real server be not reaching to it is critical Value, then continue the detection and judgement of next real server.
Further, the step S400 and the step S500 order in no particular order, can be carried out at the same time, can also divide Drive row into.
A kind of system for realizing the automatic dilatation of LVS clusters, it is characterised in that including LVS group systems, the LVS clusters System includes multiple real server, background management system, timer and judgment module, and the background management system includes multiple Spare real server, the bearing capacity of the real server of each LVS of the automatic dilatation configuration of LVS clusters and permission are most Big invalid connection value, the spare real server of each LVS is configured in the background management system, and the timer detects automatically The bearing capacity of each real server and maximum invalid connection value, the judgment module judge described each true respectively Whether the bearing capacity of server, which has been maxed out, is worth, if it is, selection one is complete from the spare real server Into automation dilatation and verify, the judgment module also judges that the maximum invalid connection value of each real server is respectively It is no to have reached critical value, if it is, unloading the real server, and send notifications.
Further, the spare real server of each LVS is configured in the background management system, and is described spare true Real server configuration deployment template and validation template.
Further, if the judgment module judges that the bearing capacity of the real server reaches maximum, from One is selected in the spare real server, according to pre-set deployment template and validation template automatically dispose and is tested Card, so as to complete automation dilatation and verify.
Further, if the judgment module judges that the bearing capacity of current real server is not reaching to maximum, Then continue the detection and judgement of next real server;If it is determined that the maximum invalid connection value of current real server Critical value is not reaching to, then continues the detection and judgement of next real server.
Further, the judgment module judges the bearing capacity of each real server and each true clothes Judgement can be carried out at the same time during the maximum invalid connection value of business device, also can successively be judged.
By a kind of method and system for realizing the automatic dilatation of LVS clusters provided by the invention, solve true under LVS clusters The problem of automatic detection and dilatation and verification of server.
Brief description of the drawings
Below by a manner of clearly understandable, preferred embodiment is described with reference to the drawings, supports one kind SLL agreements with calculating Above-mentioned characteristic, technical characteristic, advantage and its implementation of the matching process of fado certificate are further described.
Fig. 1 is a kind of flow chart for the method for realizing the automatic dilatation of LVS clusters of the present invention.
Fig. 2 is a kind of system block diagram for the system for realizing the automatic dilatation of LVS clusters of the present invention.
Embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below The embodiment of the present invention.It should be evident that drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically show in each figure, they are not represented Its practical structures as product.In addition, so that simplified form readily appreciates, there is identical structure or function in some figures Component, only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only represented " only this ", can also represent the situation of " more than one ".
A kind of method for realizing the automatic dilatation of LVS clusters of the present invention, as shown in Figure 1, including:
S100 configured in LVS group systems the real server of each LVS bearing capacity and permission it is maximum invalid Connect (inactive connetion) value;
S200 configures the spare real server of each LVS in the background management system of LVS group systems;And it is spare Real server configures deployment template and validation template;
S300 detects the bearing capacity of each real server and maximum invalid connection value by timer automatically;
S400 judges whether the bearing capacity of each real server has been maxed out being worth respectively, if it is, from standby With selecting one in real server, according to pre-set deployment template and validation template automatically dispose and verification; Complete automation dilatation and verify;
S500 judges whether the maximum invalid connection value of each real server has reached critical value respectively, if so, The real server is then unloaded, and sends notifications.
Wherein, if it is determined that the bearing capacity of current real server is not reaching to maximum, then continue next The detection and judgement of real server;If it is determined that the maximum invalid connection value of current real server is not reaching to critical value, Then continue the detection and judgement of next real server.
And wherein, step S400 and S500 can be carried out at the same time, it also can respectively carry out, can sequentially exchange.
Please continue to refer to Fig. 2, Fig. 2 is a kind of system block diagram for the system for realizing the automatic dilatation of LVS clusters of the present invention, this hair A kind of bright system for realizing the automatic dilatation of LVS clusters includes LVS group systems 100, and LVS group systems 100 include multiple true Server 110, background management system 130, timer 150 and judgment module 170, background management system 130 include multiple spare Real server 131.
When needing to realize the automatic dilatation of LVS clusters, the real service of each LVS is first configured in LVS group systems 100 The bearing capacity of device 110 and the maximum invalid connection value of permission;Then in the background management system 130 of LVS group systems 100 The spare real server 131 of each LVS is configured, and deployment template and validation template are configured for spare real server 131;It is logical Cross timer 150 and detect the bearing capacity of each real server 110 and maximum invalid connection value automatically;Pass through judgment module 170 judge whether the bearing capacity of each real server 110 has been maxed out being worth respectively, if it is, from spare true One is selected in server 131, according to pre-set deployment template and validation template automatically dispose and verification;It can complete Automation dilatation is simultaneously verified;Judge the maximum invalid connection value of each real server 110 respectively by judgment module 170 at the same time Whether critical value is had reached, if it is, unloading the real server 110, and send notifications.
Wherein, if it is determined that the bearing capacity of current real server 110 is not reaching to maximum, then continue next The detection and judgement of a real server 110;If it is determined that the maximum invalid connection value of current real server 110 is not reaching to Critical value, then continue the detection and judgement of next real server 110.
Specifically, in the present embodiment, the bearing capacity of the invention by setting each real server under LVS clusters, inspection The maximum whether existing bearing capacity has reached bearing capacity is surveyed, automation dilatation is carried out after reaching and is verified;At the same time Automatically the maximum invalid connection value of each real server is detected, unloads the real server automatically if critical value is reached. The present invention adds the mechanism verified automatically after the dilatation and unloading operation encapsulation by LVS clusters, so as to solve true under LVS clusters The problem of automatic detection and dilatation and verification of real server.
It should be noted that above-described embodiment can be freely combined as needed.The above is only the preferred of the present invention Embodiment, it is noted that for those skilled in the art, do not departing from the premise of the principle of the invention Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

  1. A kind of 1. method for realizing the automatic dilatation of LVS clusters, it is characterised in that including step:
    S100 configures the bearing capacity of the real server of each LVS and the maximum invalid connection of permission in LVS group systems Value;
    S200 configures the spare real server of each LVS in the background management system of the LVS group systems;
    S300 detects the bearing capacity of each real server and maximum invalid connection value by timer automatically;
    S400 judges whether the bearing capacity of each real server has been maxed out being worth respectively, if it is, from standby With one completion automation dilatation of selection in real server and verify;And
    S500 judges whether the maximum invalid connection value of each real server has reached critical value respectively, if so, The real server is then unloaded, and sends notifications.
  2. A kind of 2. method for realizing the automatic dilatation of LVS clusters according to claim 1, it is characterised in that the step In S200, further include and configure deployment template and validation template for each spare real server.
  3. A kind of 3. method for realizing the automatic dilatation of LVS clusters according to claim 2, it is characterised in that the step In S400, one is selected to complete Automation according to pre-set deployment template and validation template from spare real server Administration and verification.
  4. 4. a kind of method for realizing the automatic dilatation of LVS clusters according to claim 1, it is characterised in that if it is determined that working as The bearing capacity of preceding real server is not reaching to maximum, then continues the detection and judgement of next real server; If it is determined that the maximum invalid connection value of current real server is not reaching to critical value, then continue next real service The detection and judgement of device.
  5. A kind of 5. method for realizing the automatic dilatation of LVS clusters according to claim 1, it is characterised in that the step The S400 and step S500 sequentially, can be carried out at the same time in no particular order, can also be separated and be carried out.
  6. A kind of 6. system for realizing the automatic dilatation of LVS clusters, it is characterised in that including LVS group systems, the LVS clusters system System includes multiple real server, background management system, timer and judgment module, and the background management system includes multiple standby With real server, the automatic dilatation of LVS clusters configures the bearing capacity of real server and the maximum of permission of each LVS Invalid connection value, the spare real server of each LVS is configured in the background management system, and the timer detects institute automatically The bearing capacity of each real server and maximum invalid connection value are stated, the judgment module judges each true clothes respectively Whether the bearing capacity of business device has been maxed out being worth, if it is, selecting a completion from the spare real server Automation dilatation simultaneously verifies, the judgment module also judge respectively each real server maximum invalid connection value whether Critical value is had reached, if it is, unloading the real server, and sends notifications.
  7. A kind of 7. system for realizing the automatic dilatation of LVS clusters according to claim 6, it is characterised in that the backstage pipe The spare real server of each LVS is configured in reason system, and deployment template and verification are configured for the spare real server Template.
  8. A kind of 8. system for realizing the automatic dilatation of LVS clusters according to claim 7, it is characterised in that the judgement mould If block judges that the bearing capacity of the real server reaches maximum, one is selected from the spare real server Platform, according to pre-set deployment template and validation template automatically dispose and verification, so as to complete automation dilatation and verify.
  9. 9. a kind of system for realizing the automatic dilatation of LVS clusters according to claim 6, it is characterised in that if described sentence Disconnected module judges that the bearing capacity of current real server is not reaching to maximum, then continues next real server Detection and judgement;If it is determined that the maximum invalid connection value of current real server is not reaching to critical value, then under continuing The detection and judgement of one real server.
  10. A kind of 10. system for realizing the automatic dilatation of LVS clusters according to claim 6, it is characterised in that the judgement mould Block judge each real server bearing capacity and each real server maximum invalid connection value when can be with Judgement is carried out at the same time, also can successively be judged.
CN201711082073.XA 2017-11-07 2017-11-07 A kind of method and system for realizing the automatic dilatation of LVS clusters Withdrawn CN107959711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711082073.XA CN107959711A (en) 2017-11-07 2017-11-07 A kind of method and system for realizing the automatic dilatation of LVS clusters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711082073.XA CN107959711A (en) 2017-11-07 2017-11-07 A kind of method and system for realizing the automatic dilatation of LVS clusters

Publications (1)

Publication Number Publication Date
CN107959711A true CN107959711A (en) 2018-04-24

Family

ID=61963553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711082073.XA Withdrawn CN107959711A (en) 2017-11-07 2017-11-07 A kind of method and system for realizing the automatic dilatation of LVS clusters

Country Status (1)

Country Link
CN (1) CN107959711A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network
CN109495306B (en) * 2018-11-27 2022-02-01 平安科技(深圳)有限公司 Method and equipment for expanding capacity of service network

Similar Documents

Publication Publication Date Title
US9960963B2 (en) Dynamic client fail-over during a rolling patch installation based on temporal server conditions
EP3564816A1 (en) Call chain-based concurrency control method, device, and control node
CN102916835B (en) A kind of method and device adjusting equipment power dissipation
CN106068626B (en) Load balancing in a distributed network management architecture
CN103164253A (en) Virtual machine deployment system and virtual machine deployment method
CN108153622A (en) The method, apparatus and equipment of a kind of troubleshooting
CN105516347A (en) Method and device for load balance allocation of streaming media server
CN112948063B (en) Cloud platform creation method and device, cloud platform and cloud platform implementation system
CN109873714B (en) Cloud computing node configuration updating method and terminal equipment
CN105825122A (en) Weak password verification and cracking method and device
CN104702691B (en) Distributed load equalizing method and device
WO2017118080A1 (en) Heat removing and heat adding method and device for central processing unit (cpu)
CN106681839B (en) Elastic calculation dynamic allocation method
CN103209197A (en) Cluster server deployment method and cluster server deployment system
CN107479937A (en) A kind of multi-node cluster intersects the method for upgrading
CN104320492A (en) Method and device for dispatching web servers
CN108880897A (en) Acceptance method, device, computer equipment and the storage medium of server
CN109254876A (en) The management method and device of database in cloud computing system
CN111385134A (en) Access device dynamic migration method and device access platform
CN111949216A (en) Method, system, terminal and storage medium for automatically expanding storage volume of cloud platform
CN107959711A (en) A kind of method and system for realizing the automatic dilatation of LVS clusters
EP4232933A1 (en) Techniques for generating a configuration for electrically isolating fault domains in a data center
CN114090174A (en) City rail edge cloud integration equipment based on super integration
CN110046064B (en) Cloud server disaster tolerance implementation method based on fault drift
CN107562435A (en) A kind of batch upgrading method and system based on snapshot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200817

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Applicant after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Applicant before: Phicomm (Shanghai) Co.,Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180424