Method for realizing intranet load balancing based on docker container

A load balancing and container technology, applied in the computer field, to achieve the effect of solving intranet IP conflicts, improving utilization, and reducing operating costs

Active Publication Date: 2020-02-21
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention aims at the shortcomings of the virtual machine of the intranet load balancing instance based on the openstack public cloud platform, and provides a method for realizing intranet load balancing based on the docker container, which solves the problem of The problem of communication between load balancing nodes across vpc and back-end servers, improving the dimension of load balancing nodes,

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing intranet load balancing based on docker container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] combined with figure 1 , this embodiment proposes a method for implementing intranet load balancing based on docker containers, and the method is based on a control module, an openvswitch bridge, a docker container, and an lb-agent execution module.

[0035] The control module is user-oriented, responsible for configuration management of load balancing data, receiving load balancing configuration requests from users, recording user configuration data into the database, and further sending user requests to load balancing nodes.

[0036] The lb-agent execution module runs on the load balancing node and is responsible for receiving user load balancing configuration requests, performing load balancing actual configuration on the load balancing node, and also responsible for managing and configuring the load balancing node network card, openvswitch bridge and docker container.

[0037] The openvswitch bridge connects the network card of the load balancing node and the docker...

Embodiment 2

[0042] Reference attached figure 1 , based on Embodiment 1, this embodiment proposes a method for implementing intranet load balancing based on docker containers. The implementation process of this method includes:

[0043] 1) The user issues a command to the control module to create an intranet load balancing instance,

[0044]2) The lb-agent execution module of the load balancing node accepts the create load balancing command, and at the same time, the load balancing node will create a network card corresponding to the subnet selected by the load balancing instance; the lb-agent execution module creates a docker for the load balancing instance The container and the openvswitch bridge, and hang the newly created network card on the openvswitch bridge, create a veth pair, and hang the docker container on the openvswitch bridge;

[0045] 3) The lb-agent execution module of the load balancing node sets the address of the newly created network card into the docker container. In ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for realizing intranet load balancing based on a docker container, relates to the technical field of computers, and the technical scheme is based on a control module,an openvswitch network bridge, a docker container and a 1b-agent execution module, wherein the control module faces user operation, is responsible for configuration management of load balancing data,receives a load balancing configuration request from a user, sends the user request to a load balancing node, and records user configuration data into a database; wherein the 1b-agent execution moduleruns on a load balancing node and is responsible for receiving a configuration request of user load balancing; the actual configuration of load balancing is carried out on the load balancing node andthe management configuration is carried out on a network card of the load balancing node, an openvswitch network bridge and a docker container; the openvswitch network bridge is connected with the network card and the docker container; wherein the docker containers are in one-to-one correspondence with the load balancing instances and are used for running lvs or nginx and configuring related information of the back-end server. According to the invention, the problem of communication of the load balancing node across the vpc and the back-end server is solved, and the dimension of the load balancing node is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for realizing intranet load balancing based on docker containers. Background technique [0002] Public cloud computing is one of the hottest topics in the field of IT infrastructure in recent years. Its virtual abstraction of computing, network, storage and other resources provides users with extremely convenient resource usage and flexible resource expansion capabilities. As a basic function of public cloud products, load balancing can not only meet the needs of users to quickly build their own business data persistence cloud services, but also enable user services to maintain efficient and stable operation under large amounts of data access, and greatly save Operation and maintenance costs. The basic principle of load balancing is to distribute the access traffic to the traffic distribution control service of multiple cloud servers at the backend according to the fo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08
CPCH04L67/025H04L67/1004
Inventor 张信杰胡章丰李彦君任秋峥
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products