CN108228272A - WEB containers generation processing method, equipment and server - Google Patents
WEB containers generation processing method, equipment and server Download PDFInfo
- Publication number
- CN108228272A CN108228272A CN201611198643.7A CN201611198643A CN108228272A CN 108228272 A CN108228272 A CN 108228272A CN 201611198643 A CN201611198643 A CN 201611198643A CN 108228272 A CN108228272 A CN 108228272A
- Authority
- CN
- China
- Prior art keywords
- service node
- web
- address
- web application
- application program
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 25
- 238000009434 installation Methods 0.000 claims abstract description 92
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000012545 processing Methods 0.000 claims description 45
- 238000013507 mapping Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 14
- 238000004590 computer program Methods 0.000 description 8
- 230000005012 migration Effects 0.000 description 7
- 238000013508 migration Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
- G06F11/2028—Failover techniques eliminating a faulty processor or activating a spare
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
- G06F11/203—Failover techniques using migration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses WEB containers generation processing method, equipment and server.Wherein, the method includes:Generate the installation kit of WEB application program and registration file corresponding with WEB application program;Wherein, registration file includes at least mark, the IP address of target service node and at least one port numbers corresponding with IP address of WEB application program;Installation kit is sent to all service nodes, for each service node according to the identifier lookup that installation kit carries to registration file after, if judge to know that local ip address is identical with registering the IP address that file includes, then determine itself to be target service node, and according to the WEB containers of the identical quantity of the quantity generations of port numbers corresponding with IP address, and each port numbers are corresponded with each WEB containers.The equipment is used to perform the above method.WEB containers provided by the invention generate processing method, equipment and server, can save service node resource, improve the utilization rate to service node.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a method, equipment and a server for generating and processing a WEB container.
Background
With the depth of the enterprise-level WEB application system, the scale of the enterprise system is continuously enlarged, and in order to facilitate WEB application, the enterprise-level WEB application system usually provides various WEB applications in a server cluster manner.
In the prior art, each WEB application needs to use one server, a WEB container needs to be manually installed for each server, and then a WEB application program, such as a website, is run in the WEB container, and a plurality of WEB servers are connected to an external network through a load balancer and a firewall for use by users. In addition, in the prior art, a dual-node to multi-node WEB server is adopted to prevent failures, when a WEB server of one node fails, a dual-node mechanism automatically switches services to a standby node, and when the standby node also fails, a WEB application running for the WEB server adopting the dual-node fails. The failure of the WEB server with the failure cannot be timely recovered, which may cause the failure of the whole WEB application.
Therefore, how to provide a method to save server resources and improve the utilization rate of the server is an important issue to be solved urgently in the industry.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a WEB container generation processing method, equipment and a server.
On one hand, the invention provides a method for generating and processing a WEB container, which comprises the following steps:
generating an installation package of a WEB application program and a registration file corresponding to the WEB application program; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
and sending the installation package to all service nodes, so that after each service node finds the registration file according to the identifier carried by the installation package, if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating the same number of WEB containers according to the number of the port numbers corresponding to the IP addresses, wherein each port number corresponds to each WEB container one by one.
On the other hand, the invention also provides a method for generating and processing the WEB container, which comprises the following steps:
receiving an installation package of a WEB application program sent by a management node, and analyzing the installation package to acquire an identifier of the WEB application program;
searching a registration file corresponding to the WEB application program on the management node according to the identifier; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
and if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating WEB containers with the same number according to the number of the port numbers corresponding to the IP address, wherein the port numbers correspond to the WEB containers one by one.
In another aspect, the present invention provides a WEB container generation processing apparatus, where the WEB container generation processing apparatus is located on a management node, and includes:
the system comprises a creating unit, a searching unit and a processing unit, wherein the creating unit is used for generating an installation package of a WEB application program and a registration file corresponding to the WEB application program; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
and the sending unit is used for sending the installation package to all the service nodes so that after each service node finds the registration file according to the identifier carried by the installation package, if the local IP address is judged to be the same as the IP address included in the registration file, the service node is determined to be the target service node, the WEB containers with the same number are generated according to the number of the port numbers corresponding to the IP addresses, and each port number corresponds to each WEB container one to one.
In another aspect, the present invention provides a server, where the server is located on a service node, and the server includes:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an installation package of the WEB application program sent by a management node, analyzing the installation package and acquiring an identifier of the WEB application program;
the searching unit is used for searching a registration file corresponding to the WEB application program on the management node according to the identifier; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
and the newly-built unit is used for determining the new-built unit as the target service node if judging that the obtained local IP address is the same as the IP address included in the registration file, and generating WEB containers with the same number according to the number of the port numbers corresponding to the IP address, wherein the port numbers correspond to the WEB containers one by one.
According to the WEB container generation processing method, equipment and server provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated on the management node, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for generating and processing a WEB container according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a WEB container generation processing method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a WEB container generation processing apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a WEB container generation processing device according to another embodiment of the invention;
FIG. 5 is a schematic structural diagram of a WEB container generation processing device according to yet another embodiment of the invention;
FIG. 6 is a diagram illustrating a server according to an embodiment of the present invention;
fig. 7 is a schematic physical structure diagram of a WEB container generation processing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic physical structure diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow diagram of a WEB container generation processing method according to an embodiment of the present invention, and as shown in fig. 1, the WEB container generation processing method provided by the present invention includes:
s101, generating an installation package of a WEB application program and a registration file corresponding to the WEB application program; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
specifically, after obtaining a WEB application program, a management node converts the WEB application program into an installation package that can be identified by each service node, and generates a registration file corresponding to the WEB application program, where the registration file includes an identifier of the WEB application program, an IP address of a target service node, and at least one port number corresponding to the IP address. It is understood that the registration file may also include other information related to the WEB application, such as a public network IP address corresponding to the WEB application. The registration file may be stored in a shared directory of the management node, and each service node may access the shared directory to read the registration file therein. The management node may include a device, and the device may run software for managing the generation of the WEB container and each service node; the service node may comprise a server capable of generating a WEB container running the WEB application.
S102, sending the installation package to all service nodes, enabling each service node to find the registration file according to the identification carried by the installation package, determining that the service node is the target service node if the local IP address is judged to be the same as the IP address included in the registration file, and generating WEB containers with the same number according to the number of the port numbers corresponding to the IP addresses, wherein the port numbers correspond to the WEB containers one by one.
Specifically, the management node sends the generated installation package to all service nodes, and the service nodes receive the installation package and search the registration file corresponding to the identifier in a shared directory of the management node according to the identifier carried by the installation package. And after the registration file is found, comparing the IP address included in the registration file with a local IP address, and if the registration file includes the IP address which is the same as the local IP address, indicating that the service node is the target service node. And the service node generates and operates the WEB application program WEB container according to the installation package and the port number corresponding to the local IP address in the registration file, wherein the number of the WEB containers is equal to that of the port numbers, and the port numbers correspond to the WEB containers one to one.
For example, to configure a WEB container for a website a, the management node has five servers A, B, C, D and E, and the IP addresses are 192.168.1.1, 192.168.1.2, 192.168.1.3, 192.168.1.4 and 192.168.1.5, respectively. And after the management node obtains the application program of the website A, converting the website A into an installation package which can be identified by each server, and simultaneously generating a registration file corresponding to the website A on the management node. The registration file includes an identifier 159 of the website a, an IP address of a server running the website a, and at least one port number corresponding to the IP address: 192.168.1.1: 1001 and 1006, 192.168.1.2: 1002. 192.168.1.3: 1003. 192.168.1.4: 1004 and 192.168.1.5: 1005. the management node sends the installation package of the website A to five subordinate servers, A, B, C, D and E receive the installation package, and according to the identification of the website A carried by the installation package: 159, searching a registration file matched with 159 in the shared directory of the management node, after finding the matched registration file, comparing an IP address included in the registration file with a local IP address, a comparing an own IP address 192.168.1.1 with an IP address 192.168.1.1 in the registration file, finding that the registration file includes an own IP address, and generating two WEB containers according to the bundle and port numbers 1001 and 1006, wherein one WEB container corresponds to 1001 and the other WEB container corresponds to 1006. Like the generation of the WEB container in a, B, C, D and E generate a WEB container respectively, and the containers respectively correspond to corresponding port numbers.
According to the WEB container generation processing method provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated on the management node, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved.
On the basis of the above embodiment, further, the method further includes:
acquiring setting parameters of the WEB application program, wherein the setting parameters comprise an identifier of the WEB application program, the number of the WEB containers required for running the WEB application program and port numbers corresponding to the WEB containers;
acquiring the IP address of the target service node and at least one port number corresponding to the IP address according to the number of the WEB containers, the port numbers corresponding to the WEB containers and the IP addresses and the number of the service nodes;
and generating the registration file according to the identification of the WEB application program, the IP address of the target service node and at least one port number corresponding to the IP address.
Specifically, the management node has a dedicated management directory for storing a new WEB application, an administrator can set parameters of the WEB application, and the management node can obtain the set parameters of the WEB application, where the set parameters include an identifier of the WEB application, the number of the WEB containers required for running the WEB application, and port numbers corresponding to the respective WEB containers;
and the management node acquires the IP address of the target service node and at least one port number corresponding to the IP address according to the number of the WEB containers, the port number and the IP address and the number of the service nodes. For example, 7 WEB containers are needed to run the WEB application, the port numbers are 5001 to 5007, 5 service nodes exist, the IP addresses are 192.168.1.1, 192.168.1.2, 192.168.1.3, 192.168.1.4, 192.168.1.5, and no WEB container runs on 5 service nodes at present, and when allocating a WEB container for running the WEB application to 5 service nodes, the management node allocates the number of WEB containers to each service node as evenly as possible, so that the final allocation result may be that the port numbers corresponding to the service node of 192.168.1.1 are 5001 and 5006, the port numbers corresponding to the service node of 192.168.1.2 are 5002 and 5007, and the port numbers corresponding to the service node of 192.168.1.3 are 5003, and the port number corresponding to the service node of 192.168.1.4 is 5005. Wherein, 5 service nodes are target service nodes.
And the management node adds the acquired identification of the WEB application program, the IP address of the target node and at least one port number corresponding to the IP address into the registration file.
According to the WEB container generation processing method provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated on the management node, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved. By obtaining the setting parameters of the WEB application program, the registration file is convenient to generate, and the subsequent configuration of the WEB container is facilitated.
On the basis of the foregoing embodiments, further, the registration file further includes a public network IP address of the WEB application; accordingly, the method further comprises:
mapping configuration is carried out on the firewall according to the public network IP address; and
and configuring the load balancing equipment according to the port number.
Specifically, when the registration file is generated, the management node adds the public network IP address of the WEB application to the registration file, and then performs mapping configuration on the firewall according to the public network IP address, so that the WEB containers corresponding to the WEB application all respond to the external network request by using the same public network IP address. Meanwhile, in order to enable each service node corresponding to the WEB application program to process the external network request in a relatively balanced manner, the load balancing device distributes the external network request to each service node according to the port number corresponding to the WEB application program, so that each service node circularly responds to the external network request, the purpose of load balancing of each service node is achieved, the processing of the external network request is accelerated, and the processing capacity of the external network request can be enhanced.
According to the WEB container generation processing method provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated on the management node, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved. The public network IP address resources can be saved by mapping and configuring the public network IP address, and the response speed of the service node to the external network request can be improved by carrying out load balancing processing on the port number.
On the basis of the above embodiments, further, the method further includes:
if the fault of the WEB application program is judged and known, searching a WEB container running the WEB application program through the registration file, and calling a command to restart the WEB container;
if the target service node is judged to be failed and a standby service node exists, generating a WEB container which is completely the same as the failed target service node on the standby service node;
and if the target service node is judged to be failed and the standby service node is not available, selecting a service node with the lowest resource utilization rate, and migrating the WEB container on the failed target service node to the service node.
Specifically, the management node may obtain a port number corresponding to the WEB application from the registration file, and periodically detect the port number, for example, once every 30 seconds. And if the port number is closed or no response is made, indicating that the WEB application program running on the WEB container corresponding to the port number is in failure. The management node can find the WEB container which runs the WEB application program and corresponds to the port number through the registration file, and call a command to restart the WEB container, so that the aim of recovering the WEB application program is fulfilled.
If the management node judges that the target service node is failed, for example, the management node may perform IP address scanning on the target service node, and if the target service node does not respond, it indicates that the target service node is failed. In order to reduce the influence of the fault target service node on the WEB application running thereon, if a standby service node is available currently, the management node may start the standby service node, and start the WEB container running on the fault target service node on the standby service node. For example, the management node adds the IP address of the backup service node to the registration file, replaces the IP address of the failure target service node corresponding to the WEB application program in the registration file, which is operated on the failure target service node, with the IP address of the backup node, deletes the IP address of the failure target service node in the registration file, and starts the WEB container of the WEB application program, which is the same as that operated on the failure target service node, on the backup service node.
If the management node judges that the target service node is failed, for example, the management node may scan the IP address of the target service node, and if the target service node does not respond, it indicates that the target service node is failed. If no standby service node is available at present, in order to reduce the influence of the fault target service node on the WEB application program running on the fault target service node, the management node may sort the target service nodes in normal operation, that is, normal service nodes, according to the resource utilization rate, and select the normal service node with the lowest resource utilization rate to bear the WEB container on the fault target service node. The resource utilization rate can be the utilization rates of a memory and a CPU, the management node can obtain the memory and CPU utilization rate of each normal service node, when the resource utilization rate is judged to be high or low, the normal service nodes can be ranked according to the memory utilization rate, three normal service nodes with the lowest memory utilization rate are selected, and then the lowest CPU utilization rate of the three normal service nodes is selected as the normal service node with the lowest resource utilization rate; and if the number of the normal service nodes is only two, selecting the two normal service nodes. It can be understood that, each time a fault target service node migrates a container of the WEB application program, the resource utilization rate of the current normal service node is reordered to determine that the normal service node with the lowest current resource utilization rate continues to bear the container of the WEB application program until the migration of the WEB container of the fault target service node is completed. And the migration refers to replacing the IP address of the fault target service node corresponding to the WEB application program with the IP address of the normal service node with the lowest resource utilization rate in the registration file, and starting the WEB application program at the normal service node with the lowest resource utilization rate. And after the migration of the WEB container on the fault target service node is completed, deleting the IP address of the fault target service node in the registration file.
According to the WEB container generation processing method provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated on the management node, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved. Through processing the WEB application program and the service node fault, the influence of the service node fault on the operation of the WEB application program is reduced.
On the basis of the above embodiments, further, the method further includes:
acquiring the resource utilization rate of each service node, and if the resource utilization rate of each service node is not higher than a preset threshold value, taking the newly moved service node as a standby service node; and if the service node with the resource utilization rate higher than the preset threshold exists, transferring part of WEB containers on the service node with the resource utilization rate higher than the preset threshold to a newly moved service node.
Specifically, the management node may perform IP address scanning, and if a new IP address is found, it indicates that there is a newly moved service node. The management node may obtain the resource utilization rate of each service node, and if the resource utilization rate of each service node is lower than a preset threshold, for example, the memory utilization rate is not higher than 70%, the newly moved service node may be used as a standby service node. For the newly moved service node, the management node may send all the WEB applications to the newly moved service node, so as to facilitate subsequent generation of a WEB container for the WEB applications. And if the management node judges that the utilization rate of at least one service node is higher than the preset threshold, for example, the memory utilization rate is higher than 70%, transferring part of WEB containers on the service node with the resource utilization rate higher than the preset threshold to a newly moved service node so as to achieve the purposes of balancing resource utilization and allocating risks. For example, the management node obtains a new service node G through IP address scanning, the management node obtains memory utilization rates of existing service nodes A, B, C, D, E and F, if it is determined that the memory utilization rates of B, D and E are greater than 70%, then obtains the CPU utilization rates of B, D and E, if the CPU utilization rate of D is the highest among three, preferentially migrating a part of the WEB containers running on D to the newly migrated service node until the memory utilization rate of D is not greater than 70%, replacing the IP address of D in the registration file corresponding to the WEB application running on the WEB container to be migrated with the newly migrated service node, and then running the corresponding WEB container to be migrated on the newly migrated service node. Similarly, part of the WEB containers of B and E can be migrated to the newly migrated service node. It can be understood that, if the memory usage rate of the newly moved service node is greater than 70% after the partial WEB container is migrated, the migration of the WEB container to the newly moved service node is stopped. And alarming can be carried out to the administrator so that the administrator can know that the service node with the resource utilization rate exceeding the preset threshold exists at present, and the administrator can conveniently carry out corresponding processing.
According to the WEB container generation processing method provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated on the management node, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved. By migrating part of WEB containers on the service nodes of which the resource utilization rate exceeds the preset threshold to the standby service nodes, the resource utilization of each service node can be balanced.
Fig. 2 is a schematic flow diagram of a WEB container generation processing method according to another embodiment of the present invention, and as shown in fig. 2, the WEB container generation processing method provided by the present invention includes:
s201, receiving an installation package of a WEB application program sent by a management node, and analyzing the installation package to acquire an identifier of the WEB application program;
specifically, the management node sends the generated installation package of the WEB application to the service node, and the management node receives the installation package and analyzes the installation package to obtain the identifier of the WEB application according to the package. The management node may include a device, and the device may run software for managing the generation of the WEB container and each service node; the service node may comprise a server capable of generating a WEB container running the WEB application.
S202, searching a registration file corresponding to the WEB application program on the management node according to the identifier; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
specifically, the service node searches the registration file corresponding to the identifier in the shared directory of the management node according to the identifier, where the registration file includes the identifier of the WEB application, an IP address of the target service node, and at least one port number corresponding to the IP address. It is understood that the registration file may also include other information related to the WEB application, such as a public network IP address corresponding to the WEB application.
S203, if the local IP address is judged to be the same as the IP address included in the registration file, determining that the local IP address is the target service node, and generating WEB containers with the same number according to the number of the port numbers corresponding to the IP address, wherein the port numbers correspond to the WEB containers one by one.
Specifically, after the registration file is found, the service node compares an IP address included in the registration file with a local IP address, and if the registration file includes an IP address identical to the local IP address, it indicates that the service node is the target service node. And the service node generates and operates the WEB application program WEB container according to the installation package and the port number corresponding to the local IP address in the registration file, wherein the number of the WEB containers is equal to that of the port numbers, and the port numbers correspond to the WEB containers one to one.
According to the WEB container generation processing method provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated on the management node, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved.
The embodiment of the WEB container generation processing apparatus provided in the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the embodiment are not described herein again, and refer to the detailed description of the above method embodiments.
Fig. 3 is a schematic structural diagram of a WEB container generation processing device according to an embodiment of the present invention, and as shown in fig. 3, the WEB container generation processing device provided in the present invention includes a creating unit 301 and a sending unit 302, where the WEB container generation processing device is located on a management node, where:
the creating unit 301 is configured to generate an installation package of a WEB application and a registration file corresponding to the WEB application; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address; the sending unit 302 is configured to send the installation package to all service nodes, so that after each service node finds the registration file according to the identifier carried by the installation package, if it is determined that the local IP address is the same as the IP address included in the registration file, it is determined that the local IP address is the target service node, and the same number of WEB containers are generated according to the number of port numbers corresponding to the IP addresses, where each port number corresponds to each WEB container one to one.
Specifically, after obtaining a WEB application, the creating unit 301 converts the WEB application into an installation package that can be identified by each service node, and generates a registration file corresponding to the WEB application, where the registration file includes an identifier of the WEB application, an IP address of a target service node, and at least one port number corresponding to the IP address. It is understood that the registration file may also include other information related to the WEB application, such as a public network IP address corresponding to the WEB application. The registration file may be stored in a shared directory of the WEB container generation processing device, and each service node may access the shared directory and read the registration file therein. The service node may include a server, and the server may generate a WEB container for running the WEB application.
The sending unit 302 sends the generated installation package to all service nodes, and the service nodes may receive the installation package and search the registration file corresponding to the identifier in the shared directory of the WEB container generation processing device according to the identifier carried by the installation package. And after the registration file is found, comparing the IP address included in the registration file with a local IP address, and if the registration file includes the IP address which is the same as the local IP address, indicating that the service node is the target service node. And the service node generates and operates the WEB application program WEB container according to the installation package and the port number corresponding to the local IP address in the registration file, wherein the number of the WEB containers is equal to that of the port numbers, and the port numbers correspond to the WEB containers one to one.
According to the WEB container generation processing equipment provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved.
Fig. 4 is a schematic structural diagram of a WEB container generation processing apparatus according to another embodiment of the present invention, and as shown in fig. 4, the WEB container generation processing apparatus further includes an obtaining unit 303, a processing unit 304, and a generating unit 305:
the acquiring unit 303 is configured to acquire setting parameters of the WEB application, where the setting parameters include an identifier of the WEB application, the number of the WEB containers required for running the WEB application, and port numbers corresponding to the WEB containers; the processing unit 304 is configured to obtain an IP address of the target service node and at least one port number corresponding to the IP address according to the number of the WEB containers, the respective port numbers of the WEB containers, and the IP address and the number of the service nodes; the generating unit 305 is configured to generate the registration file according to the identifier of the WEB application, the IP address of the target service node, and at least one port number corresponding to the IP address.
Specifically, the WEB container generation processing device has a dedicated management directory for storing a new WEB application, an administrator may set parameters of the WEB application, and the obtaining unit 303 may obtain setting parameters of the WEB application, where the setting parameters include an identifier of the WEB application, the number of the WEB containers required for running the WEB application, and port numbers corresponding to the WEB containers;
the processing unit 304 obtains the IP address of the target service node and at least one port number corresponding to the IP address according to the number of the WEB containers, the port number, and the IP address and number of the service node. For example, 7 WEB containers are needed to run the WEB application, the port numbers are 5001 to 5007, 5 service nodes exist, the IP addresses are 192.168.1.1, 192.168.1.2, 192.168.1.3, 192.168.1.4, 192.168.1.5, and no WEB container runs on 5 service nodes at present, and when allocating a WEB container for running the WEB application to 5 service nodes, the processing unit 304 allocates the number of WEB containers to each service node as evenly as possible, so that the final allocation result may be that the port numbers corresponding to the service node of 192.168.1.1 are 5001 and 5006, the port numbers corresponding to the service node of 192.168.1.2 are 5002 and 5007, and the port numbers corresponding to the service node of 192.168.1.3 are 5003, and the port number corresponding to the service node of 192.168.1.4 is 5005. Wherein, 5 service nodes are target service nodes.
The generation unit 305 adds the obtained identifier of the WEB application, the IP address of the target node, and at least one port number corresponding to the IP address to the registration file.
According to the WEB container generation processing equipment provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved. By obtaining the setting parameters of the WEB application program, the registration file is convenient to generate, and the subsequent configuration of the WEB container is facilitated.
Fig. 5 is a schematic structural diagram of a WEB container generation processing apparatus according to still another embodiment of the present invention, and as shown in fig. 5, the WEB container generation processing apparatus further includes a first determining unit 306, a second determining unit 307, and a third determining unit 308, where:
the first judging unit 306 is configured to find a WEB container running the WEB application through the registration file if it is judged that the WEB application is faulty, and call a command to restart the WEB container; the second judging unit 307 is configured to generate, on a standby service node, a WEB container that is identical to the target service node having the failure if it is judged that the target service node has the failure; the third determining unit 308 is configured to, if it is determined that the target service node fails and there is no standby service node, select a service node with the lowest resource utilization rate, and migrate a WEB container on the failed target service node to the service node.
Specifically, the first determining unit 306 may obtain a port number corresponding to the WEB application from the registration file, and periodically detect the port number, for example, once every 30 seconds. And if the port number is closed or no response is made, indicating that the WEB application program running on the WEB container corresponding to the port number is in failure. The first determining unit 306 may find the WEB container running the WEB application corresponding to the port number through the registration file, and call a command to restart the WEB container, thereby achieving the purpose of recovering the WEB application.
If the second determining unit 307 determines that the target service node is faulty, for example, the management node may perform IP address scanning on the target service node, and if the target service node does not respond, it indicates that the target service node is faulty. In order to reduce the influence of the fault target service node on the WEB application running thereon, the management node may enable a standby service node, and start the WEB container running on the fault target service node on the standby service node. For example, the second determining unit 307 adds the IP address of the backup service node to the registration file, replaces the IP address of the fault target service node corresponding to the WEB application program, which is running on the fault target service node, in the registration file with the IP address of the backup node, deletes the IP address of the fault target service node in the registration file, and starts the same WEB container of the WEB application program running on the fault target service node on the backup service node.
If the third determining unit 308 determines that the target service node is faulty, for example, the third determining unit 308 may scan the IP address of the target service node, and if the target service node does not respond, it indicates that the target service node is faulty. If no standby service node is available currently, in order to reduce the influence of the failed target service node on the WEB application running thereon, the third determining unit 308 may sort the target service nodes that are in normal operation, that is, normal service nodes, according to the resource utilization rate, and select the normal service node with the lowest resource utilization rate to carry the WEB container on the failed target service node. The resource utilization rate refers to utilization rates of a memory and a CPU, the management node can obtain the memory and CPU utilization rate of each normal service node, when the resource utilization rate is judged to be high or low, the normal service nodes can be ranked according to the utilization rate of the memory, three normal service nodes with the lowest memory utilization rate are selected, and then the CPU utilization rate among the three normal service nodes is selected as the normal service node with the lowest resource utilization rate; and if the number of the normal service nodes is only two, selecting the two normal service nodes. It can be understood that, each time a fault target service node migrates a container of the WEB application program, the resource utilization rate of the current normal service node is reordered to determine that the normal service node with the lowest current resource utilization rate continues to bear the container of the WEB application program until the migration of the WEB container of the fault target service node is completed. And the migration refers to replacing the IP address of the fault target service node corresponding to the WEB application program with the IP address of the normal service node with the lowest resource utilization rate in the registration file, and starting the WEB application program at the normal service node with the lowest resource utilization rate. And after the migration of the WEB container on the fault target service node is completed, deleting the IP address of the fault target service node in the registration file.
According to the WEB container generation processing equipment provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated, and the service node generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the service node resource can be saved, and the utilization rate of the service node is improved. Through processing the WEB application program and the service node fault, the influence of the service node fault on the operation of the WEB application program is reduced.
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention, and as shown in fig. 6, the server provided in the present invention includes a receiving unit 601, a searching unit 602, and a new unit 603, where the server is located on a service node, where:
the receiving unit 601 is configured to receive an installation package of a WEB application sent by a management node, and analyze the installation package to obtain an identifier of the WEB application; the searching unit 602 is configured to search, according to the identifier, a registration file corresponding to the WEB application on the management node; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address; the newly-built unit 603 is configured to determine that the local IP address is the same as the IP address included in the registration file if it is determined that the local IP address is the same as the IP address included in the registration file, and generate the same number of WEB containers according to the number of port numbers corresponding to the IP address, where each port number corresponds to each WEB container one to one.
Specifically, the management node sends the generated installation package of the WEB application to the receiving unit 601, and the receiving unit 601 receives the installation package and analyzes the installation package to obtain the identifier of the WEB application according to the package. The management node may include a device, and the device may be capable of running software for managing the generation of the WEB container and each service node.
The searching unit 602 searches the registration file corresponding to the identifier in the shared directory of the management node according to the identifier, where the registration file includes the identifier of the WEB application, an IP address of a target service node, and at least one port number corresponding to the IP address. It is understood that the registration file may also include other information related to the WEB application, such as a public network IP address corresponding to the WEB application.
After the registration file is found, the newly-built unit 603 compares the IP address included in the registration file with the local IP address, and if the registration file includes an IP address identical to the local IP address, it indicates that the server is the target service node. And the newly-built unit 603 generates a WEB container for running the WEB application according to the installation package and the port number corresponding to the local IP address included in the registration file, wherein the number of the WEB containers is equal to that of the port numbers, and the port numbers correspond to the WEB containers one to one.
According to the server provided by the invention, the installation package of the WEB application program and the corresponding registration file can be generated on the management node, and the server generates the WEB container for executing the WEB application program according to the information in the registration file by receiving the installation package, so that the server resource can be saved, and the utilization rate of the server is improved.
The embodiment of the server provided by the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the embodiment are not described herein again, and refer to the detailed description of the above method embodiments.
Fig. 7 is a schematic entity structure diagram of a WEB container generation processing device according to an embodiment of the present invention, and as shown in fig. 7, an electronic device provided by the present invention includes:
a processor (processor)701, a memory (memory)702, and a communication bus 703;
wherein,
the processor 701 and the memory 702 complete mutual communication through the communication bus 703;
the processor 701 is configured to call the program instruction in the memory 702 to execute the following WEB container generation processing method, including: generating an installation package of a WEB application program and a registration file corresponding to the WEB application program; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address; and sending the installation package to all service nodes, so that after each service node finds the registration file according to the identifier carried by the installation package, if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating the same number of WEB containers according to the number of the port numbers corresponding to the IP addresses, wherein each port number corresponds to each WEB container one by one.
An embodiment of the present invention provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute the following WEB container generation processing method, including: generating an installation package of a WEB application program and a registration file corresponding to the WEB application program; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address; and sending the installation package to all service nodes, so that after each service node finds the registration file according to the identifier carried by the installation package, if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating the same number of WEB containers according to the number of the port numbers corresponding to the IP addresses, wherein each port number corresponds to each WEB container one by one.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, which stores computer instructions that cause a computer to execute a WEB container generation processing method, for example, generating an installation package of a WEB application and a registration file corresponding to the WEB application; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address; and sending the installation package to all service nodes, so that after each service node finds the registration file according to the identifier carried by the installation package, if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating the same number of WEB containers according to the number of the port numbers corresponding to the IP addresses, wherein each port number corresponds to each WEB container one by one.
Fig. 8 is a schematic entity structure diagram of a server according to an embodiment of the present invention, and as shown in fig. 8, an electronic device provided by the present invention includes:
a processor (processor)801, a memory (memory)802, and a communication bus 803;
wherein,
the processor 801 and the memory 802 complete communication with each other through the communication bus 803;
the processor 801 is configured to call the program instructions in the memory 802 to execute the following WEB container generation processing method, including: receiving an installation package of a WEB application program sent by a management node, and analyzing the installation package to acquire an identifier of the WEB application program; searching a registration file corresponding to the WEB application program on the management node according to the identifier; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address; and if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating WEB containers with the same number according to the number of the port numbers corresponding to the IP address, wherein the port numbers correspond to the WEB containers one by one.
An embodiment of the present invention provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute the following WEB container generation processing method, including: receiving an installation package of a WEB application program sent by a management node, and analyzing the installation package to acquire an identifier of the WEB application program; searching a registration file corresponding to the WEB application program on the management node according to the identifier; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address; and if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating WEB containers with the same number according to the number of the port numbers corresponding to the IP address, wherein the port numbers correspond to the WEB containers one by one.
The embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute a WEB container generation processing method, for example, receiving an installation package of a WEB application program sent by a management node, and analyzing the installation package to obtain an identifier of the WEB application program; searching a registration file corresponding to the WEB application program on the management node according to the identifier; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address; and if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating WEB containers with the same number according to the number of the port numbers corresponding to the IP address, wherein the port numbers correspond to the WEB containers one by one.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Claims (10)
1. A WEB container generation processing method is characterized by comprising the following steps:
generating an installation package of a WEB application program and a registration file corresponding to the WEB application program; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
and sending the installation package to all service nodes, so that after each service node finds the registration file according to the identifier carried by the installation package, if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating the same number of WEB containers according to the number of the port numbers corresponding to the IP addresses, wherein each port number corresponds to each WEB container one by one.
2. The method of claim 1, further comprising:
acquiring setting parameters of the WEB application program, wherein the setting parameters comprise an identifier of the WEB application program, the number of the WEB containers required for running the WEB application program and port numbers corresponding to the WEB containers;
acquiring the IP address of the target service node and at least one port number corresponding to the IP address according to the number of the WEB containers, the port numbers corresponding to the WEB containers and the IP addresses and the number of the service nodes;
and generating the registration file according to the identification of the WEB application program, the IP address of the target service node and at least one port number corresponding to the IP address.
3. The method of claim 1 or 2, wherein the registration file further comprises a public network IP address of the WEB application; accordingly, the method further comprises:
mapping configuration is carried out on the firewall according to the public network IP address; and
and configuring the load balancing equipment according to the port number.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
if the fault of the WEB application program is judged and known, searching a WEB container running the WEB application program through the registration file, and calling a command to restart the WEB container;
if the target service node is judged to be failed and a standby service node exists, generating a WEB container which is completely the same as the failed target service node on the standby service node;
and if the target service node is judged to be failed and the standby service node is not available, selecting a service node with the lowest resource utilization rate, and migrating the WEB container on the failed target service node to the service node.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring the resource utilization rate of each service node, and if the resource utilization rate of each service node is not higher than a preset threshold value, taking the newly moved service node as a standby service node; and if the service node with the resource utilization rate higher than the preset threshold exists, transferring part of WEB containers on the service node with the resource utilization rate higher than the preset threshold to a newly moved service node.
6. A WEB container generation processing method is characterized by comprising the following steps:
receiving an installation package of a WEB application program sent by a management node, and analyzing the installation package to acquire an identifier of the WEB application program;
searching a registration file corresponding to the WEB application program on the management node according to the identifier; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
and if the local IP address is judged to be the same as the IP address included in the registration file, determining the local IP address as the target service node, and generating WEB containers with the same number according to the number of the port numbers corresponding to the IP address, wherein the port numbers correspond to the WEB containers one by one.
7. A WEB container generation processing device is located on a management node, and comprises:
the system comprises a creating unit, a searching unit and a processing unit, wherein the creating unit is used for generating an installation package of a WEB application program and a registration file corresponding to the WEB application program; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
and the sending unit is used for sending the installation package to all the service nodes so that after each service node finds the registration file according to the identifier carried by the installation package, if the local IP address is judged to be the same as the IP address included in the registration file, the service node is determined to be the target service node, the WEB containers with the same number are generated according to the number of the port numbers corresponding to the IP addresses, and each port number corresponds to each WEB container one to one.
8. The apparatus of claim 7, further comprising:
an obtaining unit, configured to obtain setting parameters of the WEB application, where the setting parameters include an identifier of the WEB application, the number of the WEB containers required for running the WEB application, and port numbers corresponding to the WEB containers;
the processing unit is used for acquiring the IP address of the target service node and at least one port number corresponding to the IP address according to the number of the WEB containers, the port numbers corresponding to the WEB containers and the IP address and the number of the service node;
and the generating unit is used for generating the registration file according to the identification of the WEB application program, the IP address of the target service node and at least one port number corresponding to the IP address.
9. The apparatus of claim 7, further comprising:
the first judging unit is used for finding a WEB container running the WEB application program through the registration file and calling a command to restart the WEB container if the failure of the WEB application program is judged and known;
a second judging unit, configured to generate, on a standby service node, a WEB container that is identical to the target service node that has the failure if it is judged that the target service node has the failure;
and the third judging unit is used for selecting a service node with the lowest resource utilization rate and transferring the WEB container on the target service node with the fault to the service node if the target service node is judged to be faulty and no standby service node exists.
10. A server, wherein the server is located on a service node, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving an installation package of the WEB application program sent by a management node, analyzing the installation package and acquiring an identifier of the WEB application program;
the searching unit is used for searching a registration file corresponding to the WEB application program on the management node according to the identifier; the registration file at least comprises an identification of the WEB application program, an IP address of a target service node and at least one port number corresponding to the IP address;
and the newly-built unit is used for determining the new-built unit as the target service node if judging that the obtained local IP address is the same as the IP address included in the registration file, and generating WEB containers with the same number according to the number of the port numbers corresponding to the IP address, wherein the port numbers correspond to the WEB containers one by one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611198643.7A CN108228272B (en) | 2016-12-22 | 2016-12-22 | WEB container generation processing method, equipment and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611198643.7A CN108228272B (en) | 2016-12-22 | 2016-12-22 | WEB container generation processing method, equipment and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108228272A true CN108228272A (en) | 2018-06-29 |
CN108228272B CN108228272B (en) | 2021-06-08 |
Family
ID=62657010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611198643.7A Active CN108228272B (en) | 2016-12-22 | 2016-12-22 | WEB container generation processing method, equipment and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108228272B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306640A (en) * | 2020-11-12 | 2021-02-02 | 广州方硅信息技术有限公司 | Container dispensing method, apparatus, device and medium therefor |
CN112445573A (en) * | 2020-11-04 | 2021-03-05 | 许继集团有限公司 | Edge Internet of things agent resource scheduling method and device based on standby mechanism |
CN114760313A (en) * | 2020-12-29 | 2022-07-15 | 中国联合网络通信集团有限公司 | Service scheduling method and service scheduling device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101534255A (en) * | 2009-04-02 | 2009-09-16 | 福建星网锐捷网络有限公司 | A method and device for realizing oriented processing of certain request |
US20130198719A1 (en) * | 2012-01-31 | 2013-08-01 | Red Hat Inc. | Automated deployment of an application in a computing platform |
CN103414767A (en) * | 2013-07-30 | 2013-11-27 | 华南师范大学 | Method and device for deploying application software on cloud computing platform |
CN104090806A (en) * | 2014-07-18 | 2014-10-08 | 百度在线网络技术(北京)有限公司 | Method and device for processing upgrade patch and upgrade request |
CN105979009A (en) * | 2016-07-06 | 2016-09-28 | 乾云众创(北京)信息科技研究院有限公司 | Method for automatically balancing increased load of cloud application container |
-
2016
- 2016-12-22 CN CN201611198643.7A patent/CN108228272B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101534255A (en) * | 2009-04-02 | 2009-09-16 | 福建星网锐捷网络有限公司 | A method and device for realizing oriented processing of certain request |
US20130198719A1 (en) * | 2012-01-31 | 2013-08-01 | Red Hat Inc. | Automated deployment of an application in a computing platform |
CN103414767A (en) * | 2013-07-30 | 2013-11-27 | 华南师范大学 | Method and device for deploying application software on cloud computing platform |
CN104090806A (en) * | 2014-07-18 | 2014-10-08 | 百度在线网络技术(北京)有限公司 | Method and device for processing upgrade patch and upgrade request |
CN105979009A (en) * | 2016-07-06 | 2016-09-28 | 乾云众创(北京)信息科技研究院有限公司 | Method for automatically balancing increased load of cloud application container |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112445573A (en) * | 2020-11-04 | 2021-03-05 | 许继集团有限公司 | Edge Internet of things agent resource scheduling method and device based on standby mechanism |
CN112306640A (en) * | 2020-11-12 | 2021-02-02 | 广州方硅信息技术有限公司 | Container dispensing method, apparatus, device and medium therefor |
CN114760313A (en) * | 2020-12-29 | 2022-07-15 | 中国联合网络通信集团有限公司 | Service scheduling method and service scheduling device |
CN114760313B (en) * | 2020-12-29 | 2023-11-24 | 中国联合网络通信集团有限公司 | Service scheduling method and service scheduling device |
Also Published As
Publication number | Publication date |
---|---|
CN108228272B (en) | 2021-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10635664B2 (en) | Map-reduce job virtualization | |
US10402293B2 (en) | System for virtual machine risk monitoring | |
CN107534570B (en) | Computer system, method and medium for virtualized network function monitoring | |
CN106982236B (en) | Information processing method, device and system | |
CN110865867B (en) | Method, device and system for discovering application topological relation | |
CN106302565B (en) | Scheduling method and system of service server | |
CN108696581B (en) | Distributed information caching method and device, computer equipment and storage medium | |
WO2017140131A1 (en) | Data writing and reading method and apparatus, and cloud storage system | |
CN107547595B (en) | Cloud resource scheduling system, method and device | |
CN111464355A (en) | Method and device for controlling expansion capacity of Kubernetes container cluster and network equipment | |
EP3664372A1 (en) | Network management method and related device | |
US20170346676A1 (en) | Alarm correlation in network function virtualization environment | |
US11188347B2 (en) | Virtual function driver loading method and server using global and local identifiers corresponding to locations of the virtual functions | |
US9960964B2 (en) | System, method and apparatus to manage services in a network | |
CN110661647A (en) | Life cycle management method and device | |
JP5754440B2 (en) | Configuration information management server, configuration information management method, and configuration information management program | |
US11036535B2 (en) | Data storage method and apparatus | |
CN111064781A (en) | Multi-container cluster monitoring data acquisition method and device and electronic equipment | |
EP3442201B1 (en) | Cloud platform construction method and cloud platform | |
US11153173B1 (en) | Dynamically updating compute node location information in a distributed computing environment | |
US8713135B1 (en) | Managing imaging of computing devices | |
US10761869B2 (en) | Cloud platform construction method and cloud platform storing image files in storage backend cluster according to image file type | |
CN108228272B (en) | WEB container generation processing method, equipment and server | |
JP6692454B2 (en) | Continuous integration system and resource control method | |
CN108769118B (en) | Method and device for selecting master nodes in distributed system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |