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.
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.