CN109165083A - A kind of virtual machine configuration method and apparatus - Google Patents

A kind of virtual machine configuration method and apparatus Download PDF

Info

Publication number
CN109165083A
CN109165083A CN201811074745.7A CN201811074745A CN109165083A CN 109165083 A CN109165083 A CN 109165083A CN 201811074745 A CN201811074745 A CN 201811074745A CN 109165083 A CN109165083 A CN 109165083A
Authority
CN
China
Prior art keywords
virtual machine
configuration
hardware configuration
hardware
list
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
CN201811074745.7A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811074745.7A priority Critical patent/CN109165083A/en
Publication of CN109165083A publication Critical patent/CN109165083A/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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

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 Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of virtual machine configuration method and apparatus.It is related to virtual machine technique, solves the problems, such as that default configuration limits operating system performance.This method comprises: obtaining the configuration parameter of new creation virtual machine;Hardware configuration is selected from preset hardware configuration list according to the configuration parameter.Technical solution provided by the invention is suitable for Virtual Machine Manager, realizes and ensures that the virtual machine hardware of performance automatically configures.

Description

A kind of virtual machine configuration method and apparatus
Technical field
The present invention relates to virtual machine technique, espespecially a kind of virtual machine configuration method and apparatus.
Background technique
In cloud computing environment, a data center usually different types of virtual machine good at managing, cloud computing manages platform The function of management virtual machine configuration is provided.Existing cloud computing platform, which is usually defaulted, provides a kind of virtual machine configuration, for example, default Virtual machine configuration is " 1GHz1GB ", i.e. CPU of the virtual machine comprising a 1GHz, the memory size of a GB.And different operation The suitable configurations that system needs are different, for example, the recommended configuration of Windows Server 2008 is " 2GHz2GB ", default Configuration be not Windows Server 2008 recommend configuration.For user when creating virtual machine, the configuration of default is often not It is the recommended configuration of installed operating system, causes installed operating system that cannot play optimal performance.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of virtual machine configuration method and apparatus.It is preset it is a variety of with The hardware configuration that different virtual machine configuration parameters matches solves the problems, such as that default configuration limits operating system performance, real Show and has ensured automatically configuring for performance.
In order to reach the object of the invention, the present invention provides a kind of virtual machine configuration methods, comprising:
Obtain the configuration parameter of new creation virtual machine;
Hardware configuration is selected from preset hardware configuration list according to the configuration parameter.
Preferably, the step of configuration parameter of the new creation virtual machine of acquisition includes:
Obtain the operation system information of newly created virtual machine.
Preferably, this method further include:
Safeguard hardware configuration list, the matching hardware in the hardware configuration list comprising a variety of different operating systems is matched It sets.
Preferably, it is also configured comprising default hardware in the hardware configuration list.
Preferably, selected from preset hardware configuration list according to the configuration parameter include: the step of hardware configuration
According to the operation system information of the virtual machine, matched hardware configuration is selected from the hardware configuration list.
Preferably, it is selected also to wrap the step of hardware configuration from preset hardware configuration list according to the configuration parameter It includes:
When hardware configuration matched with the operating system of the virtual machine being not present in the hardware configuration list, for institute Virtual machine is stated to configure using the default hardware.
The present invention also provides a kind of virtual machine configuration devices, comprising:
Parameter acquisition module, for obtaining the configuration parameter of new creation virtual machine;
Hardware configuration selecting module, for selecting hardware to match from preset hardware configuration list according to the configuration parameter It sets.
Preferably, the parameter acquisition module, specifically for obtaining the operation system information of newly created virtual machine.
Preferably, the device further include:
Configuring maintenance module includes a variety of different behaviour for safeguarding hardware configuration list in the hardware configuration list Make the matching hardware configuration of system.
Preferably, it is also configured comprising default hardware in the hardware configuration list, the hardware configuration selecting module, specifically For the operation system information according to the virtual machine, matched hardware configuration is selected from the hardware configuration list, and There is no when hardware configuration matched with the operating system of the virtual machine in the hardware configuration list, make for the virtual machine It is configured with the default hardware.
The present invention provides a kind of virtual machine configuration method and apparatus, obtain the configuration parameter of new creation virtual machine, according to The configuration parameter selects hardware configuration from preset hardware configuration list.Solves default configuration limitation operating system performance The problem of, it realizes and ensures automatically configuring for performance.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is a kind of flow diagram for virtual machine configuration method that one embodiment of the invention provides;
Fig. 2 is the flow diagram for another virtual machine configuration method that one embodiment of the invention provides;
Fig. 3 is a kind of structural schematic diagram for virtual machine configuration device that one embodiment of the invention provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
For user when creating virtual machine, the configuration of default is frequently not the recommended configuration of installed operating system, is caused The operating system installed cannot play optimal performance.
To solve the above-mentioned problems, the embodiment provides a kind of virtual machine configuration method and apparatus, Yong Hu It is suitable that cloud computing can be recommended automatically for the virtual machine when managing platform creation virtual machine according to the operating system that user selects Configuration improves creation and installed operating system is suitble to match to meet the hardware configuration for needing operating system to be mounted to be recommended The friendly set.With reference to the accompanying drawing, the embodiment of the present invention is specifically described.
One embodiment of the invention provides a kind of virtual machine configuration method, is matched using this method completion to virtual machine hardware The process set is as shown in Figure 1, comprising:
Step 101, maintenance hardware configuration list.
In the embodiment of the present invention, the matching hardware in the hardware configuration list comprising a variety of different operating systems is matched It sets.
It is also configured comprising default hardware in the hardware configuration list.
Step 102, the configuration parameter for obtaining new creation virtual machine.
In this step, specifically, obtaining the operation system information of newly created virtual machine.
Step 103 selects hardware configuration from preset hardware configuration list according to the configuration parameter.
In this step, according to the operation system information of the virtual machine, selected from the hardware configuration list matched Hardware configuration.
Preferably, there is no the matched hardware configurations of operating system with the virtual machine in the hardware configuration list When, it is configured for the virtual machine using the default hardware.
One embodiment of the invention additionally provides a kind of virtual machine configuration method, and it is uncomfortable mainly to solve virtual machine default configuration The problem of closing the hardware configuration that respective operations system is recommended, and then causing installed operating system that cannot play maximum performance. Cloud computing management platform provides the hardware configuration list that the every kind of operating system supported is recommended;When user passes through cloud computing management When platform creates virtual machine, user is selected operation system information to be mounted;Cloud computing management platform is selected according to user Operation system information, selection is suitble to the configuration of the operating system from hardware configuration list;User has created virtual machine, completes empty Quasi- machine operating system installation, virtual machine configuration meet the hardware configuration of operating system recommendation.
Specific implementation process is as shown in Figure 2, comprising:
1) cloud computing management platform provides the hardware configuration list that the every kind of operating system supported is recommended, and includes in list Default configuration corresponding to a kind of unknown operating system includes the configuration such as CPU, memory in the list.
2) user creates virtual machine in cloud computing management platform, selects operating system to be mounted.
3) operation system information based on user's selection, cloud computing manage platform and are in the hardware configuration list described in 1) The virtual machine selects corresponding recommendation hardware configuration.If not finding suitable configurations, select unknown operating system corresponding silent Recognize configuration.
4) user opens virtual machine, completes operating system installation.
5) VME operating system is logged in, checks system hardware configuration, which meets the hardware of operating system recommendation Configuration.
One embodiment of the invention additionally provides a kind of virtual machine configuration device, and the structure of the device is as shown in figure 3, packet It includes:
Parameter acquisition module 301, for obtaining the configuration parameter of new creation virtual machine;
Hardware configuration selecting module 302, it is hard for being selected from preset hardware configuration list according to the configuration parameter Part configuration.
Preferably, the parameter acquisition module 301, specifically for obtaining the operation system information of newly created virtual machine.
Preferably, the device further include:
Configuring maintenance module 303 includes a variety of differences in the hardware configuration list for safeguarding hardware configuration list The matching hardware configuration of operating system.
Preferably, it is also configured comprising default hardware in the hardware configuration list, the hardware configuration selecting module 302, Specifically for the operation system information according to the virtual machine, matched hardware configuration is selected from the hardware configuration list, And there is no when hardware configuration matched with the operating system of the virtual machine, be described virtual in the hardware configuration list Machine is configured using the default hardware.
The embodiment provides a kind of virtual machine configuration method and apparatus, obtain the configuration ginseng of new creation virtual machine Number, selects hardware configuration from preset hardware configuration list according to the configuration parameter.Solves default configuration limitation operation The problem of system performance, realizes and ensures automatically configuring for performance.
Cloud computing management platform provides the hardware configuration list that the every kind of operating system supported is recommended, and user is empty in creation Operation system information to be mounted is selected when quasi- machine;The operation system information that cloud computing management platform is selected according to user, automatically Recommend the configuration for being suitble to the operating system;User has created virtual machine, completes VME operating system installation, register system Check system hardware configuration, which meets the hardware configuration of operating system recommendation.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain groups Part or all components may be implemented as by processor, such as the software that digital signal processor or microprocessor execute, or by It is embodied as hardware, or is implemented as integrated circuit, such as specific integrated circuit.Such software can be distributed in computer-readable On medium, computer-readable medium may include computer storage medium (or non-transitory medium) and communication media (or temporarily Property medium).As known to a person of ordinary skill in the art, term computer storage medium is included in for storing information (such as Computer readable instructions, data structure, program module or other data) any method or technique in the volatibility implemented and non- Volatibility, removable and nonremovable medium.Computer storage medium include but is not limited to RAM, ROM, EEPROM, flash memory or its His memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic holder, tape, disk storage or other Magnetic memory apparatus or any other medium that can be used for storing desired information and can be accessed by a computer.This Outside, known to a person of ordinary skill in the art to be, communication media generally comprises computer readable instructions, data structure, program mould Other data in the modulated data signal of block or such as carrier wave or other transmission mechanisms etc, and may include any information Delivery media.

Claims (10)

1. a kind of virtual machine configuration method characterized by comprising
Obtain the configuration parameter of new creation virtual machine;
Hardware configuration is selected from preset hardware configuration list according to the configuration parameter.
2. virtual machine configuration method according to claim 1, which is characterized in that obtain the configuration parameter of new creation virtual machine The step of include:
Obtain the operation system information of newly created virtual machine.
3. virtual machine configuration method according to claim 1, which is characterized in that this method further include:
It safeguards hardware configuration list, includes the matching hardware configuration of a variety of different operating systems in the hardware configuration list.
4. virtual machine configuration method according to claim 3, which is characterized in that also comprising silent in the hardware configuration list Recognize hardware configuration.
5. virtual machine configuration method according to claim 3 or 4, which is characterized in that according to the configuration parameter from preset Hardware configuration list in select hardware configuration the step of include:
According to the operation system information of the virtual machine, matched hardware configuration is selected from the hardware configuration list.
6. virtual machine configuration method according to claim 5, which is characterized in that according to the configuration parameter from preset hard The step of hardware configuration is selected in part configured list further include:
It is the void when hardware configuration matched with the operating system of the virtual machine being not present in the hardware configuration list Quasi- machine is configured using the default hardware.
7. a kind of virtual machine configuration device characterized by comprising
Parameter acquisition module, for obtaining the configuration parameter of new creation virtual machine;
Hardware configuration selecting module, for selecting hardware configuration from preset hardware configuration list according to the configuration parameter.
8. virtual machine configuration device according to claim 7, which is characterized in that the parameter acquisition module is specifically used for Obtain the operation system information of newly created virtual machine.
9. virtual machine configuration device according to claim 7, which is characterized in that the device further include:
Configuring maintenance module includes a variety of different operation systems in the hardware configuration list for safeguarding hardware configuration list The matching hardware configuration of system.
10. virtual machine configuration method according to claim 9, which is characterized in that also include in the hardware configuration list Default hardware configuration, the hardware configuration selecting module, specifically for the operation system information according to the virtual machine, from described Matched hardware configuration is selected in hardware configuration list, and there is no the behaviour with the virtual machine in the hardware configuration list When making the hardware configuration of system matches, configured for the virtual machine using the default hardware.
CN201811074745.7A 2018-09-14 2018-09-14 A kind of virtual machine configuration method and apparatus Pending CN109165083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811074745.7A CN109165083A (en) 2018-09-14 2018-09-14 A kind of virtual machine configuration method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811074745.7A CN109165083A (en) 2018-09-14 2018-09-14 A kind of virtual machine configuration method and apparatus

Publications (1)

Publication Number Publication Date
CN109165083A true CN109165083A (en) 2019-01-08

Family

ID=64879543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811074745.7A Pending CN109165083A (en) 2018-09-14 2018-09-14 A kind of virtual machine configuration method and apparatus

Country Status (1)

Country Link
CN (1) CN109165083A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109901912A (en) * 2019-03-01 2019-06-18 厦门容能科技有限公司 A method of recommending the configuration of cloud host

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090282404A1 (en) * 2002-04-05 2009-11-12 Vmware, Inc. Provisioning of Computer Systems Using Virtual Machines
CN102629211A (en) * 2012-03-28 2012-08-08 山东超越数控电子有限公司 Hardware resource configurable virtual machine starting method
CN103473136A (en) * 2013-09-02 2013-12-25 华为技术有限公司 Resource allocation method of virtual machines, and communication equipment
CN103744714A (en) * 2011-12-31 2014-04-23 华茂云天科技(北京)有限公司 Virtual machine management platform based on cloud computing
US20140380009A1 (en) * 2013-06-24 2014-12-25 Michael LeMay Protected memory view for nested page table access by virtual machine guests
US20170024235A1 (en) * 2015-07-24 2017-01-26 International Business Machines Corporation Reducing redundant validations for live operating system migration
CN107861820A (en) * 2017-12-08 2018-03-30 郑州云海信息技术有限公司 A kind of resources of virtual machine distribution method and system
CN108021441A (en) * 2016-11-03 2018-05-11 中国移动通信集团广东有限公司 A kind of resources of virtual machine collocation method and device based on cloud computing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090282404A1 (en) * 2002-04-05 2009-11-12 Vmware, Inc. Provisioning of Computer Systems Using Virtual Machines
CN103744714A (en) * 2011-12-31 2014-04-23 华茂云天科技(北京)有限公司 Virtual machine management platform based on cloud computing
CN102629211A (en) * 2012-03-28 2012-08-08 山东超越数控电子有限公司 Hardware resource configurable virtual machine starting method
US20140380009A1 (en) * 2013-06-24 2014-12-25 Michael LeMay Protected memory view for nested page table access by virtual machine guests
CN103473136A (en) * 2013-09-02 2013-12-25 华为技术有限公司 Resource allocation method of virtual machines, and communication equipment
US20170024235A1 (en) * 2015-07-24 2017-01-26 International Business Machines Corporation Reducing redundant validations for live operating system migration
CN108021441A (en) * 2016-11-03 2018-05-11 中国移动通信集团广东有限公司 A kind of resources of virtual machine collocation method and device based on cloud computing
CN107861820A (en) * 2017-12-08 2018-03-30 郑州云海信息技术有限公司 A kind of resources of virtual machine distribution method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109901912A (en) * 2019-03-01 2019-06-18 厦门容能科技有限公司 A method of recommending the configuration of cloud host

Similar Documents

Publication Publication Date Title
US20230089995A1 (en) Methods and apparatus to manage monitoring agents
CN108536519B (en) Method for automatically building Kubernetes main node and terminal equipment
US10505796B2 (en) Network function virtualization
US9762439B2 (en) Configuration command template creation assistant using cross-model analysis to identify common syntax and semantics
EP3564808B1 (en) Data configuration method and data configuration apparatus
CN109428943A (en) To method, system on chip and the public cloud management assembly of request processing
US9893959B1 (en) Resource modeling language to specify and control the placement of resources in a cloud environment
US20190319955A1 (en) Dashboard as remote computing services
US10776097B2 (en) Hierarchical spanning tree software patching with fragmentation support
CN109964507A (en) Management method, administrative unit and the system of network function
CN107211003A (en) Distributed memory system and the method for managing metadata
US10841340B2 (en) Custom node and profile classifications for enterprise security management tool
CN108737499A (en) server configuration method and device
US9716625B2 (en) Identifying compatible system configurations
CN109165083A (en) A kind of virtual machine configuration method and apparatus
US9389991B1 (en) Methods, systems, and computer readable mediums for generating instruction data to update components in a converged infrastructure system
CN109976870A (en) Creation method, device, equipment and the medium of virtual machine
US10325096B1 (en) Modifying a portion of a read-only file system
CN109002308A (en) A kind of method and device of BMC upgrading
CN107533436B (en) Hardware management
CN111488232B (en) Out-of-box solution level configuration and diagnostic logging and reporting systems and methods
US10884621B2 (en) Block volume mount synchronization to prevent data corruption
CN108153564A (en) Methods for interface management, equipment and system
CN109324871A (en) A kind of virtual machine hardware configuration method and system
CN108874551A (en) A kind of distributed type lock management method and device

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

Application publication date: 20190108