CN117319326A - Load balancing resource pool construction method and device and computer equipment - Google Patents

Load balancing resource pool construction method and device and computer equipment Download PDF

Info

Publication number
CN117319326A
CN117319326A CN202311282777.7A CN202311282777A CN117319326A CN 117319326 A CN117319326 A CN 117319326A CN 202311282777 A CN202311282777 A CN 202311282777A CN 117319326 A CN117319326 A CN 117319326A
Authority
CN
China
Prior art keywords
load balancing
equipment
service
access
resource pool
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
CN202311282777.7A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202311282777.7A priority Critical patent/CN117319326A/en
Publication of CN117319326A publication Critical patent/CN117319326A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/113Arrangements for redundant switching, e.g. using parallel planes
    • 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/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • H04L47/762Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions triggered by the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/205Quality of Service based

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for constructing a load balancing resource pool, and a computer device. The method comprises the following steps: dividing two load balancing devices into a set of load balancing devices, wherein the two load balancing devices are in a main-standby relationship; dividing two sets of load balancing equipment into a load balancing access group, wherein the two sets of load balancing equipment in the load balancing access group are in a main-standby relationship; dividing an access layer switch into two plane environments, wherein each plane environment comprises two access layer switches, and the two access layer switches in each plane environment are respectively communicated with one set of load balancing equipment in different load balancing group equipment; the access layer switch communicates with the core switch to form a load balancing resource pool. According to the load balancing resource pool structure, plane switching connection can be realized in a park without implementing park level switching in a single plane fault or load balancing main and standby double-machine fault.

Description

Load balancing resource pool construction method and device and computer equipment
Technical Field
The specification relates to the technical field of computers, in particular to a method and a device for constructing a load balancing resource pool and computer equipment.
Background
With the digital transformation of the financial industry, the method is applied to the upper-layer requirements of new generation cloud platforms, unitized architecture construction and the like, and higher requirements are put forward on flexible supply of network resources and high-availability service supporting capacity.
In the current production environment in industry, server access and load balancing equipment in each network partition are coupled and deployed, and in a single network partition fault or load balancing main and standby double-machine fault, no escape path in a park exists, and corresponding application can only implement park-level switching. Meanwhile, homogeneous network partitions in a large-scale distributed environment are more and more, load balancing in the area does not allow application nodes to be hung across the area, repeated work such as network partition adjustment, IP address modification, firewall translation strategy translation and the like is needed to be frequently implemented when the transformation or capacity expansion requirement is applied, the workload is large, and more time is needed to be consumed.
Disclosure of Invention
In order to solve the problem that in the prior art, when a network partition fails or equipment fails, an application cannot be switched in a campus, a method, a device and computer equipment for constructing a load balancing resource pool are provided in the embodiments of the present disclosure.
The embodiment of the specification provides a method for constructing a load balancing resource pool, which comprises the following steps: dividing two load balancing devices into a set of load balancing devices, wherein the two load balancing devices are in a main-standby relationship; dividing two sets of load balancing equipment into a load balancing access group, wherein the two sets of load balancing equipment in the load balancing access group are in a main-standby relationship; dividing an access layer switch into two plane environments, wherein each plane environment comprises two access layer switches, and the two access layer switches in each plane environment are respectively communicated with one set of load balancing equipment in different load balancing group equipment; the access layer switch communicates with the core switch to form a load balancing resource pool.
According to one aspect of the embodiments of the present description, dividing two load balancing devices into a set of load balancing devices includes: corresponding two sets of load balancing equipment in a main-standby relation in a load balancing access group to two service types, wherein the two service types comprise a first service and a second service; the main load balancing equipment in a set of load balancing equipment in the load balancing access group is the main equipment of the first service, and the standby load balancing equipment is the standby equipment of the second service; and the main load balancing equipment in another set of load balancing equipment in the load balancing access group is the main equipment of the second service, and the standby load balancing equipment is the standby equipment of the first service.
According to one aspect of the embodiments of the present description, after dividing two sets of load balancing devices into a load balancing access group, the method comprises: corresponding two sets of load balancing equipment in a main-standby relation in another load balancing access group to other two services except the first service and the second service, wherein the other two services are a third service and a fourth service respectively; the main load balancing equipment in one set of load balancing equipment in the other load balancing access group is the main equipment of the third service, and the standby load balancing equipment is the standby equipment of the fourth service; and the main load balancing equipment in another set of load balancing equipment in the other load balancing access group is standby equipment of the third service, the standby load balancing equipment is main equipment of the fourth service, and the other load balancing access group is a second load balancing access group.
According to an aspect of embodiments of the present description, the method further comprises: running a static routing protocol between the load balancing device and an access layer switch; a dynamic routing protocol is run between the access layer switch and the core switch.
According to an aspect of the embodiments of the present disclosure, after the load balancing resource pool construction is completed, the method further includes: a load balancing resource pool is commonly configured for at least one of the traffic partitions to provide load balancing services to different service partitions.
The embodiment of the present disclosure further provides a load balancing resource pool, where the load balancing resource pool is deployed on each network partition, and includes: the system comprises a plurality of load balancing devices, wherein two load balancing devices form a set of load balancing devices, and the two load balancing devices are in a main-standby relationship; the load balancing access group comprises two sets of load balancing equipment, and the two sets of load balancing equipment in the load balancing access group are in a main-standby relationship; each plane ring comprises two access layer switches, and the two access layer switches in each plane environment are respectively communicated with one set of load balancing equipment in different groups of load balancing equipment; and the core switch is used for communicating with the access layer switch so as to form a load balancing resource pool.
The embodiment of the specification also provides a load balancing resource pool construction device, which comprises: the forming unit is used for dividing two load balancing devices into a set of load balancing devices, wherein the two load balancing devices are in a main-standby relationship; the load balancing device is used for dividing two sets of load balancing devices into load balancing access groups, wherein the two sets of load balancing devices in the load balancing access groups are in a main-standby relationship; the system comprises a plane environment forming unit, a load balancing unit and a load balancing unit, wherein the plane environment forming unit is used for dividing an access layer switch into two plane environments, each plane environment comprises two access layer switches, and the two access layer switches in each plane environment are respectively communicated with one set of load balancing equipment in different groups of load balancing equipment; and the resource pool construction unit is used for communicating the access layer switch with the core switch for standby to form a load balancing resource pool.
The embodiment of the specification provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the load-induced balance resource pool construction method when executing the computer program.
The embodiments of the present specification also provide a computer readable storage medium storing a computer program, which when executed by a processor, implements the load balancing resource pool construction method.
According to the load balancing resource pool structure, when a single plane fault or a load balancing main machine and standby machine are in fault, plane switching connection can be realized in a park, and park level switching is not required to be implemented.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a diagram illustrating a structure of a load balancing resource pool according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of a method for constructing a load balancing resource pool according to an embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating a method for determining a set of load balancing devices according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for determining another load balancing access group according to an embodiment of the present disclosure;
FIG. 5 is a flow chart illustrating a method for communicating with a load balancing device in a planar environment according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a method for setting a route for a load balancing device and a switch according to an embodiment of the present disclosure;
FIG. 7 is a detailed construction diagram of a load balancing pool according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a network load balancing service resource pool design according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a load balancing resource pool construction device according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram of a specific structure of a load balancing resource pool construction apparatus according to the present embodiment;
fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure.
Description of the drawings:
101. load balancing equipment;
102. load balancing access groups;
103. a planar environment;
104. an access layer switch;
105. a core switch;
901. an equipment dividing unit;
902. a planar environment forming unit;
903. a resource pool construction unit;
9011. load balancing device determining module
9031. A first connection module;
9032. a second connection module;
1102. a computer device;
1104. a processor;
1106. a memory;
1108. a driving mechanism;
1110. an input/output module;
1112. an input device;
1114. an output device;
1116. a presentation device;
1118. a graphical user interface;
1120. a network interface;
1122. a communication link;
1124. a communication bus.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and the claims of the specification and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the present description described herein may be capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or device.
The present specification provides method operational steps as described in the examples or flowcharts, but may include more or fewer operational steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When a system or apparatus product in practice is executed, it may be executed sequentially or in parallel according to the method shown in the embodiments or the drawings.
The method for constructing the load balancing resource pool in the present specification can be used in the computer field and also in the financial field, and the application field of the method and the device for constructing the load balancing resource pool in the present specification is not limited.
Fig. 1 is a diagram illustrating a structure of a load balancing resource pool according to an embodiment of the present disclosure. The load balancing resource pool is deployed in each network partition, and specifically comprises: load balancing device 101, load balancing access group 102, plane environment 103, access layer switch 104, core switch 105.
The number of the load balancing devices 101 in the load balancing resource pool is multiple, and each two load balancing devices 101 form a set of load balancing devices, and the two load balancing devices 101 are in a primary-backup relationship. Specifically, according to the specific service of the service partition served by the current load balancing resource pool, two load balancing devices 101 are two service devices, wherein one load balancing device is a primary device of a service one, and the other load balancing device is a standby device of a service two.
The load balancing access group 102 in the load balancing resource pool comprises two sets of load balancing devices 101, and the two sets of load balancing devices in the load balancing access group are in a primary-backup relationship. Two plane environments 103, each plane environment 103 comprising two access stratum switches 104, the two access stratum switches 104 in each plane environment 103 respectively communicating with a set of load balancing devices 101 in different load balancing access groups 102. Core switch 105 is configured to communicate with access stratum switch 104 to form a load balancing resource pool.
In other embodiments of the present disclosure, each access layer switch 104 is connected to other types of switches, specifically, each access layer switch 104 is fully connected to 2 core switches 105, core switches 105 and routing switches use M-LAG connection firewalls to deploy bypasses, and peer-link uses 4 board-to-board links to prevent two-machine failures. Each core switch 105 is connected to 2 DCNM switches, 4 DCN switches, and each RT switch is connected to 4C 0 switches.
The method and the system can realize network equipment and server access decoupling, basic environment technology stack (traditional mobile cloud and Hua are cloud) and load balancing brand decoupling, and external service and back-end network environment transition decoupling by application so as to improve flexible capacity expansion and multi-level high-availability switching capability.
Fig. 2 is a flowchart of a method for constructing a load balancing resource pool according to an embodiment of the present disclosure, which specifically includes the following steps:
step 201, dividing two load balancing devices into a set of load balancing devices, wherein the two load balancing devices are in a main-standby relationship; dividing two sets of load balancing equipment into a load balancing access group, wherein the two sets of load balancing equipment in the load balancing access group are in a main-standby relationship.
In this step, a set of load balancing devices includes two load balancing devices. One load balancing access group comprises two sets of load balancing equipment. The two load balancing devices in each set of load balancing devices are in a main-standby relationship.
Step 202, dividing an access layer switch into two plane environments, wherein each plane environment comprises two access layer switches, and the two access layer switches in each plane environment are respectively communicated with one set of load balancing equipment in different load balancing group equipment. In this step, the plane environment has more one layer of takeover capability than the load balancing device, and both plane environments implement the same configuration policy.
In this step, each planar environment includes, in addition to the access stratum switch, a load balancing device communicatively coupled to the access stratum switch.
The access stratum switch communicates with the core switch to form a load balancing resource pool, step 203. In this step, each access layer switch communicates with a core switch, and the core switch, the access layer switch, the plane environment, and the load balancing devices in the load balancing access group form a load balancing resource pool.
Through the design of the network load balancing service resource pool, decoupling with a server access area, a basic environment technical stack and a load balancing brand is realized, requirements of application unitization transformation, cross-cloud migration, gray level release, capacity expansion and the like are facilitated, the problems of repeated construction and re-warehouse withdrawal and recovery are reduced, operation and maintenance are simplified, intensive resources can be gray level and isolated, and the requirements of business development and continuous operation are met.
The method and the system realize decoupling deployment of the load balancing network service function and the business partition, reduce repetitive work such as network partition adjustment, IP address modification, firewall policy translation and the like in application transformation, and enable applications such as software and hardware operation and maintenance and the like to be transparent.
Fig. 3 is a flowchart of a method for determining a set of load balancing devices according to an embodiment of the present disclosure, which specifically includes the following steps:
step 301, two sets of load balancing devices in a master-slave relationship in a load balancing access group are corresponding to two service types, wherein the two service types include a first service and a second service.
In this step, different traffic partitions manage different traffic, and when the load balancing resource pool in this specification is applied to a plurality of different traffic partitions, different load balancing devices in the load balancing resource pool need to serve different traffic types. In some embodiments of the present disclosure, there are 4 load balancing devices in the two sets of load balancing devices in a master-slave relationship in the access group, which collectively correspond to two service types.
And if the first service type is the service A, the second service type is the service B. The two sets of load balancing devices in the load balancing access group with the primary-backup relationship can be the first set of load balancing devices and the second set of load balancing devices.
In step 302, a primary load balancing device in a set of load balancing devices in the load balancing access group is a primary device of the first service, and a standby load balancing device is a standby device of the second service.
In the embodiment of the present disclosure, if the load balancing access group in this step is the load balancing access group 1, one set of load balancing devices in the load balancing access group 1 is a first set of load balancing devices, where the main load balancing device is a main device of the first service a, referred to as a main, and the standby load balancing device is a standby device of the second service B, referred to as a standby. Thus, the A master and the B slave form a first set of load balancing equipment.
In step 303, a master load balancing device in another set of load balancing devices in the load balancing access group is a master device of the second service, and a standby load balancing device is a standby device of the first service a. Corresponding to step 202, one set of load balancing devices in the load balancing access group 1 except the first set of load balancing devices is a second set of load balancing devices, wherein the main load balancing device is a main device of the second service B, called B main, and the standby load balancing device is a standby device of the first service a, called a standby. Thus, B master, A slave form a second set of load balancing devices, as shown in FIG. 7.
In some embodiments of the present description, the set of load balancing devices in step 202 may be referred to as a first set of load balancing devices, the first set of load balancing devices being a primary set of devices accessing a first service a and a backup set of devices accessing a second service B. Under normal conditions, the default traffic path for accessing the first traffic is: the core switch goes to the plane one access layer switch, from the plane one access layer switch to the primary load balancing device in the first set of load balancing devices. The default traffic path for accessing the second traffic is: the core switch goes to the access layer switch of the second plane, goes from the access layer switch of the second plane to the main load balancing device in the second set of load balancing devices. The second set of load balancing equipment is determined to be standby equipment accessing the first service and main equipment accessing the second service; and forming a load balancing access group by the first set of load balancing equipment and the second set of load balancing access, wherein the load balancing access group is the first load balancing access group.
Fig. 4 is a flowchart of a method for determining another load balancing access group according to an embodiment of the present disclosure, which specifically includes the following steps:
in step 401, two sets of load balancing devices in a master-slave relationship in another load balancing access group are corresponding to two other services except the first service and the second service, where the two other services are a third service and a fourth service respectively. In the present embodiment, another load balancing group is referred to as load balancing group 2 in fig. 3. Corresponding to the embodiment in fig. 3, the third service in this step may be service C, and the fourth service may be service D.
Step 402, a primary load balancing device in a set of load balancing devices in the other load balancing access group is a primary device of the third service, and a standby load balancing device is a standby device of the fourth service.
In the embodiment of the present disclosure, if the load balancing access group in this step is the load balancing access group 2, one set of load balancing devices in the load balancing access group 2 is the 3 rd set of load balancing devices, where the primary load balancing device is the primary device of the third service C, referred to as C primary, and the standby load balancing device is the standby device of the fourth service D, referred to as D standby. Thus, the C master and the D slave form a third set of load balancing equipment.
Step 403, a primary load balancing device in another set of load balancing devices in the another load balancing access group is a standby device of the third service, the standby load balancing device is a primary device of the fourth service, and the another load balancing access group is a second load balancing access group.
Corresponding to step 402, one set of load balancing devices except for the 3 rd set of load balancing devices in the load balancing access group 2 is the 4 th set of load balancing devices, wherein the main load balancing device is the main device of the fourth service D, called D main, and the standby load balancing device is the standby device of the third service C, called C standby. Thus, dmaster, cslave form a second set of load balancing devices. As shown in fig. 7. The load balancing resource pool has the capability of transverse expansion, and can expand a plurality of load balancing access groups and a plurality of load balancing devices according to service demands so as to correspond to more service groups. Furthermore, the load balancing resource pool disclosed by the specification can be compatible with various product brands, improves performance capacity and flexibility of network resource service, and supports multi-cluster deployment and flexible capacity expansion.
Fig. 5 is a flowchart of a method for communicating between a planar environment and a load balancing device according to an embodiment of the present disclosure, which specifically includes the following steps:
step 501, an access layer switch in a first plane environment of two plane environments is respectively connected with a first set of load balancing equipment in a first load balancing access group and a second set of load balancing equipment in a second load balancing access group. In this specification, a dual-plane environment is constructed by using a core switch, and the dual-plane environment includes a first plane environment and a second plane environment, respectively.
In the embodiment of the present specification, the first plane environment and the second plane environment have the same configuration policy, and the difference between the first plane environment and the second plane environment is the difference in load balancing devices to which the access group switch in each plane is communicatively connected. AS shown in fig. 7, the first plane environment includes access layer switches AS1 and AS2, where the access layer switches AS1 and AS2 are respectively connected to a first set of load balancing devices in the load balancing access group 1, and simultaneously connect the access layer switches in the first plane environment in the two plane environments to a first set of load balancing devices in the first load balancing access group and a second set of load balancing devices in the second load balancing access group.
Step 502, connecting an access layer switch in a second plane environment of the two plane environments with a second set of load balancing equipment in the first load balancing access group and a first set of load balancing equipment in the second load balancing access group respectively.
AS shown in fig. 7, the second plane environment includes access layer switches AS3 and AS4, where the access layer switches AS3 and AS4 are respectively connected to a second set of load balancing devices in the load balancing access group 1, and the access layer switches AS3 and AS4 are connected to a first set of load balancing devices in the second load balancing access group.
Fig. 6 is a flowchart of a method for setting a route for a load balancing device and a switch according to an embodiment of the present disclosure, which specifically includes the following steps:
step 601, running a static routing protocol between the load balancing device and the access layer switch. In this step, a static route is run between the load balancing and the access stratum AS switch, and a binding network quality analysis (NQA, (Network Quality Analyzer) detects the floating address of the access stratum switch load balancing device, and the static route is redistributed into the BGP routing domain on the access stratum switch.
Step 602, running a dynamic routing protocol between the access layer switch and the core switch. Specifically, an eBGP dynamic routing protocol is operated between an access layer switch and a core switch, and Route-Policy is deployed when BGP peer is arranged on the core switch. The running dynamic routing protocol can automatically calculate the route for the switch of the access layer, so that the control is convenient.
In other embodiments of the present description, the core switch is communicatively coupled to a data network switching core (DCN), a management network switching core (DCNM). Specifically, an OSPF routing protocol is run between the core switch and the data network switch core, an EBGP routing protocol is run between the core switch and the management network switch core, and default routes of the service network segments are respectively sent to the switch core areas by introducing OSPF and BGP. Further, the core switch is also communicatively coupled to a routing switch (RT). Specifically, the two core switches are respectively in communication connection with two routing switches, and the two routing switches are connected with C0. And an OSPF routing protocol is operated between the routing switch and C0, and the resource pool service network segment points to the firewall and the bypass route to be introduced into OSPF.
In the present specification, when a certain set of load balancing equipment has an overall fault, the load balancing resource pool in the present specification switches a default traffic path, updates a dual-machine fault traffic path, as follows:
when the 1 st set of load balancing equipment fails wholly, the priority route of the first service A issued by the 2 nd set of load balancing equipment takes effect, and if the first service A is accessed, the updated flow path is as follows: core switch to plane 2 access layer switch, plane 2 access layer switch to set 2 load balancing device.
When the whole of the load balancing equipment of the 2 nd set fails, the suboptimal route of the second service B issued by the load balancing equipment of the 1 st set takes effect, and if the second service B is accessed, the updated flow path is as follows: core switch to plane 1 access layer switch, plane 1 access layer switch to set 1 load balancing device. The embodiment of the specification can cope with the risk of fault domain expansion after centralized deployment, and realize park-level biplane. When a single plane fault or a load balancing main and standby double-machine fault occurs, plane switching connection can be realized in the park without implementing park-level switching.
Fig. 7 is a detailed structure diagram of a load balancing pool according to an embodiment of the present disclosure, which specifically includes:
each service partition has a plurality of groups of load balancing, and each group of 2 sets of 4 load balancing devices access to a double plane (plane 1 and plane 2). Each load balancing device is connected with an access layer switch, each plane access layer switch runs M-LAG. Further, each core switch is connected to 2 DCNM switches, 4 DCN switches, and each RT switch is connected to 4C 0 switches.
Fig. 8 is a schematic diagram of a network load balancing service resource pool design according to an embodiment of the present disclosure.
In the embodiment of the present specification, after the load balancing resource pool is constructed, the method further includes: the load balancing resource pool is jointly configured for at least one of the traffic partitions to provide load balancing services to the different service partitions. In the embodiment of the specification, the load balancing resource pool can be respectively planned for an intranet, an internet of things (IOT) and an extranet (DMZ). Namely, three load balancing resource pools are respectively planned for an intranet, an Internet of things and an extranet, and are respectively an interconnection load balancing resource pool, an extranet load balancing resource pool and an intranet load balancing resource pool. In fig. 8, each service plane resource pool is composed of a plurality of service partitions, each service partition has a plurality of groups of load balancing devices for providing different service capabilities, and each group of load balancing devices is connected to the dual plane for providing high availability takeover capability. For example, a production intranet zone has multiple service partitions: the method comprises a traditional service one area, a traditional service two area, a traditional service three area, a mobile cloud resource domain and a cloud resource domain. Multiple groups/sets of load balancing devices are configured for each service partition to provide different service capabilities. Each service partition can be accessed to load balance, and a biplane redundancy architecture is adopted to meet high reliability, so that biplane rapid switching is realized through BGP (border gateway protocol) routing protocol local priority and NQA (network-based access control) activity detection attribute. And the synchronous writing and consistency check of the biplane configuration are realized, and the rapid emergency switching function is realized. The load balancing service resource pool design in fig. 8 satisfies the load balancing resource pool deployment of the intranet, the internet of things and the extranet, is decoupled from the server access area, and supports multi-brand deployment.
Fig. 9 is a schematic structural diagram of a load balancing resource pool construction device according to an embodiment of the present disclosure, in which a basic structure of the load balancing resource pool construction device is described, and functional units and modules thereof may be implemented in a software manner, or may be implemented by using a general chip or a specific chip, to implement load balancing resource pool construction, where the device specifically includes:
the device dividing unit 901 is configured to divide two load balancing devices into a set of load balancing devices, where the two load balancing devices are in a primary-standby relationship; the load balancing device is used for dividing two sets of load balancing devices into load balancing access groups, wherein the two sets of load balancing devices in the load balancing access groups are in a main-standby relationship;
a plane environment forming unit 902, configured to divide an access stratum switch into two plane environments, where each plane environment includes two access stratum switches, and the two access stratum switches in each plane environment respectively communicate with one set of load balancing devices in different sets of load balancing devices;
the resource pool constructing unit 903 is configured to communicate with the access layer switch and the core switch, so as to form a load balancing resource pool from standby.
The method aims at realizing decoupling deployment of the load balancing network service function and business partition, and plane switching take-over can be realized in a park in single plane fault or load balancing main and standby double-machine fault without implementing park-level switching.
As an embodiment of the present disclosure, reference may also be made to a specific structural schematic diagram of the load balancing resource pool constructing apparatus of the present embodiment as shown in fig. 10.
As an embodiment of the present specification, the device dividing unit 901 further includes:
the load balancing device determining module 9011 is configured to correspond two sets of load balancing devices in a master-slave relationship in a load balancing access group to different service types;
the resource pool construction unit 903 as one embodiment of the present specification further includes:
the first connection module 9031 is configured to connect the access layer switches in a first plane environment of the two plane environments with a first set of load balancing devices in the first load balancing access group and a second set of load balancing devices in the second load balancing access group respectively;
and the second connection module 9032 is configured to connect the access layer switches in the second plane environments of the two plane environments with the second set of load balancing devices in the first load balancing access group and the first set of load balancing devices in the second load balancing access group respectively.
As shown in fig. 11, a computer device is provided in the embodiments of the present disclosure, and the method for constructing the load balancing resource pool is performed by the computer device. The computer device 1102 may include one or more processors 1104, such as one or more Central Processing Units (CPUs), each of which may implement one or more hardware threads. The computer device 1102 may also include any memory 1106 for storing any sort of information, such as code, settings, data, and the like. For example, and without limitation, memory 1106 may comprise any one or more of the following combinations: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any memory may store information using any technique. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent fixed or removable components of the computer device 1102. In one case, when the processor 1104 executes associated instructions stored in any memory or combination of memories, the computer device 1102 may perform any of the operations of the associated instructions. The computer device 1102 also includes one or more drive mechanisms 1108 for interacting with any memory, such as a hard disk drive mechanism, optical disk drive mechanism, and the like.
The computer device 1102 may also include an input/output module 1110 (I/O) for receiving various inputs (via an input device 1112) and for providing various outputs (via an output device 1114). One particular output mechanism may include a presentation device 1116 and an associated Graphical User Interface (GUI) 1118. In other embodiments, input/output module 1110 (I/O), input device 1112, and output device 1114 may not be included, but merely as a computer device in a network. The computer device 1102 may also include one or more network interfaces 1120 for exchanging data with other devices via one or more communication links 1122. One or more communication buses 1124 couple together the components described above.
The communication link 1122 may be implemented in any manner, for example, through a local area network, a wide area network (e.g., the internet), a point-to-point connection, etc., or any combination thereof. Communication bus 1124 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, or the like, governed by any protocol or combination of protocols.
Corresponding to the method in fig. 1 to 6, the present embodiment also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above method.
The present description also provides computer-readable instructions, wherein the program therein causes the processor to perform the method as shown in fig. 1 to 6 when the processor executes the instructions.
It should be understood that, in various embodiments of the present disclosure, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation of the embodiments of the present disclosure.
It should also be understood that, in the embodiments of the present specification, the term "and/or" is merely one association relationship describing the association object, meaning that three relationships may exist. For example, a and/or B may represent: a exists alone, A and B exist together, and B exists alone. In the present specification, the character "/" generally indicates that the front and rear related objects are an or relationship.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the various example components and steps have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present specification.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this specification, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purposes of the embodiments of the present description.
In addition, each functional unit in each embodiment of the present specification may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present specification is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present specification. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The principles and embodiments of the present specification are explained in this specification using specific examples, the above examples being provided only to assist in understanding the method of the present specification and its core ideas; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope based on the ideas of the present specification, the present description should not be construed as limiting the present specification in view of the above.

Claims (10)

1. The method for constructing the load balancing resource pool is characterized by comprising the following steps:
dividing two load balancing devices into a set of load balancing devices, wherein the two load balancing devices are in a main-standby relationship; dividing two sets of load balancing equipment into a load balancing access group, wherein the two sets of load balancing equipment in the load balancing access group are in a main-standby relationship;
dividing an access layer switch into two plane environments, wherein each plane environment comprises two access layer switches, and the two access layer switches in each plane environment are respectively communicated with one set of load balancing equipment in different load balancing group equipment;
the access layer switch communicates with the core switch to form a load balancing resource pool.
2. The method for constructing a load balancing resource pool according to claim 1, wherein dividing two load balancing devices into a set of load balancing devices comprises:
corresponding two sets of load balancing equipment in a main-standby relation in a load balancing access group to two service types, wherein the two service types comprise a first service and a second service;
the main load balancing equipment in a set of load balancing equipment in the load balancing access group is the main equipment of the first service, and the standby load balancing equipment is the standby equipment of the second service;
and the main load balancing equipment in another set of load balancing equipment in the load balancing access group is the main equipment of the second service, and the standby load balancing equipment is the standby equipment of the first service.
3. The method for constructing the load balancing resource pool according to claim 2, wherein after dividing two sets of load balancing devices into one load balancing access group, the method comprises:
corresponding two sets of load balancing equipment in a main-standby relation in another load balancing access group to other two services except the first service and the second service, wherein the other two services are a third service and a fourth service respectively;
the main load balancing equipment in one set of load balancing equipment in the other load balancing access group is the main equipment of the third service, and the standby load balancing equipment is the standby equipment of the fourth service;
and the main load balancing equipment in another set of load balancing equipment in the other load balancing access group is standby equipment of the third service, the standby load balancing equipment is main equipment of the fourth service, and the other load balancing access group is a second load balancing access group.
4. The method of load balancing resource pool construction according to claim 1, wherein the two access stratum switches in each planar environment respectively communicate with a set of load balancing devices in different groups of load balancing devices, comprising:
the method comprises the steps that an access layer switch in a first plane environment of two plane environments is respectively connected with a first set of load balancing equipment in a first load balancing access group and a second set of load balancing equipment in a second load balancing access group;
and respectively connecting the access layer switches in the second plane environments of the two plane environments with a second set of load balancing equipment in the first load balancing access group and a first set of load balancing equipment in the second load balancing access group.
5. The load balancing resource pool construction method according to claim 1, further comprising:
running a static routing protocol between the load balancing device and an access layer switch;
a dynamic routing protocol is run between the access layer switch and the core switch.
6. The method for constructing a load balancing resource pool according to claim 5, wherein after the construction of the load balancing resource pool is completed, the method further comprises:
a load balancing resource pool is commonly configured for at least one of the traffic partitions to provide load balancing services to different service partitions.
7. A load balancing resource pool, wherein the load balancing resource pool is deployed at each network partition, comprising:
the system comprises a plurality of load balancing devices, wherein two load balancing devices form a set of load balancing devices, and the two load balancing devices are in a main-standby relationship;
the load balancing access group comprises two sets of load balancing equipment, and the two sets of load balancing equipment in the load balancing access group are in a main-standby relationship;
each plane ring comprises two access layer switches, and the two access layer switches in each plane environment are respectively communicated with one set of load balancing equipment in different groups of load balancing equipment;
and the core switch is used for communicating with the access layer switch so as to form a load balancing resource pool.
8. A load balancing resource pool construction apparatus, the apparatus comprising:
the device dividing unit is used for dividing two load balancing devices into a set of load balancing devices, wherein the two load balancing devices are in a main-standby relationship; the load balancing device is used for dividing two sets of load balancing devices into load balancing access groups, wherein the two sets of load balancing devices in the load balancing access groups are in a main-standby relationship;
the system comprises a plane environment forming unit, a load balancing unit and a load balancing unit, wherein the plane environment forming unit is used for dividing an access layer switch into two plane environments, each plane environment comprises two access layer switches, and the two access layer switches in each plane environment are respectively communicated with one set of load balancing equipment in different groups of load balancing equipment;
and the resource pool construction unit is used for communicating the access layer switch with the core switch for standby to form a load balancing resource pool.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 6 when executing the computer program.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method of any one of claims 1 to 6.
CN202311282777.7A 2023-09-28 2023-09-28 Load balancing resource pool construction method and device and computer equipment Pending CN117319326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311282777.7A CN117319326A (en) 2023-09-28 2023-09-28 Load balancing resource pool construction method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311282777.7A CN117319326A (en) 2023-09-28 2023-09-28 Load balancing resource pool construction method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN117319326A true CN117319326A (en) 2023-12-29

Family

ID=89296698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311282777.7A Pending CN117319326A (en) 2023-09-28 2023-09-28 Load balancing resource pool construction method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN117319326A (en)

Similar Documents

Publication Publication Date Title
CN112671882B (en) Same-city double-activity system and method based on micro-service
CN109729129B (en) Configuration modification method of storage cluster system, storage cluster and computer system
EP2617157B1 (en) Performing partial subnet initialization in a middleware machine environment
CN108200124B (en) High-availability application program architecture and construction method
EP1410229B1 (en) HIGH-AVAILABILITY CLUSTER VIRTUAL SERVER SYSTEM and method
CN112003716A (en) Data center dual-activity implementation method
CN102404390B (en) Intelligent dynamic load balancing method for high-speed real-time database
CN104270271B (en) Disaster tolerant backup system and method in a kind of the Internet, applications
US20050050136A1 (en) Distributed and disjoint forwarding and routing system and method
CN110417665B (en) EVPN networking system and method for multiple Fabric scenes of data center
CN105337780B (en) A kind of server node configuration method and physical node
CN104025513A (en) Hierarchy of control in a data center network
CN106506201A (en) VNF moving methods, MANO and system
CN111431980A (en) Distributed storage system and path switching method thereof
CN111580753B (en) Storage volume cascade system, batch job processing system and electronic equipment
CN114793211B (en) Service multilink backup method and device based on blade service
CN113407382B (en) Dynamic regulation and control method and system for service fault
CN117319326A (en) Load balancing resource pool construction method and device and computer equipment
CN109981437B (en) Multi-data center intercommunication method based on VPC and related equipment
CN103414588B (en) VTL backup method and VTL nodes
CN107181608A (en) A kind of method and operation management system for recovering service and performance boost
CN113392053B (en) Storage system, communication method and component
CN106293501A (en) Data read-write method and device
CN114153655A (en) Disaster tolerance system creating method, disaster tolerance method, device, equipment and medium
JP2011186609A (en) Highly available system, server, method for maintaining high availability, and program

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