CN109976870A - Creation method, device, equipment and the medium of virtual machine - Google Patents

Creation method, device, equipment and the medium of virtual machine Download PDF

Info

Publication number
CN109976870A
CN109976870A CN201711465405.2A CN201711465405A CN109976870A CN 109976870 A CN109976870 A CN 109976870A CN 201711465405 A CN201711465405 A CN 201711465405A CN 109976870 A CN109976870 A CN 109976870A
Authority
CN
China
Prior art keywords
resource
business
model
cluster
virtual machine
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.)
Pending
Application number
CN201711465405.2A
Other languages
Chinese (zh)
Inventor
谭文贵
方东旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Chongqing Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Chongqing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Chongqing Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711465405.2A priority Critical patent/CN109976870A/en
Publication of CN109976870A publication Critical patent/CN109976870A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of creation method of virtual machine, device, equipment and media.Based on scheduled matching rule establishing resource matching list, resource matched table includes different business models and its corresponding resource model;Resource model corresponding to the business model to match with pending business is chosen from resource matched table;The resource to match with the resource model chosen is chosen from resource cluster;And the asset creation based on selection is used to execute the virtual machine of pending business.The virtual machine created as a result, can better meet pending business.

Description

Creation method, device, equipment and the medium of virtual machine
Technical field
The present invention relates to field of cloud computer technology more particularly to a kind of creation method of virtual machine, device, equipment and Jie Matter.
Background technique
With the continuous increase of enterprise's hardware resource cloud ratio, resources of virtual machine extensive utilization to each business of enterprise, and And increasingly permeated to core business, the use of virtual resource is increasingly wider and business need is also higher.Therefore, how according to industry Business demand is more preferable, more optimal sorting matches resources of virtual machine, is the project for being worth research.
Existing virtual machine creating scheme mainly realizes that a key of virtual machine creates by cloud platform, and creation process is not examined The business demand of worry business itself cannot be fully utilized various hardware and software resources, or even the void of creation Quasi- machine is not able to satisfy the business demand of business.
In conclusion needing a kind of virtual machine creating scheme of optimization.
Summary of the invention
The embodiment of the invention provides creation method, device, equipment and the media of a kind of effective virtual machine, have solved Certainly above-mentioned at least one problem.
In a first aspect, method includes: based on scheduled the embodiment of the invention provides a kind of creation method of virtual machine With the resource matched table of rule creation, resource matched table includes resource model corresponding to different business models;According to pending The business demand of business and resource matched table choose the industry to match with the business demand of pending business from resource cluster The resource that the corresponding resource model of business model matches;Asset creation based on selection is for executing the virtual of pending business Machine.
Second aspect, the embodiment of the invention provides a kind of creating device of virtual machine, device includes: resource matched table wound Block is modeled, for being based on scheduled matching rule establishing resource matching list, resource matched table includes that different business model institutes is right The resource model answered;Resource choose module, for according to pending business business demand and resource matched table, from resource set The resource that resource model corresponding to the business model to match with the business demand of pending business matches is chosen in group;It is empty Quasi- machine creation module, is used to execute the virtual machine of pending business for the asset creation based on selection.
The embodiment of the invention provides a kind of calculating equipment, comprising: at least one processor, at least one processor and Computer program instructions stored in memory realize such as above-mentioned embodiment party when computer program instructions are executed by processor The method of first aspect in formula.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey The method such as first aspect in above embodiment is realized in sequence instruction when computer program instructions are executed by processor.
Creation method, device, equipment and the medium of virtual machine provided in an embodiment of the present invention, for pending service creation When virtual machine, resource model corresponding to the business model to match with pending business can be chosen from resource matched table, So as to the resource that the fast selecting from resource cluster and resource model match, it can so make the resource based on selection The virtual machine of creation can better meet the resource requirement of pending business, and the virtual machine of creation is being avoided to be unable to satisfy business While demand, the wasting of resources can also be reduced.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, for those of ordinary skill in the art, without creative efforts, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 shows the schematic flow chart of the creation method of virtual machine according to an embodiment of the invention.
Fig. 2 shows the main-process stream schematic diagrames of virtual machine creating of the invention.
Fig. 3 shows the matched flow diagram of computing resource of the invention.
Fig. 4 shows the matched flow diagram of storage resource of the invention.
Fig. 5 shows the resource matched flow diagram of IP of the invention.
Fig. 6 shows the user account of the invention flow diagram synchronous with account management system.
Fig. 7 shows the schematic block diagram of the structure of the creating device of virtual machine according to an embodiment of the invention.
Fig. 8 shows the hardware structural diagram provided in an embodiment of the present invention for calculating equipment.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below, in order to make mesh of the invention , technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the present invention is further retouched in detail It states.It should be understood that specific embodiment described herein is only configured to explain the present invention, it is not configured as limiting the present invention. To those skilled in the art, the present invention can be real in the case where not needing some details in these details It applies.Below the description of embodiment is used for the purpose of better understanding the present invention to provide by showing example of the invention.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
Fig. 1 shows the schematic flow chart of the creation method of virtual machine according to an embodiment of the invention.
It is based on scheduled matching rule establishing resource matching list in step S110 referring to Fig. 1, resource matched table includes not Same business model and its corresponding resource model.
In step S120, resource corresponding to the business model to match with pending business is chosen from resource matched table Model.
In step S130, the resource to match with the resource model chosen is chosen from resource cluster.
In step S140, the asset creation based on selection is used to execute the virtual machine of pending business.
Before for pending service creation virtual machine, resource matched table can be pre-created based on scheduled matching.Wherein, Scheduled matching rule is mainly used for determining the corresponding relationship between business model and resource model, and specific matching rule can be with It is set according to actual conditions, details are not described herein again.
Record the corresponding relationship between different business model and resource model in resource matched table.It is creating as a result, When for executing the virtual machine of pending business, the business mould to match with pending business can be chosen from resource matched table Type, specifically can according to the multiple business attribute informations such as the service resources demand, type of service, security level of pending business from The business model that selection matches with pending business in resource matched table, and the business model pair to match with pending business The resource model answered is regarded as resource when for pending service creation virtual machine suitable for using.It therefore can be from resource The resource to match with the resource model chosen is chosen in cluster, and the virtual machine of the asset creation based on selection then can be preferable Ground meets the business demand of pending business.
As it can be seen that the resource model that the present invention addresses can be considered as the resource selection standard of corresponding business model.Make For one embodiment of the present of invention, resource model can be descriptive resource (such as computing resource, storage resource) and choose mark Standard, as resource model can be high-performance calculation resource, general performance computing resource, high-capacity storage resource, capacity deposit Store up resource etc..As another embodiment of the invention, resource model can also be directed toward with resource cluster, and resource cluster refers to To be specific resource in resource cluster, that is to say, that resource model can be directed toward the specific resource in resource cluster at this time (resource that can be a certain classification in resource cluster) can be according to selection so when choosing resource from resource cluster Resource cluster is directed toward, and money cluster is directly chosen from resource cluster and is directed toward pointed resource.Accordingly, for considerable task, benefit The virtual machine for each task can be quickly created with the present invention.
The benchmark that the business model that the present invention addresses is compared mainly as pending business, for determining pending business pair The business model answered, to choose the resource model to match with pending business from resource matched table.Business model can be with To be divided based on a variety of division rules, such as can be based on business demand divide business demand model, be also possible to according to The class of service model that class of service divides, can also be the business model of other Attribute transpositions according to business).
By taking business model is the business demand model divided according to business demand as an example, for step S110, it can be based on Business demand and resource cluster, establishing resource matching list, wherein resource matched table may include different business demand model And its corresponding resource cluster is directed toward;For step S120, can be chosen from resource matched table and the business of pending business The corresponding resource cluster of the business demand model that demand matches is directed toward;For step S130, can be chosen from resource cluster Resource pointed by resource cluster.
In the present invention, business demand model again can be according to different classes of demand (such as computational resource requirements, storage money Source demand, security level demand etc.) it is further divided into different types of business demand model, also, every class business demand mould Type can be specifically divided into multiple and different models again.
As an embodiment of the present invention, resource cluster may include computing resource cluster, storage resource cluster and VLAN resource cluster can be by business demand model according to computational resource requirements, storage resource demands and security level demand It is respectively divided into the first business demand model, the second business demand model and third business demand model.
First business demand model can be according to grade of service division, and resource matched table may include calculating money at this time Source matching list, computing resource matching list may include that the first different business demand models and its corresponding computing resource cluster refer to To.When choosing resource model from resource matched table, can be chosen from the computing resource matching list and pending business The corresponding computing resource cluster of the first business demand model for matching of the grade of service be directed toward.Wherein the grade of service can be According to the classification of business significance level, it can such as be divided into core business and general business.Matching rule can be set at this time, core The corresponding cluster bottom host (i.e. computing resource) of heart business can use the relatively good server of performance and stability, empty The High Availabitity security mechanism comparatively perfect of quasi-ization clustered software;The corresponding cluster bottom hardware of general business and virtualization are wanted relatively Asking can be lower, and also opposite core business is less high in configuration, but is able to satisfy the demand of corresponding business.Computing resource cluster refers to To the underlying services device that can be directed toward in resource cluster, that is to say, that computing resource can be considered as server resource.
The first business demand model may include core business and general business, the corresponding calculating money of core business as a result, Cluster direction in source can be directed toward the preferable server of performance and stability in computing resource cluster, the corresponding calculating money of general business Cluster direction in source can be directed toward the server that performance and stability are relatively poor in computing resource cluster.
Second business demand model can be according to the grade of service and usage scenario division, resource matched table may include Storage resource matching list, storage resource matching list may include the second different business demand models and its corresponding storage resource Cluster is directed toward;When choosing resource model from resource matched table, can be chosen from storage resource matching list and pending industry The corresponding storage resource cluster of the second business demand model that the grade of service and usage scenario of business match is directed toward.Matching rule It is then that core business, general business can be divided into according to the grade of service and business usage scenario.The corresponding bottom of core business is deposited Storage can be using high-end disk array and the relatively good distributed block storage of performance, and high-end disk array is according to business datum field Scape supports raid mode to select;The storage of general business bottom can be relatively weaker using middle-end disk array and performance but can be expired The distributed block of sufficient service feature demand stores.
The second business demand model may include that core business and general business (can be different from the first business need as a result, Core business and general business in modulus type), the corresponding storage resource cluster direction of core business can be directed toward storage resource Cluster middle and high end disk array and the relatively good distributed block storage of performance, the corresponding storage resource cluster of general business are directed toward The relatively poor distributed block storage of middle-end disk array and performance in storage resource cluster can be directed toward.
What third business demand model can be divided according to business safety grade, resource matched table may include VLAN resource Matching list, the resource matched table of VLAN include that different third business demand models and its corresponding VLAN resource cluster are directed toward.From It may include: the security level chosen from the resource matched table of VLAN with pending business that resource model is chosen in resource matched table The corresponding VLAN resource cluster of the third business demand model to match is directed toward;Resource is chosen from resource cluster can wrap Include: the VLAN resource cluster described in VLAN resource cluster is directed toward remaining in pointed VLAN resource (same security domain VLAN) IP of the IP as virtual machine is chosen in unallocated IP.Wherein, different third business demand models, which can be considered as, is different industry It is engaged in security level, the corresponding VLAN resource of the corresponding third business demand model of same business safety grade is directed toward performed VLAN resource can be the VLAN resource for belonging to same security domain.
So far, the basic procedure of the creation method of virtual machine of the invention is briefly explained in conjunction with Fig. 1.Below with reference to Specific embodiment is described in further details with regard to the creation process of virtual machine of the invention.
Fig. 2 shows the main-process stream schematic diagrames of virtual machine creating of the invention.
Referring to fig. 2, virtual machine creating process of the invention may include four parts: the distribution of computing resource, storage resource Distribution, IP distribution and user account it is synchronous with account management system.
One, the distribution of computing resource
Fig. 3 shows the matched flow diagram of computing resource of the invention.
1. adaptation module is established
Computing resource classification adaptation can be built first.The classification rule of computing resource classification adaptation is, according to industry Business significance level can be divided into core business, general business etc..The corresponding cluster bottom host of core business can use property The clothes of virtual cluster software High Availabitity security mechanism comparatively perfect can such as be can be with the preferable server of stability relativity Business device.General business is lower to cluster bottom hardware and virtualization relative requirement, and also opposite core business is less high in configuration, Therefore the corresponding cluster bottom host of general business can be using the relatively weaker server of performance and stability, such as can be with Be virtual cluster software it is not very perfect server relatively, but should ensure that server is able to satisfy business demand.
Based on above-mentioned matching rule, computing resource classification adaptation can form initial matching table, and (i.e. computing resource is matched Table), initial matching table may include each operation list (the first business demand model) and corresponding virtual resource cluster is directed toward Table (computing resource cluster direction).
2. business demand information standardization inputs
According to customer service demand (mainly to the demand of computing resource), resource requirement template is exported, 1. as step Input, it can by the resource requirement template of output be input to computing resource classification adaptation.
3. matching cluster based on the grade of service
The corresponding cluster cluster of business (i.e. pending business) can 1. and be 2. matched according to step.It specifically can be with The initial matching table progress for 1. being generated 2. resource requirement template that step exports with step by computing resource classification adaptation Match, to obtain corresponding virtual resource cluster, if more clusters or host occurs in matching result, then can choose resource idleness most High cluster or host.
4. being distributed based on cluster volume controlled
Cluster can be matched according to the resource idle condition of business demand template and corresponding cluster cluster cluster。
5. being distributed based on host volume controlled
The resource free time can be matched according to the resource idle condition of host in 4. cluster cluster that step obtains VM (i.e. virtual machine) is created on the highest host of rate.
6. virtual machine template is called
Requirement according to business to system (operating system) can call virtual machine behaviour by cloud platform (cloud management platform) Make system template library.Computing resource creation, user are carried out according to user demand call operation system template by cloud management platform Operation system account creation.
Two, the distribution of storage resource
Fig. 4 shows the matched flow diagram of storage resource of the invention.
1. adaptation module is established
Storage resource adaptation can be built first.The matching rule of storage resource adaptation is according to the grade of service and industry Business usage scenario is divided into core business, general business etc..The corresponding bottom storage of core business can use high-end disk array With the relatively good distributed block storage of performance, high-end disk array can support raid mode to select according to business datum scene It selects;The storage of general business bottom is relatively weaker using middle-end disk array and performance but is able to satisfy the distribution of service feature demand The storage of formula block.
Based on above-mentioned matching rule, storage resource adaptation can form initial matching table, and initial matching table may include Each operation list (the second business demand model) and corresponding storage resource Compass (storage resource cluster direction).
2. matching storage class based on the grade of service and usage scenario
Demand according to business to storage resource can export storage resource demands template, as the input of step 1..I.e. The storage resource demands template of output can be input to storage resource classification adaptation.
Storage resource classification adaptation can match resource requirement template with 1. initial matching table that step generates, To obtain corresponding storage resource cluster.
3. being distributed based on volume controlled
Storage resource creation can be carried out by cloud management platform, the creation of group containing book formats, mount directory wound It builds, automatic carry.That is, the mount directory of virtual machine can be created based on the storage resource of selection.
Three, the distribution of IP resource
Fig. 5 shows the resource matched flow diagram of IP of the invention.
1. establishing security level matching library
It can be according to operation system security level grading rules, Build Security ratings match library.It can be with according to security level Divide 3 grades of systems, 2 grades of systems, 1 grade of system and corresponding classification.Security level matching library include each operation list and Corresponding security level corresponds to table.
2. business demand information standardization inputs
Belong to 3 grades of systems according to the corresponding security level of the demand for security of business, such as BOSS/CRM, export requirement templet, As input 1..
3. being based on system security level
According to step, 1. and 2. matching result Auto-matching is generated with the pond security level vlan.With in the pond security level VLAN It may include the one or more pond different grades of ad eundem VLAN, each ad eundem VLAN may include one or more in pond With the business of security level.
4. exporting same security level VLAN
Input item of the matching result of step 3. as step 5..
5. adaptation module is established
Vlan adaptation can be built.Vlan matching list (i.e. the resource matched table of VLAN) can be generated in vlan adaptation.Tool Body can form logic vlan matching list according to type of service web application, middleware, database.It can wrap in vlan matching list Include the corresponding vlan of different safety class.
6. being based on system business type
There are database, middleware, web service class according to the corresponding type of service of business demand, such as BOSS system business Type.As the input of step 5., the pond same area vlan is exported.The security level of business in the pond same area vlan is identical, belongs to same Security domain logic vlan.
7. based on address surplus threshold value control distribution IP
It can be the corresponding void of business to be processed based on the address surplus in the pond same area vlan according to the output of step 6. Quasi- machine automatically generates IP address.
It is possible thereby to realize that virtual machine carries out IP distribution by security domain logic vlan, so as to improve the virtual machine of building System safety.
Four, user account is synchronous with account management system
Fig. 6 shows the user account of the invention flow diagram synchronous with account management system.
1. calling the api interface of account management platform
Account management platform api interface can be called by cloud platform.
2. it is synchronous that virtual machine carries out account with account management platform automatically
Virtual machine account is synchronous with account management platform progress account and person liable authorizes.
3. user logs in virtual machine by account management platform
User can directly log in VME operating system by account management platform as a result,.Wherein, the synchronous process of account It can be executed automatically when creating virtual machine, can so make user that can step on by account management platform in first time Record VME operating system.
To sum up, the present invention is during business specific requirements, the creation that virtual machine may be implemented, and computing resource can be with Be allocated by the grade of service, storage resource can be allocated by the grade of service and business usage scenario, virtual machine can be by Security domain logic vlan carries out IP distribution, the creation point for carrying out empty machine resource synchronous with account management system of virtual machine user account Match.
Compared with prior art, the present invention can at least generate following beneficial effect.
1) grade of service when empty machine resource allocation is matched with bottom computing resource.Solve the performance wasting of resources or not Enough, matching degree not high the problem of causing the continuity on the influence of the performance of business and business to influence.Industry is improved by this method The Proper Match degree that business demand requires computing resource and High Availabitity protection, optimizes the use of computing resource.
2) performance and capacity matching of business demand and storage resource are solved the problems, such as.If not according to the grade of business and industry Business usage scenario, which is allocated, will cause resource allocation and the unmatched situation of business actual demand, and such as certain business read-write IO is wanted It asks high, but is assigned with the lower disk array of performance or block storage in resource allocation, when production and application will cause performance not The situation of foot.It is same as certain business read-write I/O requirement is relatively low, but high high-end of performance is assigned in resource allocation Disk array or block storage, the waste of the property of will cause resource when production and application.Otherwise address partial service demand disk array The use of raid mode is raid5, but is distributed in the way of raid10 when resource allocation, unmatched storage resource The problem of distribution will cause waste of storage space.The utilization rate and business demand for improving disk space by this method are to performance It is required that Proper Match degree.
3) it solves to be asked according to what the security level of business demand and the corresponding domain the vlan progress IP of affiliated business were quickly distributed Topic.The quick lookup of virtual machine IP address is distributed by domain, and the isolation of the allocative efficiency and security domain that promote IP address divides specification.
4) virtual machine account and account management system Fast synchronization are solved the problems, such as, after virtual machine creating, user The secure log of virtual machine is directly carried out by account management system.The period that user uses resource is shortened, user is improved Perception.
Fig. 7 shows the schematic block diagram of the structure of the creating device of virtual machine according to an embodiment of the invention.
Referring to Fig. 7, creating device 700 may include resource matched table creation module 710, resource model choose module 720, Resource chooses module 730 and virtual machine creating module 740.
Resource matched table creation module 710 is used to be based on scheduled matching rule establishing resource matching list, resource matched table Including different business models and its corresponding resource model.Resource model is chosen module 620 and is used for according to pending business Business demand chooses resource model corresponding to the business model to match with business demand from resource matched table.Resource choosing Modulus block 730 from resource cluster for choosing the resource to match with the resource model chosen.Virtual machine creating module 740 is used It is used to execute the virtual machine of pending business in the asset creation based on selection.
In one embodiment of the invention, resource matched table creation module 710 can be with: being based on business demand and resource Cluster, establishing resource matching list, wherein resource matched table includes that different business demand models and its corresponding resource cluster refer to To.Resource model chooses module 720 can choose the industry to match with the business demand of pending business from resource matched table Resource cluster corresponding to business demand model is directed toward.Resource selection module 730 can choose resource cluster from resource cluster and refer to To pointed resource.
Preferably, resource cluster may include computing resource cluster, and business demand model includes being divided according to the grade of service The first business demand model, resource matched table includes computing resource matching list, and computing resource matching list includes different first Business demand model and its corresponding computing resource cluster are directed toward.Resource model is chosen module 720 and can be matched from computing resource Computing resource cluster corresponding with the first business demand model that the grade of service of pending business matches is chosen in table to refer to To.
Preferably, resource cluster may include storage resource cluster, and business demand model includes according to the grade of service and making With the second business demand model of scene partitioning, resource matched table includes storage resource matching list, and storage resource matching list includes The second different business demand models and its corresponding storage resource cluster are directed toward.Resource model chooses module 720 can be from depositing Store up the second business demand model chosen in resource matched table and matched with the grade of service of pending business and usage scenario Corresponding storage resource cluster is directed toward.
Preferably, resource cluster includes VLAN resource cluster, and business demand model includes being divided according to business safety grade Third business demand model, resource matched table includes the resource matched table of VLAN, and the resource matched table of VLAN includes different third Business demand model and its corresponding VLAN resource cluster are directed toward.The step of selection resource model, includes: from resource matched table It is chosen from the resource matched table of VLAN corresponding with the third business demand model that the security level of pending business matches VLAN resource cluster is directed toward;Resource model, which chooses module 720, can be directed toward meaning by VLAN resource cluster from VLAN resource cluster To VLAN resource in choose IP of the IP as virtual machine in remaining unallocated IP.
As shown in fig. 7, creating device 700 can also optionally include carry module 750 shown in dotted line frame in figure.Carry Module 750 can create the mount directory of virtual machine based on the storage resource of selection.
As shown in fig. 7, creating device 700, which can also optionally include system template shown in dotted line frame in figure, chooses module 760 and system creation module 770.
System template chooses module 760 can choose the system requirements phase with pending business from operating system template library Matched operating system template.System creation module 770 can create the operation of virtual machine based on the operating system template of selection System.
As shown in fig. 7, creating device 700 can also optionally include account creation module 780 shown in dotted line frame in figure With account synchronization module 790.
Account creation module 780 can be used for creating the user account of virtual machine, and account synchronization module 790 can be by user Account is synchronous with account management platform progress account, so that user passes through the operation system that account management platform directly logs in virtual machine System.
In addition, the creation method in conjunction with the virtual machine of Fig. 1 to Fig. 6 embodiment of the present invention stated can be by calculating equipment Lai real It is existing.Fig. 8 shows the hardware structural diagram provided in an embodiment of the present invention for calculating equipment.
Calculating equipment may include processor 401 and the memory 402 for being stored with computer program instructions.
Specifically, above-mentioned processor 401 may include central processing unit (CPU) or specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement implementation of the present invention One or more integrated circuits of example.
Memory 402 may include the mass storage for data or instruction.For example it rather than limits, memory 402 may include hard disk drive (Hard Disk Drive, HDD), floppy disk drive, flash memory, CD, magneto-optic disk, tape or logical With the combination of universal serial bus (Universal Serial Bus, USB) driver or two or more the above.It is closing In the case where suitable, memory 402 may include the medium of removable or non-removable (or fixed).In a suitable case, it stores Device 402 can be inside or outside data processing equipment.In a particular embodiment, memory 402 is nonvolatile solid state storage Device.In a particular embodiment, memory 402 includes read-only memory (ROM).In a suitable case, which can be mask ROM, programming ROM (PROM), erasable PROM (EPROM), the electric erasable PROM (EEPROM), electrically-alterable ROM of programming (EAROM) or the combination of flash memory or two or more the above.
Processor 401 is by reading and executing the computer program instructions stored in memory 402, to realize above-mentioned implementation The creation method of any one virtual machine in example.
In one example, calculating equipment may also include communication interface 403 and bus 410.Wherein, as shown in figure 8, processing Device 401, memory 402, communication interface 403 connect by bus 410 and complete mutual communication.
Communication interface 403 is mainly used for realizing in the embodiment of the present invention between each module, device, unit and/or equipment Communication.
Bus 410 includes hardware, software or both, and the component of XXX equipment is coupled to each other together.For example rather than Limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhance industry pattern framework (EISA) bus, is preceding Hold bus (FSB), super transmission (HT) interconnection, the interconnection of industry pattern framework (ISA) bus, infinite bandwidth, low pin count (LPC) total Line, memory bus, micro- channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) are total Line, Serial Advanced Technology Attachment (SATA) bus, video electronic model association part (VLB) bus or other suitable buses or The combination of two or more the above of person.In a suitable case, bus 410 may include one or more buses.Although Specific bus has been described and illustrated in the embodiment of the present invention, but the present invention considers any suitable bus or interconnection.
In addition, the embodiment of the present invention can provide a kind of computer in conjunction with the creation method of the virtual machine in above-described embodiment Readable storage medium storing program for executing is realized.Computer program instructions are stored on the computer readable storage medium;The computer program refers to Enable the creation method that any one virtual machine in above-described embodiment is realized when being executed by processor.
It should be clear that the invention is not limited to specific configuration described above and shown in figure and processing. For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated The step of body, is as example.But method process of the invention is not limited to described and illustrated specific steps, this field Technical staff can be variously modified, modification and addition after understanding spirit of the invention, or suitable between changing the step Sequence.
Functional block shown in structures described above block diagram can be implemented as hardware, software, firmware or their group It closes.When realizing in hardware, it may, for example, be electronic circuit, specific integrated circuit (ASIC), firmware appropriate, insert Part, function card etc..When being realized with software mode, element of the invention is used to execute program or the generation of required task Code section.Perhaps code segment can store in machine readable media program or the data-signal by carrying in carrier wave is passing Defeated medium or communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information. The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline The computer network of net etc. is downloaded.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or device State certain methods or system.But the present invention is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above description is merely a specific embodiment, it is apparent to those skilled in the art that, For convenience of description and succinctly, the system, module of foregoing description and the specific work process of unit can refer to preceding method Corresponding process in embodiment, details are not described herein.It should be understood that scope of protection of the present invention is not limited thereto, it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions, These modifications or substitutions should be covered by the protection scope of the present invention.

Claims (14)

1. a kind of creation method of virtual machine, which is characterized in that the described method includes:
Based on scheduled matching rule establishing resource matching list, the resource matched table includes different business model and its correspondence Resource model;
Resource model corresponding to the business model to match with pending business is chosen from the resource matched table;
The resource to match with the resource model chosen is chosen from resource cluster;And
Asset creation based on selection is used to execute the virtual machine of the pending business.
2. creation method according to claim 1, which is characterized in that
It is described to be based on scheduled matching rule establishing resource matching list, the resource matched table include different business model and its Corresponding resource model, specifically are as follows: be based on business demand and resource cluster, establishing resource matching list, wherein the resource Matching list includes that different business demand models and its corresponding resource cluster are directed toward;
It is described that resource model corresponding to the business model to match with pending business, tool are chosen from the resource matched table Body are as follows: the business demand model to match with the business demand of the pending business is chosen from the resource matched table Corresponding resource cluster is directed toward;
It is described that the resource to match with the resource model chosen is chosen from resource cluster, specifically are as follows: from the resource cluster It is middle to choose the pointed resource of the resource cluster direction.
3. creation method according to claim 2, which is characterized in that the resource cluster includes computing resource cluster, institute Stating business demand model includes the first business demand model divided according to the grade of service;
The resource matched table includes computing resource matching list, and the computing resource matching list includes the first different business demand Model and its corresponding computing resource cluster are directed toward.
4. creation method according to claim 3, which is characterized in that
It is described that resource model corresponding to the business model to match with pending business is chosen from the resource matched table also It include: the first business demand chosen from the computing resource matching list and matched with the grade of service of the pending business The corresponding computing resource cluster of model is directed toward.
5. creation method according to claim 2, which is characterized in that the resource cluster includes storage resource cluster, institute Stating business demand model includes the second business demand model divided according to the grade of service and usage scenario,
The resource matched table includes storage resource matching list, and the storage resource matching list includes the second different business demand Model and its corresponding storage resource cluster are directed toward.
6. creation method according to claim 5, which is characterized in that
It is described that resource model corresponding to the business model to match with pending business is chosen from the resource matched table also It include: for choosing from the storage resource matching list and matching with the grade of service of the pending business and usage scenario The corresponding storage resource cluster of two business demand models is directed toward.
7. creation method according to claim 5, which is characterized in that the method also includes:
Storage resource based on selection creates the mount directory of the virtual machine.
8. creation method according to claim 2, which is characterized in that the resource cluster includes VLAN resource cluster, institute Stating business demand model includes the third business demand model divided according to business safety grade,
The resource matched table includes the resource matched table of VLAN, and the resource matched table of VLAN includes different third business demand Model and its corresponding VLAN resource cluster are directed toward.
9. creation method according to claim 8, which is characterized in that
It is described from resource matched table choose resource model the step of include: from the resource matched table of the VLAN choose with it is described The corresponding VLAN resource cluster of the third business demand model that the security level of pending business matches is directed toward;
Described the step of resource is chosen from resource cluster includes: that the VLAN resource cluster described in the VLAN resource cluster refers to IP of the IP as the virtual machine is chosen in remaining unallocated IP into pointed VLAN resource.
10. creation method according to claim 1, which is characterized in that the method also includes:
The operating system template to match with the system requirements of the pending business is chosen from operating system template library;
Operating system template based on selection, creates the operating system of the virtual machine.
11. creation method according to claim 10, which is characterized in that the method also includes:
Create the user account of the virtual machine;And
The user account is synchronous with account management platform progress account, so that user is direct by the account management platform Log in the operating system of virtual machine.
12. a kind of creating device of virtual machine, which is characterized in that described device includes:
Resource matched table creation module, for being based on scheduled matching rule establishing resource matching list, the resource matched table packet Include different business models and its corresponding resource model;
Resource model chooses module, for the business demand according to pending business, selection and institute from the resource matched table State resource model corresponding to the business model that business demand matches;
Resource chooses module, for choosing the resource to match with the resource model chosen from resource cluster;And
Virtual machine creating module is used to execute the virtual machine of the pending business for the asset creation based on selection.
13. a kind of calculating equipment characterized by comprising at least one processor, at least one processor and be stored in institute The computer program instructions in memory are stated, are realized when the computer program instructions are executed by the processor as right is wanted Seek the described in any item methods of 1-11.
14. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that when the calculating Such as method of any of claims 1-11 is realized when machine program instruction is executed by processor.
CN201711465405.2A 2017-12-28 2017-12-28 Creation method, device, equipment and the medium of virtual machine Pending CN109976870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711465405.2A CN109976870A (en) 2017-12-28 2017-12-28 Creation method, device, equipment and the medium of virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711465405.2A CN109976870A (en) 2017-12-28 2017-12-28 Creation method, device, equipment and the medium of virtual machine

Publications (1)

Publication Number Publication Date
CN109976870A true CN109976870A (en) 2019-07-05

Family

ID=67075270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711465405.2A Pending CN109976870A (en) 2017-12-28 2017-12-28 Creation method, device, equipment and the medium of virtual machine

Country Status (1)

Country Link
CN (1) CN109976870A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442412A (en) * 2019-07-30 2019-11-12 广州禹龙信息科技有限公司 Computer terminal device, desktop virtualization method and apparatus based on cloud computing
CN112468458A (en) * 2020-11-12 2021-03-09 鹏城实验室 Scheduling method based on neutron layering mechanism
WO2023061257A1 (en) * 2021-10-15 2023-04-20 阿里云计算有限公司 Database service processing method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008118464A1 (en) * 2007-03-26 2008-10-02 Credit Suisse Securities (Usa) Llc Method and system for managing virtual and real machines
CN102567072A (en) * 2010-12-20 2012-07-11 中国移动通信集团公司 Resource allocation method, resource allocation device and resource allocation system
CN105808323A (en) * 2016-04-05 2016-07-27 浪潮电子信息产业股份有限公司 Virtual machine creation method and system
CN105824991A (en) * 2016-03-10 2016-08-03 金航数码科技有限责任公司 Aerospace application collaborative design oriented cloud platform and resource allocation method
CN105847257A (en) * 2016-03-25 2016-08-10 麦克·麦扎里克 Clustered computer network system and method for resource distribution and configuration
CN107070685A (en) * 2016-12-21 2017-08-18 中电科华云信息技术有限公司 Implementation method based on cloud platform service moulding plate

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008118464A1 (en) * 2007-03-26 2008-10-02 Credit Suisse Securities (Usa) Llc Method and system for managing virtual and real machines
CN102567072A (en) * 2010-12-20 2012-07-11 中国移动通信集团公司 Resource allocation method, resource allocation device and resource allocation system
CN105824991A (en) * 2016-03-10 2016-08-03 金航数码科技有限责任公司 Aerospace application collaborative design oriented cloud platform and resource allocation method
CN105847257A (en) * 2016-03-25 2016-08-10 麦克·麦扎里克 Clustered computer network system and method for resource distribution and configuration
CN105808323A (en) * 2016-04-05 2016-07-27 浪潮电子信息产业股份有限公司 Virtual machine creation method and system
CN107070685A (en) * 2016-12-21 2017-08-18 中电科华云信息技术有限公司 Implementation method based on cloud platform service moulding plate

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442412A (en) * 2019-07-30 2019-11-12 广州禹龙信息科技有限公司 Computer terminal device, desktop virtualization method and apparatus based on cloud computing
CN112468458A (en) * 2020-11-12 2021-03-09 鹏城实验室 Scheduling method based on neutron layering mechanism
WO2023061257A1 (en) * 2021-10-15 2023-04-20 阿里云计算有限公司 Database service processing method and apparatus

Similar Documents

Publication Publication Date Title
US11960915B2 (en) Method and apparatus for creating virtual machine based on parameter information of a virtual network interface card
US10505796B2 (en) Network function virtualization
US9354851B2 (en) Deploying an application in a cloud computing environment
US8667139B2 (en) Multidimensional modeling of software offerings
US8918439B2 (en) Data lifecycle management within a cloud computing environment
CN112181602A (en) Resource arranging method and device, electronic equipment and storage medium
US8924561B2 (en) Dynamically resizing a networked computing environment to process a workload
US10620928B2 (en) Global cloud applications management
US9395918B2 (en) Dynamic record management including opening a virtual storage access method (VSAM) data set and modifying a VSAM control block structure
US20120222037A1 (en) Dynamic reprovisioning of resources to software offerings
CN110716975B (en) Data interface generation method and data interface sharing platform
CN108037977B (en) Virtual computer resource management method, device, computer medium, and system
CN106873970B (en) Installation method and device of operating system
CN109976870A (en) Creation method, device, equipment and the medium of virtual machine
US11693686B2 (en) Enhanced management of storage repository availability in a virtual environment
CN110008665A (en) A kind of authority control method and device of block chain
CN104601680A (en) Resource management method and device
CN105302536A (en) Configuration method and apparatus for related parameters of MapReduce application
US20200379818A1 (en) Managed computing resource placement as a service for dedicated hosts
CN108304044A (en) A kind of setting method and system of NVME hard disk hot-plugs
CN114650223B (en) Network configuration method and device of Kubernetes cluster and electronic equipment
CN112527450B (en) Super-fusion self-adaptive method, terminal and system based on different resources
US20170214588A1 (en) Enterprise cloud garbage collector
CN111782363A (en) Method and flow system for supporting multi-service scene calling
CN115150268A (en) Network configuration method and device of Kubernetes cluster and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190705

RJ01 Rejection of invention patent application after publication