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
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
Abstract
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.