CN106170769A - Determine the method for resources of virtual machine, device and program product - Google Patents
Determine the method for resources of virtual machine, device and program product Download PDFInfo
- Publication number
- CN106170769A CN106170769A CN201480036192.XA CN201480036192A CN106170769A CN 106170769 A CN106170769 A CN 106170769A CN 201480036192 A CN201480036192 A CN 201480036192A CN 106170769 A CN106170769 A CN 106170769A
- Authority
- CN
- China
- Prior art keywords
- resource
- parameter
- host
- vnfd
- indicated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present invention provides a kind of method determining resources of virtual machine, and the method includes determining the parameter that VDFD indicates, the parameter of the resource of the determination virtual machine VM of the parameter equal proportion then indicated according to VNDF;Or determine the parameter of the resource of main frame Host, then determine the parameter of the resource of VM according to the parameter equal proportion of the resource of Host, thus build the specifications parameter of VM.Implement the embodiment of the present invention and can reduce the resource fragmentation under NFV environment, thus improve resource utilization.The embodiment of the present invention additionally provides a kind of device determining resources of virtual machine and program product.
Description
The present invention relates to areas of information technology, more particularly to determine method, device and the program product of resources of virtual machine.
Cloud computing is will to calculate operation to be distributed in distributed virtual computing resource, by network central data center, and enterprise or user in the different application of resource switch to needs, will can according to demand access different computer and storage system.Cloud computing is the product of the traditional computers such as Distributed Calculation (Distributed Computing), parallel computation (Parallel Computing), effectiveness calculating (Utility Computing), the network storage (Network Storage), virtualization (Virtualization), and load balancing (LoadBalance) and network technical development fusion.
With the continuous maturation of cloud computing technology, information technology (information technology, IT) with the communication technology (communication technology, CT) field interpenetrates fusion, CT operators are reply future competition challenge, comply with current virilization, the technology trends of cloud computing, it is proposed that the network function virtualization (Network Functions Virtualization, NFV) in ICT fields.
Under existing NFV environment, according to different business demands, it is necessary to flexibly increase virtual machine (Virtual Machine, VM) to meet the demand of different business, i.e., when certain business needs are more
During resource, corresponding VM can be added in main frame (Host);When certain business need not so multiple resource when, corresponding VM can be discharged in Host.But, substantial amounts of resource fragmentation can be produced under existing NFV environment, so as to cause ample resources to waste, resource utilization is low.
The content of the invention
The embodiment provides a kind of method for determining resources of virtual machine, to solve to produce ample resources fragment under NFV environment so as to cause the problem of resource utilization is low.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that,
First aspect there is provided it is a kind of determine resources of virtual machine method, including:
Virtual network function manager VNFM determines the parameter for the resource that virtual network descriptor VNFD is indicated;
VNFM determines the parameter of virtual machine VM resource according to the parameter of the VNFD resources indicated, and the parameter for the resource that the parameter of the resource of the VM and the VNFD are indicated is proportional, and the resource of the VM is less than the resource that the VNFD is indicated.
With reference in a first aspect, in the first possible implementation of first aspect, the parameter for the resource that the determination VNFD is indicated, in addition to:
VNFM obtains the parameter of main frame Host resource;
VNFM determines the resource that the VNFD is indicated according to the parameter of the resource of the Host
The parameter of parameter, the parameter for the resource that the VNFD is indicated and the resource of the Host is proportional, and the resource that the VNFD is indicated is less than the parameter of the resource of the Host.
With reference to the first possible implementation of first aspect or first aspect, in second of possible implementation of first aspect, the resource that the resource that the VNFD is indicated is more than or equal to required for operation business.
With reference to first aspect or the first of first aspect or second of possible implementation, in the third possible implementation of first aspect, the resource that the resource of the VM is more than or equal to required for operation subservice, the business is made up of one or more subservices.
Second aspect there is provided it is a kind of determine resources of virtual machine method, including:
VNFM obtains the parameter of main frame Host resource;
VNFM determines the parameter of virtual machine VM resource according to the parameter of the resource of the Host, and the parameter of the parameter of the resource of the VM and the Host resource is proportional.
With reference to second aspect, in the first possible implementation of second aspect, the resource of the VM is more than or equal to the resource run required for subservice.
The third aspect there is provided it is a kind of determine resources of virtual machine device, including:
Determining unit, the determining unit is used for the parameter for determining the resource that VNFD is indicated;
Construction unit, the construction unit is used for the parameter according to the VNFD of the determination resources indicated, determines the parameter of virtual machine VM resource, the parameter of the resource of the VM and described
The parameter for the resource that VNFD is indicated is proportional.
With reference to the third aspect, in the first possible implementation of the third aspect, the parameter for the resource that the determination VNFD is indicated, including:
Acquiring unit, the acquiring unit is used for the parameter for obtaining main frame Host resource;
The construction unit, is additionally operable to the parameter of the resource according to the Host, determines the parameter for the resource that the VNFD is indicated, the parameter of the parameter for the resource that the VNFD is indicated and the resource of the Host is proportional.
With reference to the first possible implementation of the third aspect or the third aspect, in second of possible implementation of the third aspect, the resource of the VNFD is more than or equal to the resource required for operation business.
With reference to the third aspect or the first of the third aspect or second of possible implementation, in the third possible implementation of the third aspect, the resource of the VM is more than or equal to the resource run required for subservice.
Fourth aspect there is provided it is a kind of determine resources of virtual machine device, including:
Acquiring unit, the acquiring unit is used for the parameter for obtaining main frame Host resource;
Construction unit, the construction unit is used for the parameter according to the resource of the Host, determines the parameter of virtual machine VM resource, and the parameter of the parameter of the resource of the VM and the Host resource is proportional.
With reference to fourth aspect, in the first possible implementation of fourth aspect, the resource of the VM is more than or equal to the resource run required for subservice.
5th aspect is there is provided a kind of computer program product, first to the 5th any possible implementation for performing first aspect or first aspect.
The method provided in an embodiment of the present invention for determining resources of virtual machine, by determining that the parameter for the resource that VNFD is indicated is proportional to the parameter of Host resource, and then determine the parameter of VM resource, so that the parameter of VM resource is proportional to the parameter of the VNFD resources indicated, rebuild the parameter specification of VM resource, the resource fragmentation in Host can be reduced, it is to avoid the waste of resource, solve the problem of virtual machine operational efficiency is low.
Technical scheme in order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in embodiment or description of the prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of NFV configuration diagrams provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for determining resources of virtual machine provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram for determining resources of virtual machine provided in an embodiment of the present invention;
Fig. 4 is another method flow diagram for determining resources of virtual machine provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation for the device for determining resources of virtual machine provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another device for determining resources of virtual machine provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another device for determining resources of virtual machine provided in an embodiment of the present invention.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of creative work is not made belongs to the scope of protection of the invention.
As shown in Figure 1, for the embodiments of the invention provide a kind of NFV environment under determine resources of virtual machine method, existing NFV frameworks are as described in Figure 1, network function virtualized infrastructure NFVI (NFV Infrastructure defined in the framework, NFVI), virtual network function (virtualized network function, VNF), Virtual base infrastructure manager (virtualized infrastructure manager, VIM), VNF managers (VNF Manager, VNFM), network function virtualization
The functional objects such as composer (NFV Orchestrator, NFVO), virtual network function (virtualized network function, VNF).
NFVI provides the infrastructure layer of cloud, and VNF is Yun Huahou network element application, is communicated between NFVI and VNF by Vn-Nf interfaces;VIM is responsible for infrastructure layer-management, and VNFM is responsible for VNF life cycle management, is communicated between VNFM and VIM by Vi-Vnfm interfaces;NFVO is responsible for the life cycle management of service;OSS (operations support system, OSS)/business support system (business support system, BSS it is) webmaster of cloud system, is communicated between NFVO and OSS/BSS by Os-Nfvo interfaces;Element management system (element management system, EMS) is the webmaster of traditional CT Telecommunication Network Element, and it connects OSS/BSS and VNF.Each VNF deployment and operation behavior are described and are stored in VNF catalogues (VNF Catalog) by the template of virtualization grid descriptor (virtualized network function descriptor, VNFD).NFV is managed and layout (NFV management and orchestration, MANO) creates VNF examples using VNFD, and manages the life cycle of these examples.VNFD and VNF is surrounded by man-to-man corresponding relation, and VNFD, which has been fully described, realizes characteristic and requirement necessary to a VNF.Based on the demand described in VNFD, while being also contemplated for particular demands set in advance, constraint and strategy, NFVI resources are assigned to VNF.
The method provided in an embodiment of the present invention for determining resources of virtual machine, as shown in Fig. 2 can apply to NFV frameworks as shown in Figure 1, comprises the following steps:
201st, VNFM determines the parameter for the resource that VNFD is indicated;
The parameter for the resource that VNFD is indicated, can be adjusted setting, for example, the parameter of the resource of VNFD instructions can be set according to the parameter of Host resource.Specific implementation is as follows:
After Host starts, the parameter of Host resource is stored in VIM, and VNFM can obtain the parameter of the resource of the Host in VIM by Vi-Vnfm interfaces, for example, can have following two ways:
1, periodically verify
VNFM periodically (such as with one minute frequency once) sends inquiry request to VIM, and the parameter of Host resource is issued VNFM, for example, the parameter of the Host inquired resource can be sent to VNFM by Vi-Vnfm interfaces with VIM by VIM.
2, triggering is reported
When increasing or deleting Host, the parameter of Host resource can be issued VNFM by VIM with the Vi-Vnfm interfaces between reverse calling and VNFM.
The parameter of Host resource in the present embodiment, VNFD indicate resource parameter, and VM resource parameter in parameter represent by taking most common three kinds of resource dimensions as an example to illustrate in resource dimension, the embodiment of the present invention, as shown in figure 3, i.e. CPU frequency, memory size and memory space.It is understood that above-mentioned three kinds of dimensions are a kind of exemplary sample, one or more of which can be selected, other resource dimensions can also be selected, do not limited herein.
For example when the parameter of the Host of acquisition resource is:
CPU:16 × 2.2G Hz, internal memory:64GB, storage:16T
According to the parameter of above-mentioned Host resource, the parameter mode for building the resource that VNFD is indicated is as follows:
According to Host CPU frequency, memory size and memory space, equal proportion builds the parameter for the resource that VNFD is indicated, the parameter for the resource that can for example indicate VNFD is configured to following specification:
CPU:1 × 2.2G Hz, internal memory:4GB, storage:1T,
Other specifications can certainly be configured to, for example:
CPU:2 × 2.2G Hz, internal memory:8GB, storage:2T, the parameter for the resource that the VNFD specifically built is indicated, in addition it is also necessary to meet the resource needed for operation business function, it can be understood as meet minimum CPU frequency, memory size and the memory space required for a certain business function;
For example run a call business, it is necessary to least resource be:
CPU:1.4 × 2.2G Hz, internal memory:3GB, storage:0.7T, so in order to meet run the paging service required for resource, the parameter for the resource that the VNFD of structure is indicated should be more than or equal to the resource run required for the paging service, i.e. each resource dimension is required for being more than the resource required for operation GIA call business, at this point it is possible to which the parameter specification of the VNFD resources indicated is configured to:
CPU:2 × 2.2G Hz, internal memory:8GB, storage:2T.
202nd, VNFM determines the parameter of virtual machine VM resource according to the parameter of the VNFD resources indicated, and the parameter for the resource that the parameter of the resource of the VM and the VNFD are indicated is proportional.
After the resource parameters of VNFD instructions are determined, for example, when the parameter of the VNFD resources indicated is defined as:
CPU:2 × 2.2G Hz, internal memory:8GB, storage:2T;
VM specification is so built according to equal proportion;
Meanwhile, in order to ensure VM disclosure satisfy that operation business function needed for least resource, it is necessary to so that identified VM specifications be equal to or more than operation subservice function needed for resource.
It is some subservices by the overall service decomposition for example, running certain call business, some minimum subservice of resource is as reference needed for choosing, and such as resource needed for the subservice is:
CPU 0.5 × 2.2G Hz, internal memory 1.5G Hz, store 0.4T
VM can be then configured to:
CPU 0.5 × 2.2G Hz, internal memory 2G Hz, store 0.5T
Enable the resource such as VM CPU frequency, memory size and memory space built to cover the least resource needed for the minimum subservice function of operation, and with the parameter of the VNFD resources indicated
It is proportional.
A kind of method for determining resources of virtual machine provided in an embodiment of the present invention, by determining that the parameter for the resource that VNFD is indicated is proportional to the parameter of Host resource, and then determine the parameter of VM resource, so that the parameter of VM resource is proportional to the parameter of the VNFD resources indicated, the parameter specification of VM resource is rebuild, the resource fragmentation in Host can be largely reduced;Further, because the VM built as described above can be significantly reduced fragment, make full use of Host resources, when needing increase service operation resource, the fragment resource in Host can be preferentially utilized, so as to reduce the other Host chances of increase, the VM specifications built compared to prior art, the fragment resource in Host can not be utilized when the business of operation, new Host can only be increased to meet business demand, and then increase the communication flows between different Host.
The embodiments of the invention provide the method for another determination resources of virtual machine, this method can apply to existing NFV frameworks, and previous embodiment unlike, the parameter of the resource of VNFD instructions be it is fixed, it is nonadjustable.Specifically, as shown in figure 4, comprising the following steps:
401st, VNFM obtains the parameter of main frame Host resource,
After Host starts, the parameter of Host resource is stored in VIM, VNFM can obtain the parameter of the resource of the Host in VIM by Vi-Vnfm interfaces, the parameter of Host resource can specifically be obtained by way of periodicity is verified or triggering is reported, specific implementation is in foregoing reality
Apply in example and had a detailed description, here is omitted.
402nd, VNFM is according to the parameter of the Host of acquisition resource, determines the parameter of virtual machine VM resource, and the parameter of the parameter of the resource of the VM and the Host resource is proportional.
The parameter of VM resource is built according to the ratio of the parameter of Host resource so that the parameter of the resource of the VM is proportional to the parameter of the resource of the Host;
For example, when the parameter of the Host of acquisition resource is:
CPU:16 × 2.2G Hz, internal memory:64GB, storage:16T,
So can be with scaled down VM specification, therefore the parameter of VM resource can be configured to following specification:
CPU 0.5 × 2.2G Hz, internal memory 2G Hz, store 0.5T.
Optionally, in the present embodiment, the ratio of the parameter for the resource that can also be indicated according to VNFD builds the parameter of VM resource so that the parameter of the resource of the VM is proportional to the resource parameters of the VNDF.
For example, when the parameter of the VNFD of the factory default resources indicated is:
CPU:3 × 2.2G Hz, internal memory:12GB, storage:12T.
So the parameter of VM resource for example can be configured to by following specification with the parameter of scaled down VM resource:
CPU 0.5 × 2.2G Hz, internal memory 2G Hz, store 2T.
In order to ensure that VM can run subservice function, it is necessary to which so that the parameter of the VM determined resource is equal to or more than the resource needed for operation subservice function;
It is some subservices by the overall service decomposition for example, running certain call business, some minimum subservice of resource is as reference needed for choosing, and such as resource needed for the subservice is:
CPU 0.5 × 2.2G Hz, internal memory 1.5G Hz, store 0.4T
VM can be then configured to:
0.5 × 2.2G of CPU Hz, internal memory 1.5G Hz, store 0.4T, it is appreciated that, the VM also can be configured such that other specifications, as long as meeting the resource that its specification is more than or equal to needed for operation business function in theory so that the resource such as the VM of structure CPU frequency, memory size and memory space can cover the least resource needed for the minimum subservice function of operation.
A kind of method for determining resources of virtual machine provided in an embodiment of the present invention, VM parameters are built by the parameter of the parameter of the resource indicated according to VNFD or Host resource, so that the parameter of VM resource and the VNFD resources indicated parameter or Host resource parameter it is proportional, and then the parameter specification of VM resource is rebuild, it can largely reduce the resource fragmentation in Host;Further, because the VM built as described above can be significantly reduced fragment, Host resources are made full use of, when needing increase service operation resource, the fragment resource in Host can be preferentially utilized, so as to reduce the other Host chances of increase, the VM specifications built compared to prior art, when
The fragment resource in Host can not be utilized during operation business, new Host can only be increased to meet business demand, and then increase the communication flows between different Host.
The embodiment of the present invention provides a kind of device for determining resources of virtual machine, as shown in figure 5, including the first construction unit 501, the construction unit 503 of acquiring unit 502 and second can apply to NFV frameworks as shown in Figure 1, can specifically realize step as shown in Figure 2:
First construction unit 501, the parameter of the resource for building VNFD instructions;
In the present embodiment, setting can be adjusted in the parameter for the resource that VNFD is indicated, for example, the parameter of the resource of VNFD instructions can be set according to the parameter of Host resource.Specific implementation is as follows:
After Host starts, the parameter of Host resource is stored in VIM, and acquiring unit 502 can obtain the parameter of the resource of the Host in VIM by Vi-Vnfm interfaces, for example, can have following two ways:Periodically verify and triggering reporting schemes.
In periodicity pattern verification, acquiring unit 502 periodically (such as with one minute frequency once) sends inquiry request to VIM, the parameter of Host resource is issued VNFM by VIM, for example, the parameter of the Host inquired resource can be sent to VNFM by Vi-Vnfm interfaces with VIM.
In triggering is reported, when increasing or deleting Host, VIM can be with reverse calling and the device
Between Vi-Vnfm interfaces, the parameter of Host resource is issued into the device.
For example when the parameter of the Host of acquisition resource is:
CPU:16 × 2.2G Hz, internal memory:64GB, storage:16T
According to the parameter of above-mentioned Host resource, the mode that the first construction unit 501 builds the parameter for the resource that VNFD is indicated is as follows:
According to Host CPU frequency, memory size and memory space, equal proportion builds VNFD resource parameters, for example, VNFD resource parameters can be configured into following specification:
CPU:1 × 2.2G Hz, internal memory:4GB, storage:1T,
Other specifications can certainly be configured to, for example:
CPU:2 × 2.2G Hz, internal memory:8GB, storage:2T, the parameter specification for the resource that the VNFD specifically built is indicated, in addition it is also necessary to meet the resource needed for operation business function, it can be understood as meet minimum CPU frequency, memory size and the memory space required for a certain business function;
For example run a call business, it is necessary to least resource be:
CPU:1.4 × 2.2G Hz, internal memory:3GB, storage:0.7T, so in order to meet run the paging service required for resource, the VNFD of structure resource parameters should be more than or equal to the resource run required for the paging service, i.e. each resource dimension is required for being more than the resource required for operation GIA call business, at this point it is possible to which VNFD resource specification is configured to:
CPU:2 × 2.2G Hz, internal memory:8GB, storage:2T.
Second construction unit 503, for the parameter according to the VNFD of the determination resources indicated, determines the parameter of virtual machine VM resource, the parameter for the resource that the parameter of the resource of the VM and the VNFD are indicated is proportional.
After the resource parameters of VNFD instructions are determined, for example, when the parameter of the VNFD resources indicated is defined as:
CPU:2 × 2.2G Hz, internal memory:8GB, storage:2T;
So the second construction unit 503 builds VM specification according to equal proportion;
Meanwhile, in order to ensure VM disclosure satisfy that operation business function needed for least resource, it is necessary to so that identified VM specifications be equal to or more than operation subservice function needed for resource.
It is some subservices by the overall service decomposition for example, running certain call business, some minimum subservice of resource is as reference needed for choosing, and such as resource needed for the subservice is:
CPU 0.5 × 2.2G Hz, internal memory 1.5G Hz, store 0.4T
VM can be then configured to:
CPU 0.5 × 2.2G Hz, internal memory 2G Hz, store 0.5T
The resources such as the VM CPU frequency, memory size and the memory space that build are covered
Least resource needed for the minimum subservice function of operation, and it is proportional with VNFD resource parameters specification.
A kind of device for determining resources of virtual machine provided in an embodiment of the present invention, first construction unit is proportional to the parameter of Host resource by the parameter for building the resource of VNFD instructions, the parameter of second construction unit and then determination VM resource, so that the parameter of VM resource is proportional to the parameter of the VNFD resources indicated, the parameter specification of VM resource is rebuild, the resource fragmentation in Host can be largely reduced;Further, because the VM built as described above can be significantly reduced fragment, make full use of Host resources, when needing increase service operation resource, the fragment resource in Host can be preferentially utilized, so as to reduce the other Host chances of increase, the VM specifications built compared to prior art, the fragment resource in Host can not be utilized when the business of operation, new Host can only be increased to meet business demand, and then increase the communication flows between different Host.
The embodiments of the invention provide the device of another determination resources of virtual machine, include acquiring unit 601 and construction unit 602 as shown in Figure 6, the device can apply to existing NFV frameworks, and unlike previous embodiment, VNFD indicate resource parameter be it is fixed, it is nonadjustable.Method and step as shown in Figure 4 can specifically be realized:
Acquiring unit 601, the parameter of the resource for obtaining main frame Host,
After Host starts, the parameter of Host resource is stored in VIM, and VNFM can pass through
Vi-Vnfm interfaces obtain the parameter of the resource of the Host in VIM, acquiring unit 601 can specifically obtain the parameter of Host resource by way of periodicity is verified or triggering is reported, specific implementation has had a detailed description in the aforementioned embodiment, and here is omitted.
Construction unit 602, for the parameter of the resource of the Host according to acquisition, determines the parameter of virtual machine VM resource, and the parameter of the parameter of the resource of the VM and the Host resource is proportional.
The parameter of VM resource is built according to the ratio of the parameter of Host resource so that the parameter of the resource of the VM is proportional to the parameter of the resource of the Host.
Optionally, in the present embodiment, the ratio of the parameter for the resource that acquiring unit 601 can also be indicated according to VNFD builds the parameter of VM resource so that the parameter of the resource of the VM is proportional to the resource parameters of the VNDF.
The parameter for the resource that construction unit 602 is indicated with specific reference to the parameter or VNFD of Host resource has a detailed description in the aforementioned embodiment to build the parameter of VM resource, and here is omitted.
A kind of device for determining resources of virtual machine provided in an embodiment of the present invention, construction unit builds VM parameters by the parameter of the parameters of the VNFD resources indicated or Host resource, so that the parameter of VM resource and the VNFD resources indicated parameter or Host resource parameter it is proportional, and then the parameter specification of VM resource is rebuild, it can largely reduce the resource fragmentation in Host;Further, because the VM built as described above can be significantly reduced fragment, Host resources are made full use of, when needing increase service operation resource, can preferentially utilize broken in Host
Piece resource, so as to reduce the other Host chances of increase, the VM specifications built compared to prior art can not utilize the fragment resource in Host when the business of operation, can only increase new Host to meet business demand, and then increase the communication flows between different Host.
Fig. 7 is the device provided in an embodiment of the present invention for determining resources of virtual machine, as shown in fig. 7, comprises processor 701 and memory 702.
The device of memory 702 is used for the program for storing the execution of processor 701, and described program includes instruction, can perform following method and step:
Obtain the parameter of Host resource.
After Host starts, the parameter of Host resource is stored in VIM, and processor 701 can obtain the parameter of the resource of the Host in VIM by Vi-Vnfm interfaces, can specifically be verified by periodicity and triggering such as report to realize at the mode.
According to the parameter of the Host of acquisition resource, equal proportion determines the parameter for the resource that VNFD is indicated.Processor 701, is additionally operable to determine the parameter of VM resource come equal proportion according to the parameter of the VNFD of the determination resources indicated.The parameter of the specific parameter for determining the resource that VNFD is indicated and VM resource has had a detailed description in the aforementioned embodiment.
Optionally, the parameter of VM resource can also directly be determined according to Host ratio according to the parameter of the Host of acquisition resource.
Optionally, when the parameter of the VNFD resources indicated is unadjustable, i.e. when the parameter for the resource that VNFD is indicated is preset by manufacturer,.The receiver 702 of processor 701, the parameter of the resource for receiving VNFD instructions, the parameter for the resource that the VNFD that processor 701 is received according to receiver 702 is indicated determines the parameter of VM resource according to the parameter equal proportion of the VNFD resources indicated.Determine that the parameter of VM resource has had a detailed description in the aforementioned embodiment with specific reference to the parameter of the VNFD set in advance that receiver 702 the is obtained resources indicated.
A kind of computer program product provided in an embodiment of the present invention, the program product can perform the method and step as described by preceding method embodiment.
In several embodiments provided herein, it should be understood that disclosed method and base station, it can realize by another way.For example, device embodiment described above is only schematical, for example, the division of the unit, it is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.Another, it, by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, can be electrical, machinery or other forms that shown or discussed coupling or direct-coupling or communication connection each other, which can be,.
The unit illustrated as separating component can be or may not be physically separate, and the part shown as unit can be or may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each of the invention embodiment can be integrated in a processing unit or the independent physics of unit includes, can also two or more units it is integrated in a unit.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform the part steps of each embodiment methods described of the invention.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although the present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It can still modify to the technical scheme described in foregoing embodiments, or carry out equivalent substitution to which part technical characteristic;And these modifications or replacement, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (13)
- A kind of method for determining resources of virtual machine, it is characterised in that including:Virtual network function manager VNFM determines the parameter for the resource that virtual network descriptor VNFD is indicated;The VNFM determines the parameter of virtual machine VM resource according to the parameter of the VNFD resources indicated, and the parameter for the resource that the parameter of the resource of the VM and the VNFD are indicated is proportional, and the resource of the VM is less than the resource that the VNFD is indicated.
- According to the method described in claim 1, it is characterised in that the resource parameters that the determination VNFD is indicated, including:The VNFM obtains the parameter of main frame Host resource;The VNFM determines the parameter for the resource that the VNFD is indicated according to the parameter of the resource of the Host, and the parameter of the parameter for the resource that the VNFD is indicated and the resource of the Host is proportional, and the resource that the VNFD is indicated is less than the parameter of the resource of the Host.
- Method according to claim 1 or 2, it is characterised in that the resource that the resource that the VNFD is indicated is more than or equal to required for operation business.
- Method according to any one of claims 1 to 3, it is characterised in that the resource that the resource of the VM is more than or equal to required for operation subservice, the business is made up of one or more subservices.
- A kind of method for determining resources of virtual machine, it is characterised in that including:VNFM obtains the parameter of main frame Host resource;VNFM determines the parameter of virtual machine VM resource according to the parameter of the resource of the Host, and the parameter of the resource parameters of the VM and the Host resource is proportional.
- Method according to claim 5, it is characterised in thatThe resource that the resource of the VM is more than or equal to required for operation subservice.
- A kind of device for determining resources of virtual machine, it is characterised in that including:Determining unit, the determining unit is used for the parameter for determining the resource that VNFD is indicated;Construction unit, the construction unit is used for the parameter according to the VNFD of the determination resources indicated, determines the parameter of virtual machine VM resource, and the parameter for the resource that the parameter of the resource of the VM and the VNFD are indicated is proportional.
- Device according to claim 7, it is characterised in that the parameter for the resource that the determination VNFD is indicated, including:Acquiring unit, the acquiring unit is used for the parameter for obtaining main frame Host resource;The construction unit, is additionally operable to the parameter of the resource according to the Host, determines the parameter for the resource that the VNFD is indicated, the parameter of the parameter for the resource that the VNFD is indicated and the resource of the Host is proportional.
- Device according to claim 7 or 8, it is characterised in that the resource that the resource that the VNFD is indicated is more than or equal to required for operation business.
- Device according to any one of claim 7 to 9, it is characterised in that the resource that the resource of the VM is more than or equal to required for operation subservice.
- A kind of device for determining resources of virtual machine, it is characterised in that including:Acquiring unit, the acquiring unit is used for the parameter for obtaining main frame Host resource;Construction unit, the construction unit is used for the parameter according to the resource of the Host, determines the parameter of virtual machine VM resource, and the parameter of the parameter of the resource of the VM and the Host resource is proportional.
- Device according to claim 12, it is characterised in that the resource that the resource of the VM is more than or equal to required for operation subservice.
- A kind of computer program product, the method described in 1-6 is required for perform claim.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/093607 WO2016090608A1 (en) | 2014-12-11 | 2014-12-11 | Method and apparatus for determining virtual machine resource and program product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106170769A true CN106170769A (en) | 2016-11-30 |
CN106170769B CN106170769B (en) | 2020-01-21 |
Family
ID=56106476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201480036192.XA Active CN106170769B (en) | 2014-12-11 | 2014-12-11 | Method, device and program product for determining virtual machine resources |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106170769B (en) |
WO (1) | WO2016090608A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355602A (en) * | 2018-12-21 | 2020-06-30 | 华为技术有限公司 | Resource object management method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102426542A (en) * | 2011-10-28 | 2012-04-25 | 中国科学院计算技术研究所 | Resource management system for data center and operation calling method |
CN103176847A (en) * | 2011-12-26 | 2013-06-26 | 英业达集团(天津)电子技术有限公司 | Virtual machine distribution method |
US20130311662A1 (en) * | 2012-05-18 | 2013-11-21 | Aleksandr Stolyar | Cloud resource allocation system and method |
CN103870314A (en) * | 2014-03-06 | 2014-06-18 | 中国科学院信息工程研究所 | Method and system for simultaneously operating different types of virtual machines by single node |
CN103870339A (en) * | 2014-03-06 | 2014-06-18 | 上海华为技术有限公司 | Cluster resource allocation method and cluster resource allocation device |
CN104050045A (en) * | 2014-06-27 | 2014-09-17 | 华为技术有限公司 | Method and device for distributing virtual resources based on disk IO |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521055B (en) * | 2011-12-15 | 2013-12-11 | 广州杰赛科技股份有限公司 | Virtual machine resource allocating method and virtual machine resource allocating system |
CN103049309B (en) * | 2012-12-11 | 2017-09-29 | 华为技术有限公司 | Resource management apparatus, the method and system of virtual machine |
-
2014
- 2014-12-11 WO PCT/CN2014/093607 patent/WO2016090608A1/en active Application Filing
- 2014-12-11 CN CN201480036192.XA patent/CN106170769B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102426542A (en) * | 2011-10-28 | 2012-04-25 | 中国科学院计算技术研究所 | Resource management system for data center and operation calling method |
CN103176847A (en) * | 2011-12-26 | 2013-06-26 | 英业达集团(天津)电子技术有限公司 | Virtual machine distribution method |
US20130311662A1 (en) * | 2012-05-18 | 2013-11-21 | Aleksandr Stolyar | Cloud resource allocation system and method |
CN103870314A (en) * | 2014-03-06 | 2014-06-18 | 中国科学院信息工程研究所 | Method and system for simultaneously operating different types of virtual machines by single node |
CN103870339A (en) * | 2014-03-06 | 2014-06-18 | 上海华为技术有限公司 | Cluster resource allocation method and cluster resource allocation device |
CN104050045A (en) * | 2014-06-27 | 2014-09-17 | 华为技术有限公司 | Method and device for distributing virtual resources based on disk IO |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355602A (en) * | 2018-12-21 | 2020-06-30 | 华为技术有限公司 | Resource object management method and device |
CN111355602B (en) * | 2018-12-21 | 2021-11-30 | 华为技术有限公司 | Resource object management method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2016090608A1 (en) | 2016-06-16 |
CN106170769B (en) | 2020-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11714671B2 (en) | Creating virtual machine groups based on request | |
AU2015419073B2 (en) | Life cycle management method and device for network service | |
US10592825B2 (en) | Application placement among a set of consolidation servers utilizing license cost and application workload profiles as factors | |
US9697053B2 (en) | System and method for managing excessive distribution of memory | |
US10324754B2 (en) | Managing virtual machine patterns | |
US9329908B2 (en) | Proactive identification of hotspots in a cloud computing environment | |
CN110661842B (en) | Resource scheduling management method, electronic equipment and storage medium | |
CN108132827B (en) | Network slice resource mapping method, related equipment and system | |
CN106663012B (en) | Hardware acceleration method and related equipment | |
US20140282540A1 (en) | Performant host selection for virtualization centers | |
CN109254836B (en) | Deadline constraint cost optimization scheduling method for priority dependent tasks of cloud computing system | |
US10938655B2 (en) | Enterprise cloud garbage collector | |
CN106886477B (en) | Method and device for setting monitoring threshold in cloud system | |
CN109347661A (en) | The instantiation method and device of consumer VNF | |
CN110868330B (en) | Evaluation method, device and evaluation system for CPU resources which can be divided by cloud platform | |
CN109976870A (en) | Creation method, device, equipment and the medium of virtual machine | |
CN104657216A (en) | Resource allocation method and device for resource pool | |
CN106325972B (en) | Virtual machine management method and network equipment | |
CN103186423B (en) | Virtual machine migration method and cloud servo system | |
CN106170769A (en) | Determine the method for resources of virtual machine, device and program product | |
CN107562510B (en) | Management method and management equipment for application instances | |
CN109002347B (en) | Virtual machine memory allocation method, device and system | |
CN111124890A (en) | Distributed database performance test method, system, terminal and storage medium | |
CN103562852B (en) | A kind of method and apparatus for ensureing cloud application procedure service quality | |
CN105653370A (en) | System and method for obtaining virtual machine resources on PaaS platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |