CN105159750A - Virtual machine creation method and apparatus - Google Patents

Virtual machine creation method and apparatus Download PDF

Info

Publication number
CN105159750A
CN105159750A CN201510582046.3A CN201510582046A CN105159750A CN 105159750 A CN105159750 A CN 105159750A CN 201510582046 A CN201510582046 A CN 201510582046A CN 105159750 A CN105159750 A CN 105159750A
Authority
CN
China
Prior art keywords
virtual machine
password
login password
operating system
image file
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
CN201510582046.3A
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.)
Inspur Group Co Ltd
Original Assignee
Inspur Group 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 Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510582046.3A priority Critical patent/CN105159750A/en
Publication of CN105159750A publication Critical patent/CN105159750A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention provides a virtual machine creation method and apparatus. The method comprises: receiving an externally input current login password of a virtual machine operation system, and forming a password ISO file comprising the current login password; loading a mirror image file of the virtual machine operation system and the password ISO file into an optical drive device of at least one system-free virtual machine; reading the mirror image file in each optical drive device, and installing an operation system for each system-free virtual machine; judging whether the installation process of the operation system reaches a login password setting interface or not; if so, reading the password ISO file in each optical drive device, obtaining the current login password, and filling a corresponding input box in the login password setting interface corresponding to each system-free virtual machine with the current login password; and setting the current login password to be a login password of each system-free virtual machine, and continuously installing the operation system for each system-free virtual machine until the installation is completed. According to the scheme, the virtual machine creation efficiency can be improved.

Description

A kind of method of virtual machine creating and device
Technical field
The present invention relates to field of computer technology, particularly a kind of method of virtual machine creating and device.
Background technology
Along with cloud computing technology development, the advantage such as highly versatile, low price high based on its reliability, is widely used in multiple fields such as science, education, culture, health, government, high-performance calculation, ecommerce.Virtual machine is the basis of cloud computing technology, when user is networked by client, during the service of application cloud, data center beyond the clouds can distribute certain computational resource for user, be user and distribute a virtual machine, the instruction that user sends and operation all complete on this virtual machine, and this virtual machine operates on the cluster server of cloud provider.
Along with the continuous expansion of cloud scale, the quantity of cloud computing user constantly increases, and needs to create a large amount of virtual machines on the server, to meet the user demand of users.
At present, create virtual machine time, first for virtual machine distributes corresponding computational resource, then virtual machine image file is passed through, according to the installation procedure of virtual machine, progressively virtual machine is installed, when reaching the interface of input virtual machine login password, input corresponding login password by keeper or user, finally complete the establishment of virtual machine.
Be directed to the creation method of current this virtual machine, when creating each virtual machine, keeper or user is all needed to input virtual machine login password, like this, when needs create a large amount of virtual machine, need the plenty of time expending keeper or user to input the login password of virtual machine one by one, therefore, the efficiency of virtual machine creating is lower.
Summary of the invention
The invention provides a kind of method of virtual machine creating, the efficiency of virtual machine creating can be improved.
Embodiments provide a kind of method of virtual machine creating, comprising:
Receive the current login password of the VME operating system of outside input;
According to described current login password, form the password ISO file comprising described current login password;
The image file of VME operating system and described password ISO file is loaded at least one the CD-ROM equipment without system virtual machine;
Read without the described image file in system virtual machine CD-ROM equipment described in each, to described each without system virtual machine installing operating system;
Judge whether operating system installation process arrives the interface arranging login password;
If, read described in each without the described password ISO file in system virtual machine CD-ROM equipment, obtain described current login password, and described current login password is filled into described in each without system virtual machine corresponding to arrange on login password interface in corresponding input frame;
Described current login password is set to the login password without system virtual machine described in each, and continues other assemblies without system virtual machine described in each to be installed, until each operating system installation without system virtual machine described completes.
Preferably, the image file being loaded into VME operating system described at least one the CD-ROM equipment without system virtual machine and described taking a step forward of password ISO file comprise:
Set up the virtual machine of a designated virtual machine OS Type, according to the application of virtual machine, this virtual machine installs corresponding application program, and this virtual machine is exported as a template, form described image file.
Preferably, comprise described the taking a step forward of current login password receiving the VME operating system of outside input:
According to purposes and the quantity required of virtual machine, distribute CPU, internal memory, hard disk and Internet resources, and the computer name of configuring virtual machine, create at least one described without system virtual machine.
Preferably, the image file being loaded into VME operating system described at least one the CD-ROM equipment without system virtual machine and described taking a step forward of password ISO file comprise: be stored in shared storage space by described password ISO file and described image file;
Described at least one the CD-ROM equipment without system virtual machine, be loaded into VME operating system image file and described password ISO file comprise: from described shared storage space, obtain described image file and described password ISO file, described image file and described password ISO file be loaded into described in each without in the CD-ROM equipment of system virtual machine.
One embodiment of the invention additionally provides a kind of device of virtual machine creating, comprising: receiving element, generation unit, loading unit, installation unit, judging unit and reading unit;
Described receiving element, for receiving the current login password of the VME operating system of outside input;
Described generation unit, for the current login password received according to described receiving element, forms the password ISO file comprising described current login password;
Described loading unit, the password ISO file that image file and described generation unit for being loaded into VME operating system at least one the CD-ROM equipment without system virtual machine generate;
Described installation unit, be loaded into described in each without the described image file in system virtual machine CD-ROM equipment for reading described loading unit, to described each without system virtual machine installing operating system, and at described reading unit described current login password is filled into and arranges after in input frame corresponding on login password interface, described current login password is set to each login password without system virtual machine described, and continue other assemblies without system virtual machine described in each to be installed, until each operating system installation without system virtual machine described completes;
Described judging unit, for judge described installation unit whether by operating system installation to the interface arranging login password;
Described reading unit, for the judged result according to described judging unit, if, read described loading unit to be loaded into described in each without the described password ISO file in system virtual machine CD-ROM equipment, obtain described current login password, and described current login password is filled into described in each without corresponding the arranging in input frame corresponding on login password interface of system virtual machine.
Preferably, this device comprises further: lead-out unit;
Described lead-out unit, for setting up the virtual machine of a designated virtual machine OS Type, according to the application of virtual machine, this virtual machine installs corresponding application program, and this virtual machine is exported as a template, forms described image file.
Preferably, this device comprises further: creating unit;
Described creating unit, for according to the purposes of virtual machine and quantity required, distributes CPU, internal memory, hard disk and Internet resources, and the computer name of configuring virtual machine, create at least one described without system virtual machine.
Preferably, this device comprises further: storage unit;
Described storage unit, for being stored in shared storage space by described password ISO file and described image file;
Described loading unit, is further used for from described shared storage space, obtain described image file and described password ISO file, is loaded into described in each described image file and described password ISO file without in the CD-ROM equipment of system virtual machine.
Preferably, described reading unit is positioned at described image file.
Embodiments provide a kind of method and device of virtual machine creating, after receiving the current login password of the VME operating system of outside input, current login password is formed password ISO file, the operating system image file used when installing VME operating system and password ISO file are loaded into each without in the CD-ROM equipment of system virtual machine, image file is read without the CD-ROM equipment of system virtual machine from each, according to image file to each without system virtual machine installing operating system, in operating system installation process, judge whether each erection schedule without system virtual machine operating system arrives the interface arranging login password, if, password ISO file is read without the CD-ROM equipment that system virtual machine is corresponding from each, therefrom obtain current login password, current login password is filled into and arranges in input frame corresponding on login password interface, current login password is set to individual without after the login password of system virtual machine, continue each installation without system virtual machine operating system, until each completes without system virtual machine operating system installation, by this method, virtual machine login password is stored in advance in an ISO file, and this ISO file is loaded in the CD-ROM equipment of the virtual machine of each operating system to be installed, in the process of installing operating system, when reaching the interface that login password is set, automatically from CD-ROM equipment, the login password pre-set is obtained, be filled into corresponding position, continue installing operating system, until operating system installation completes, realize the login password that multiple virtual machine is set simultaneously, without the need to arranging the login password of each virtual machine one by one, improve the efficiency of virtual machine creating.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of a kind of virtual machine creating that one embodiment of the invention provides;
Fig. 2 is the method flow diagram of a kind of virtual machine creating that another embodiment of the present invention provides;
Fig. 3 is the device schematic diagram of a kind of virtual machine creating that one embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.Obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, one embodiment of the invention provides a kind of method of virtual machine creating, comprising:
Step 101: the current login password receiving the VME operating system of outside input;
Step 102: according to described current login password, forms the password ISO file comprising described current login password;
Step 103: be loaded into the image file of VME operating system and described password ISO file at least one the CD-ROM equipment without system virtual machine;
Step 104: read without the described image file in system virtual machine CD-ROM equipment described in each, to described each without system virtual machine installing operating system;
Step 105: judge whether operating system installation process arrives the interface arranging login password, if so, performs step 106, otherwise continues to perform step 105;
Step 106: read described in each without the described password ISO file in system virtual machine CD-ROM equipment, obtain described current login password, and described current login password is filled into described in each without system virtual machine corresponding to arrange on login password interface in corresponding input frame;
Step 107: described current login password is set to the login password without system virtual machine described in each, and continue other assemblies without system virtual machine described in each to be installed, until each operating system installation without system virtual machine described completes.
Embodiments provide a kind of method of virtual machine creating, after receiving the current login password of the VME operating system of outside input, current login password is formed password ISO file, the operating system image file used when installing VME operating system and password ISO file are loaded into each without in the CD-ROM equipment of system virtual machine, image file is read without the CD-ROM equipment of system virtual machine from each, according to image file to each without system virtual machine installing operating system, in operating system installation process, judge whether each erection schedule without system virtual machine operating system arrives the interface arranging login password, if, password ISO file is read without the CD-ROM equipment that system virtual machine is corresponding from each, therefrom obtain current login password, current login password is filled into and arranges in input frame corresponding on login password interface, current login password is set to individual without after the login password of system virtual machine, continue each installation without system virtual machine operating system, until each completes without system virtual machine operating system installation, by this method, virtual machine login password is stored in advance in an ISO file, and this ISO file is loaded in the CD-ROM equipment of the virtual machine of each operating system to be installed, in the process of installing operating system, when reaching the interface that login password is set, automatically from CD-ROM equipment, the login password pre-set is obtained, be filled into corresponding position, continue installing operating system, until operating system installation completes, realize the login password that multiple virtual machine is set simultaneously, without the need to arranging the login password of each virtual machine one by one, improve the efficiency of virtual machine creating.
In an embodiment of the invention, before to virtual machine installing operating system, first the virtual machine of an assigned operation system type is set up, according to the application of virtual machine to be created, this virtual machine is installed corresponding application program and there is the module of specific function, after the installation is complete, this virtual machine is exported as a template, form image file, afterwards when creating virtual machine, the operating system of virtual machine is installed by this image file, can be implemented in VME operating system installation process like this, the login password pre-set can be obtained from CD-ROM equipment, and can ensure after virtual machine creating completes, namely virtual machine comprises necessary application program, improve the ease for use of virtual machine.
In an embodiment of the invention, when creating virtual machine, first according to the purposes of virtual machine and the quantity of required virtual machine, distribute the resources such as CPU, internal memory, hard disk and network for each virtual machine, and the computer name of each virtual machine is set, like this, can according to the purposes of virtual machine and requirement, rational distributes calculation resources, creates the virtual machine of suitable number, thus improves the utilization factor of computational resource.
In an embodiment of the invention, after the login password received is set to password ISO file, the image file that uses and password ISO file when installing dummy machine system are all stored into one can be accessed shared storage space in, when VME operating system installed by needs, image file and password ISO file is read from shared storage space, image file and password ISO file are loaded in the CD-ROM equipment of each virtual machine, virtual machine is reading system image file and login password from CD-ROM equipment, complete the establishment of virtual machine, like this, image file and login password can be shared to each virtual machine, realize batch and create virtual machine, improve the efficiency of the building work of virtual machine.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
As shown in Figure 2, one embodiment of the invention provides a kind of method of virtual machine creating, comprising:
Step 201: create the image file comprising the VME operating system of specific function.
In an embodiment of the invention, first the virtual machine of a specified type operating system is created, after establishment completes, according to the application of virtual machine to be created, the virtual machine just created installs corresponding application program, and the module with specific function is installed, after installation, this virtual machine is exported as a template, form the image file that VME operating system is given.Such as, virtual machine to be created is applied to planar design field, after the virtual machine creating what a specified type, this virtual machine installs the softwares such as Photoshop, CorelDRAW, AutoCAD, and installation one can from the module of the CD-ROM equipment file reading of self correspondence on this virtual machine, to be installed complete after, this virtual machine is exported as a template, forms the image file of an ISO form.
Step 202: according to virtual machine for and requirement, create respective amount without system virtual machine.
In an embodiment of the invention, according to the demand that virtual machine uses, determine the number needing to create virtual machine, according to the purposes of virtual machine, for the configuration of each virtual machine CPU, internal memory, hard disk and Internet resources, and the computer name of each virtual machine is set.Such as, according to the needs of user, need 100 virtual machines altogether, then distribute corresponding computational resource for these 100 virtual machines, comprise the resources such as CPU, internal memory, hard disk and network, build the virtual hardware of each virtual machine, create out 100 planless virtual machines, and each computer name without system virtual machine is set, be respectively virtual machine 1 to virtual machine 100.
Step 203: the current login password of sink virtual machine operating system, according to current login password, forms the password ISO file comprising current login password.
In an embodiment of the invention, inputted the current login password of VME operating system by keeper, the current login password of receiving management person's input, and form the password ISO file that comprises this current login password.Such as, the current login password of keeper's input is 123456, receives this current login password, is kept at by current login password in a notepad file, this notepad documenting is become an ISO file, obtain password ISO file.
Step 204: image file and password ISO file are stored in shared storage space.
In an embodiment of the invention, a shared storage space is set on the server, this shared storage space can be accessed by each virtual machine, after shared storage space is provided with, the image file created and password ISO file is stored in this shared storage space.
Step 205: the image file in shared storage space and password ISO file are loaded into each without in the CD-ROM equipment of system virtual machine.
In an embodiment of the invention, after treating to have created without system virtual machine, need each without system virtual machine installing operating system, the image file be stored in shared storage space and password ISO file are followed and is not loaded into each without in the CD-ROM equipment of system virtual machine, be prepared as each without system virtual machine installing operating system.Such as, from shared storage space, read image file and password ISO file, in the CD-ROM equipment that virtual machine 1 to virtual machine 100 is respective, be loaded into image file and password ISO file respectively.
Step 206: read the image file in each CD-ROM equipment, according to image file respectively to each without system virtual machine installing operating system.
In an embodiment of the invention, image file is read, by the image file read, according to the installation steps of image file, to each without system virtual machine installing operating system from each without the respective CD-ROM equipment of system virtual machine.Such as, from the CD-ROM equipment of virtual machine 1, read image file, according to the installation procedure of image file, for virtual machine 1 installing operating system, meanwhile, from the CD-ROM equipment that virtual machine 2 to virtual machine 100 is respective, read image file, be respectively virtual machine 2 to virtual machine 100 installing operating system.
Step 207: monitor each installation progress without system virtual machine operating system, judge whether to arrive the interface arranging login password, if so, performs step 208, otherwise continues to perform step 207.
In an embodiment of the invention, to in each process without system virtual machine installing operating system, each installation progress without system virtual machine of real-time monitoring, judge whether each operating system without system virtual machine has been installed to the interface arranging login password, be directed to operating system installation progress arrive arrange login password interface without system virtual machine, perform step 208, be directed to also do not reach arrange login password interface without system virtual machine, continue execution step 207.Such as, the operating system monitoring virtual machine 1 to virtual machine 50 has been installed to the interface arranging login password, the operating system of virtual machine 51 to virtual machine 100 is not also installed to the interface arranging login password, so be directed to virtual machine 1 to virtual machine 50 and perform step 208, be directed to virtual machine 51 to virtual machine 100 to continue to perform step 207, until each all arrives the interface arranging login password without system virtual machine.
Step 208: read password ISO file from each CD-ROM equipment, therefrom obtain current login password, is filled into current login password and arranges in input frame corresponding on login password interface.
In an embodiment of the invention, when the operating system installation without system virtual machine is to when needing the interface arranging login password, be directed to each without system virtual machine, password ISO file is read without CD-ROM equipment corresponding to system virtual machine from this, from the password ISO file read, obtain current login password, current login password is filled into and arranges in input frame corresponding on login password interface.Such as, the operating system installation of virtual machine 1 is to when arranging the interface of login password, password ISO file is read from the CD-ROM equipment of virtual machine 1, separate from this password ISO file and extrude notepad file, the current login password 123456 recorded in notepad file is filled in the input frame that correspondence on login password interface is set of virtual machine 1 correspondence, accordingly, current login password 123456 is filled into respectively arranging in input frame corresponding on login password interface of virtual machine 2 to virtual machine 100 correspondence.
Step 209: current login password is set to each login password without system virtual machine operating system, continues the installation of each operating system, until each completes without system virtual machine operating system installation.
In an embodiment of the invention, be directed to each without system virtual machine, after current login password being filled in this input frame that correspondence on login password interface is set corresponding without system virtual machine, according to the installation steps of VME operating system, current login password is set to the login password without system virtual machine operating system, according to the installation procedure of VME operating system, continue other assemblies to be installed, until operating system installation completes.Such as, after filling current login password 123456 in input frame corresponding on the interface that login password is set of virtual machine 1 correspondence, carry out next step operation, the login password of virtual machine 1 operating system is set to 123456, every installation steps after continuing, login password is set, until virtual machine 1 operating system installation completes, accordingly, be directed to virtual machine 2 to virtual machine 100 and perform identical operation, until the operating system installation of virtual machine 2 to virtual machine 100 completes.
As shown in Figure 3, one embodiment of the invention provides a kind of device of virtual machine creating, comprising: receiving element 301, generation unit 302, loading unit 303, installation unit 304, judging unit 305 and reading unit 306;
Described receiving element 301, for receiving the current login password of the VME operating system of outside input;
Described generation unit 302, for the current login password received according to described receiving element 301, forms the password ISO file comprising described current login password;
Described loading unit 303, the password ISO file that image file and described generation unit 302 for being loaded into VME operating system at least one the CD-ROM equipment without system virtual machine generate;
Described installation unit 304, be loaded into described in each without the described image file in system virtual machine CD-ROM equipment for reading described loading unit 303, to described each without system virtual machine installing operating system, and at described reading unit 306 described current login password is filled into and arranges after in input frame corresponding on login password interface, described current login password is set to each login password without system virtual machine described, and continue other assemblies without system virtual machine described in each to be installed, until each operating system installation without system virtual machine described completes;
Described judging unit 305, for judge described installation unit 304 whether by operating system installation to the interface arranging login password;
Described reading unit 306, for the judged result according to described judging unit 305, if, read described loading unit 303 to be loaded into described in each without the described password ISO file in system virtual machine CD-ROM equipment, obtain described current login password, and described current login password is filled into described in each without corresponding the arranging in input frame corresponding on login password interface of system virtual machine.
In an embodiment of the invention, this device comprises further: lead-out unit;
Described lead-out unit, for setting up the virtual machine of a designated virtual machine OS Type, according to the application of virtual machine, this virtual machine installs corresponding application program, and this virtual machine is exported as a template, forms described image file.
In an embodiment of the invention, this device comprises further: creating unit;
Described creating unit, for according to the purposes of virtual machine and quantity required, distributes CPU, internal memory, hard disk and Internet resources, and the computer name of configuring virtual machine, create at least one described without system virtual machine.
In an embodiment of the invention, this device comprises further: storage unit;
Described storage unit, for being stored in shared storage space by described password ISO file and described image file;
Described loading unit 303, is further used for from described shared storage space, obtain described image file and described password ISO file, is loaded into described in each described image file and described password ISO file without in the CD-ROM equipment of system virtual machine.
In an embodiment of the invention, described reading unit 306 is positioned at described image file.
The content such as information interaction, implementation between each unit in the said equipment, due to the inventive method embodiment based on same design, particular content can see in the inventive method embodiment describe, repeat no more herein.
According to such scheme, a kind of virtual machine creation method that embodiments of the invention provide and device, at least have following beneficial effect:
1, in the embodiment of the present invention, after receiving the current login password of the VME operating system of outside input, current login password is formed password ISO file, the operating system image file used when installing VME operating system and password ISO file are loaded into each without in the CD-ROM equipment of system virtual machine, image file is read without the CD-ROM equipment of system virtual machine from each, according to image file to each without system virtual machine installing operating system, in operating system installation process, judge whether each erection schedule without system virtual machine operating system arrives the interface arranging login password, if, password ISO file is read without the CD-ROM equipment that system virtual machine is corresponding from each, therefrom obtain current login password, current login password is filled into and arranges in input frame corresponding on login password interface, current login password is set to individual without after the login password of system virtual machine, continue each installation without system virtual machine operating system, until each completes without system virtual machine operating system installation, by this method, virtual machine login password is stored in advance in an ISO file, and this ISO file is loaded in the CD-ROM equipment of the virtual machine of each operating system to be installed, in the process of installing operating system, when reaching the interface that login password is set, automatically from CD-ROM equipment, the login password pre-set is obtained, be filled into corresponding position, continue installing operating system, until operating system installation completes, realize the login password that multiple virtual machine is set simultaneously, without the need to arranging the login password of each virtual machine one by one, improve the efficiency of virtual machine creating.
2, in the embodiment of the present invention, when creating multiple virtual machine simultaneously, when operating system installation process arrives the interface of setting operation system login password, identical login password is filled from corresponding the arranging in input frame corresponding on login password interface of each virtual machine of trend, like this, after virtual machine creating completes, the login password of each virtual machine is identical, therefore the convenient unified maintenance to individual virtual machine login password.
3, in the embodiment of the present invention, before establishment virtual machine, first the virtual machine that is formulated OS Type is set up, relevant software is installed in this virtual machine and there is the module of specific function, after installation, this virtual machine is exported as a template, form system image file, when creating virtual machine by this image file, can ensure on the one hand virtual machine creating complete after dummy machine system comprise corresponding application program, improve the ease for use of virtual machine, on the other hand, the module of the specific function that image file comprises can obtain the login password of Administrator in operating system installation process from CD-ROM equipment, and then realize creating multiple virtual machine simultaneously.
4, in the embodiment of the present invention, when creating virtual machine, first according to the demand of virtual machine, create the virtual machine of respective amount, then according to the purposes of virtual machine, for each virtual machine configuration CPU, internal memory, the computational resource such as hard disk and network, can ensure that virtual machine number meets the user demand of user like this, and ensure that the computational resource distributing to each virtual machine is more reasonable, the computational resource of the demand or each virtual machine of avoiding the virtual machine number created to be greater than user causes too greatly the waste of computational resource, also avoid the too little situation that can not meet for computation requirement of each virtual machine computational resource to occur simultaneously.
5, in the embodiment of the present invention, the reading unit obtaining login password from CD-ROM equipment is arranged in operating system image file, reading unit starts with image file starts, ensure to obtain from CD-ROM equipment the login password be loaded in advance in time when needing filling login password, complete the setting of VME operating system login password, improve the reliability of virtual machine creating work.
It should be noted that, in this article, the relational terms of such as first and second and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element " being comprised a 〃 〃 〃 〃 〃 〃 " limited by statement, and be not precluded within process, method, article or the equipment comprising described key element and also there is other same factor.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in the storage medium of embodied on computer readable, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium in.
Finally it should be noted that: the foregoing is only preferred embodiment of the present invention, only for illustration of technical scheme of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (9)

1. a method for virtual machine creating, is characterized in that, comprising:
Receive the current login password of the VME operating system of outside input;
According to described current login password, form the password ISO file comprising described current login password;
The image file of VME operating system and described password ISO file is loaded at least one the CD-ROM equipment without system virtual machine;
Read without the described image file in system virtual machine CD-ROM equipment described in each, to described each without system virtual machine installing operating system;
Judge whether operating system installation process arrives the interface arranging login password;
If, read described in each without the described password ISO file in system virtual machine CD-ROM equipment, obtain described current login password, and described current login password is filled into described in each without system virtual machine corresponding to arrange on login password interface in corresponding input frame;
Described current login password is set to the login password without system virtual machine described in each, and continues other assemblies without system virtual machine described in each to be installed, until each operating system installation without system virtual machine described completes.
2. method according to claim 1, is characterized in that, the image file being loaded into VME operating system described at least one the CD-ROM equipment without system virtual machine and described taking a step forward of password ISO file comprise:
Set up the virtual machine of a designated virtual machine OS Type, according to the application of virtual machine, this virtual machine installs corresponding application program, and this virtual machine is exported as a template, form described image file.
3. method according to claim 1, is characterized in that, comprises described the taking a step forward of current login password receiving the VME operating system of outside input:
According to purposes and the quantity required of virtual machine, distribute CPU, internal memory, hard disk and Internet resources, and the computer name of configuring virtual machine, create at least one described without system virtual machine.
4., according to described method arbitrary in claims 1 to 3, it is characterized in that,
The image file being loaded into VME operating system described at least one the CD-ROM equipment without system virtual machine and described taking a step forward of password ISO file comprise: be stored in shared storage space by described password ISO file and described image file;
Described at least one the CD-ROM equipment without system virtual machine, be loaded into VME operating system image file and described password ISO file comprise: from described shared storage space, obtain described image file and described password ISO file, described image file and described password ISO file be loaded into described in each without in the CD-ROM equipment of system virtual machine.
5. a device for virtual machine creating, is characterized in that, comprising: receiving element, generation unit, loading unit, installation unit, judging unit and reading unit;
Described receiving element, for receiving the current login password of the VME operating system of outside input;
Described generation unit, for the current login password received according to described receiving element, forms the password ISO file comprising described current login password;
Described loading unit, the password ISO file that image file and described generation unit for being loaded into VME operating system at least one the CD-ROM equipment without system virtual machine generate;
Described installation unit, be loaded into described in each without the described image file in system virtual machine CD-ROM equipment for reading described loading unit, to described each without system virtual machine installing operating system, and at described reading unit described current login password is filled into and arranges after in input frame corresponding on login password interface, described current login password is set to each login password without system virtual machine described, and continue other assemblies without system virtual machine described in each to be installed, until each operating system installation without system virtual machine described completes;
Described judging unit, for judge described installation unit whether by operating system installation to the interface arranging login password;
Described reading unit, for the judged result according to described judging unit, if, read described loading unit to be loaded into described in each without the described password ISO file in system virtual machine CD-ROM equipment, obtain described current login password, and described current login password is filled into described in each without corresponding the arranging in input frame corresponding on login password interface of system virtual machine.
6. device according to claim 5, is characterized in that, comprises further: lead-out unit;
Described lead-out unit, for setting up the virtual machine of a designated virtual machine OS Type, according to the application of virtual machine, this virtual machine installs corresponding application program, and this virtual machine is exported as a template, forms described image file.
7. device according to claim 5, is characterized in that, comprises further: creating unit;
Described creating unit, for according to the purposes of virtual machine and quantity required, distributes CPU, internal memory, hard disk and Internet resources, and the computer name of configuring virtual machine, create at least one described without system virtual machine.
8. device according to claim 5, is characterized in that, comprises further: storage unit;
Described storage unit, for being stored in shared storage space by described password ISO file and described image file;
Described loading unit, is further used for from described shared storage space, obtain described image file and described password ISO file, is loaded into described in each described image file and described password ISO file without in the CD-ROM equipment of system virtual machine.
9., according to the arbitrary described device of claim 5 to 8, it is characterized in that, described reading unit is positioned at described image file.
CN201510582046.3A 2015-09-14 2015-09-14 Virtual machine creation method and apparatus Pending CN105159750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510582046.3A CN105159750A (en) 2015-09-14 2015-09-14 Virtual machine creation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510582046.3A CN105159750A (en) 2015-09-14 2015-09-14 Virtual machine creation method and apparatus

Publications (1)

Publication Number Publication Date
CN105159750A true CN105159750A (en) 2015-12-16

Family

ID=54800614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510582046.3A Pending CN105159750A (en) 2015-09-14 2015-09-14 Virtual machine creation method and apparatus

Country Status (1)

Country Link
CN (1) CN105159750A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493200A (en) * 2017-09-01 2017-12-19 郑州云海信息技术有限公司 A kind of creation method of compact disc image files, virtual machine deployment method and device
CN107621980A (en) * 2016-07-13 2018-01-23 阿里巴巴集团控股有限公司 A kind of virtual machine migration method, cluster control system and control device
CN109032761A (en) * 2018-08-06 2018-12-18 郑州云海信息技术有限公司 Automatic deployment virtual machine and the method for installing OS automatically under a kind of Linux
CN109391688A (en) * 2018-09-29 2019-02-26 郑州云海信息技术有限公司 The acquisition methods and device of image file in cloud computing system
CN110554906A (en) * 2019-09-10 2019-12-10 中国工商银行股份有限公司 virtual machine configuration management method and device
CN112783609A (en) * 2021-01-30 2021-05-11 浪潮云信息技术股份公司 Method for automatically resetting password for virtual machine on ESXI (electronic service organization) host

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731738A (en) * 2005-08-30 2006-02-08 西安交通大学 Automated quick deployment method for large-scale computer cluster node
CN102662727A (en) * 2012-04-05 2012-09-12 北京天地云箱科技有限公司 Virtual machine creating method and virtual machine creating device
CN103019802A (en) * 2012-11-20 2013-04-03 中标软件有限公司 Virtual machine management method and virtual machine management platform
CN103037002A (en) * 2012-12-21 2013-04-10 中标软件有限公司 Method and system for arranging server cluster in cloud computing cluster environment
CN103533086A (en) * 2013-10-31 2014-01-22 中国科学院计算机网络信息中心 Uniform resource scheduling method in cloud computing system
CN103795759A (en) * 2012-10-31 2014-05-14 北京搜狐新媒体信息技术有限公司 Method and system for scheduling virtual machine mirror image file
CN103870748A (en) * 2012-12-17 2014-06-18 华为技术有限公司 Method and device for safety processing of virtual machine
CN104484209A (en) * 2014-12-23 2015-04-01 国云科技股份有限公司 Method for automatically accessing mirror image of Windows virtual machine

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731738A (en) * 2005-08-30 2006-02-08 西安交通大学 Automated quick deployment method for large-scale computer cluster node
CN102662727A (en) * 2012-04-05 2012-09-12 北京天地云箱科技有限公司 Virtual machine creating method and virtual machine creating device
CN103795759A (en) * 2012-10-31 2014-05-14 北京搜狐新媒体信息技术有限公司 Method and system for scheduling virtual machine mirror image file
CN103019802A (en) * 2012-11-20 2013-04-03 中标软件有限公司 Virtual machine management method and virtual machine management platform
CN103870748A (en) * 2012-12-17 2014-06-18 华为技术有限公司 Method and device for safety processing of virtual machine
CN103037002A (en) * 2012-12-21 2013-04-10 中标软件有限公司 Method and system for arranging server cluster in cloud computing cluster environment
CN103533086A (en) * 2013-10-31 2014-01-22 中国科学院计算机网络信息中心 Uniform resource scheduling method in cloud computing system
CN104484209A (en) * 2014-12-23 2015-04-01 国云科技股份有限公司 Method for automatically accessing mirror image of Windows virtual machine

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621980A (en) * 2016-07-13 2018-01-23 阿里巴巴集团控股有限公司 A kind of virtual machine migration method, cluster control system and control device
CN107493200A (en) * 2017-09-01 2017-12-19 郑州云海信息技术有限公司 A kind of creation method of compact disc image files, virtual machine deployment method and device
CN107493200B (en) * 2017-09-01 2020-09-22 苏州浪潮智能科技有限公司 Optical disc image file creating method, virtual machine deploying method and device
CN109032761A (en) * 2018-08-06 2018-12-18 郑州云海信息技术有限公司 Automatic deployment virtual machine and the method for installing OS automatically under a kind of Linux
CN109391688A (en) * 2018-09-29 2019-02-26 郑州云海信息技术有限公司 The acquisition methods and device of image file in cloud computing system
CN110554906A (en) * 2019-09-10 2019-12-10 中国工商银行股份有限公司 virtual machine configuration management method and device
CN112783609A (en) * 2021-01-30 2021-05-11 浪潮云信息技术股份公司 Method for automatically resetting password for virtual machine on ESXI (electronic service organization) host

Similar Documents

Publication Publication Date Title
CN105159750A (en) Virtual machine creation method and apparatus
Cai et al. A delay-based dynamic scheduling algorithm for bag-of-task workflows with stochastic task execution times in clouds
Dai et al. Cloud infrastructure resource allocation for big data applications
CN102611622B (en) Dispatching method for working load of elastic cloud computing platform
WO2016101638A1 (en) Operation management method for electric power system cloud simulation platform
JP6045134B2 (en) Parallel workload simulation for application performance testing
CN102571916A (en) Framework of leasing software of cloud storage space and operating method of framework
CN105847088A (en) Virtual machine performance testing system based on cloud service
Liang et al. Memory-aware resource management algorithm for low-energy cloud data centers
US20160357885A1 (en) Hybrid simulation in a cloud computing environment
Han et al. Refining microservices placement employing workload profiling over multiple kubernetes clusters
Cai et al. Resource provisioning for task-batch based workflows with deadlines in public clouds
CN104935455A (en) Cluster construction method and device therefor
CN107480041A (en) The task automation method of testing and system of a kind of big data
Kertész et al. A pliant-based virtual machine scheduling solution to improve the energy efficiency of iaas clouds
López-Pires et al. An experimental comparison of algorithms for virtual machine placement considering many objectives
CN113765942A (en) Cloud computing power distribution method, user terminal, cloud computing power platform and system
Al-Haboobi et al. Developing a workflow management system simulation for capturing internal iaas behavioural knowledge
JP5822414B2 (en) General-purpose simulation system using social network interface
Shih et al. A performance-based parallel loop scheduling on grid environments
Cui et al. A scheduling algorithm for multi-tenants instance-intensive workflows
Dey et al. Serverless Computing: Architectural Paradigms, Challenges, and Future Directions in Cloud Technology
Li et al. Building an HPC-as-a-service toolkit for user-interactive HPC services in the cloud
US9996642B2 (en) Method and apparatus for finite analysis pre-processing
US11392424B2 (en) Method and device for aiding decision-making for the allocation of computing means on a high performance computing infrastructure

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151216