CN108900435A - A kind of method, apparatus and computer storage medium of service deployment - Google Patents

A kind of method, apparatus and computer storage medium of service deployment Download PDF

Info

Publication number
CN108900435A
CN108900435A CN201810637863.8A CN201810637863A CN108900435A CN 108900435 A CN108900435 A CN 108900435A CN 201810637863 A CN201810637863 A CN 201810637863A CN 108900435 A CN108900435 A CN 108900435A
Authority
CN
China
Prior art keywords
service node
ability
resource
business demand
configuration
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
CN201810637863.8A
Other languages
Chinese (zh)
Other versions
CN108900435B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810637863.8A priority Critical patent/CN108900435B/en
Publication of CN108900435A publication Critical patent/CN108900435A/en
Application granted granted Critical
Publication of CN108900435B publication Critical patent/CN108900435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • H04L47/783Distributed allocation of resources, e.g. bandwidth brokers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2408Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2416Real-time traffic

Abstract

A kind of method, apparatus and computer storage medium of service deployment, including:According to the business demand of each lease, the total business demand of all leases is determined;The total business demand that service node type and quantity, the resource of all types of service nodes that can be configured according to each physical server provide ability and determine, carries out the configuration of service node;According to the business demand of each lease, service deployment is carried out on the service node of configuration;Wherein, business demand includes:Required service node type and ability is provided corresponding to resource needed for required each type service node;The service node includes the node of following part or all of type:Network node, calculate node, memory node.The embodiment of the present invention reduces the use cost of physical server, improves the utilization rate of resource.

Description

A kind of method, apparatus and computer storage medium of service deployment
Technical field
Present document relates to but be not limited to automatic Pilot technology, the storage of the method, apparatus and computer of espespecially a kind of service deployment Medium.
Background technique
(OpenStack is the cloud computing management platform project of an open source to OpenStack, by several main component groups Specific works are completed altogether, support almost all kinds of cloud environment) it is one it is intended that public and private clound construction The open source projects of software are provided with management, are made of several main components such as calculating, storage, network, for completing cloud computing Management work, target are to provide that implementation is simple, can extend, enrich on a large scale, standard is unified for the hundreds of millions of user in the whole world Cloud computing manage platform.
OpenStack platform belongs to multi-tenant mode, and multiple tenants are serviced by unified OpenStack platform Customization and use.In OpenStack actual production environment, due to being related to the performances such as large-scale consumer concurrent, disaster tolerance, High Availabitity Demand, OpenStack platform generally use distributed, multi-service node mode and dispose.During deployment, service provider according to The actual conditions of own infrastructure, the lease demand of tenant, the type of each service node of OpenStack and its to infrastructure Resource consumption situation, determine the number disposed needed for each service node of OpenStack, the type and number of physical server used The mapping relations of mesh, each service node and physical server, and then the distribution condition of resource needed for determining OpenStack platform.
Since service provider is often negligent of planning early period in deployment, be easy to appear because hardware resource is insufficient or service node not Situations such as being able to satisfy actual production demand, promote service provider the OpenStack platform runtime adjusted again or weight-normality draw Processing causes the investment of a large amount of human resources consumption and cost, reduces the service quality and user's body of OpenStack platform It tests.
Summary of the invention
It is the general introduction to the theme being described in detail herein below.This general introduction is not the protection model in order to limit claim It encloses.
The embodiment of the present invention provides the method, apparatus and computer storage medium of a kind of service deployment, can reduce physics The use cost of server improves the utilization rate of resource.
The embodiment of the invention provides a kind of methods of service deployment, including:
According to the business demand of each lease, the total business demand of all leases is determined;
Service node type and quantity, the resource of all types of service nodes that can be configured according to each physical server provide Ability and the total business demand determined, carry out the configuration of service node;
According to the business demand of each lease, service deployment is carried out on the service node of configuration;
Wherein, the business demand includes:Required service node type and corresponding to required each type service section Resource needed for point provides ability;The service node includes the node of following part or all of type:Network node calculates section Point, memory node.
Optionally, according to the business demand of each lease, the total business demand of all leases is determined, including:
The business demand of each lease is added in preset set;
After statistics is added to the business demand of all leases in set, the total business demand is determined;
Wherein, the total business demand includes:All service node types needed for all leases and correspond to required Each type service node needed for resource provide ability the first summation.
Optionally, to all types of service nodes, the configuration for carrying out service node includes:
The first summation of ability is provided according to resource needed for the determining service node corresponding to current type, and is obtained Platform provide current type service node resource provide ability, the number for the current type service node that determination need to configure Amount;
To each physical server of configurable current type service node, ability is provided according to resource respectively and determines its energy The quantity of the service node of configuration;
According to the quantity for the service node that each physical server can configure, the physical server of corresponding number is selected, with Carry out the configuration of the service node of current type.
Optionally, it is described carry out service node configuration include:
To all physical servers of the service node of configuration same type, adds up and determine that available resource provides ability The second summation;
To the service node of the current type of configuration, when the available resource of physical server provides the second summation of ability When resource more than or equal to corresponding current type service node in the total business demand provides the first summation of ability, press The sequence of ability from big to small is provided according to the resource of each physical server, the physical server of corresponding number is selected, to carry out industry The configuration of business node.
Optionally, it is described carry out service node configuration include:
To all physical servers of the service node of configuration same type, adds up and determine that available resource provides ability The second summation;
To the service node of the current type of configuration, when the available resource of physical server provides the second summation of ability When resource less than corresponding current type service node in the total business demand provides the first summation of ability, lease is pressed After being ranked up according to preset priority orders, the minimum lease of priority is deleted one by one, until remaining all leases is total It is available less than or equal to physical server that resource in business demand corresponding to the service node of current type provides ability Resource stops when providing ability;Determine the total business demand of residue lease, and according to the total business demand of determining remaining lease Carry out the configuration of service node.
On the other hand, the embodiment of the present invention also provides a kind of device of service deployment, including:Determination unit, configuration unit And deployment unit;Wherein,
Determination unit is used for:According to the business demand of each lease, the total business demand of all leases is determined;
Configuration unit is used for:Service node type and quantity, all types of business that can be configured according to each physical server The total business demand that the resource of node provides ability and determines, carries out the configuration of service node;
Deployment unit is used for:According to the business demand of each lease, service deployment is carried out on the service node of configuration;
Wherein, the business demand includes:Required service node type and corresponding to required each type service section Resource needed for point provides ability;The service node includes the node of following part or all of type:Network node calculates section Point, memory node.
Optionally, the determination unit is specifically used for:The business demand of each lease is added in preset set;
After statistics is added to the business demand of all leases in set, the total business demand is determined;
Wherein, the total business demand includes:All service node types needed for all leases and correspond to required Each type service node needed for resource provide ability the first summation.
Optionally, the configuration unit is specifically used for:According to needed for the determining service node corresponding to current type Resource provide ability the first summation, and obtain platform provide current type service node resource provide ability, determine The quantity for the current type service node that need to be configured;
To each physical server of configurable current type service node, ability is provided according to resource respectively and determines its energy The quantity of the service node of configuration;
According to the quantity for the service node that each physical server can configure, the physical server of corresponding number is selected, with Carry out the configuration of the service node of current type.
Optionally, the configuration unit is specifically used for:All physical servers to the service node for configuring same type, It is cumulative to determine that available resource provides the second summation of ability;
To the service node of the current type of configuration, when the available resource of physical server provides the second summation of ability When resource more than or equal to corresponding current type service node in the total business demand provides the first summation of ability, press The sequence of ability from big to small is provided according to the resource of each physical server, the physical server of corresponding number is selected, to carry out industry The configuration of business node.
Optionally, the configuration unit is specifically used for:All physical servers to the service node for configuring same type, It is cumulative to determine that available resource provides the second summation of ability;
To the service node of the current type of configuration, when the available resource of physical server provides the second summation of ability When resource less than corresponding current type service node in the total business demand provides the first summation of ability, lease is pressed After being ranked up according to preset priority orders, the minimum lease of priority is deleted one by one, until remaining all leases is total It is available less than or equal to physical server that resource in business demand corresponding to the service node of current type provides ability Resource stops when providing ability;Determine the total business demand of residue lease, and according to the total business demand of determining remaining lease Carry out the configuration of service node.
In another aspect, the embodiment of the present invention also provides a kind of computer storage medium, deposited in the computer storage medium Contain computer executable instructions, the method that the computer executable instructions are used to execute above-mentioned service deployment.
Compared with the relevant technologies, technical scheme includes:According to the business demand of each lease, all rents are determined Total business demand about;The service node type and quantity that can be configured according to each physical server, all types of service nodes The total business demand that resource provides ability and determines, carries out the configuration of service node;According to the business demand of each lease, Service deployment is carried out on the service node of configuration;Wherein, business demand includes:Required service node type and correspond to institute Resource needed for each type service node needed provides ability;The service node includes the section of following part or all of type Point:Network node, calculate node, memory node.The embodiment of the present invention reduces the use cost of physical server, improves money The utilization rate in source.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of the method for service deployment of the embodiment of the present invention;
Fig. 2 is the structural block diagram of the device of service deployment of the embodiment of the present invention;
Fig. 3 is network topology schematic diagram of the present invention using example services deployment;
Fig. 4 is the schematic diagram that the present invention applies example lease set;
Fig. 5 is schematic diagram of the present invention using example services deployment.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
Fig. 1 is the flow chart of the method for service deployment of the embodiment of the present invention, as shown in Figure 1, including:
Step 101, the business demand according to each lease determine the total business demand of all leases;
Wherein, the business demand includes:Required service node type and corresponding to required each type service section Resource needed for point provides ability;
Optionally, the embodiment of the present invention determines that the total business demand of all leases includes:
The business demand of each lease is added in preset set;
After statistics is added to the business demand of all leases in set, the total business demand is determined;
Wherein, the total business demand includes:All service node types needed for all leases and correspond to required Each type service node needed for resource provide ability the first summation.
Wherein, the service node includes the node of following part or all of type:Network node, calculate node, storage Node.
Step 102, the service node type that can be configured according to each physical server and quantity, all types of service nodes The total business demand that resource provides ability and determines, carries out the configuration of service node;
Optionally, the embodiment of the present invention can obtain the resource for all types of service nodes that platform provides based on the relevant technologies The service node type and quantity that offer ability and each physical server can configure;
It should be noted that it may include bandwidth, memory space, for operation that resource of the embodiment of the present invention, which provides ability, The quantitative information of CPU.
Optionally, the embodiment of the present invention includes to all types of service nodes, the configuration for carrying out service node:
The first summation of ability is provided according to resource needed for the determining service node corresponding to current type, and is obtained Platform provide current type service node resource provide ability, the number for the current type service node that determination need to configure Amount;
To each physical server of configurable current type service node, ability is provided according to resource respectively and determines its energy The quantity of the service node of configuration;
According to the quantity for the service node that each physical server can configure, the physical server of corresponding number is selected, with Carry out the configuration of the service node of current type.
Optionally, the embodiment of the present invention carry out service node configuration include:
To all physical servers of the service node of configuration same type, adds up and determine that available resource provides ability The second summation;
To the service node of the current type of configuration, when the available resource of physical server provides the second summation of ability When resource more than or equal to corresponding current type service node in the total business demand provides the first summation of ability, press The sequence of ability from big to small is provided according to the resource of each physical server, the physical server of corresponding number is selected, to carry out industry The configuration of business node.
It should be noted that the quantity of physical server needed for configuration service node, can pass through each physical server Resource provides ability and the resource offer ability of service node carries out calculating acquisition.
Optionally, the embodiment of the present invention carry out service node configuration include:
To all physical servers of the service node of configuration same type, adds up and determine that available resource provides ability The second summation;
To the service node of the current type of configuration, when the available resource of physical server provides the second summation of ability When resource less than corresponding current type service node in the total business demand provides the first summation of ability, lease is pressed After being ranked up according to preset priority orders, the minimum lease of priority is deleted one by one, until remaining all leases is total It is available less than or equal to physical server that resource in business demand corresponding to the service node of current type provides ability Resource stops when providing ability;Determine the total business demand of residue lease, and according to the total business demand of determining remaining lease Carry out the configuration of service node.Here, priority can be required according to security level, service quality of the lease of protocol etc. Carry out analysis determination.
Step 103, the business demand according to each lease, carry out service deployment on the service node of configuration.
Compared with the relevant technologies, technical scheme includes:According to the business demand of each lease, all rents are determined Total business demand about;The service node type and quantity that can be configured according to each physical server, all types of service nodes The total business demand that resource provides ability and determines, carries out the configuration of service node;According to the business demand of each lease, Service deployment is carried out on the service node of configuration;Wherein, business demand includes:Required service node type and correspond to institute Resource needed for each type service node needed provides ability;The service node includes the section of following part or all of type Point:Network node, calculate node, memory node.The embodiment of the present invention reduces the use cost of physical server, improves money The utilization rate in source.
Fig. 2 is the structural block diagram of the device of service deployment of the embodiment of the present invention, as shown in Fig. 2, including:Determination unit is matched Set unit and deployment unit;Wherein,
Determination unit is used for:According to the business demand of each lease, the total business demand of all leases is determined;
Optionally, determination unit of the embodiment of the present invention is specifically used for:The business demand of each lease is added to preset collection In conjunction;
After statistics is added to the business demand of all leases in set, the total business demand is determined;
Wherein, the total business demand includes:All service node types needed for all leases and correspond to required Each type service node needed for resource provide ability the first summation.
Configuration unit is used for:Service node type and quantity, all types of business that can be configured according to each physical server The total business demand that the resource of node provides ability and determines, carries out the configuration of service node;
Optionally, present invention implementation configuration unit is specifically used for:According to the determining service node corresponding to current type Required resource provides the first summation of ability, and the resource of current type service node that the platform obtained provides provides energy Power, the quantity for the current type service node that determination need to configure;
To each physical server of configurable current type service node, ability is provided according to resource respectively and determines its energy The quantity of the service node of configuration;
According to the quantity for the service node that each physical server can configure, the physical server of corresponding number is selected, with Carry out the configuration of the service node of current type.
Optionally, configuration unit of the embodiment of the present invention is specifically used for:To the property of the service node of configuration same type Server is managed, adds up and determines that available resource provides the second summation of ability;
To the service node of the current type of configuration, when the available resource of physical server provides the second summation of ability When resource more than or equal to corresponding current type service node in the total business demand provides the first summation of ability, press The sequence of ability from big to small is provided according to the resource of each physical server, the physical server of corresponding number is selected, to carry out industry The configuration of business node.
Optionally, configuration unit of the embodiment of the present invention is specifically used for:To the property of the service node of configuration same type Server is managed, adds up and determines that available resource provides the second summation of ability;
To the service node of the current type of configuration, when the available resource of physical server provides the second summation of ability When resource less than corresponding current type service node in the total business demand provides the first summation of ability, lease is pressed After being ranked up according to preset priority orders, the minimum lease of priority is deleted one by one, until remaining all leases is total It is available less than or equal to physical server that resource in business demand corresponding to the service node of current type provides ability Resource stops when providing ability;Determine the total business demand of residue lease, and according to the total business demand of determining remaining lease Carry out the configuration of service node.
Deployment unit is used for:According to the business demand of each lease, service deployment is carried out on the service node of configuration;
Wherein, the business demand includes:Required service node type and corresponding to required each type service section Resource needed for point provides ability;The service node includes the node of following part or all of type:Network node calculates section Point, memory node.
The embodiment of the present invention also provides a kind of computer storage medium, is stored with computer in the computer storage medium Executable instruction, the method that the computer executable instructions are used to execute above-mentioned service deployment.
Present invention method is carried out to understand detailed description below by way of using example, is only used for using example old The present invention is stated, is not intended to limit the scope of protection of the present invention.
Using example
Present invention application example is guaranteeing the operation of OpenStack platform normal table and is meeting customer service performance requirement Meanwhile the use cost of infrastructure is reduced, reduce the manpower and cost input of service provider.
Fig. 3 is network topology schematic diagram of the present invention using example services deployment, as shown in figure 3, all servers provide The business platform of source and OpenStack all by service provider's unified plan and management, customization that tenant is serviced by network and It uses.OpenStack platform is bottom-up to be divided into:(1) infrastructure layer:It is had by oneself by service provider from it and deployment is provided in facility Physical server needed for each service node of OpenStack;(2) service layer:It provides needed for the operation of OpenStack platform stable Service node;Service node is formed by combining by calculate node, memory node, network node;(3) dispatch layer:Pass through The included user of OpenStack platform requests response control and traffic scheduling mechanism, will pass through the received multi-tenant of platform interface Service request is issued on relevant OpenStack service node by service request, to realize the business demand of each tenant, is protected Demonstrate,prove the performance and service quality of OpenStack platform.
Fig. 4 is the schematic diagram that the present invention applies example lease set, as shown in figure 4, tenant 1, tenant 2, tenant 3, tenant 4 tenant request relates separately to correspond to service node type OS1, OS2 of OpenStack platform, the own facility of service provider For 3 kinds of type of server PM1, PM2, PM3, it is respectively provided with different resource specification and use cost;Fig. 5 is that present invention application is shown The schematic diagram of example service deployment, as shown in figure 5, in deployment scheme, service provider used 2 PM1 types server PM11, PM12 has used server PM21, PM22 of 2 PM2 types, needs to dispose the reality that two OpenStack node types are OS1 Example OS11, OS12, two OpenStack node types are OS2 example OS21 and OS22, OS11 are deployed on PM11, OS12 It is deployed on PM12, OS21 is deployed on PM21, and OS22 is deployed on PM22;The service request of tenant 1 has been corresponded on OS11, The service request of tenant 2 has been corresponded on OS12, and the service request of tenant 2 and tenant 3 have been corresponded on OS21, rent has been corresponded on OS22 The service request at family 4.
Present invention application example settings T={ T1,T2,…,TtBe tenant lease set, lease Ti(i=1,2 ..., t) It indicates a service renting relationship in attached drawing 5, is determined before to OpenStack Platform deployment and cook up all tenants' Business demand, that is, lease set T
Present invention application example settings OS={ OS1, OS2, OS3 } is the collection of the service node type of OpenStack platform It closes, setting PM={ PM1, PM2, PM3 } is the type set of physical server needed for disposing service node, according to the lease of tenant The corresponding relationship of the service node type of each lease and OpenStack platform in set T, the service node disposed needed for determining Hardware (central processing unit (CPU), memory, storage etc.) resource requirement (resource of every kind of node type in type set OS and OS Offer ability), the resource for the physical server that can be provided according to own facility provides the set that ability determines type of server The resource of each type physical server provides ability (CPU, memory, storage etc.) in PM and PM
Have determined that lease set T, service node type set OS, type of server set PM under conditions of, according to The resource of every kind of type of server provides ability in the resource requirement and PM of every kind of node type in OS, determines in set OS every kind The quantity of each type physical server and tenant in the quantity of deployment, set PM needed for type OpenStack service node Lease T, the OpenStack service node example collection of required deployment, the mapping between physical server example collection used are closed System.Service deployment of the present invention needs to meet:1, when the lease demand of all tenants in tenant's lease T can meet, physics clothes The use number of business device is minimum;Specific implementation may include:To the service node of the current type of configuration, when physical server can The second summation that the resource of offer provides ability is greater than or equal to corresponding current type service node in the total business demand Resource when the first summation of ability is provided, provide ability sequence from big to small, selection according to the resource of each physical server The physical server of corresponding number, to carry out the configuration of service node.2, when the lease of all tenants in tenant's lease T cannot be complete When portion meets, the tenant's lease that can satisfy in T is most;Specific implementation may include:To the business section of the current type of configuration Point, when the second summation that the available resource of physical server provides ability is less than corresponding current class in the total business demand When the resource of type service node provides the first summation of ability, after lease is ranked up according to preset priority orders, by It is a to delete the minimum lease of priority, until corresponding to the business section of current type in the total business demand of remaining all leases The resource of point, which is provided when ability provides ability less than or equal to the available resource of physical server, to be stopped;Determine residue lease Total business demand, and according to the configuration of the total business demand of determining remaining lease progress service node.It establishes under own facility OpenStack pad optimization deployment issue mathematical model, which belongs to the combinatorial optimization problem of with constraint conditions, Intelligent algorithm, such as genetic algorithm is preferably used to solve the mapping relations between each element;
The service deployment of OpenStack platform is realized through the above steps, and present invention application example is to use physics to take The cost minimization of business device is optimization aim, is disposed to OpenStack platform, is guaranteeing each business of OpenStack platform just While often running and meet tenant's service request, the use cost of physical server is reduced, the utilization rate of resource is improved.
Those of ordinary skill in the art will appreciate that all or part of the steps in the above method can be instructed by program Related hardware (such as processor) is completed, and described program can store in computer readable storage medium, as read-only memory, Disk or CD etc..Optionally, one or more integrated circuits also can be used in all or part of the steps of above-described embodiment It realizes.Correspondingly, each module/unit in above-described embodiment can take the form of hardware realization, such as pass through integrated electricity Its corresponding function is realized on road, can also be realized in the form of software function module, such as is stored in by processor execution Program/instruction in memory realizes its corresponding function.The present invention is not limited to the hardware and softwares of any particular form In conjunction with.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (11)

1. a kind of method of service deployment, which is characterized in that including:
According to the business demand of each lease, the total business demand of all leases is determined;
Service node type and quantity, the resource of all types of service nodes that can be configured according to each physical server provide energy Power and the total business demand determined, carry out the configuration of service node;
According to the business demand of each lease, service deployment is carried out on the service node of configuration;
Wherein, the business demand includes:Required service node type and corresponding to required each type service node institute The resource needed provides ability;The service node includes the node of following part or all of type:Network node, calculate node, Memory node.
2. the method according to claim 1, wherein the business demand according to each lease, determines institute There is the total business demand of lease, including:
The business demand of each lease is added in preset set;
After statistics is added to the business demand of all leases in set, the total business demand is determined;
Wherein, the total business demand includes:All service node types needed for all leases and corresponding to required every First summation of the offer ability of resource needed for one type service node.
3. according to the method described in claim 2, it is characterized in that, to all types of service nodes, the carry out service node Configuration include:
The first summation of ability is provided according to resource needed for the determining service node corresponding to current type, and is obtained flat The resource for the current type service node that platform provides provides ability, the quantity for the current type service node that determination need to configure;
To each physical server of configurable current type service node, ability is provided according to resource respectively and determines that it can be configured Service node quantity;
According to the quantity for the service node that each physical server can configure, the physical server of corresponding number is selected, to carry out The configuration of the service node of current type.
4. according to the method described in claim 3, it is characterized in that, the configuration for carrying out service node includes:
To all physical servers of the service node of configuration same type, adds up and determine available resource provides ability the Two summations;
To the service node of the current type of configuration, when the second summation that the available resource of physical server provides ability is greater than Or equal in the total business demand corresponding current type service node resource provide ability the first summation when, according to each The resource of physical server provides the sequence of ability from big to small, the physical server of corresponding number is selected, to carry out business section The configuration of point.
5. according to the method described in claim 3, it is characterized in that, the configuration for carrying out service node includes:
To all physical servers of the service node of configuration same type, adds up and determine available resource provides ability the Two summations;
To the service node of the current type of configuration, when the second summation that the available resource of physical server provides ability is less than When the resource of corresponding current type service node provides the first summation of ability in the total business demand, by lease according to pre- If priority orders be ranked up after, the minimum lease of priority is deleted one by one, until the total business of remaining all leases Resource in demand corresponding to the service node of current type provides ability and is less than or equal to the available resource of physical server Stop when offer ability;It determines the total business demand of residue lease, and is carried out according to the total business demand of determining remaining lease The configuration of service node.
6. a kind of device of service deployment, which is characterized in that including:Determination unit, configuration unit and deployment unit;Wherein,
Determination unit is used for:According to the business demand of each lease, the total business demand of all leases is determined;
Configuration unit is used for:The service node type and quantity that can be configured according to each physical server, all types of service nodes Resource provide ability and determine total business demand, carry out the configuration of service node;
Deployment unit is used for:According to the business demand of each lease, service deployment is carried out on the service node of configuration;
Wherein, the business demand includes:Required service node type and corresponding to required each type service node institute The resource needed provides ability;The service node includes the node of following part or all of type:Network node, calculate node, Memory node.
7. device according to claim 6, which is characterized in that the determination unit is specifically used for:By the business of each lease Demand is added in preset set;
After statistics is added to the business demand of all leases in set, the total business demand is determined;
Wherein, the total business demand includes:All service node types needed for all leases and corresponding to required every First summation of the offer ability of resource needed for one type service node.
8. device according to claim 7, which is characterized in that the configuration unit is specifically used for:According to determining correspondence The resource needed for the service node of current type provides the first summation of ability, and the current type industry that the platform obtained provides The resource of business node provides ability, the quantity for the current type service node that determination need to configure;
To each physical server of configurable current type service node, ability is provided according to resource respectively and determines that it can be configured Service node quantity;
According to the quantity for the service node that each physical server can configure, the physical server of corresponding number is selected, to carry out The configuration of the service node of current type.
9. device according to claim 8, which is characterized in that the configuration unit is specifically used for:To configuration same type Service node all physical servers, it is cumulative to determine that available resource provides the second summation determination that adds up of ability and mention The resource of confession provides the second summation of ability;
To the service node of the current type of configuration, when the second summation that the available resource of physical server provides ability is greater than Or equal in the total business demand corresponding current type service node resource provide ability the first summation when, according to each The resource of physical server provides the sequence of ability from big to small, the physical server of corresponding number is selected, to carry out business section The configuration of point.
10. device according to claim 8, which is characterized in that the configuration unit is specifically used for:To configuration same type Service node all physical servers, add up and determine that available resource provides the second summation of ability;
To the service node of the current type of configuration, when the second summation that the available resource of physical server provides ability is less than When the resource of corresponding current type service node provides the first summation of ability in the total business demand, by lease according to pre- If priority orders be ranked up after, the minimum lease of priority is deleted one by one, until the total business of remaining all leases Resource in demand corresponding to the service node of current type provides ability and is less than or equal to the available resource of physical server Stop when offer ability;It determines the total business demand of residue lease, and is carried out according to the total business demand of determining remaining lease The configuration of service node.
11. a kind of computer storage medium, computer executable instructions, the calculating are stored in the computer storage medium Method of the machine executable instruction for service deployment described in any one of perform claim requirement 1~5.
CN201810637863.8A 2018-06-20 2018-06-20 Service deployment method, device and computer storage medium Active CN108900435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810637863.8A CN108900435B (en) 2018-06-20 2018-06-20 Service deployment method, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810637863.8A CN108900435B (en) 2018-06-20 2018-06-20 Service deployment method, device and computer storage medium

Publications (2)

Publication Number Publication Date
CN108900435A true CN108900435A (en) 2018-11-27
CN108900435B CN108900435B (en) 2022-06-07

Family

ID=64345595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810637863.8A Active CN108900435B (en) 2018-06-20 2018-06-20 Service deployment method, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN108900435B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710405A (en) * 2018-12-21 2019-05-03 平安科技(深圳)有限公司 Block chain intelligence contract administration method, apparatus, electronic equipment and storage medium
CN109714423A (en) * 2018-12-29 2019-05-03 浪潮电子信息产业股份有限公司 A kind of OpenStack dispositions method, device, equipment and medium
CN111666130A (en) * 2020-06-03 2020-09-15 百度在线网络技术(北京)有限公司 Container balanced deployment method and device, electronic equipment and storage medium
WO2020220856A1 (en) * 2019-04-30 2020-11-05 中兴通讯股份有限公司 Method and apparatus for implementing service configuration, and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100077449A1 (en) * 2008-09-22 2010-03-25 International Business Machines Calculating multi-tenancy resource requirements and automated tenant dynamic placement in a multi-tenant shared environment
WO2015000362A1 (en) * 2013-07-05 2015-01-08 华为技术有限公司 Service node configuration method, service node pond register and system
CN104598249A (en) * 2015-02-05 2015-05-06 浙江天正信息科技有限公司 Multi-tenant perception software personalized customization and deployment method
CN106897094A (en) * 2017-02-24 2017-06-27 郑州云海信息技术有限公司 SaaS software deployments method and device under a kind of cloud environment
CN106897115A (en) * 2017-02-24 2017-06-27 郑州云海信息技术有限公司 SaaS software deployments method and device under a kind of cloud environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100077449A1 (en) * 2008-09-22 2010-03-25 International Business Machines Calculating multi-tenancy resource requirements and automated tenant dynamic placement in a multi-tenant shared environment
WO2015000362A1 (en) * 2013-07-05 2015-01-08 华为技术有限公司 Service node configuration method, service node pond register and system
CN104598249A (en) * 2015-02-05 2015-05-06 浙江天正信息科技有限公司 Multi-tenant perception software personalized customization and deployment method
CN106897094A (en) * 2017-02-24 2017-06-27 郑州云海信息技术有限公司 SaaS software deployments method and device under a kind of cloud environment
CN106897115A (en) * 2017-02-24 2017-06-27 郑州云海信息技术有限公司 SaaS software deployments method and device under a kind of cloud environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曹祖凤等: "一种多租户SaaS应用部署优化算法", 《计算机工程》 *
汪德帅等: "支持多租约SaaS应用按需服务的负载均衡策略", 《东北大学学报(自然科学版)》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710405A (en) * 2018-12-21 2019-05-03 平安科技(深圳)有限公司 Block chain intelligence contract administration method, apparatus, electronic equipment and storage medium
CN109710405B (en) * 2018-12-21 2023-04-14 平安科技(深圳)有限公司 Block chain intelligent contract management method and device, electronic equipment and storage medium
CN109714423A (en) * 2018-12-29 2019-05-03 浪潮电子信息产业股份有限公司 A kind of OpenStack dispositions method, device, equipment and medium
WO2020220856A1 (en) * 2019-04-30 2020-11-05 中兴通讯股份有限公司 Method and apparatus for implementing service configuration, and device
CN111666130A (en) * 2020-06-03 2020-09-15 百度在线网络技术(北京)有限公司 Container balanced deployment method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108900435B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
WO2020253347A1 (en) Container cluster management method, device and system
CN104410672B (en) Method, the method and device of forwarding service of network function virtualization applications upgrading
US9413604B2 (en) Instance host configuration
US9716746B2 (en) System and method using software defined continuity (SDC) and application defined continuity (ADC) for achieving business continuity and application continuity on massively scalable entities like entire datacenters, entire clouds etc. in a computing system environment
CN108900435A (en) A kind of method, apparatus and computer storage medium of service deployment
US7890712B2 (en) Method, apparatus and program product for managing memory in a virtual computing system
WO2016101638A1 (en) Operation management method for electric power system cloud simulation platform
CN111505938A (en) Building automation system with energy optimization builder and generic data model designer
CN105531688B (en) The service of resource as other services is provided
CN107566184A (en) A kind of resource unified management method and its system
WO2019091387A1 (en) Method and system for provisioning resources in cloud computing
US8966025B2 (en) Instance configuration on remote platforms
CN116055283B (en) Multi-platform unified cloud management system supporting global tenant application resource quota setting
JP2014532247A (en) Discoverable identification and migration of easily cloudable applications
CN108337109A (en) A kind of resource allocation methods and device and resource allocation system
CN101946258A (en) Model based deployment of computer based business process on dedicated hardware
TW200532472A (en) Apparatus, system, and method for on-demand control of grid system resources
CN104541246A (en) System and method for providing a service management engine for use with a cloud computing environment
CN101946257A (en) Modelling computer based business process and simulating operation
CN108924249A (en) A kind of method and device for disposing OpenStack platform
AU2014209611A1 (en) Instance host configuration
CN110661842B (en) Resource scheduling management method, electronic equipment and storage medium
CN105518648A (en) Providing resources to customers via node-relationship models
CN106452842B (en) Network system based on network function virtualization intermediary system architecture
CN109714423A (en) A kind of OpenStack dispositions method, device, equipment and medium

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