CN106095533A - Method of server expansion and device - Google Patents

Method of server expansion and device Download PDF

Info

Publication number
CN106095533A
CN106095533A CN201610412303.3A CN201610412303A CN106095533A CN 106095533 A CN106095533 A CN 106095533A CN 201610412303 A CN201610412303 A CN 201610412303A CN 106095533 A CN106095533 A CN 106095533A
Authority
CN
China
Prior art keywords
docker
server
container
domain name
docker container
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.)
Granted
Application number
CN201610412303.3A
Other languages
Chinese (zh)
Other versions
CN106095533B (en
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201610412303.3A priority Critical patent/CN106095533B/en
Publication of CN106095533A publication Critical patent/CN106095533A/en
Application granted granted Critical
Publication of CN106095533B publication Critical patent/CN106095533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of method of server expansion and device.The method includes: detect the resources occupation rate of each Docker server;According to the resources occupation rate of described each Docker server, determine target Docker server;The first extended instruction is sent, so that described target Docker server creates a Docker container according to described first extended instruction to described target Docker server;The corresponding relation of the IP address of a described Docker container and the domain name of described target Docker server is sent to name server.The embodiment of the present invention improves the resource utilization of the low Docker server of resource utilization so that the resource utilization on multiple Docker servers tends to equilibrium.

Description

Method of server expansion and device
Technical field
The present embodiments relate to communication technical field, particularly relate to a kind of method of server expansion and device.
Background technology
Docker is an application container engine increased income, after physical host installs Docker, and can be Docker's On the basis of carry multiple container, mutually isolated between multiple containers, multiple containers share the operating system of physical host, each container Can place and perform different application programs.
The physical host being provided with Docker container is referred to as Docker server, and a Docker server can be installed There is multiple Docker container, but the number of the Docker container of each Docker server installation is fixing, due to user eventually The frequency that end accesses each Docker container is different, causes the Docker container on part Docker server to be accessed frequently, And the Docker container on part Docker server to be accessed for frequency relatively low, cause the resource profit on each Docker server Unbalanced by rate.
Summary of the invention
The embodiment of the present invention provides a kind of method of server expansion and device, so that the resource on multiple Docker server Utilization rate equalizes.
One aspect of the embodiment of the present invention is to provide a kind of method of server expansion, including:
Detect the resources occupation rate of each Docker server;
According to the resources occupation rate of described each Docker server, determine target Docker server;
The first extended instruction is sent, so that described target Docker server is according to institute to described target Docker server State the first extended instruction and create a Docker container;
The corresponding relation of the IP address of a described Docker container and the domain name of described target Docker server is sent out Give name server, so that user terminal obtains, by domain name server, the Docker container that domain name is corresponding IP address, and access a described Docker container according to the IP address of a described Docker container.
Another aspect of the embodiment of the present invention is to provide a kind of server expansion device, including:
Detection module, for detecting the resources occupation rate of each Docker server;
Determine module, for the resources occupation rate according to described each Docker server, determine target Docker server;
Sending module, for sending the first extended instruction to described target Docker server, so that described target Docker server creates a Docker container according to described first extended instruction;By the IP ground of a described Docker container The corresponding relation of the domain name of location and described target Docker server is sent to name server, so that user terminal is by described Name server obtains the IP address of a Docker container corresponding to domain name, and according to a described Docker container IP address accesses a described Docker container.
The method of server expansion of embodiment of the present invention offer and device, serviced by the Docker low to resource utilization Device sends extended instruction, so that the low Docker server of resource utilization creates new Docker container, and by new The IP address of Docker container and the domain name of Docker server are sent to name server, and user terminal passes through name server Obtain the IP address of new Docker container, and new Docker container is conducted interviews, improve resource utilization low The resource utilization of Docker server so that the resource utilization on multiple Docker servers tends to equilibrium.
Accompanying drawing explanation
The method of server expansion flow chart that Fig. 1 provides for the embodiment of the present invention;
The network architecture diagram that the method for server expansion that Fig. 2 provides for the embodiment of the present invention is suitable for;
The method of server expansion flow chart that Fig. 3 provides for another embodiment of the present invention;
The network architecture diagram that the method for server expansion that Fig. 4 provides for another embodiment of the present invention is suitable for;
The method of server expansion flow chart that Fig. 5 provides for another embodiment of the present invention;
The structure chart of the server expansion device that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
The method of server expansion flow chart that Fig. 1 provides for the embodiment of the present invention;The clothes that Fig. 2 provides for the embodiment of the present invention The network architecture diagram that business device expansion method is suitable for.The Docker container that the embodiment of the present invention is installed for each Docker server Number be fixing, owing to the frequency of each Docker container of user terminal access is different, cause part Docker server On Docker container be accessed frequently, and the Docker container on part Docker server to be accessed for frequency relatively low, lead Causing the resource utilization on each Docker server unbalanced, it is provided that method of server expansion, the method specifically comprises the following steps that
Step S101, detect the resources occupation rate of each Docker server;
As in figure 2 it is shown, Docker server 13, Docker server 14, Docker server 15 respectively with the Internet 11 Being connected, dilatation controls equipment 10 and is connected with Docker server 13, Docker server 14, Docker server 15 respectively, institute State dilatation and control equipment 10 for detecting the resources occupation rate of each Docker server.
Step S102, resources occupation rate according to described each Docker server, determine target Docker server;
Described dilatation controls equipment 10 and determines that in the resources occupation rate of described each Docker server, resources occupation rate is minimum Docker server, Docker server minimum for described resources occupation rate is defined as described target Docker server. Assume in Docker server 13, Docker server 14, Docker server 15, the resources occupation rate of Docker server 13 Minimum, then Docker server 13 is defined as target Docker server.
Step S103, send the first extended instruction to described target Docker server, so that described target Docker clothes Business device creates a Docker container according to described first extended instruction;
Dilatation controls equipment 10 and sends the first extended instruction to Docker server 13, and described first extended instruction is used for controlling Making described Docker server 13 and create an a new Docker container i.e. Docker container 1, specifically, Docker services Device 13 distributes an IP address for Docker container 1.
It addition, dilatation includes a mirror site in controlling equipment 10, this mirror site includes that dilatation controls what equipment 10 connected The mirror image of the website of each Docker server, when Docker server 13 creates Docker container 1, dilatation controls equipment 10 will The mirror image of the website of Docker server 13 is sent to Docker container 1, so that Docker container 1 loads Docker server 13 The mirror image of website.
Step S104, right by the domain name of the IP address of a described Docker container and described target Docker server Should be related to and be sent to name server, so that user terminal passes through first that domain name server acquisition domain name is corresponding The IP address of Docker container, and access a described Docker container according to the IP address of a described Docker container.
After Docker container 1 starts, the IP address of Docker container 1 is sent to dilatation control by Docker server 13 Equipment 10, dilatation controls equipment 10 and the IP address of Docker container 1 and the website domain name of Docker server 13 is sent to territory Name server 12, the IP address of Docker container 1 is associated with the website domain name of Docker server 13 and deposits by name server 12 Store up in list.When user inputs the website domain name of Docker server 13 in the browser of user terminal, or user exists When clicking link corresponding to the website domain name of Docker server 13 in the browser of user terminal, user terminal takes to domain name Domain name system (Domain Name System is called for short DNS) request initiated by business device 12, and this DNS request includes that Docker services The website domain name of device 13, when name server 12 receives this DNS request, gets Docker server 13 from list The IP address of the Docker container 1 that website domain name is corresponding, and the IP address of Docker container 1 is sent to user terminal, user Terminal IP address for the purpose of the IP address of this Docker container 1 accesses this Docker container 1, i.e. accesses Docker server 13。
The embodiment of the present invention sends extended instruction by the Docker server low to resource utilization, so that the utilization of resources The low Docker server of rate creates new Docker container, and by the IP address of new Docker container and Docker server Domain name be sent to name server, user terminal obtains the IP address of new Docker container by name server, and right New Docker container conducts interviews, and improves the resource utilization of the low Docker server of resource utilization so that multiple Resource utilization on Docker server tends to equilibrium.
The method of server expansion flow chart that Fig. 3 provides for another embodiment of the present invention, the clothes that the embodiment of the present invention provides Specifically comprising the following steps that of business device expansion method
Step S301, detect the resources occupation rate of each Docker server;
Step S302, resources occupation rate according to described each Docker server, determine target Docker server;
Step S303, send the first extended instruction to described target Docker server, so that described target Docker clothes Business device creates a Docker container according to described first extended instruction;
Step S304, right by the domain name of the IP address of a described Docker container and described target Docker server Should be related to and be sent to name server, so that user terminal passes through first that domain name server acquisition domain name is corresponding The IP address of Docker container, and access a described Docker container according to the IP address of a described Docker container;
Step S301-S304 is consistent with step S101-S104 respectively, and here is omitted for concrete grammar.
Step S305, detect the resources occupation rate of a described Docker container;
Dilatation controls equipment 10 and is additionally operable to detect the resources occupation rate of a described Docker container i.e. Docker container 1.
Step S306, when a described Docker container resources occupation rate more than first threshold time, to described target Docker server sends the second extended instruction, so that described target Docker server creates according to described second extended instruction 2nd Docker container;
When the resources occupation rate of Docker container 1 is more than first threshold, illustrate to access the user terminal of Docker container 1 More, in order to reduce the treating capacity of Docker container 1, dilatation control equipment 10 sends the second extension to Docker server 13 and refers to Order, this second extended instruction is used for controlling Docker server 13 and creates the 2nd Docker container i.e. Docker container 2, such as Fig. 4 Shown in, the process creating Docker container 2 is similar with the process creating Docker container 1, and here is omitted.
Step S307, right by the domain name of the IP address of described 2nd Docker container and described target Docker server Should be related to and be sent to name server, so that user terminal passes through second that domain name server acquisition domain name is corresponding The IP address of Docker container, and access described 2nd Docker container according to the IP address of described 2nd Docker container.
Docker server 13 distributes an IP address for Docker container 2, and is sent the IP address of Docker container 2 Controlling equipment 10 to dilatation, dilatation controls equipment 10 by the IP address of Docker container 2 and the website domain of Docker server 13 Name is sent to name server 12, and name server 12 is by the IP address of Docker container 2 and the website of Docker server 13 Domain name stores in list, and now, in the list of name server 12, storage has the website domain name correspondence of Docker server 13 Two records, one is IP address and the website domain name of Docker server 13 of Docker container 1, and another is Docker The IP address of container 2 and the website domain name of Docker server 13.
When user inputs the website domain name of Docker server 13 in the browser of user terminal, or user is user When clicking link corresponding to the website domain name of Docker server 13 in the browser of terminal, user terminal is to name server 12 initiate domain name system (Domain Name System is called for short DNS) request, and this DNS request includes Docker server 13 Website domain name, when name server 12 receives this DNS request, from list select Docker container 1 IP address or The IP address of Docker container 2 is sent to user terminal, if select is the IP address of Docker container 2, then user terminal with For the purpose of the IP address of this Docker container 2, IP address accesses this Docker container 2, i.e. accesses Docker server 13.
It addition, name server 12 can also carry out balance dispatching to Docker container 1 and Docker container 2.
The embodiment of the present invention is by creating two Docker containers in same Docker server, it is ensured that same The resources balance of two Docker containers in Docker server.
The method of server expansion flow chart that Fig. 5 provides for another embodiment of the present invention, the clothes that the embodiment of the present invention provides Specifically comprising the following steps that of business device expansion method
Step S401, detect the resources occupation rate of each Docker server;
Step S402, resources occupation rate according to described each Docker server, determine target Docker server;
Step S403, send the first extended instruction to described target Docker server, so that described target Docker clothes Business device creates a Docker container according to described first extended instruction;
Step S404, right by the domain name of the IP address of a described Docker container and described target Docker server Should be related to and be sent to name server, so that user terminal passes through first that domain name server acquisition domain name is corresponding The IP address of Docker container, and access a described Docker container according to the IP address of a described Docker container;
Step S401-S404 is consistent with step S101-S104 respectively, and here is omitted for concrete grammar.
Step S405, detect the resources occupation rate of a described Docker container;
Dilatation controls equipment 10 and is additionally operable to detect the resources occupation rate of a described Docker container i.e. Docker container 1.
Step S406, when a described Docker container resources occupation rate less than Second Threshold time, to domain name take Business device sends deletes instruction, so that domain name server deletes the IP of a described Docker container according to described deletion instruction The corresponding relation of the domain name of address and described target Docker server;
When the resources occupation rate of Docker container 1 is less than Second Threshold, illustrate to access the user terminal of Docker container 1 Less, in order to save the resources occupation rate of Docker server 13, dilatation controls equipment 10 and sends deletion to name server 12 Instruction, described deletion instructs the IP address including Docker container 1, and name server 12 is according to deleting in instruction delete list The IP address of Docker container 1 and the corresponding relation of the website domain name of Docker server 13.
Step S407, send control instruction to described target Docker server, so that described target Docker server A described Docker container is deleted according to described control instruction.
Owing to name server 12 deletes the IP address of Docker container 1 in list and Docker clothes according to deleting instruction The corresponding relation of website domain name of business device 13, then include the website domain name of Docker server 13 when name server 12 receives DNS request time, name server 12 only returns to the IP address of Docker container 2 to user terminal, and user terminal will only access Docker container 2 and do not access Docker container 1, when the visit capacity of Docker container 1 is 0, i.e. no user terminal access During Docker container 1, dilatation controls equipment 10 and sends control instruction to Docker server 13, so that target Docker server 13 delete Docker container 1 according to described control instruction.
The embodiment of the present invention deletes this Docker container when being less than certain threshold value according to the resources occupation rate of Docker container, While saving Docker server resource occupancy, improve the motility of additions and deletions Docker container.
The structure chart of the server expansion device that Fig. 6 provides for the embodiment of the present invention.The service that the embodiment of the present invention provides Device flash chamber can perform the handling process that method of server expansion embodiment provides, as shown in Figure 6, server expansion device 60 including detection module 61, determine module 62 and sending module 63, wherein, detection module 61 is used for detecting each Docker server Resources occupation rate;Determine that module 62, for the resources occupation rate according to described each Docker server, determines target Docker Server;Sending module 63 is for sending the first extended instruction to described target Docker server, so that described target Docker server creates a Docker container according to described first extended instruction;By the IP ground of a described Docker container The corresponding relation of the domain name of location and described target Docker server is sent to name server, so that user terminal is by described Name server obtains the IP address of a Docker container corresponding to domain name, and according to a described Docker container IP address accesses a described Docker container.
The server expansion device that the embodiment of the present invention provides can be specifically for performing the method reality that above-mentioned Fig. 1 is provided Executing example, here is omitted for concrete function.
The embodiment of the present invention sends extended instruction by the Docker server low to resource utilization, so that the utilization of resources The low Docker server of rate creates new Docker container, and by the IP address of new Docker container and Docker server Domain name be sent to name server, user terminal obtains the IP address of new Docker container by name server, and right New Docker container conducts interviews, and improves the resource utilization of the low Docker server of resource utilization so that multiple Resource utilization on Docker server tends to equilibrium.
On the basis of above-described embodiment, determine that module 62 accounts for specifically for the resource determining described each Docker server With the Docker server that resources occupation rate in rate is minimum, Docker server minimum for described resources occupation rate is defined as institute State target Docker server.
Detection module 61 is additionally operable to detect the resources occupation rate of a described Docker container;Sending module 63 is additionally operable to work as When the resources occupation rate of a described Docker container is more than first threshold, send the second expansion to described target Docker server Exhibition instruction, so that described target Docker server creates the 2nd Docker container according to described second extended instruction;By described The corresponding relation of the IP address of the 2nd Docker container and the domain name of described target Docker server is sent to name server, So that user terminal obtains the IP address of the 2nd Docker container corresponding to domain name by domain name server, and according to The IP address of described 2nd Docker container accesses described 2nd Docker container.
Sending module 63 is additionally operable to when the resources occupation rate of a described Docker container is less than Second Threshold, to described Name server sends deletes instruction, holds so that domain name server deletes a described Docker according to described deletion instruction The IP address of device and the corresponding relation of the domain name of described target Docker server.
Sending module 63 is additionally operable to send control instruction to described target Docker server, so that described target Docker Server deletes a described Docker container according to described control instruction.
The server expansion device that the embodiment of the present invention provides can be specifically for performing what above-mentioned Fig. 3 or Fig. 5 was provided Embodiment of the method, here is omitted for concrete function.
The embodiment of the present invention is by creating two Docker containers in same Docker server, it is ensured that same The resources balance of two Docker containers in Docker server;Resources occupation rate according to Docker container is less than certain threshold value Time delete this Docker container, while saving Docker server resource occupancy, improve the spirit of additions and deletions Docker container Activity.
In sum, the embodiment of the present invention sends extended instruction by the Docker server low to resource utilization, with Make the low Docker server of resource utilization create new Docker container, and by the IP address of new Docker container and The domain name of Docker server is sent to name server, and user terminal obtains new Docker container by name server IP address, and new Docker container is conducted interviews, improve the utilization of resources of the low Docker server of resource utilization Rate so that the resource utilization on multiple Docker servers tends to equilibrium;By creating in same Docker server Two Docker containers, it is ensured that the resources balance of two Docker containers in same Docker server;According to Docker Delete this Docker container when the resources occupation rate of container is less than certain threshold value, save the same of Docker server resource occupancy Time, improve the motility of additions and deletions Docker container.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can be passed through it Its mode realizes.Such as, device embodiment described above is only schematically, such as, and the division of described unit, only Being only a kind of logic function to divide, actual can have other dividing mode, the most multiple unit or assembly to tie when realizing Close or be desirably integrated into another system, or some features can be ignored, or not performing.Another point, shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or logical Letter connects, and can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the present invention each The part steps of method described in embodiment.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various The medium of program code can be stored.
Those skilled in the art are it can be understood that arrive, for convenience and simplicity of description, only with above-mentioned each functional module Division be illustrated, in actual application, can be as desired by complete by different functional modules for above-mentioned functions distribution Become, the internal structure of device will be divided into different functional modules, to complete all or part of function described above.On State the specific works process of the device of description, be referred to the corresponding process in preceding method embodiment, do not repeat them here.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. a method of server expansion, it is characterised in that including:
Detect the resources occupation rate of each Docker server;
According to the resources occupation rate of described each Docker server, determine target Docker server;
The first extended instruction is sent, so that described target Docker server is according to described to described target Docker server One extended instruction creates a Docker container;
The corresponding relation of the IP address of a described Docker container and the domain name of described target Docker server is sent to Name server, so that user terminal obtains the IP of a Docker container corresponding to domain name by domain name server Address, and access a described Docker container according to the IP address of a described Docker container.
Method the most according to claim 1, it is characterised in that the described resource occupation according to described each Docker server Rate, determines target Docker server, including:
Determine the Docker server that in the resources occupation rate of described each Docker server, resources occupation rate is minimum, by described money The Docker server that source occupancy is minimum is defined as described target Docker server.
Method the most according to claim 2, it is characterised in that the described IP address by a described Docker container and institute After the corresponding relation of the domain name stating target Docker server is sent to name server, also include:
Detect the resources occupation rate of a described Docker container;
When the resources occupation rate of a described Docker container is more than first threshold, send to described target Docker server Second extended instruction, so that described target Docker server creates the 2nd Docker container according to described second extended instruction;
The corresponding relation of the IP address of described 2nd Docker container and the domain name of described target Docker server is sent to Name server, so that user terminal obtains the IP of the 2nd Docker container corresponding to domain name by domain name server Address, and access described 2nd Docker container according to the IP address of described 2nd Docker container.
Method the most according to claim 3, it is characterised in that also include:
When the resources occupation rate of a described Docker container is less than Second Threshold, sends deletion to domain name server and refer to Order, so that domain name server is according to the described IP address deleting the instruction described Docker container of deletion and described target The corresponding relation of the domain name of Docker server.
Method the most according to claim 4, it is characterised in that described transmission to domain name server deletes instruction After, also include:
Control instruction is sent, so that described target Docker server refers to according to described control to described target Docker server A described Docker container is deleted in order.
6. a server expansion device, it is characterised in that including:
Detection module, for detecting the resources occupation rate of each Docker server;
Determine module, for the resources occupation rate according to described each Docker server, determine target Docker server;
Sending module, for sending the first extended instruction to described target Docker server, so that described target Docker clothes Business device creates a Docker container according to described first extended instruction;By the IP address of a described Docker container and described The corresponding relation of the domain name of target Docker server is sent to name server, so that user terminal is serviced by domain name Device obtains the IP address of a Docker container corresponding to domain name, and visits according to the IP address of a described Docker container Ask a described Docker container.
Server expansion device the most according to claim 6, it is characterised in that described determine that module is specifically for determining State the Docker server that in the resources occupation rate of each Docker server, resources occupation rate is minimum, by described resources occupation rate Low Docker server is defined as described target Docker server.
Server expansion device the most according to claim 7, it is characterised in that it is described that described detection module is additionally operable to detection The resources occupation rate of the oneth Docker container;
Described sending module is additionally operable to when the resources occupation rate of a described Docker container is more than first threshold, to described mesh Mark Docker server sends the second extended instruction, so that described target Docker server is according to described second extended instruction wound Build the 2nd Docker container;Right by the domain name of the IP address of described 2nd Docker container and described target Docker server Should be related to and be sent to name server, so that user terminal passes through second that domain name server acquisition domain name is corresponding The IP address of Docker container, and access described 2nd Docker container according to the IP address of described 2nd Docker container.
Server expansion device the most according to claim 8, it is characterised in that described sending module is additionally operable to when described When the resources occupation rate of one Docker container is less than Second Threshold, sends to domain name server and delete instruction, so that described Name server is according to the described IP address deleting the instruction described Docker container of deletion and the service of described target Docker The corresponding relation of the domain name of device.
Server expansion device the most according to claim 9, it is characterised in that described sending module is additionally operable to described Target Docker server sends control instruction, so that described target Docker server is deleted described according to described control instruction Oneth Docker container.
CN201610412303.3A 2016-06-14 2016-06-14 Method of server expansion and device Active CN106095533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610412303.3A CN106095533B (en) 2016-06-14 2016-06-14 Method of server expansion and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610412303.3A CN106095533B (en) 2016-06-14 2016-06-14 Method of server expansion and device

Publications (2)

Publication Number Publication Date
CN106095533A true CN106095533A (en) 2016-11-09
CN106095533B CN106095533B (en) 2019-06-18

Family

ID=57846311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610412303.3A Active CN106095533B (en) 2016-06-14 2016-06-14 Method of server expansion and device

Country Status (1)

Country Link
CN (1) CN106095533B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108572868A (en) * 2017-09-25 2018-09-25 北京金山云网络技术有限公司 A kind of physical host selection method, device, equipment and readable storage medium storing program for executing
CN108737143A (en) * 2017-04-21 2018-11-02 中兴通讯股份有限公司 A kind of short-message system and its control method
CN108848166A (en) * 2018-06-20 2018-11-20 中国联合网络通信集团有限公司 A kind of load equilibration scheduling method and device of container
CN108920153A (en) * 2018-05-29 2018-11-30 华南理工大学 A kind of Docker container dynamic dispatching method based on load estimation
CN109032788A (en) * 2018-06-29 2018-12-18 北京百度网讯科技有限公司 Reserved resource pool dynamic dispatching method, device, computer equipment and storage medium
CN109586952A (en) * 2018-11-07 2019-04-05 广州虎牙信息科技有限公司 Method of server expansion, device
CN109976917A (en) * 2019-04-08 2019-07-05 科大讯飞股份有限公司 A kind of load dispatching method, device, load dispatcher, storage medium and system
CN110221916A (en) * 2019-05-23 2019-09-10 北京奇艺世纪科技有限公司 A kind of memory expansion method, device, configuration center system and electronic equipment
CN111092915A (en) * 2018-10-23 2020-05-01 亿度慧达教育科技(北京)有限公司 Server system
CN112532669A (en) * 2019-09-19 2021-03-19 贵州白山云科技股份有限公司 Network edge computing method, device and medium
CN112671570A (en) * 2020-12-16 2021-04-16 微梦创科网络科技(中国)有限公司 Method and system for automatically expanding and contracting capacity

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986608A (en) * 2014-05-29 2014-08-13 浪潮电子信息产业股份有限公司 J2EE application virtualization management method based on Itanium Linux application containers
CN104991815A (en) * 2015-06-19 2015-10-21 北京奇虎科技有限公司 Docker container management method and system
WO2015171030A1 (en) * 2014-05-08 2015-11-12 Telefonaktiebolaget L M Ericsson (Publ) Web application managment
CN105119913A (en) * 2015-08-13 2015-12-02 东南大学 Web server architecture based on Docker and interactive method between modules
CN105357296A (en) * 2015-10-30 2016-02-24 河海大学 Elastic caching system based on Docker cloud platform
CN105515864A (en) * 2015-12-11 2016-04-20 深圳市中润四方信息技术有限公司 Container resource adaptive adjustment method and container resource adaptive adjustment system
CN105554102A (en) * 2015-12-14 2016-05-04 中电科华云信息技术有限公司 Elastic expansion method based on container cluster and application system thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015171030A1 (en) * 2014-05-08 2015-11-12 Telefonaktiebolaget L M Ericsson (Publ) Web application managment
CN103986608A (en) * 2014-05-29 2014-08-13 浪潮电子信息产业股份有限公司 J2EE application virtualization management method based on Itanium Linux application containers
CN104991815A (en) * 2015-06-19 2015-10-21 北京奇虎科技有限公司 Docker container management method and system
CN105119913A (en) * 2015-08-13 2015-12-02 东南大学 Web server architecture based on Docker and interactive method between modules
CN105357296A (en) * 2015-10-30 2016-02-24 河海大学 Elastic caching system based on Docker cloud platform
CN105515864A (en) * 2015-12-11 2016-04-20 深圳市中润四方信息技术有限公司 Container resource adaptive adjustment method and container resource adaptive adjustment system
CN105554102A (en) * 2015-12-14 2016-05-04 中电科华云信息技术有限公司 Elastic expansion method based on container cluster and application system thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苗凡、朱建军、戴琳琳: "集群节点动态调整技术在互联网分区集群中的研究", 《铁路计算机应用》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737143A (en) * 2017-04-21 2018-11-02 中兴通讯股份有限公司 A kind of short-message system and its control method
CN108572868A (en) * 2017-09-25 2018-09-25 北京金山云网络技术有限公司 A kind of physical host selection method, device, equipment and readable storage medium storing program for executing
CN108920153A (en) * 2018-05-29 2018-11-30 华南理工大学 A kind of Docker container dynamic dispatching method based on load estimation
CN108920153B (en) * 2018-05-29 2022-04-22 华南理工大学 Docker container dynamic scheduling method based on load prediction
CN108848166A (en) * 2018-06-20 2018-11-20 中国联合网络通信集团有限公司 A kind of load equilibration scheduling method and device of container
CN109032788A (en) * 2018-06-29 2018-12-18 北京百度网讯科技有限公司 Reserved resource pool dynamic dispatching method, device, computer equipment and storage medium
CN111092915A (en) * 2018-10-23 2020-05-01 亿度慧达教育科技(北京)有限公司 Server system
CN109586952B (en) * 2018-11-07 2022-04-12 广州虎牙信息科技有限公司 Server capacity expansion method and device
CN109586952A (en) * 2018-11-07 2019-04-05 广州虎牙信息科技有限公司 Method of server expansion, device
CN109976917A (en) * 2019-04-08 2019-07-05 科大讯飞股份有限公司 A kind of load dispatching method, device, load dispatcher, storage medium and system
CN110221916B (en) * 2019-05-23 2021-07-20 北京奇艺世纪科技有限公司 Memory capacity expansion method and device, configuration center system and electronic equipment
CN110221916A (en) * 2019-05-23 2019-09-10 北京奇艺世纪科技有限公司 A kind of memory expansion method, device, configuration center system and electronic equipment
CN112532674A (en) * 2019-09-19 2021-03-19 贵州白山云科技股份有限公司 Method, device and medium for establishing network edge computing system
CN112532669A (en) * 2019-09-19 2021-03-19 贵州白山云科技股份有限公司 Network edge computing method, device and medium
CN112671570A (en) * 2020-12-16 2021-04-16 微梦创科网络科技(中国)有限公司 Method and system for automatically expanding and contracting capacity

Also Published As

Publication number Publication date
CN106095533B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN106095533A (en) Method of server expansion and device
CN107391629B (en) Method, system, server and computer storage medium for data migration between clusters
US20180081562A1 (en) Cloud storage system
KR101634409B1 (en) Techniques for resource location and migration across data centers
CN108595207A (en) A kind of gray scale dissemination method, regulation engine, system, terminal and storage medium
CN104954468A (en) Resource allocation method and resource allocation device
CN105550338A (en) HTML5 application cache based mobile Web cache optimization method
CN103368986A (en) Information recommendation method and information recommendation device
CN103475682B (en) File transfer method and file transfer equipment
US9330199B2 (en) Striping of directed graphs and nodes with improved functionality
CN108804514A (en) A kind of webpage loading method, server and webpage loading system
CN106130990A (en) The control method of container access and device
CN109144619B (en) Icon font information processing method, device and system
CN111475483A (en) Database migration method and device and computing equipment
CN105939313A (en) State code redirecting method and device
CN106777085A (en) A kind of data processing method, device and data query system
CN107391033B (en) Data migration method and device, computing equipment and computer storage medium
US11263107B2 (en) Application development support system and application development support method
CN105868234A (en) Update method and device of caching data
CN112988378A (en) Service processing method and device
US9600251B1 (en) Enhancing API service schemes
CN105763616B (en) Resource downloading method and device
CN112104753B (en) Service request processing system and method and computing device
CN106354435A (en) Method and device for initializing RAID
CN106254411A (en) For providing the system of service, server system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant