Docker Swarm container cluster-based network load balancing system, building method and working method thereof

A docker container, network load technology, applied in the field of cloud computing virtualization, can solve problems such as failure to automatically repair, limited hardware resources and computing power of a single server, and the load balancing system cannot meet the requirements, so as to overcome the problems of hardware resources and computing power. The effect of limited capacity, balancing traffic or traffic, and reducing load

CN108810080AInactive Publication Date: 2018-11-13SHANDONG UNIV +1
4 Cites 8 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2018-11-13
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

The invention relates to a Docker Swarm container cluster-based network load balancing system, a building method and a working method thereof. The network load balancing system comprises a reverse proxy server, a host, and multiple background Web servers, wherein the host comprises multiple server hosts, the reverse proxy server receives a connection request from Internet and forwards the connection request to the background Web server on an internal network, and the background Web server outputs a result and returns the output result to a client requesting connection on the Internet. In the system, multiple servers with Docker clients are connected to form a cluster by using a Docker Swarm container cluster; the whole cluster comprises a multi-state server, and has enough hardware resource and calculating capacity, thereby being capable of processing larger network load; and defects of insufficient hardware resource and limited calculating capability of a single server are overcome.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a network load balancing system based on a Docker Swarm container cluster, a construction method and a working method thereof, and belongs to the technical field of cloud computing virtualization. Background technique

[0002] Cloud computing technology is a technological revolution in the IT industry, which can deploy computing resources on demand. In essence, cloud computing means that user terminals obtain computing resources such as storage, computing, and databases through remote connections. Virtualization technology is one of the core components of cloud computing technology, and it is a key technology to fully integrate and efficiently utilize various computing and storage resources, including server virtualization and desktop virtualization.

[0003] Docker is an emerging lightweight virtualization technology. Compared with traditional VMs, it is lighter in weight and faster in startup speed. It can run hundreds or th...

Examples

Embodiment 1

[0041] like figure 1 shown.

[0042] A network load balancing system based on a Docker Swarm container cluster, comprising a reverse proxy server, a host computer and a plurality of background Web servers; the host computer includes a plurality of server hosts; the reverse proxy server accepts connection requests from the Internet , forwarding the connection request to the background Web server on the internal network, and the background Web server outputs the result and returns the output result to the client requesting the connection on the Internet.

[0043] The server host is the hardware foundation of the entire network load balancing system, which has high processing capacity, stability and reliability. The background web server refers to a website server, which is a program residing in a certain type of computer on the Internet. It can provide documents to web clients such as browsers, and can also place website files for the world to browse; it can place data files fo...

Embodiment 2

[0048] A method for building a network load balancing system as described in Embodiment 1, the specific steps comprising:

[0049] 1) Prepare the host machine, install and configure the Docker environment; the process of installing and configuring the Docker environment is directly installed through the apt-get command line of the ubuntu system.

[0050] 2) Install Docker Swarm on each server host, select one server host as the master node server, and other server hosts as slave node servers, and configure the server cluster;

[0051] 3) Create the main folder required by the Docker container in the root directory of the host machine. The main folder includes folders that can be mounted, and the webpage code is stored in the folder;

[0052] 4) Create a blank container on the master node server; the blank container does not include any software;

[0053] 5) Apache server is installed in the blank container created in step 4), and a programming environment is configured; the p...

Embodiment 3

[0060] As in the method for building a network load balancing system described in Embodiment 3, further, the step 3) also includes a step in which the host computer updates the webpage code stored in the main folder in real time.