CN102752137B - The apparatus and method of virtual machine network parameter are initiatively set - Google Patents

The apparatus and method of virtual machine network parameter are initiatively set Download PDF

Info

Publication number
CN102752137B
CN102752137B CN201210219393.6A CN201210219393A CN102752137B CN 102752137 B CN102752137 B CN 102752137B CN 201210219393 A CN201210219393 A CN 201210219393A CN 102752137 B CN102752137 B CN 102752137B
Authority
CN
China
Prior art keywords
virtual machine
configuration file
file
network parameter
interface card
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.)
Active
Application number
CN201210219393.6A
Other languages
Chinese (zh)
Other versions
CN102752137A (en
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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network 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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN201210219393.6A priority Critical patent/CN102752137B/en
Publication of CN102752137A publication Critical patent/CN102752137A/en
Application granted granted Critical
Publication of CN102752137B publication Critical patent/CN102752137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a kind of device initiatively arranging virtual machine network parameter, comprising: configuration file generation unit, described configuration file is also uploaded to file repository by the network parameter generating configuration file required for the virtual machine of input; Virtual machine creating unit, create virtual machine, download described configuration file after the described virtual machine activation created, the network parameter of described virtual machine is set according to described configuration file, wherein said file repository is the upload and download function of a server for storage file, supporting document.The present invention also proposes a kind of method initiatively arranging virtual machine network parameter.By technical scheme of the present invention, can, according to the network parameter needing Lookup protocol virtual machine of user, make the IP address of virtual machine controlled.

Description

The apparatus and method of virtual machine network parameter are initiatively set
Technical field
The present invention relates to virtual machine technique field, the device of virtual machine network parameter and a kind of method initiatively arranging virtual machine network parameter are initiatively set in particular to a kind of.
Background technology
Cloud computing is a kind of calculating new paragon based on the Internet, provides the calculating of namely getting as required by isomery on the Internet, autonomous service for individual and enterprise customer.Cloud computing appear at the contact of having peeled off in some sense between software restraint.
Virtual, be then the foundation stone of cloud computing.The application of a cloud computing must be based on virtualized.Virtual is a level of abstraction, and physical hardware and operating system separate by it, thus provides higher IT resource utilization and flexibility.
The virtual multiple virtual machines independent parallel on Same Physical machine with different operating system that allows runs.Each virtual machine has oneself a set of virtual hardware (such as RAM, CPU, network interface card etc.), can in these hardware load operation system and application program.No matter actual have employed what physical hardware components, they are all considered as one group of consistent, standardized hardware by operating system.
Virtual machine, after establishment completes, needs the distribution carrying out IP address.The distribution of IP address is generally carried out mainly through following two kinds of modes:
Mode one, by control desk connecting virtual machine, arranges IP address by hand.The main defect of this mode needs manual setting, cannot be realized the distribution of IP by the mode of automation.
Mode two, arranges the mode automatic acquisition IP address etc. of virtual machine by DHCP.This mode achieves the automatic acquisition of IP, but the IP address obtained is uncontrollable, main control end cannot obtain the IP address of virtual machine on one's own initiative, and people controllably can not arrange the IP address of this virtual machine, and needs to build Dynamic Host Configuration Protocol server in network environment and provide DHCP service.
Therefore, need a kind of virtual machine control technology, can, according to the network parameter needing Lookup protocol virtual machine of user, make the IP address of virtual machine controlled.
Summary of the invention
For the problems referred to above, an object of the present invention is to provide a kind of device initiatively arranging virtual machine network parameter, can, according to the network parameter needing Lookup protocol virtual machine of user, make the IP address of virtual machine controlled.
In view of this, the present invention proposes a kind of device initiatively arranging virtual machine network parameter, comprising: configuration file generation unit, described configuration file is also uploaded to file repository by the network parameter generating configuration file required for the virtual machine of input; Virtual machine creating unit, creates virtual machine, downloads described configuration file, arrange the network parameter of described virtual machine according to described configuration file after the described virtual machine activation created.Wherein said file repository is the upload and download function of a server for storage file, supporting document.
In this technical scheme, user can need the network parameter arranging virtual machine, the IP address of such as virtual machine according to oneself, makes the IP address of virtual machine controlled.Setting up procedure can be automatically performed by virtual machine, does not need to log in virtual machine manual modification, simplifies the operation of user.
Preferably, described virtual machine creating unit specifically for: create a template virtual machine, in described template virtual machine, a configuration script is installed, described configuration script is performed in described template virtual machine activation process, download described configuration file from described file repository, and the network parameter of described template virtual machine is set according to described configuration file; According to described template virtual machine creating virtual machine.
In this technical scheme, create by template virtual machine a kind of method that virtual machine is efficient quick.In template virtual machine, a configuration script is installed, by configuration script, whole setting up procedure is completed automatically.The virtual machine obtained by this template virtual machine creating is identical with template virtual machine, is all provided with this configuration script, can by performing this configuration script Lookup protocol network parameter.
Preferably, described virtual machine creating unit also for: in described virtual machine, arrange the first network interface card and the second network interface card, described first network interface card adopts NAT mode automatic acquisition network parameter is connected to described file repository.Forbid described first network interface card after configuration file described in described virtual machine download, and the network parameter of described second network interface card is set.
In this technical scheme, the first network interface card is used for being connected to file repository, enables virtual machine download configuration file.When after the download completing configuration file, do not re-use the first network interface card, the second network interface card can be set according to configuration file and be connected to network by the mode of bridge joint.The first network interface card, the second network interface card is distinguished according to these two parameters of HWADDR and the DHCPHW ADD in configuration file.
Preferably, described configuration file generation unit names described configuration file according to the MAC Address of described second network interface card of described virtual machine, and described virtual machine downloads described configuration file according to the MAC Address of described second network interface card.
In this technical scheme, when creating multiple stage virtual machine, multiple stage virtual machine needs to arrange respective network parameter respectively, therefore needs the configuration file of multiple stage virtual machine to distinguish, and makes every platform virtual machine obtain configuration file corresponding with it respectively.Here distinguished by MAC Address, such as, the MAC Address of the second network interface card of virtual machine is 52:54:00:2B:7B:C4, the configuration file called after 52_54_00_2B_7B_C4 that can will generate for this virtual machine, such virtual machine just can find corresponding configuration file according to the MAC Address of oneself and download.
Preferably, described file repository comprises the ftp server supporting File Transfer Protocol.
In this technical scheme, FTP is a set of standard agreement for carrying out file transfer on network, may be used for the upload and download of file.By ftp server as file repository, the function of files passe and download can be provided.The configuration file of generation is uploaded to ftp server, during virtual machine activation, can from ftp server download configuration file.
Present invention also offers a kind of method that virtual machine network parameter is initiatively set, comprising: input the network parameter required for virtual machine that will create, according to described network parameter generating configuration file, described configuration file is uploaded to file repository; Create virtual machine, download described configuration file after the described virtual machine activation created, the network parameter of described virtual machine is set according to described configuration file.Wherein said file repository is the upload and download function of a server for storage file, supporting document.
In this technical scheme, user can need the network parameter arranging virtual machine, the IP address of such as virtual machine according to oneself, makes the IP address of virtual machine controlled.Setting up procedure can be automatically performed by virtual machine, does not need to log in virtual machine manual modification, simplifies the operation of user.
Preferably, wherein said establishment virtual machine, described configuration file is downloaded after the described virtual machine activation created, the network parameter arranging described virtual machine according to described configuration file specifically comprises: create a template virtual machine, in described template virtual machine, a configuration script is installed, perform described configuration script in described template virtual machine activation process, download described configuration file from described file repository, and the network parameter of described template virtual machine is set according to described configuration file; According to described template virtual machine creating virtual machine.
In this technical scheme, create by template virtual machine a kind of method that virtual machine is efficient quick.In template virtual machine, a configuration script is installed, by configuration script, whole setting up procedure is completed automatically.The virtual machine obtained by this template virtual machine creating is identical with template virtual machine, is all provided with this configuration script, can by performing this configuration script Lookup protocol network parameter.
Preferably, wherein said establishment virtual machine, described configuration file is downloaded after the described virtual machine activation created, the network parameter arranging described virtual machine according to described configuration file also comprises: in described virtual machine, arrange the first network interface card and the second network interface card, described first network interface card adopts NAT mode and automatic acquisition network parameter is connected to described file repository, forbid described first network interface card after configuration file described in described virtual machine download, and the network parameter of described second network interface card is set.
In this technical scheme, the first network interface card is used for being connected to file repository, enables virtual machine download configuration file.When after the download completing configuration file, do not re-use the first network interface card, the second network interface card can be set according to configuration file and be connected to network by the mode of bridge joint.The first network interface card, the second network interface card is distinguished according to these two parameters of HWADDR and the DHCPHW ADD in configuration file.
Preferably, described configuration file is named according to the MAC Address of described second network interface card of described virtual machine, and described virtual machine downloads described configuration file according to the MAC Address of described second network interface card.
In this technical scheme, when creating multiple stage virtual machine, multiple stage virtual machine needs to arrange respective network parameter respectively, therefore needs the configuration file of multiple stage virtual machine to distinguish, and makes every platform virtual machine obtain configuration file corresponding with it respectively.Here distinguished by MAC Address, such as, the MAC Address of the second network interface card of virtual machine is 52:54:00:2B:7B:C4, the configuration file called after 52_54_00_2B_7B_C4 that can will generate for this virtual machine, such virtual machine just can find corresponding configuration file according to the MAC Address of oneself and download.
Preferably, described file repository comprises the ftp server supporting File Transfer Protocol.
In this technical scheme, FTP is a set of standard agreement for carrying out file transfer on network, may be used for the upload and download of file.By ftp server as file repository, the function of files passe and download can be provided.The configuration file of generation is uploaded to ftp server, during virtual machine activation, can from ftp server download configuration file.
By technique scheme, can, according to the network parameter needing Lookup protocol virtual machine of user, make the IP address of virtual machine controlled.
Accompanying drawing explanation
Fig. 1 shows the block diagram of the device initiatively arranging virtual machine network parameter according to an embodiment of the invention;
Fig. 2 shows the flow chart of the method initiatively arranging virtual machine network parameter according to an embodiment of the invention;
Fig. 3 shows the schematic diagram initiatively arranging the method for virtual machine network parameter according to another embodiment of the invention;
Fig. 4 is flow chart embodiment illustrated in fig. 3.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Below in conjunction with drawings and Examples, the present invention will be further described.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Fig. 1 shows the block diagram of the device initiatively arranging virtual machine network parameter according to an embodiment of the invention.
As shown in Figure 1, the device 100 initiatively arranging virtual machine network parameter according to an embodiment of the invention comprises: configuration file generation unit 102, and configuration file is also uploaded to file repository by the network parameter generating configuration file required for the virtual machine of input; Virtual machine creating unit 104, create virtual machine, download configuration file after the virtual machine activation created, arranges the network parameter of virtual machine according to configuration file.Wherein file repository is the upload and download function of a server for storage file, supporting document.
In this technical scheme, user can need the network parameter arranging virtual machine, the IP address of such as virtual machine according to oneself, makes the IP address of virtual machine controlled.Setting up procedure can be automatically performed by virtual machine, does not need to log in virtual machine manual modification, simplifies the operation of user.
Preferably, virtual machine creating unit 104 specifically for: create a template virtual machine, in template virtual machine, a configuration script is installed, configuration script is performed in template virtual machine activation process, from file repository download configuration file, and the network parameter of template virtual machine is set according to configuration file; According to template virtual machine creating virtual machine.
In this technical scheme, create by template virtual machine a kind of method that virtual machine is efficient quick.In template virtual machine, a configuration script is installed, by configuration script, whole setting up procedure is completed automatically.The virtual machine obtained by this template virtual machine creating is identical with template virtual machine, is all provided with this configuration script, can by performing this configuration script Lookup protocol network parameter.
Preferably, virtual machine creating unit 104 also for: in virtual machine, arrange the first network interface card and the second network interface card, the first network interface card adopts NAT mode automatic acquisition network parameter is connected to file repository.Forbid the first network interface card after virtual machine download configuration file, and the network parameter of the second network interface card is set.
In this technical scheme, the first network interface card is used for being connected to file repository, enables virtual machine download configuration file.When after the download completing configuration file, do not re-use the first network interface card, the second network interface card can be set according to configuration file and be connected to network by the mode of bridge joint.The first network interface card, the second network interface card is distinguished according to these two parameters of HWADDR and DHCPHW_ADD in configuration file.
Preferably, configuration file generation unit 102 is according to the MAC Address name configuration file of the second network interface card of virtual machine, and virtual machine is according to the MAC Address download configuration file of the second network interface card.
In this technical scheme, when creating multiple stage virtual machine, multiple stage virtual machine needs to arrange respective network parameter respectively, therefore needs the configuration file of multiple stage virtual machine to distinguish, and makes every platform virtual machine obtain configuration file corresponding with it respectively.Here distinguished by MAC Address, such as, the MAC Address of the second network interface card of virtual machine is 52:54:00:2B:7B:C4, the configuration file called after 52_54_00_2B_7B_C4 that can will generate for this virtual machine, such virtual machine just can find corresponding configuration file according to the MAC Address of oneself and download.
Preferably, file repository comprises the ftp server supporting File Transfer Protocol.
In this technical scheme, FTP is a set of standard agreement for carrying out file transfer on network, may be used for the upload and download of file.By ftp server as file repository, the function of files passe and download can be provided.The configuration file of generation is uploaded to ftp server, during virtual machine activation, can from ftp server download configuration file.
Fig. 2 shows the flow chart of the method initiatively arranging virtual machine network parameter according to an embodiment of the invention.
As shown in Figure 2, the method initiatively arranging virtual machine network parameter according to an embodiment of the invention comprises: step 202, input the network parameter required for virtual machine that will create, and according to network parameter generating configuration file, configuration file is uploaded to file repository; Step 204, create virtual machine, download configuration file after the virtual machine activation created, arranges the network parameter of virtual machine according to configuration file.Wherein file repository is the upload and download function of a server for storage file, supporting document.
In this technical scheme, user can need the network parameter arranging virtual machine, the IP address of such as virtual machine according to oneself, makes the IP address of virtual machine controlled.Setting up procedure can be automatically performed by virtual machine, does not need to log in virtual machine manual modification, simplifies the operation of user.
Preferably, step 204 specifically comprises: create a template virtual machine, installs a configuration script, perform configuration script in template virtual machine activation process in template virtual machine, from file repository download configuration file, and the network parameter of template virtual machine is set according to configuration file; According to template virtual machine creating virtual machine.
In this technical scheme, create by template virtual machine a kind of method that virtual machine is efficient quick.In template virtual machine, a configuration script is installed, by configuration script, whole setting up procedure is completed automatically.The virtual machine obtained by this template virtual machine creating is identical with template virtual machine, is all provided with this configuration script, can by performing this configuration script Lookup protocol network parameter.
Preferably, step 204 also comprises: in virtual machine, arrange the first network interface card and the second network interface card, first network interface card adopts NAT mode and automatic acquisition network parameter is connected to file repository, forbids the first network interface card, and arrange the network parameter of the second network interface card after virtual machine download configuration file.
In this technical scheme, the first network interface card is used for being connected to file repository, enables virtual machine download configuration file.When after the download completing configuration file, do not re-use the first network interface card, the second network interface card can be set according to configuration file and be connected to network by the mode of bridge joint.The first network interface card, the second network interface card is distinguished according to these two parameters of HWADDR and DHCPHW_ADD in configuration file.
Preferably, configuration file is named according to the MAC Address of the second network interface card of virtual machine, and virtual machine is according to the MAC Address download configuration file of the second network interface card.
In this technical scheme, when creating multiple stage virtual machine, multiple stage virtual machine needs to arrange respective network parameter respectively, therefore needs the configuration file of multiple stage virtual machine to distinguish, and makes every platform virtual machine obtain configuration file corresponding with it respectively.Here distinguished by MAC Address, such as, the MAC Address of the second network interface card of virtual machine is 52:54:00:2B:7B:C4, the configuration file called after 52_54_00_2B_7B_C4 that can will generate for this virtual machine, such virtual machine just can find corresponding configuration file according to the MAC Address of oneself and download.
Preferably, file repository comprises the ftp server supporting File Transfer Protocol.
In this technical scheme, FTP is a set of standard agreement for carrying out file transfer on network, may be used for the upload and download of file.By ftp server as file repository, the function of files passe and download can be provided.The configuration file of generation is uploaded to ftp server, during virtual machine activation, can from ftp server download configuration file.
Below in conjunction with Fig. 3 and Fig. 4, the method initiatively arranging virtual machine network parameter is according to another embodiment of the present invention described.
Be that this initiatively arranges the schematic diagram of the method for virtual machine network parameter see Fig. 3, Fig. 3.
The method mainly comprises following module:
Configuration file generator, with the generate rule configuration file of arranging, this file will be the network parameter passing to virtual machine; Configuration file warehouse, this warehouse provides the configuration file upload and download of the information such as IP address, is issued by network service, such as HTTP service, FTP service etc.; Network service, virtual machine automatically obtains IP address after startup mixed-media network modules mixed-media, and can have access to configuration file warehouse; Virtual machine configuration script, this script performs in virtual machine activation process, analysis configuration file, and automatically revises network parameter.
Main control end 302 creates virtual machine 306 and inputs network of relation parameter, and configuration file generator is according to network parameter generating configuration file and be uploaded to configuration file warehouse 304.Virtual machine 306 starts, automatic download configuration file, and executive system service analysis configuration file also arranges network parameter.
Be that this initiatively arranges the flow chart of the method for virtual machine network parameter see Fig. 4, Fig. 4.
This method initiatively arranging virtual machine network parameter comprises following flow process:
Step 402, the network parameter of main control end input required for virtual machine.
Step 404, configuration file according to the network parameter generating configuration file of input, and is uploaded to file repository by configuration file generator.
Step 406, virtual machine creating also starts, and performs configuration script, automatic download configuration file.
Step 408, virtual machine continues to perform configuration script, arranges network parameter according to configuration file.
Step 410, virtual machine creating completes.
For realizing said method, need to build configuration file warehouse, what provide configuration file uploads download.Adopt FTP service to serve as configuration file warehouse in this embodiment.FTP is a set of standard agreement for carrying out file transfer on network, and he can be used to the upload and download of file, and we can serve as configuration file warehouse by building a ftp server, provide the upload and download of configuration file.When main control end initiates the operation creating virtual machine, the configuration file of this virtual machine can be generated and upload in configuration file warehouse, when virtual machine activation, downloading corresponding configuration file.Configuration file warehouse plays the object that configuration file is transmitted in transfer.
Then need the form of arranging configuration file, the analysis of file will be configured according to this form in the configuration script of virtual machine, to obtain network of relation parameter.When main control end initiates the operation creating virtual machine, by the network information according to input, according to form generating configuration file.In this embodiment, the title of configuration file is named with the MAC Address of virtual machine bridge joint network interface card, and like this, virtual machine just can find corresponding configuration file according to the MAC Address of bridge joint network interface card and download.The MAC Address of such as configuring virtual machine bridge joint network interface card is 52:54:00:2B:7B:C4, then for this virtual machine generates a configuration file, file is called 52_54_00_2B_7B_C4.
Virtual machine upon actuation must can access file warehouse, otherwise cannot download to corresponding configuration file from file repository.In this embodiment, realize by arranging two network interface cards in virtual machine.Two pieces of network interface cards are set in virtual machine, access external network by adopting NAT mode, accessing external network by bridge joint mode for one piece for one piece.That block network interface card of employing NAT mode is a key in the method.When after virtual machine activation, after being configured to that block network interface card automatic acquisition to IP address of NAT, virtual machine can have access to file repository, by the MAC Address of oneself, download corresponding configuration file in file repository.Here, adopt that block network interface card of NAT mode as a redundancy network interface card, its object directly can have access to file repository upon actuation by it exactly, reaches the object of download configuration file.Configuration script is performed, download configuration file and according to treaty rule Study document after virtual machine activation.Because virtual machine now exists two pieces of network interface cards, namely have two MAC Address, two pieces of which blocks of network interface card can determining in virtual machine according to these two parameters of HWADDR and DHCPHW_ADD in configuration file are NAT mode, and which block is bridge joint mode.After knowing which block network interface card is the network interface card of bridge joint, according to the network parameter of these network interface cards of parameter modification such as the IPADDR in configuration file, the network interface card of disable NAT mode, restarts network service simultaneously, and now the IP address of virtual machine will be set to that value of setting in advance.User will access this virtual machine by this IP address.
By above-mentioned steps, we achieve controlled virtual machine IP address and arrange, and whole process implementation automation.
The method is terminal by file repository, carry out the transmission of network parameter, cleverly by the mode download configuration file of NAT network interface card access external network, and realized the automation of whole layoutprocedure by configuration script, well solve the automatic distribution of virtual machine IP address in cloud computing system and controlled.
It is controlled that this method has been accomplished virtual machine IP address, and user can according to the IP address needing to arrange required for virtual machine of oneself.Compare after creating virtual machine, login virtual machine manual amendment IP address, this method can better realize automation, by the mode of script, whole process is completed automatically, does not need manual intervention.Compare by the mode of DHCP automatic acquisition IP address, this method accomplishes real controlled to IP address, namely the IP address of virtual machine is that user initiatively distributes, instead of DHCP obtains an IP address, and control end also needs the IP address being obtained this virtual machine by Dynamic Host Configuration Protocol server.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a device for virtual machine network parameter is initiatively set, it is characterized in that, comprising:
Configuration file generation unit, described configuration file is also uploaded to file repository by the network parameter generating configuration file required for the virtual machine of input;
Virtual machine creating unit, creates virtual machine, downloads described configuration file, arrange the network parameter of described virtual machine according to described configuration file after the described virtual machine activation created,
Wherein said file repository is the upload and download function of a server for storage file, supporting document;
Wherein, described virtual machine creating unit also for: in described virtual machine, arrange the first network interface card and the second network interface card, described first network interface card adopts NAT mode automatic acquisition network parameter is connected to described file repository,
Forbid described first network interface card after configuration file described in described virtual machine download, and the network parameter of described second network interface card is set.
2. the device initiatively arranging virtual machine network parameter according to claim 1, is characterized in that, described virtual machine creating unit specifically for:
Create a template virtual machine, in described template virtual machine, a configuration script is installed, perform described configuration script in described template virtual machine activation process, download described configuration file from described file repository, and the network parameter of described template virtual machine is set according to described configuration file;
According to described template virtual machine creating virtual machine.
3. the device that virtual machine network parameter is initiatively set according to claim 1, it is characterized in that, described configuration file generation unit names described configuration file according to the MAC Address of described second network interface card of described virtual machine, and described virtual machine downloads described configuration file according to the MAC Address of described second network interface card.
4. the device initiatively arranging virtual machine network parameter according to claim 1 and 2, is characterized in that, described file repository comprises the ftp server supporting File Transfer Protocol.
5. a method for virtual machine network parameter is initiatively set, it is characterized in that, comprising:
Network parameter required for the virtual machine that input will create, is uploaded to file repository by described configuration file according to described network parameter generating configuration file;
Create virtual machine, download described configuration file after the described virtual machine activation created, the network parameter of described virtual machine is set according to described configuration file,
Wherein said file repository is the upload and download function of a server for storage file, supporting document;
Wherein, described establishment virtual machine, described configuration file is downloaded after the described virtual machine activation created, the network parameter arranging described virtual machine according to described configuration file also comprises: in described virtual machine, arrange the first network interface card and the second network interface card, described first network interface card adopts NAT mode and automatic acquisition network parameter is connected to described file repository, forbid described first network interface card after configuration file described in described virtual machine download, and the network parameter of described second network interface card is set.
6. the method that virtual machine network parameter is initiatively set according to claim 5, it is characterized in that, wherein said establishment virtual machine, download described configuration file after the described virtual machine activation created, the network parameter arranging described virtual machine according to described configuration file specifically comprises:
Create a template virtual machine, in described template virtual machine, a configuration script is installed, perform described configuration script in described template virtual machine activation process, download described configuration file from described file repository, and the network parameter of described template virtual machine is set according to described configuration file;
According to described template virtual machine creating virtual machine.
7. the method that virtual machine network parameter is initiatively set according to claim 5, it is characterized in that, described configuration file is named according to the MAC Address of described second network interface card of described virtual machine, and described virtual machine downloads described configuration file according to the MAC Address of described second network interface card.
8. the method initiatively arranging virtual machine network parameter according to claim 5 or 6, is characterized in that, described file repository comprises the ftp server supporting File Transfer Protocol.
CN201210219393.6A 2012-06-28 2012-06-28 The apparatus and method of virtual machine network parameter are initiatively set Active CN102752137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210219393.6A CN102752137B (en) 2012-06-28 2012-06-28 The apparatus and method of virtual machine network parameter are initiatively set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210219393.6A CN102752137B (en) 2012-06-28 2012-06-28 The apparatus and method of virtual machine network parameter are initiatively set

Publications (2)

Publication Number Publication Date
CN102752137A CN102752137A (en) 2012-10-24
CN102752137B true CN102752137B (en) 2015-10-21

Family

ID=47032046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210219393.6A Active CN102752137B (en) 2012-06-28 2012-06-28 The apparatus and method of virtual machine network parameter are initiatively set

Country Status (1)

Country Link
CN (1) CN102752137B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685608B (en) * 2013-12-24 2017-10-20 北京启明星辰信息技术股份有限公司 A kind of method and device for automatically configuring secure virtual machine IP address
CN104023094B (en) * 2014-06-13 2018-01-16 台安科技(无锡)有限公司 The method for avoiding local area network communications module selection puzzlement
CN104796469B (en) * 2015-04-15 2018-04-03 北京中油瑞飞信息技术有限责任公司 The collocation method and device of cloud computing platform
CN107508845B (en) * 2016-06-14 2021-07-06 中兴通讯股份有限公司 Networking system, network sharing method and system
CN107608753A (en) * 2016-07-12 2018-01-19 阿里巴巴集团控股有限公司 A kind of virtual machine creation method and device
CN107766118A (en) * 2016-08-16 2018-03-06 北京神州泰岳软件股份有限公司 A kind of method and apparatus of establishment KVM virtual machines
CN108206750A (en) * 2016-12-16 2018-06-26 北京国双科技有限公司 The configuration method and device of virtual machine network interface card
CN107102883A (en) * 2017-03-10 2017-08-29 深圳市神云科技有限公司 A kind of virtual machine configuration method
CN107172228A (en) * 2017-06-09 2017-09-15 郑州云海信息技术有限公司 Change the method and apparatus and computer-readable recording medium of virtual machine IP address
CN107357636A (en) * 2017-07-26 2017-11-17 郑州云海信息技术有限公司 A kind of method and main frame for creating virtual machine
CN108121662A (en) * 2017-12-29 2018-06-05 广东欧珀移动通信有限公司 The collocation method and its device of test equipment
CN108848140B (en) * 2018-05-31 2022-11-08 深圳壹账通智能科技有限公司 Event-driven configuration management method, event-driven configuration management apparatus, computer device, and storage medium
CN109039697B (en) * 2018-06-19 2019-09-17 新华三云计算技术有限公司 Virtual machine network card configuration method and device
CN111324389A (en) * 2020-02-18 2020-06-23 深信服科技股份有限公司 Cloud platform network management method, device, equipment and storage medium
CN114675926A (en) * 2020-12-24 2022-06-28 中兴通讯股份有限公司 Virtual machine attribute changing method and device, storage medium and electronic device
CN113645057B (en) * 2021-06-25 2023-04-07 济南浪潮数据技术有限公司 Method and device for supporting addition of network card model by cloud platform
CN115629842A (en) * 2022-10-31 2023-01-20 鞍钢股份有限公司 Virtualization method of width modulation server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1282035A (en) * 1999-07-22 2001-01-31 株式会社高岳制作所 Network
CN1647029A (en) * 2002-04-03 2005-07-27 株式会社Ntt都科摩 Distribution method, distribution system, and terminal device
CN102073536A (en) * 2011-01-11 2011-05-25 济南银泉科技有限公司 Method for editing template into warehouse by cloud platform and generating virtual machines in bulk
CN102315968A (en) * 2011-09-19 2012-01-11 华中科技大学 Network configuration method in virtual machine environment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8819113B2 (en) * 2009-03-02 2014-08-26 Kaseya International Limited Remote provisioning of virtual machines
CN102064966B (en) * 2010-12-29 2016-04-13 北京世纪互联宽带数据中心有限公司 A kind of collocation method, server, equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1282035A (en) * 1999-07-22 2001-01-31 株式会社高岳制作所 Network
CN1647029A (en) * 2002-04-03 2005-07-27 株式会社Ntt都科摩 Distribution method, distribution system, and terminal device
CN102073536A (en) * 2011-01-11 2011-05-25 济南银泉科技有限公司 Method for editing template into warehouse by cloud platform and generating virtual machines in bulk
CN102315968A (en) * 2011-09-19 2012-01-11 华中科技大学 Network configuration method in virtual machine environment

Also Published As

Publication number Publication date
CN102752137A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN102752137B (en) The apparatus and method of virtual machine network parameter are initiatively set
US10761873B2 (en) Evaluating distributed application performance in a new environment
CN106843828B (en) Interface display and loading method and device
CN105099739B (en) One kind being based on plug-in type software deployment method, apparatus and application server
CN106126273B (en) A kind of method of upgrading BIOS
CN104767649B (en) Dispose the method and device of bare metal server
CN102567075B (en) Virtual machine context setting method in cloud computing environment
CN109547509B (en) Cross-platform deployment method and system
US9998911B2 (en) Transferring information to a mobile device
CN101447891B (en) Service model self-adapting system and method thereof
CN105630488A (en) Docker container technology-based continuous integration realizing method
CN103412768A (en) Zookeeper cluster automatic-deployment method based on script program
CN113110864B (en) Application program updating method and device and storage medium
CN105553741A (en) Automatic deployment method for application system based on cloud computing
CN105450450B (en) Virtual network method for parameter configuration and device
CN102662884B (en) Device driving program configuration method based on network
WO2014008864A1 (en) Method, apparatus, and system for sharing software among terminals
CN113312083B (en) Application generation method, device and equipment
CN104239467A (en) Application program recommendation method, system and device
CN106209423B (en) Virtual desktop distribution method and device
WO2016198004A1 (en) Network gambit configuration method and apparatus under virtualization technology
CN111130820A (en) Cluster management method and device and computer system
CN106130765B (en) Virtual desktop distribution method and device
CN104219097A (en) Rapid configuration method of distributed system
CN114466000B (en) CDN gateway source returning method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100094 Haidian District North Road, Beijing, No. 68

Applicant after: Yonyou Network Technology Co., Ltd.

Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park

Applicant before: UFIDA Software Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant