[go: up one dir, main page]

CN109101317A - A kind of virtual platform configuration initial method and device - Google Patents

A kind of virtual platform configuration initial method and device Download PDF

Info

Publication number
CN109101317A
CN109101317A CN201810802677.5A CN201810802677A CN109101317A CN 109101317 A CN109101317 A CN 109101317A CN 201810802677 A CN201810802677 A CN 201810802677A CN 109101317 A CN109101317 A CN 109101317A
Authority
CN
China
Prior art keywords
initialization
configuration
virtual machine
virtualization platform
data
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
CN201810802677.5A
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 CN201810802677.5A priority Critical patent/CN109101317A/en
Publication of CN109101317A publication Critical patent/CN109101317A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/45595Network integration; Enabling network access in 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)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种虚拟化平台配置初始化方法和装置。涉及虚拟化计算资源技术,解决了配置参数自前台向底层下发过程异常导致初始化失败的问题。该方法包括:至少一台虚拟机在底层完成初始化;将所述至少一台虚拟机的初始化配置数据同步至前端数据库。本发明提供的技术方案适用于虚拟化平台管理,实现了可靠的初始化配置。

The invention discloses a virtualization platform configuration initialization method and device. It involves virtualized computing resource technology, which solves the problem of initialization failure caused by abnormality in the process of sending configuration parameters from the foreground to the bottom layer. The method includes: completing initialization of at least one virtual machine at the bottom layer; and synchronizing the initialization configuration data of the at least one virtual machine to a front-end database. The technical solution provided by the invention is suitable for virtualization platform management and realizes reliable initial configuration.

Description

A kind of virtual platform configuration initial method and device
Technical field
The present invention relates to virtualization computing resource technology, espespecially a kind of virtual platform configuration initial method and device.
Background technique
Virtual platform now needs the support of network configuration, traditional way be from interface configurations parameter toward bottom issue into The initialization of row network configuration, must assure that the process can successfully complete just in this way can be carried out next operation, and should The research and development of process are also required to expend a large amount of research and development cost.In practical application, task is initiated from interface and is configured to bottom, it is not only fast Degree is slow, usually causes initialization to fail because the process appearance for issuing configuration parameter is abnormal, influences system normal operation.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of virtual platform configuration initial method and devices. The direct configuration parameter of bottom and according to parameter complete initialize, then by parameter synchronization to front end data library for subsequent use.Solution Configuration parameter of having determined issues the problem of process exception leads to initialization failure from foreground to bottom, realizes reliable initialization and matches It sets.
In order to reach the object of the invention, the present invention provides a kind of virtual platforms to configure initial method, comprising:
An at least virtual machine is completed to initialize in bottom;
The initial configuration data of at least one virtual machine are synchronized to front end data library.
Preferably, an at least virtual machine includes: the step of bottom completes initialization
According to preset bottom configuration parameter, the initialization of at least one virtual machine is completed.
Preferably, an at least virtual machine is before bottom completes the step of initializing, further includes:
The bottom configuration parameter is configured in bottom.
Preferably, before the step of initial configuration data for stating at least one virtual machine being synchronized to front end data library, Further include:
Initial configuration scan instruction is received, according to the initial configuration scan instruction, obtains initial configuration data.
Preferably, after the step of initial configuration data for stating at least one virtual machine being synchronized to front end data library, Further include:
Export the initial configuration data.
The present invention also provides a kind of virtual platforms to configure apparatus for initializing, comprising:
Bottom initialization module is completed to initialize for controlling an at least virtual machine in bottom;
Data simultaneous module, for the initial configuration data for stating at least one virtual machine to be synchronized to front end data library.
Preferably, the bottom initialization module, specifically for according to preset bottom configuration parameter, completion is described at least The initialization of one virtual machine.
Preferably, the device further include:
Parameter configuration module, for configuring the bottom configuration parameter in bottom.
Preferably, the device further include:
Communication module, according to the initial configuration scan instruction, obtains just for receiving initial configuration scan instruction Beginningization configuration data.
Preferably, the device further include:
Output module, for exporting the initial configuration data.
The present invention provides a kind of virtual platform configuration initial method and device, at least a virtual machine are complete in bottom At initialization, the initial configuration data of at least one virtual machine are then synchronized to front end data library.It is direct in bottom Configuration parameter simultaneously according to parameter complete initialize, then by parameter synchronization to front end data library for subsequent use.Solves configuration ginseng Number issues the problem of process exception leads to initialization failure from foreground to bottom, realizes reliable initial configuration.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow diagram that a kind of virtual platform that one embodiment of the invention provides configures initial method;
Fig. 2 is the flow diagram that a kind of virtual platform that one embodiment of the invention provides configures apparatus for initializing.
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.
Virtual platform now needs the support of network configuration, traditional way be from interface configurations parameter toward bottom issue into The initialization of row network configuration, must assure that the process can successfully complete just in this way can be carried out next operation, and should The research and development of process are also required to expend a large amount of research and development cost.In practical application, task is initiated from interface and is configured to bottom, it is not only fast Degree is slow, usually causes initialization to fail because the process appearance for issuing configuration parameter is abnormal, influences system normal operation.
To solve the above-mentioned problems, the embodiment provides a kind of virtual platform configuration initial method and dresses It sets.
One embodiment of the invention provides a kind of virtual platform configuration initial method, is completed using this method virtual The process of machine bottom configuration is as shown in Figure 1, comprising:
Step 101 configures bottom configuration parameter in bottom.
In the embodiment of the present invention, abandoning tradition sends out task to the configuration mode of bottom from interface, is changed to by bottom forward End synchronization is concisely and efficiently configuration initialization mode.
In this step, in the good known environmental parameter of bottom elder generation batch configuration and Run Script.
Step 102, at least a virtual machine are completed to initialize in bottom.
In this step, the initialization that the All hosts in virtualized environment are configured in bottom using script batch is matched Set required environmental resource.According to preset bottom configuration parameter, the initialization of at least one virtual machine is completed.
Step 103 receives initial configuration scan instruction, according to the initial configuration scan instruction, obtains initialization Configuration data.
Specifically, the initial configuration scan instruction can be issued by operating user interface.For example, being clicked on interface Network configuration button is initialized, will be saved in the initial configuration scanning of the host in environment to be synchronized in database, on boundary It is shown on face.
The initial configuration data of at least one virtual machine are synchronized to front end data library by step 104.
Step 105, the output initial configuration data.
In this step, specifically, the parameters for including in the initial configuration data can be shown on interface, facilitate use Family is checked.Preferably, it is possible to use the initial configuration data support the subsequent operation of user.
One embodiment of the invention additionally provides a kind of virtual platform configuration apparatus for initializing, and the structure of the device is as schemed Shown in 2, comprising:
Bottom initialization module 201 is completed to initialize for controlling an at least virtual machine in bottom;
Data simultaneous module 202, for the initial configuration data for stating at least one virtual machine to be synchronized to front end data Library.
Preferably, the bottom initialization module 201, specifically for according to preset bottom configuration parameter, described in completion The initialization of at least one virtual machine.
Preferably, the device further include:
Parameter configuration module 203, for configuring the bottom configuration parameter in bottom.
Preferably, the device further include:
Communication module 204, according to the initial configuration scan instruction, is obtained for receiving initial configuration scan instruction Take initial configuration data.
Preferably, the device further include:
Output module 205, for exporting the initial configuration data.
The embodiment provides a kind of virtual platform configuration initial method and device, at least a virtual machines It completes to initialize in bottom, the initial configuration data of at least one virtual machine is then synchronized to front end data library.? The direct configuration parameter of bottom simultaneously according to parameter complete initialize, then by parameter synchronization to front end data library for subsequent use.It solves Configuration parameter issues from foreground to bottom the problem of process exception leads to initialization failure, realizes reliable initialization and matches It sets.Since initialization context is known, so the slave interface configurations parameter of abandoning tradition sends a command to bottom and is configured Method be synchronized to front end data library in the good known environmental parameter of bottom elder generation batch configuration and be shown.In this way for user For, it is not required to be concerned about specific parameter configuration, only carries out simple initialization push-botton operation, just obtain desired initialization ring Then border carries out other operations again directly on interface.
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.一种虚拟化平台配置初始化方法,其特征在于,包括:1. A virtualization platform configuration initialization method, characterized in that, comprising: 至少一台虚拟机在底层完成初始化;At least one virtual machine is initialized at the bottom layer; 将所述至少一台虚拟机的初始化配置数据同步至前端数据库。Synchronizing the initialization configuration data of the at least one virtual machine to the front-end database. 2.根据权利要求1所述的虚拟化平台配置初始化方法,其特征在于,至少一台虚拟机在底层完成初始化的步骤包括:2. The virtualization platform configuration initialization method according to claim 1, wherein the step of completing initialization of at least one virtual machine at the bottom layer comprises: 根据预置的底层配置参数,完成所述至少一台虚拟机的初始化。According to the preset underlying configuration parameters, the initialization of the at least one virtual machine is completed. 3.根据权利要求2所述的虚拟化平台配置初始化方法,其特征在于,至少一台虚拟机在底层完成初始化的步骤之前,还包括:3. The virtualization platform configuration initialization method according to claim 2, wherein at least one virtual machine also includes: 在底层配置所述底层配置参数。The underlying configuration parameters are configured at the underlying layer. 4.根据权利要求1所述的虚拟化平台配置初始化方法,其特征在于,将述至少一台虚拟机的初始化配置数据同步至前端数据库的步骤之前,还包括:4. The virtualization platform configuration initialization method according to claim 1, wherein, before the step of synchronizing the initialization configuration data of at least one virtual machine to the front-end database, further comprising: 接收初始化配置扫描指令,根据所述初始化配置扫描指令,获取初始化配置数据。An initialization configuration scan instruction is received, and initialization configuration data is acquired according to the initialization configuration scan instruction. 5.根据权利要求1所述的虚拟化平台配置初始化方法,其特征在于,将述至少一台虚拟机的初始化配置数据同步至前端数据库的步骤之后,还包括:5. The virtualization platform configuration initialization method according to claim 1, characterized in that, after the step of synchronizing the initialization configuration data of at least one virtual machine to the front-end database, further comprising: 输出所述初始化配置数据。Output the initialization configuration data. 6.一种虚拟化平台配置初始化装置,其特征在于,包括:6. A virtualization platform configuration initialization device, characterized in that, comprising: 底层初始化模块,用于控制至少一台虚拟机在底层完成初始化;The underlying initialization module is used to control at least one virtual machine to complete initialization at the underlying layer; 数据同步模块,用于将述至少一台虚拟机的初始化配置数据同步至前端数据库。A data synchronization module, configured to synchronize the initialization configuration data of the at least one virtual machine to the front-end database. 7.根据权利要求6所述的虚拟化平台配置初始化装置,其特征在于,7. The virtualization platform configuration initialization device according to claim 6, characterized in that, 所述底层初始化模块,具体用于根据预置的底层配置参数,完成所述至少一台虚拟机的初始化。The underlying initialization module is specifically configured to complete the initialization of the at least one virtual machine according to preset underlying configuration parameters. 8.根据权利要求7所述的虚拟化平台配置初始化装置,其特征在于,该装置还包括:8. The virtualization platform configuration initialization device according to claim 7, characterized in that the device further comprises: 参数配置模块,用于在底层配置所述底层配置参数。The parameter configuration module is configured to configure the bottom layer configuration parameters at the bottom layer. 9.根据权利要求6所述的虚拟化平台配置初始化装置,其特征在于,该装置还包括:9. The virtualization platform configuration initialization device according to claim 6, characterized in that the device further comprises: 通信模块,用于接收初始化配置扫描指令,根据所述初始化配置扫描指令,获取初始化配置数据。The communication module is configured to receive an initialization configuration scanning instruction, and obtain initialization configuration data according to the initialization configuration scanning instruction. 10.根据权利要求6所述的虚拟化平台配置初始化装置,其特征在于,该装置还包括:10. The virtualization platform configuration initialization device according to claim 6, characterized in that the device further comprises: 输出模块,用于输出所述初始化配置数据。An output module, configured to output the initialization configuration data.
CN201810802677.5A 2018-07-20 2018-07-20 A kind of virtual platform configuration initial method and device Pending CN109101317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810802677.5A CN109101317A (en) 2018-07-20 2018-07-20 A kind of virtual platform configuration initial method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810802677.5A CN109101317A (en) 2018-07-20 2018-07-20 A kind of virtual platform configuration initial method and device

Publications (1)

Publication Number Publication Date
CN109101317A true CN109101317A (en) 2018-12-28

Family

ID=64846936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810802677.5A Pending CN109101317A (en) 2018-07-20 2018-07-20 A kind of virtual platform configuration initial method and device

Country Status (1)

Country Link
CN (1) CN109101317A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104981783A (en) * 2013-03-07 2015-10-14 思杰系统有限公司 Dynamic configuration in cloud computing environments
CN105138393A (en) * 2015-08-27 2015-12-09 浪潮电子信息产业股份有限公司 Method for realizing bottom platform virtualization
CN106250205A (en) * 2016-07-22 2016-12-21 浪潮(北京)电子信息产业有限公司 A kind of virtual machine method for customizing and system
US20170228249A1 (en) * 2015-04-23 2017-08-10 International Business Machines Corporation Machine learning for virtual machine migration plan generation
CN107229484A (en) * 2016-03-23 2017-10-03 中兴通讯股份有限公司 The method and device of automatically disposing application program under a kind of virtualized environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104981783A (en) * 2013-03-07 2015-10-14 思杰系统有限公司 Dynamic configuration in cloud computing environments
US20170228249A1 (en) * 2015-04-23 2017-08-10 International Business Machines Corporation Machine learning for virtual machine migration plan generation
CN105138393A (en) * 2015-08-27 2015-12-09 浪潮电子信息产业股份有限公司 Method for realizing bottom platform virtualization
CN107229484A (en) * 2016-03-23 2017-10-03 中兴通讯股份有限公司 The method and device of automatically disposing application program under a kind of virtualized environment
CN106250205A (en) * 2016-07-22 2016-12-21 浪潮(北京)电子信息产业有限公司 A kind of virtual machine method for customizing and system

Similar Documents

Publication Publication Date Title
CN104580475B (en) Long-range control method, terminal device, management server and tele-control system
US9934050B2 (en) System and method for network-based ISCSI boot parameter deployment
US20190095243A1 (en) Virtual Machine Migration Method and Apparatus, and Virtualization System
CN111198696B (en) A method and system for large-scale deployment of OpenStack based on bare metal servers
CN106980493B (en) Firmware management method and device
CN106201660A (en) Method for automatically upgrading virtual hardware and software of virtual machine
CN108052332A (en) A kind of method of batch installation node operating system
CN117453240A (en) RAID configuration method, device, equipment and medium of bare metal server
CN115499413B (en) Method and system for batch configuration of fixed IP addresses of virtual machines based on KVM
US10635560B2 (en) Techniques for accurately apprising a user of progress in booting a virtual appliance
CN106557354B (en) Method for setting attribute parameters of private image and computer equipment
US12175257B2 (en) Provisioning DPU management operating systems using host and DPU boot coordination
CN105389190A (en) Operating system starting method, apparatus and system
CN109062504A (en) Storage system dispositions method and device under a kind of virtual platform
US20190205156A1 (en) Container access method and apparatus
CN106598658A (en) A method of restoring Windows ghost files to a virtual machine
CN117931096B (en) Information providing method and device applied to servers of edge computing cluster
CN109101317A (en) A kind of virtual platform configuration initial method and device
CN109062670A (en) A kind of virtual machine migration method and device
CN108847975B (en) Communication method, device, computer equipment and medium based on NFV (network function virtualization) architecture
CN108920936A (en) A kind of method and apparatus that vmware certification is realized based on Purley platform
CN115589379A (en) Network card PXE function test method, system, electronic equipment and storage medium
CN114741137A (en) Software starting method, device, equipment and storage medium based on multi-core microcontroller
CN109144527A (en) The method and apparatus of operating system are installed in openstack platform
CN109189583A (en) A kind of distributed lock implementation 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: 20181228