CN111274033A - Resource deployment method, device, server and storage medium - Google Patents

Resource deployment method, device, server and storage medium Download PDF

Info

Publication number
CN111274033A
CN111274033A CN202010060020.3A CN202010060020A CN111274033A CN 111274033 A CN111274033 A CN 111274033A CN 202010060020 A CN202010060020 A CN 202010060020A CN 111274033 A CN111274033 A CN 111274033A
Authority
CN
China
Prior art keywords
physical machine
service
resource pool
resource
physical
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
CN202010060020.3A
Other languages
Chinese (zh)
Other versions
CN111274033B (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.)
Reach Best Technology Co Ltd
Original Assignee
Reach Best Technology 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 Reach Best Technology Co Ltd filed Critical Reach Best Technology Co Ltd
Priority to CN202010060020.3A priority Critical patent/CN111274033B/en
Publication of CN111274033A publication Critical patent/CN111274033A/en
Application granted granted Critical
Publication of CN111274033B publication Critical patent/CN111274033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system

Abstract

The embodiment of the application discloses a resource deployment method, a resource deployment device, a server and a storage medium, relates to the technical field of networks, and solves the problem that a large amount of resources are wasted in the process of operating a service line. The specific scheme is as follows: and deploying a first resource pool for the first service line, wherein the first resource pool comprises a plurality of physical machines configured with first labels, and the physical machines configured with the first labels are deployed to run the services of the first service line. And monitoring the resource utilization rate of the first resource pool in the process of running the service of the first service line on the physical machine included in the first resource pool. And when the resource utilization rate of the first resource pool is smaller than a first threshold value, migrating the service running in the first resource pool to the second physical machine. The first physical machine is a physical machine with a resource utilization rate smaller than a second threshold value in the first resource pool, the second physical machine is a physical machine capable of providing resources required for running the service running in the first physical machine, and the second physical machine is a physical machine in the first resource pool and is different from the first physical machine.

Description

Resource deployment method, device, server and storage medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a resource deployment method, apparatus, server, and storage medium.
Background
At present, a physical machine cluster capable of providing resources such as a processor and a memory is built by itself to support the poor flexibility of service line operation and bring high cost investment, so that resource sharing becomes a relatively common choice. In addition, the isolation of resources during resource sharing is also a necessary requirement for the construction of the basic resource system of the internet company at present.
For example, when a business party needs to run various business lines on a physical machine cluster, the deployment party may purchase or lease the use right of the physical machine for the running of the business lines. And the deployment party can build different physical machine clusters for different service lines to realize resource isolation and ensure the relatively independent operation of the different service lines. For example, take the case that a service party needs to run 2 service lines (e.g., service line 1 and service line 2). As shown in fig. 1, the deployment party may determine that the service line 1 needs 3 physical machines and the service line 2 needs 4 physical machines according to the resources required by the operation of the service line 1 and the service line 2, select 3 physical machines from the available clusters to construct the cluster 1 for the operation of the service line 1, and select 4 physical machines to construct the cluster 2 for the operation of the service line 2. When the service line runs, the situation of insufficient resources may occur, and the deployer may allocate an available physical machine from the available cluster and add the available physical machine to the corresponding physical machine cluster so as to meet the requirement of the service line on the resources.
It can be seen that the physical machine clusters are independently set up for different service lines, and the isolation of corresponding resources of different service lines can be realized. However, since the isolated physical machine resources cannot be used by other service lines, when the resource utilization rate of the service line pair established physical machine cluster is low, the physical machine in the physical machine cluster cannot provide resources for the operation of other service lines, but is always at a level with a low resource utilization rate, which causes a great waste of physical machine resources.
Disclosure of Invention
The present disclosure provides a resource deployment method, device and system, which can stably and conveniently adjust the resource quantity of a resource pool providing resources for a service line, so as to reduce the waste of resources. The technical scheme of the disclosure is as follows:
in a first aspect of the embodiments of the present disclosure, a resource deployment method is provided, where the method may include: and deploying a first resource pool for the first service line, wherein the first resource pool comprises a plurality of physical machines configured with first labels, and the physical machines configured with the first labels are deployed to run the service of the first service line. And monitoring the resource utilization rate of the first resource pool in the process of running the service of the first service line on the physical machine included in the first resource pool. And when the resource utilization rate of the first resource pool is smaller than a first threshold value, migrating the service running in the first physical machine to the second physical machine. The first physical machine is a physical machine with a resource utilization rate smaller than a second threshold value in the first resource pool, the second physical machine is a physical machine capable of providing resources required for running the service running in the first physical machine, the second physical machine is a physical machine in the first resource pool, and the second physical machine is different from the first physical machine.
Based on the method, the physical machine deployed for the service line is configured with the label to realize the isolation of the resources of different service lines, and when the resource deployed for a certain service line needs to be compressed, the label of the physical machine is modified, so that the resource provided by the physical machine can be quickly and safely removed from the deployed resource pool, and the waste of the resource is reduced.
Optionally, the physical machine that is not deployed outside the first resource pool is configured with a second label, and after migrating the service running in the first physical machine to the second physical machine, the method further includes: the first label of the first physical machine is modified to a second label. Based on the method, the removed physical machine can be classified into the physical machines which are not deployed, so that the idle physical machine can be used when the resource pool is deployed for other services, and the utilization rate of the physical machine resources is improved.
Optionally, the modifying the first tag of the first physical machine into a second tag includes: before starting to migrate the service running in the first physical machine to the second physical machine, the first label of the first physical machine is modified to a third label, and the physical machine configured with the third label is a physical machine that does not run any service. And after the service running in the first physical machine is migrated to the second physical machine, modifying the third label of the first physical machine into the second label. Based on the method, the label of the first physical machine is modified into the third label, so that the first physical machine can not undertake the running task of new service, and the label of the first physical machine is modified into the second label, so that the first physical machine is classified into the undeployed physical machine and can be deployed to other service lines.
Optionally, the migrating the service running in the first physical machine to the second physical machine includes: migrating the service running in the first physical machine to the second physical machine when the service running in the first physical machine is allowed to be migrated. Based on the method, the service in the first physical machine is determined to be migrated, and the service is migrated, so that no service runs in the first physical machine any more, and therefore, in the process of removing the first physical machine from the first resource pool, no influence is caused on the running of the first service line.
Optionally, the deploying the first resource pool for the first service line includes: a resource requirement of the first service line is received. The first label is configured for each of the plurality of physical machines according to the resource requirement. The resources provided by the plurality of physical machines satisfy the resource requirements, and the plurality of physical machines configured as the first label form the first resource pool. Based on the method, the labels are configured for the physical machines so that the resources of the physical machines with the same labels can form the resource pool corresponding to the service lines, and the isolation of the resources of different service lines is realized on the premise of not independently building the cluster.
Optionally, after the first resource pool is deployed for the first service line, the method further includes: and binding the first resource pool with the service tree node where the first service line is located, and selecting the first resource pool corresponding to the first service line by a user when the service of the first service line needs to be operated. Based on the method, the distributed resource pool is bound with the service tree node where the service line is located, so that the service of the service line cannot be wrongly operated in other resource pools, and the resource isolation is ensured.
Optionally, the method further includes: receiving the service of the first service line and an instruction of selecting the first resource pool by a user. In response to the instruction, the service of the first service line is run on a physical machine included in the first resource pool. Based on the method, after the first resource pool is deployed for the first service line, the physical machines running the service of the first service line can be determined according to the received operation of selecting the first resource pool, so that the service of the first service line can be run on the physical machines.
In a second aspect of the embodiments of the present disclosure, a resource deployment apparatus is provided, where the resource deployment apparatus includes: the deployment module is configured to deploy a first resource pool for a first service line, the first resource pool comprises a plurality of physical machines configured with first labels, and the physical machines configured with the first labels are deployed to run services of the first service line. And the monitoring module is configured to monitor the resource utilization rate of the first resource pool in the process of running the service of the first service line on the physical machine included in the first resource pool. And the migration module is configured to migrate the service running in the first physical machine to the second physical machine when the resource utilization rate of the first resource pool is smaller than a first threshold value. The first physical machine is a physical machine whose resource utilization rate in the first resource pool is smaller than a second threshold, the second physical machine is a physical machine that can provide resources required for running a service running in the first physical machine, the second physical machine is a physical machine in the first resource pool, and the second physical machine is different from the first physical machine.
Optionally, the physical machine that is not deployed outside the first resource pool is configured with a second tag, and the apparatus further includes a modification module. The modification module is configured to modify the first label of the first physical machine to the second label after the migration of the service running in the first physical machine to the second physical machine.
Optionally, the modification module is configured to modify the first label of the first physical machine into a third label when the migration of the service running in the first physical machine to the second physical machine is started, where the physical machine configured with the third label is a physical machine that does not run any service. The modification module is configured to modify the third label of the first physical machine to the second label after the migration of the service running in the first physical machine to the second physical machine is completed.
Optionally, the migration module is configured to migrate the service running in the first physical machine to the second physical machine when the service running in the first physical machine is allowed to be migrated.
Optionally, the deployment module is configured to receive a resource requirement of the first service line. The deployment module is configured to configure the first label for each of the plurality of physical machines according to the resource requirement. The resources provided by the plurality of physical machines satisfy the resource requirements, and the plurality of physical machines configured as the first label form the first resource pool.
Optionally, the deployment module is configured to bind the first resource pool with a service tree node where the first service line is located, so that when the service of the first service line needs to be run, a user selects the first resource pool corresponding to the first service line.
Optionally, the resource deployment apparatus further includes: the device comprises a receiving module and an operating module. The receiving module is configured to receive the service of the first service line and an instruction of selecting the first resource pool by a user. The execution module is configured to execute the service of the first service line on a physical machine included in the first resource pool in response to the instruction.
In a third aspect of the embodiments of the present disclosure, a server is provided, including: a processor. A memory for storing processor-executable instructions. Wherein the processor is configured to: and deploying a first resource pool for the first service line, wherein the first resource pool comprises a plurality of physical machines configured with first labels, and the physical machines configured with the first labels are deployed to run the service of the first service line. And monitoring the resource utilization rate of the first resource pool in the process of running the service of the first service line on the physical machine included in the first resource pool. And when the resource utilization rate of the first resource pool is smaller than a first threshold value, migrating the service running in the first physical machine to the second physical machine. The first physical machine is a physical machine whose resource utilization rate in the first resource pool is smaller than a second threshold, the second physical machine is a physical machine that can provide resources required for running a service running in the first physical machine, the second physical machine is a physical machine in the first resource pool, and the second physical machine is different from the first physical machine.
In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, the computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement: and deploying a first resource pool for the first service line, wherein the first resource pool comprises a plurality of physical machines configured with first labels, and the physical machines configured with the first labels are deployed to run the service of the first service line. And monitoring the resource utilization rate of the first resource pool in the process of running the service of the first service line on the physical machine included in the first resource pool. And when the resource utilization rate of the first resource pool is smaller than a first threshold value, migrating the service running in the first physical machine to the second physical machine. The first physical machine is a physical machine whose resource utilization rate in the first resource pool is smaller than a second threshold, the second physical machine is a physical machine that can provide resources required for running a service running in the first physical machine, the second physical machine is a physical machine in the first resource pool, and the second physical machine is different from the first physical machine.
It should be understood that, the resource deployment apparatus of the second aspect, the server of the third aspect, and the computer-readable storage medium of the fourth aspect are all configured to execute the corresponding methods provided above, and therefore, the beneficial effects achieved by the foregoing resource deployment apparatus of the second aspect, the beneficial effects in the corresponding methods provided above may be referred to, and are not repeated herein.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram of a method for building clusters of different physical machines for different service lines;
FIG. 2 is a schematic diagram of resource utilization in a cluster of different physical machines;
FIG. 3 is a schematic diagram of an implementation environment provided by embodiments of the present disclosure;
fig. 4 is a schematic diagram of a server according to an embodiment of the present disclosure;
fig. 5 is a logic diagram of a resource deployment method according to an embodiment of the present disclosure;
fig. 6 is an execution schematic diagram of a deployment process in a resource deployment method according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of deploying resources for a plurality of business threads according to an embodiment of the present disclosure;
FIG. 8 is a diagram illustrating a binding of a resource pool and a service tree node according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating an execution process of a management process in a resource deployment method according to an embodiment of the present disclosure;
fig. 10 is a schematic composition diagram of a resource deployment apparatus provided in the embodiment of the present disclosure;
fig. 11 is a schematic composition diagram of another resource deployment apparatus provided in the embodiment of the present disclosure;
fig. 12 is a schematic composition diagram of another resource deployment apparatus provided in the embodiment of the present disclosure;
fig. 13 is a schematic composition diagram of a server according to an embodiment of the present disclosure.
Detailed Description
When resource sharing is needed, in consideration of resource isolation, different physical machine clusters can be built for different service lines, so that resource requirements needed by service operation of different service lines are met, and meanwhile, isolation of resources corresponding to different service lines is achieved. In the embodiments of the present disclosure, isolating resources may also be referred to as containerizing resources. The party for building and maintaining the cluster may be called a deployment party, and the party for proposing the service line resource requirement may be called a service party.
Illustratively, after receiving the resource requirement of the service line proposed by the service party, the deployment party may implement the containerization of the resource through kubernets (K8s), wherein the physical machine cluster constructed by K8s may also be referred to as a K8s cluster. After the K8s cluster is built, the deployer may also use K8s to maintain the cluster.
However, since the demand of the service line for resources is not constant, a problem of low resource utilization may occur. For example, the K8s cluster established for the service line 1 according to the resource requirement of the service line 1 includes 4 physical machines. When the service line 1 is running, if the resources required by the service line 1 have not changed, as shown in (a) of fig. 2, all 4 physical machines in the K8s cluster may be in a working state (or called occupied state), and at this time, the resource utilization rate of the K8s cluster is higher. However, if the resources required by the service line 1 during operation are less, for example, only the resources of 2 physical machines are required to operate the service line 1, as shown in (b) in fig. 2, only 2 physical machines of 4 physical machines in the K8s cluster may be in an operating state, so that the resource utilization rate of the K8s cluster is reduced. This results in a waste of resources in the K8s cluster. If 2 physical machines in idle state are to be separated from the K8s cluster, a very tedious operation is required, for example, a K8s cluster is newly built for the service line 1, which may not only affect the normal operation of the service line 1, but also incur a large investment in manpower and material resources.
In order to solve the above problem, an embodiment of the present disclosure provides a resource deployment method, where a tag is configured for a physical machine deployed for a service line, so as to form a resource pool with different tags for different service lines. The isolation granularity of the resources is reduced from the cluster to the physical machine, so that when the physical machine needs to be released from the deployed resource pool, the reallocation of the resources can be stably and conveniently realized, the waste of the resources is reduced, and the utilization rate of the resources is improved.
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Referring to fig. 3, a schematic diagram of an implementation environment provided by an embodiment of the present disclosure is shown, in which the resource deployment method may be applied.
As shown in fig. 3, the implementation environment may include a business side device 210, a deployment side device 220, and a server 230 including M physical machines, where M is an integer greater than 1. The business party device 210, the deployer device 220, and the server 230 may all be connected via a wired or wireless network such that the business party device 210, the deployer device 220, and the server 230 communicate via the wired or wireless network.
The server 230 including M physical machines is mainly used to provide resources such as a processor and a memory. The service party may apply for deployment resources from the deployment party device 220 through the service party device 210 for operation of the service line service. Correspondingly, the deployer may process the application for the resource through the deployer device 220, such as deploying the corresponding resource.
For example, the service device 210 may receive an operation that the service applies for resources required for running one or more service lines, and send the resource requirements to the deployment device 220. The service device 210 may also provide a control platform (e.g., a revops platform) to the service party, so as to receive an operation input by the service party to run the service line on the deployed resource, and interact with the server 230 in response to the operation to implement the running of the service line on the deployed resource. The business side device 210 may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, a portable computer, etc., and the embodiments of the disclosure are not limited thereto.
The deployment device 220 may be configured to receive a resource requirement for operating one or more service lines sent by the service device 210, and the deployment device 220 may also deploy, under the control of the deployment device, a corresponding resource for the service line corresponding to the resource requirement through the server 230 according to the received resource requirement. Similar to the business side device 210, the deployment side device 220 may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, a portable computer, etc., and the disclosed embodiments are not limited thereto.
As shown in FIG. 4, server 230 may include resource physical machine 231 and admin physical machine 232. The resource physical machine 231 may be N physical machines for providing resources among M physical machines, and the management physical machine 232 may be P physical machines for managing resources among the M physical machines. N and P are both positive integers less than M. The resource physical machine 231 and the administrative physical machine 232 may also be connected via a wired or wireless network so that the administrative physical machine 232 manages the resource physical machine 231. In some embodiments, a K8s system may be run in the administrative physical machine 232 to manage the resources provided by the resource physical machine 231 under the control of the deployer device 220. It should be noted that, in the embodiment of the present disclosure, the management physical machine 232 may also provide the remaining resources, except for the resources used for management, in the physical machine to the service line, so as to achieve optimal utilization of the resources of the physical machine.
Illustratively, when the deployer device 220 deploys resources for a business line under the control of the deployer, the received resource requirements may be sent to the admin physical machine 232 so that one or more physical machines capable of meeting the resource requirements are selected from the resource physical machines 231 through the K8s system running on the admin physical machine 232, and the labels of the physical machines are configured so that the physical machines with the same label can constitute a resource pool corresponding to the business line. In this way, the deployment-side device 220 may provide the resource pool to the service-side device 210, so that when the service party wants to run the service, the service party inputs a relevant operation on the service-side device 210, and in response to the operation, the service-side device 210 may control the service corresponding to the service to run in the physical machine included in the resource pool.
In the embodiment of the present disclosure, after completing the deployment of the resource pool, the management physical machine 232 may further provide a function of managing the deployed resources, and a specific implementation method of the management function will be described in the following embodiments, which is not described herein again.
It should be noted that the K8s system running in the administrative physical machine 232 may also run in the deployment-side device 220. When the K8s system is running in the deployer device 220, all M physical machines in the server 230 can be used as resource physical machines.
In order to more clearly explain the resource deployment method provided by the embodiment of the present disclosure, the following description takes as an example that the K8s system for deploying and managing resources runs in a management physical machine of a server.
Referring to fig. 5, a schematic diagram of a resource deployment method provided by the embodiment of the present disclosure is shown. As shown in fig. 5, the method may include S501-S503.
S501, the server deploys a first resource pool for the first service line.
The first resource pool comprises a plurality of physical machines configured with a first label, and the first label is used for indicating that the physical machines are deployed as services for running a first service line.
When a service side needs resources to support the operation of a service line (e.g., a first service line), a corresponding operation (e.g., a first operation) may be input to a service side device, and in response to the first operation, the service side device may send a resource condition (i.e., a resource requirement of the first service line) needed to operate the first service line to a deployment side device. After receiving the resource requirement of the first service line, the deployer device may send the resource requirement to the server. The management physical machine in the server can deploy a plurality of physical machines for the business line according to the requirement of the business party through a K8s system under the control of the deployment party, and configure labels corresponding to the first business line, such as first labels, for the physical machines. The managing physical machine may provide a first resource pool of physical machines having a first label to the business party. When the service side runs the first service line, the service side device inputs a corresponding operation (such as a second operation) to the service side device, and in response to the second operation, the service side device may select the first resource pool and send related information (such as the operation of selecting the first resource pool, information of a service code of the first service line to be run, and the like) to the management physical machine, so that the management physical machine runs the service on the physical machine which is configured with the first tag and included in the first resource pool according to the information.
It should be noted that, in the embodiment of the present disclosure, one resource pool corresponds to one service line, and the resources of the resource pool are a set of resources provided by physical machines having the same label. The resources in the resource pool may belong to the same physical machine cluster or to multiple physical machine clusters. Meanwhile, one physical machine cluster may include one resource pool, or may include a plurality of resource pools. The disclosed embodiments are not limited herein.
S502, monitoring the resource utilization rate of the first resource pool by the server in the process of running the service of the first service line on the physical machine included in the first resource pool.
The operation of the service line may include the operation of one or more services. For example, the operation of the first service line includes operating one or more services included in the first service line.
In the embodiment of the present disclosure, in the process of running the service of the first service line on the physical machine included in the first resource pool, the management physical machine of the server may monitor the resource utilization rate of the first resource pool, so that when the resource utilization rate of the first resource pool is low, appropriate measures are taken to reduce waste of resources. When the resource utilization rate of the first resource pool is low, the first resource pool can be called a capacity reduction target.
It should be noted that, the monitoring of the resource utilization rate of the first resource pool may be real-time monitoring started from the beginning of the operation of the first service line, or may be monitoring started at a preset time period, which is not limited in the embodiment of the present disclosure.
S503, when the resource utilization rate of the first resource pool is smaller than a first threshold value, the server migrates the service operated in the first physical machine to the second physical machine.
And the second physical machine is a physical machine capable of providing resources required by running the service running in the first physical machine. Meanwhile, the second physical machine is a physical machine different from the first physical machine in the first resource pool.
When the resource utilization rate of the first resource pool is smaller than the first threshold, the server may determine that there is a large waste of the resource in the first resource pool at the current time, and appropriate measures need to be taken for the resource. In the implementation of the present disclosure, the server may release part of the physical machines with low utilization rate in the first resource pool from the first resource pool, so as to improve the utilization rate of the first resource pool.
For example, the management physical machine of the server may select, under the control of the deployment party, a physical machine whose resource utilization rate is less than the second threshold as a physical machine (e.g., a first physical machine) that needs to be released, and if there is a running service (e.g., a first service) in the first physical machine, migrate the first service from the first physical machine to another physical machine (e.g., a second physical machine) in the first resource pool to run. The second physical machine may be any physical machine in the first resource pool that can provide resources required for running the first service.
Wherein the migration of the service may be achieved by restarting the service on the second physical machine and stopping the service from running on the first physical machine. It should be noted that, the process of restarting the service and stopping the service may be performed simultaneously or in a time-sharing manner, and the embodiment of the present disclosure is not limited herein.
In some implementations of the embodiment of the present disclosure, the first physical machine may be further processed correspondingly, so that the resource of the first physical machine can be reused, for example, configured into a resource pool of other services.
For example, the server may modify a first tag of the first physical machine to a second tag indicating that the first physical machine is not deployed. After ensuring that there are no running services on the first physical machine, the managing physical machine may modify the first label of the first physical machine to a second label under the control of the deployment party. According to the above description in S501, the physical machine having the first label may be used to run the service of the first service line, and after the first label of the first physical machine is modified to the second label, it indicates that the first physical machine is no longer included in the first resource pool, but is in an undeployed state. So that the first physical machine can be redeployed to the other resource pool when there are other lines of business that need to deploy the resource.
Based on the resource deployment method of S501-S503, when the number of resources required by a service line decreases, part of the physical machines having the labels corresponding to the resource pool are modified into other labels, and the physical machines can be released. The number of the physical machines in the resource pool is reduced while the service operation of the service line is not influenced, so that the waste of resources is reduced.
In the embodiment of the present disclosure, the resource deployment method may be subdivided into a deployment process and a management process.
Referring to fig. 6, a flowchart of a method of a deployment process in a resource deployment method provided by the embodiment of the present disclosure is shown. As shown in fig. 6, the method may include S601-S603. The service line to be operated by the service party is taken as the first service line for example.
S601, the server receives the resource requirement of the first service line.
The resource requirement of the first service line may be sent to the deployment device by the service device, and then sent to the management physical machine of the server by the deployment device. For example, the resource requirement may include hardware requirements required to run the first service line, e.g., the resource requirement may include a processors and B Megabytes (MB) of memory.
S602, the server configures a first label for each physical machine in the plurality of physical machines according to resource requirements.
The resources provided by the plurality of physical machines can meet the resource requirement of the first service line, and the plurality of physical machines configured as the first label form a first resource pool corresponding to the first service line.
Based on the received resource requirement, the management physical machine of the server may select the plurality of physical machines from the undeployed physical machines under the control of the deployment party, and configure tags (e.g., first tags) for the physical machines. The resources provided by the physical machine including the configured first label can form a first resource pool corresponding to the first service line.
For example, each physical machine can provide C processors, D MB memory. When the resource requirement of the first service line is A processors and B MB memory, the comparison is carried out
Figure BDA0002374154700000081
And
Figure BDA0002374154700000082
the larger value of the two values is taken, the number of the physical machines to be selected can be determined, namely, the resources provided by the physical machines can meet the resource requirement for operating the first service line.
After determining the number of physical machines capable of providing resources required by the resources of the service line, the management physical machine may select a corresponding number of physical machines from the undeployed physical machines as the physical machine for running the service line. The managing physical machines may also configure tags for the physical machines to identify that the physical machines have been deployed to provide resources to corresponding lines of business.
Illustratively, the first service line requires E physical machines to provide resources. The deployer may select E physical machines from the undeployed physical machines and configure the E physical machines with the first tags, respectively. The first tag may be an electronic tag that is assigned to E physical devices by the K8s system under the control of the deployment party. Thus, the resources provided by the E physical machines configured with the first tag constitute a first resource pool providing resources for the operation of the first service line.
Similarly, when a plurality of different service lines of one or more service parties need to run, the deployer may perform the above S601-S602 for each service line of the plurality of different service lines, so as to implement the purpose of respectively deploying resources for different service line deployments to support the running thereof.
Referring to fig. 7, a schematic diagram of deploying resources for a plurality of traffic segments is shown.
As shown in fig. 7, 1K 8s cluster is built in the server through a K8s system, where the cluster includes a physical machine a, a physical machine B, a physical machine C, a physical machine D, a physical machine E, a physical machine F, and other physical machines (not shown in fig. 7) capable of providing resources, and a plurality of different service lines include 3 service lines, such as service line 1, service line 2, and service line 3.
In order to manage a plurality of physical machines, the server may build all the physical machines included in the server into one K8s cluster through a K8s system operating therein under the control of the deployment party.
After receiving the resource requirements of the service line 1, the service line 2, and the service line 3, the server may deploy 2 physical machines for the service line 1 that needs the resources of the 2 physical machines through the K8s system. For example, physical machine B and physical machine C are allocated to service line 1, and tag 1 is configured for physical machine B and physical machine C. The resource pool formed by the resources provided by the physical machine B and the physical machine C with the label 1 may be the resource pool 1 deployed for the service line 1.
Similarly, the server may deploy 1 physical machine for the service line 2 that requires the resources of 1 physical machine through the K8s system. Such as assigning a physical machine D to the service line 2 and configuring the tag 2 for the physical machine D. The resource pool formed by the resources provided by the physical machine D having the tag 2 may be the resource pool 2 deployed for the service line 2.
The server may deploy 2 physical machines for the service line 3 that requires the resources of 2 physical machines through the K8s system. For example, physical machine E and physical machine F are assigned to service line 3, and tag 3 is configured for physical machine E and physical machine F. The resource pool formed by the resources provided by the physical machine E and the physical machine F with the label 3 may be the resource pool 3 deployed for the service line 3.
In the embodiment of the present disclosure, the server may also deploy a physical machine for a service of a service line that does not require resource isolation through a K8s system. For example, physical machine a in fig. 7 is deployed for services of the service lines that do not require resource isolation, so that the resources of physical machine a are provided to the services of the service lines that do not require resource isolation. Therefore, not only is the extra deployment investment brought by resource isolation reduced, but also the resources of the physical machine for running the service of the service line which does not need the resource isolation are utilized to the maximum extent.
S603, the server binds the first resource pool with the service tree node where the first service line is located, and is used for the user to select the first resource pool corresponding to the first service line when the service of the first service line needs to be operated.
After the deployment of the first resource pool corresponding to the first service line is completed, the service-side device may run the service of the first service line on the first resource pool under the control of the user (i.e., the service side). Since the server may simultaneously include a plurality of different resource pools deployed for different service lines, in order to avoid that the server mistakenly schedules the service of the first service line to another resource pool other than the first resource pool when running the service of the first service line, in the embodiment of the present disclosure, the server may bind the first resource pool with the service tree node where the first service line is located after completing the deployment of the resource, so that when the service party wants to run the service of the first service line, an operation (e.g., a third operation) of selecting the first resource pool may be input to the service party device, and in response to the third operation, the service party device may send the operation of selecting the first resource pool to the server, so that the server may schedule the service of the first service line to a physical machine included in the first resource pool for running.
Illustratively, as shown in fig. 8, a schematic diagram of the binding of a resource pool and a service tree node is shown. As shown in fig. 8, the management physical machine of the server deploys a resource pool a for the service line a, deploys a resource pool B for the service line B, deploys a resource pool a1 for the sub-service line a1 of the service line a, deploys a resource pool a2 for the sub-service line a2 of the service line a, and deploys a resource pool B1 for the sub-service line B1 of the service line B. Then, when deploying the resource, the management physical machine may bind resource pool a to the service tree node where service line a is located, bind resource pool B to the service tree node where service line B is located, bind resource pool a1 to the service tree node where service line a1 is located, bind resource pool a2 to the service tree node where service line a2 is located, and bind resource pool B1 to the service tree node where service line B1 is located.
In this way, in an operation platform (e.g., a revops platform) provided by the service side device for controlling the operation of the service line, on a service tree node corresponding to the service line a, only the resource pool a bound to the service tree node where the service line a is located is displayed for selection. Similarly, on the service tree node corresponding to the service line B, only the resource pool B bound to the service tree node where the service line B is located is displayed for selection. On the service tree node corresponding to the service line a1, only the resource pool a1 bound to the service tree node where the service line B is located is displayed for selection. On the service tree node corresponding to the service line a2, only the resource pool a2 bound to the service tree node where the service line B is located is displayed for selection. On the service tree node corresponding to the service line B1, only the resource pool B2 bound to the service tree node where the service line B is located is displayed for selection.
Through the method of the above S601-S603, the server completes deploying the corresponding resource pool to the service line according to the resource requirement of the service line proposed by the service party. After the deployment is completed, the deployment party may provide the business party with the name of the resource pool corresponding to the business line through the server or the deployment party device, so that when the business party wants to run the service corresponding to the business line on the physical machine included in the deployed resource pool, the method may be performed as shown in the following S604-S605.
S604, receiving the service of the first service line and an instruction of selecting the first resource pool by the user.
For example, after the deployment of the first resource pool is completed, the resource pool may be bound to the service tree node where the service line is located. When a user (such as a business party) wants to run the service of the first business line, the management physical machine of the K8s cluster may receive an instruction of selecting the first resource pool, which is input by the business party through an operation platform (such as a revops platform) provided by a business party device. And receiving a service instruction input by the business party through the revops platform, wherein the service instruction can be computer code for realizing a corresponding function of the service.
And S605, responding to the instruction, and running the service of the first service line on the physical machine included in the first resource pool.
After receiving the instruction sent by the business side device, the management physical machine of the K8s cluster may run the corresponding service on the corresponding physical machine.
For example, when receiving an instruction that the service party selects the first resource pool through the revops platform, the management physical machine of the K8s cluster may determine a first label according to the name of the first resource pool, and screen the physical machine with the first label from the physical machines of the K8s cluster with the first label as a screening condition, so as to determine the physical machines in the first resource pool. According to the received service instruction sent by the business party, the management physical machine can send the computer code included in the service instruction to the physical machines in the first resource pool, so that the code is executed on the physical machines in the first resource pool to realize the function of the service corresponding to the code.
Referring to fig. 9, a method for implementing a management process in a resource deployment method provided by the embodiment of the present disclosure is shown. As shown in fig. 9, the method may include S901-S905.
S901, in the process of running the service of the first service line on the physical machine included in the first resource pool, the server monitors the resource utilization rate of the first resource pool.
The method is similar to S502 shown in fig. 5, and is not described herein again.
S902, after the first resource pool is determined to be the capacity reduction target, the server determines that the service running in the first physical machine is allowed to be migrated.
The first physical machine may be a physical machine with a smaller resource utilization rate in the first resource pool. The first physical machine may also be referred to as a release target.
Generally, a plurality of physical machines may be included in the first resource pool to provide sufficient resources to run the services of the first line of business. When the overall resource utilization rate of the first resource pool is low, it may be determined that the services running in the first physical machine are allowed to be migrated according to a preset condition, so as to migrate the services from the first physical machine.
For example, determining that the service running in the first physical machine is allowed to be migrated according to a preset condition may specifically include the following implementation manners:
when the priority of the service run by the first physical machine is a low priority, it may be determined that the service is allowed to be migrated. Illustratively, the service included in the service line may be classified into a high priority service, a medium priority service, and a low priority service according to the corresponding function of the service. When the service running in the first physical machine is a low-priority service, the migration of the service to another physical machine (for example, the second physical machine) does not have a great influence on the running of the service line. Thus, when the priority of the service run in the first physical machine is a low priority, it may be determined that the service run in the first physical machine may be migrated.
When the service run by the first physical machine is a stateless service, it may be determined that the service is allowed to be migrated. For example, during the operation of a service in a physical machine, other services in the physical machine may need to be relied on to operate normally, and such a service may be referred to as a stateful service. There are also services that can operate independently without relying on other services, which may be referred to as stateless services. In the embodiment of the disclosure, if the service running in the first physical machine is a stateless service, it indicates that the service can run smoothly in other physical machines. That is, migrating the service does not impact the operation of the service. Thus, when a service run by the first physical machine is a stateless service, it may be determined that the service is allowed to be migrated.
When the number of service instances of the service operated by the first physical machine is large, the service is determined to be allowed to be migrated. Illustratively, the functionality corresponding to a service may be implemented by one or more service instances. Generally, in order to avoid the loss of the function corresponding to a service due to an exception of a certain service instance, a plurality of service instances corresponding to the service may be initiated in different physical machines when the service is running. In the embodiment of the present disclosure, when the service running in the first physical machine has multiple service instances, it indicates that the migration of the service can be implemented only by restarting one service instance on another physical machine (e.g., the second physical machine). That is, stopping the service running on the first physical machine does not affect the functionality provided by the service. Therefore, when the number of service instances of the service operated by the first physical machine is large, it can be determined that the service is allowed to be migrated.
It should be noted that, in the implementation process, it may be determined that the service of the first physical machine may be migrated according to any one of the above several exemplary descriptions, or it may be determined that the service of the first physical machine may be migrated by combining two or more of the above several exemplary descriptions. The disclosed embodiments are not limited herein.
S903, the server modifies the first label of the first physical machine into a third label, and the third label is used for indicating that the first physical machine cannot be deployed.
As new services are scheduled to run on the first physical machine at any time in the process of running the service line. Therefore, after determining that the service of the first physical machine can be migrated, to avoid a new service running on the first physical machine, the first label of the first physical machine may be modified to a third label indicating that the service cannot be deployed.
And S904, the server migrates the service operated in the first physical machine to the second physical machine.
As illustrated in S503, the migration of the service may be achieved by restarting the service on the second physical machine and stopping the service from running on the first physical machine. The process of restarting the service and stopping the service may be performed simultaneously or in a time-sharing manner, and the embodiments of the present disclosure are not limited herein.
S905, the server modifies the third label of the first physical machine into a second label.
After the foregoing S901-S905, the running service does not exist in the first physical machine, at this time, the server may modify the third tag of the first physical machine to the second tag, so as to indicate that the first physical machine is not deployed. So that the first physical machine can be redeployed to the other resource pool when there are other lines of business that need to deploy the resource.
It should be noted that the resource deployment method provided in S901-S905 is described by taking the example of releasing one physical machine (e.g., the first physical machine) in the first resource pool. When the resource utilization rate of the first resource pool is still low after the first physical machine is released, the above S901-S905 may be repeatedly performed, so as to further reduce the waste of resources.
Based on the resource deployment method, according to the resource requirement of the first service line, a plurality of physical machines configured with the first labels are deployed for the first service line, when the first service is operated on the physical machines, the total resource amount of the first resource pool is reduced by transferring the service and modifying the labels, and the released first physical machine resources can be deployed to other service lines to be utilized, so that the utilization rate of the resources is improved.
Furthermore, when resources are deployed for the first service line, the resources of different service lines are isolated by a method of configuring labels for the physical machine, so that a cluster does not need to be independently built for each service line, and a large amount of manpower and material resource investment is saved. In addition, the resource pool formed by the resources of the physical machine with the same label is provided for the business party, and the name of the resource pool can be set according to the business line, so that the business party can clearly know the name of the resource deployed for the business line without knowing the concepts such as the label in the bottom layer, and the user experience is remarkably improved.
The above description has introduced the solution provided by the embodiments of the present disclosure mainly from the perspective of managing physical machines. It is understood that, in order to implement the above functions, the management physical machine includes a hardware structure and/or a software module corresponding to each function, and the hardware structure and/or the software module corresponding to each function may constitute one management physical machine. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The embodiment of the present disclosure may perform functional module division on the management physical machine according to the above method example, for example, the management physical machine may include a resource deployment device, and the resource deployment device may divide each functional module corresponding to each function, or may integrate two or more functions into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiments of the present disclosure is illustrative, and is only one division of logic functions, and there may be another division in actual implementation.
In the case of dividing each functional module by corresponding functions, fig. 10 shows a schematic diagram of a possible composition of the resource deployment apparatus in the foregoing embodiment, as shown in fig. 10, the resource deployment apparatus may include:
the deployment module 1001 is configured to deploy, by a first service line, a first resource pool, where the first resource pool includes a plurality of physical machines configured with a first tag, and the physical machines configured with the first tag are deployed to run a service of the first service line.
The monitoring module 1002 is configured to monitor resource utilization of the first resource pool in a process of running a service of the first service line on a physical machine included in the first resource pool.
The migration module 1003 is configured to migrate the service running in the first physical machine to the second physical machine when the resource utilization rate of the first resource pool is smaller than the first threshold. The first physical machine is a physical machine with the resource utilization rate smaller than a second threshold value in the first resource pool, and the second physical machine is a physical machine capable of providing resources required by running the service running in the first physical machine. The second physical machine is a different physical machine in the first resource pool than the first physical machine.
Optionally, referring to fig. 11, the apparatus further includes: a modification module 1004 configured to modify the first tag of the first physical machine to the second tag after migrating the service running in the first physical machine onto the second physical machine. It should be noted that, in the embodiment of the present disclosure, the physical machine that is not deployed outside the first resource pool is configured with the second label.
Optionally, the modifying module 1004 is configured to modify the first tag of the first physical machine into a third tag before migrating the service running in the first physical machine to the second physical machine, where the physical machine configured with the third tag is a physical machine that does not run any service.
A modification module 1004 configured to modify the third tag of the first physical machine to the second tag after migrating the service running in the first physical machine to the second physical machine.
Optionally, the migration module 1003 is configured to migrate the service running in the first physical machine to the second physical machine when the service running in the first physical machine is allowed to be migrated.
Optionally, the deployment module 1001 is configured to receive a resource requirement of the first service line.
A deployment module 1001 configured to configure a first tag for each of a plurality of physical machines according to resource requirements. The resources provided by the plurality of physical machines meet the resource requirements, and the plurality of physical machines configured as the first label form a first resource pool.
Optionally, the deployment module 1001 is configured to bind the first resource pool with a service tree node where the first service line is located, and is used for a user to select the first resource pool corresponding to the first service line when the service of the first service line needs to be run.
Optionally, as shown in fig. 12, the resource deployment apparatus further includes: a receiving module 1005 and an executing module 1006.
A receiving module 1005 configured to receive a service of the first service line and an instruction of a user to select the first resource pool.
An execution module 1006 configured to execute, in response to the instruction, a service of the first service line on a physical machine included in the first resource pool.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 13 is a schematic structural diagram of a server 1300 according to an embodiment of the present invention, where the server 1300 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1301 and one or more memories 1302, where the memory 1302 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1301 to implement the resource deployment method provided by each method embodiment. Illustratively, the server 1300 may be the admin physical machine 232 of FIG. 4.
Certainly, the server 1300 may further include components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 1300 may further include other components for implementing the functions of the device, which is not described herein again.
The embodiments of the present disclosure also provide a computer-readable storage medium, which stores instructions thereon, and when the instructions in the storage medium are executed by a processor of a computer device, the instructions enable a computer to execute the resource deployment method provided by the above-mentioned illustrated embodiments.
Embodiments of the present disclosure also provide a computer program product containing instructions, which when run on a computer, cause the computer device to perform the resource deployment method provided by the above-described illustrative embodiments.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims. It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method for resource deployment, the method comprising:
deploying a first resource pool for a first service line, wherein the first resource pool comprises a plurality of physical machines configured with first labels, and the physical machines configured with the first labels are deployed to run services of the first service line;
monitoring the resource utilization rate of the first resource pool in the process of running the service of the first service line on a physical machine included in the first resource pool;
when the resource utilization rate of the first resource pool is smaller than a first threshold value, migrating the service running in the first physical machine to a second physical machine; the first physical machine is a physical machine with a resource utilization rate smaller than a second threshold value in the first resource pool, the second physical machine is a physical machine capable of providing resources required for running a service running in the first physical machine, the second physical machine is a physical machine in the first resource pool, and the second physical machine is different from the first physical machine.
2. The method of claim 1,
a physical machine that is not deployed outside the first resource pool is configured with a second label,
after the migrating the service running in the first physical machine onto the second physical machine, the method further comprises:
modifying the first tag of the first physical machine to the second tag.
3. The method of claim 2, wherein modifying the first tag of the first physical machine to a second tag comprises:
modifying the first tag of the first physical machine to a third tag upon initiating migration of a service running in the first physical machine to a second physical machine, the physical machine configured with the third tag being a physical machine that does not run any service;
modifying the third label of the first physical machine to the second label after the migration of the service running in the first physical machine to the second physical machine is completed.
4. The method of any of claims 1-3, wherein migrating the service running in the first physical machine to the second physical machine comprises:
migrating the service running in the first physical machine to the second physical machine when the service running in the first physical machine is allowed to be migrated.
5. The method according to any of claims 1-3, wherein said deploying a first resource pool for a first service line comprises:
receiving the resource requirement of the first service line;
configuring the first label for each of a plurality of physical machines according to the resource requirements; the resources provided by the plurality of physical machines meet the resource requirements, and the plurality of physical machines configured as the first label constitute the first resource pool.
6. The method of claim 5, wherein after said deploying the first pool of resources for the first service line, the method further comprises:
and binding the first resource pool with the service tree node where the first service line is located, and enabling a user to select the first resource pool corresponding to the first service line when the service of the first service line needs to be operated.
7. The method of claim 6, further comprising:
receiving the service of the first service line and an instruction of selecting the first resource pool by a user;
in response to the instruction, running services of the first line of business on physical machines included in the first pool of resources.
8. A resource deployment apparatus, the resource deployment apparatus comprising:
the deployment module is configured to deploy a first resource pool for a first service line, wherein the first resource pool comprises a plurality of physical machines configured with first labels, and the physical machines configured with the first labels are deployed to run services of the first service line;
a monitoring module configured to monitor a resource utilization rate of the first resource pool in a process of running a service of the first service line on a physical machine included in the first resource pool;
a migration module configured to migrate a service running in a first physical machine to a second physical machine when a resource utilization of the first resource pool is less than a first threshold; the first physical machine is a physical machine with a resource utilization rate smaller than a second threshold value in the first resource pool, the second physical machine is a physical machine capable of providing resources required for running a service running in the first physical machine, the second physical machine is a physical machine in the first resource pool, and the second physical machine is different from the first physical machine.
9. A server, characterized in that the server comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
deploying a first resource pool for a first service line, wherein the first resource pool comprises a plurality of physical machines configured with first labels, and the physical machines configured with the first labels are deployed to run services of the first service line;
monitoring the resource utilization rate of the first resource pool in the process of running the service of the first service line on a physical machine included in the first resource pool;
when the resource utilization rate of the first resource pool is smaller than a first threshold value, migrating the service running in the first physical machine to a second physical machine; the first physical machine is a physical machine with a resource utilization rate smaller than a second threshold value in the first resource pool, the second physical machine is a physical machine capable of providing resources required for running a service running in the first physical machine, the second physical machine is a physical machine in the first resource pool, and the second physical machine is different from the first physical machine.
10. A computer-readable storage medium having instructions stored thereon, the instructions when executed by a processor implementing:
deploying a first resource pool for a first service line, wherein the first resource pool comprises a plurality of physical machines configured with first labels, and the physical machines configured with the first labels are deployed to run services of the first service line;
monitoring the resource utilization rate of the first resource pool in the process of running the service of the first service line on a physical machine included in the first resource pool;
when the resource utilization rate of the first resource pool is smaller than a first threshold value, migrating the service running in the first physical machine to a second physical machine; the first physical machine is a physical machine with a resource utilization rate smaller than a second threshold value in the first resource pool, the second physical machine is a physical machine capable of providing resources required for running a service running in the first physical machine, the second physical machine is a physical machine in the first resource pool, and the second physical machine is different from the first physical machine.
CN202010060020.3A 2020-01-19 2020-01-19 Resource deployment method, device, server and storage medium Active CN111274033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010060020.3A CN111274033B (en) 2020-01-19 2020-01-19 Resource deployment method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010060020.3A CN111274033B (en) 2020-01-19 2020-01-19 Resource deployment method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN111274033A true CN111274033A (en) 2020-06-12
CN111274033B CN111274033B (en) 2024-02-13

Family

ID=71002040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010060020.3A Active CN111274033B (en) 2020-01-19 2020-01-19 Resource deployment method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN111274033B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111880914A (en) * 2020-07-20 2020-11-03 北京百度网讯科技有限公司 Resource scheduling method, resource scheduling apparatus, electronic device, and storage medium
CN112799854A (en) * 2021-04-15 2021-05-14 腾讯科技(深圳)有限公司 Task processing method and device, electronic equipment and readable storage medium
WO2022001135A1 (en) * 2020-06-30 2022-01-06 苏州浪潮智能科技有限公司 Service orchestration method, apparatus and device for physical machine, and storage medium
CN115378839A (en) * 2022-08-26 2022-11-22 北京百度网讯科技有限公司 Collection task deployment method and related equipment
CN115756823A (en) * 2022-10-20 2023-03-07 广州汽车集团股份有限公司 Service distribution method, device, vehicle and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484220A (en) * 2014-11-28 2015-04-01 杭州华为数字技术有限公司 Method and device for dispatching dynamic resources of virtual cluster
CN109271257A (en) * 2018-10-11 2019-01-25 郑州云海信息技术有限公司 A kind of method and apparatus of virtual machine (vm) migration deployment
CN109840139A (en) * 2017-11-29 2019-06-04 北京金山云网络技术有限公司 Method, apparatus, electronic equipment and the storage medium of resource management
CN109992350A (en) * 2017-12-29 2019-07-09 北京华胜天成科技股份有限公司 The moving method and device of virtual machine in the resource pool of cloud computing system
US20190303136A1 (en) * 2018-03-27 2019-10-03 International Business Machines Corporation Software globalization management
US20190347313A1 (en) * 2018-05-08 2019-11-14 Noted Analytics, Inc. Methods and systems for enriching text information for application data entry and viewing
CN110633152A (en) * 2019-09-20 2019-12-31 苏州浪潮智能科技有限公司 Method and device for realizing horizontal scaling of service cluster

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484220A (en) * 2014-11-28 2015-04-01 杭州华为数字技术有限公司 Method and device for dispatching dynamic resources of virtual cluster
CN109840139A (en) * 2017-11-29 2019-06-04 北京金山云网络技术有限公司 Method, apparatus, electronic equipment and the storage medium of resource management
CN109992350A (en) * 2017-12-29 2019-07-09 北京华胜天成科技股份有限公司 The moving method and device of virtual machine in the resource pool of cloud computing system
US20190303136A1 (en) * 2018-03-27 2019-10-03 International Business Machines Corporation Software globalization management
US20190347313A1 (en) * 2018-05-08 2019-11-14 Noted Analytics, Inc. Methods and systems for enriching text information for application data entry and viewing
CN109271257A (en) * 2018-10-11 2019-01-25 郑州云海信息技术有限公司 A kind of method and apparatus of virtual machine (vm) migration deployment
CN110633152A (en) * 2019-09-20 2019-12-31 苏州浪潮智能科技有限公司 Method and device for realizing horizontal scaling of service cluster

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022001135A1 (en) * 2020-06-30 2022-01-06 苏州浪潮智能科技有限公司 Service orchestration method, apparatus and device for physical machine, and storage medium
US11861428B2 (en) 2020-06-30 2024-01-02 Inspur Suzhou Intelligent Technology Co., Ltd. Service orchestration method, apparatus and device for physical machine, and storage medium
CN111880914A (en) * 2020-07-20 2020-11-03 北京百度网讯科技有限公司 Resource scheduling method, resource scheduling apparatus, electronic device, and storage medium
CN112799854A (en) * 2021-04-15 2021-05-14 腾讯科技(深圳)有限公司 Task processing method and device, electronic equipment and readable storage medium
CN112799854B (en) * 2021-04-15 2021-07-13 腾讯科技(深圳)有限公司 Task processing method and device, electronic equipment and readable storage medium
CN115378839A (en) * 2022-08-26 2022-11-22 北京百度网讯科技有限公司 Collection task deployment method and related equipment
CN115378839B (en) * 2022-08-26 2023-12-12 北京百度网讯科技有限公司 Deployment method of acquisition task and related equipment
CN115756823A (en) * 2022-10-20 2023-03-07 广州汽车集团股份有限公司 Service distribution method, device, vehicle and storage medium
CN115756823B (en) * 2022-10-20 2024-04-16 广州汽车集团股份有限公司 Service issuing method, device, vehicle and storage medium

Also Published As

Publication number Publication date
CN111274033B (en) 2024-02-13

Similar Documents

Publication Publication Date Title
CN111274033B (en) Resource deployment method, device, server and storage medium
EP3455728B1 (en) Orchestrator for a virtual network platform as a service (vnpaas)
CN108337109B (en) Resource allocation method and device and resource allocation system
CN106575247B (en) Fault-tolerant federation of computing clusters
CN105207798B (en) Service arrangement method and device in software defined network
CN116170317A (en) Network system, service providing and resource scheduling method, device and storage medium
US11836535B1 (en) System and method of providing cloud bursting capabilities in a compute environment
CN106790092B (en) Remote procedure call server control system and method
US20200358666A1 (en) Releasing and retaining resources for use in a nfv environment
US11909603B2 (en) Priority based resource management in a network functions virtualization (NFV) environment
CN112445575B (en) Multi-cluster resource scheduling method, device and system
CN112463535A (en) Multi-cluster exception handling method and device
WO2023045467A1 (en) Container cpu resource scheduling and isolation method and apparatus, and storage medium and electronic device
CN110838939B (en) Scheduling method based on lightweight container and edge Internet of things management platform
EP3791657A1 (en) Method, computer program and circuitry for managing resources within a radio access network
CN113382077B (en) Micro-service scheduling method, micro-service scheduling device, computer equipment and storage medium
CN110944067B (en) Load balancing method and server
US11429268B2 (en) User interface for management of a dynamic video signal processing platform
CN110908774A (en) Resource scheduling method, device, system and storage medium
CN111857951A (en) Containerized deployment platform and deployment method
CN113961335A (en) Resource scheduling method, resource scheduling system and equipment
CN111988160B (en) Method and device for deploying virtualized network function
CN115048216A (en) Resource management scheduling method, device and equipment for artificial intelligence cluster
CN114598665A (en) Resource scheduling method and device, computer readable storage medium and electronic equipment
CN109660575B (en) Method and device for realizing NFV service deployment

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