CN103902302A - Software installation system and method for virtual machine - Google Patents

Software installation system and method for virtual machine Download PDF

Info

Publication number
CN103902302A
CN103902302A CN201210573594.6A CN201210573594A CN103902302A CN 103902302 A CN103902302 A CN 103902302A CN 201210573594 A CN201210573594 A CN 201210573594A CN 103902302 A CN103902302 A CN 103902302A
Authority
CN
China
Prior art keywords
virtual machine
software
hard disk
module
carry
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
CN201210573594.6A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201210573594.6A priority Critical patent/CN103902302A/en
Publication of CN103902302A publication Critical patent/CN103902302A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a software installation system for a virtual machine. The software installation system for the virtual machine runs in a host and comprises an establishment module, a confirmation module, a searching module and a mounting module, wherein the establishment module is used for establishing one or more virtual hard disks in a storage device connected with the host, one or more software programs are stored in each virtual hard disk, the confirmation module is used for confirming the target virtual machine and a software program to be installed, the searching module is used for searching for the virtual hard disk where the software program to be installed is located, and the mounting module is used for mounting the found virtual hard disk onto the target virtual machine so that a client side can install the software program to be installed on the target virtual machine. The invention further provides a software installation method for the virtual machine. By the adoption of the software installation system and method for the virtual machine, a user can install software programs on the virtual machine rapidly and efficiently according to requirements.

Description

Software virtual machine installation system and method
Technical field
The present invention relates to a kind of cloud computing system and method, particularly about a kind of software virtual machine installation system and method.
Background technology
Cloud service provides user a kind of solution of saving computing cost, and user buys hardware without cost great amount of cost, as long as can reach the computing object of many physical machine by the application of virtual machine.When user carries out virtual machine operations, often need different software supports, for example SQL Server, Apache or Office software.Part cloud service provider can provide the virtual machine template that comprises specific software to apply for for user, and user can also download and install the software needing voluntarily by far-end line.But the software that cloud service provider need to be provided is bound mutually with virtual machine, user is autonomous, and the elasticity of selecting is lower.And need to spend more software download time by far-end line down loading mounting software.
Summary of the invention
In view of above content, be necessary to provide a kind of software virtual machine installation system, be convenient to user's mounting software program on virtual machine quickly and efficiently according to demand.
In addition, be also necessary to provide a kind of software virtual machine installation method, be convenient to user's mounting software program on virtual machine quickly and efficiently according to demand.
A kind of software virtual machine installation system, runs in main frame, and this system comprises: creation module, and for creating one or more virtual hard disks at the memory device being connected with main frame, each virtual hard disk is stored one or more software programs; Determination module, for determining object virtual machine and software program to be installed; Search module, for searching the virtual hard disk at described software program place to be installed; And carry module, for the virtual hard disk finding being mounted to described object virtual machine, described software program to be installed is installed on described object virtual machine for client.
A kind of software virtual machine installation method, is applied in main frame, and the method comprises: foundation step, in the memory device being connected with main frame, create one or more virtual hard disks, and each virtual hard disk is stored one or more software programs; Determining step, determines object virtual machine and software program to be installed; Finding step, searches the virtual hard disk at described software program place to be installed; And carry step, the virtual hard disk finding is mounted to described object virtual machine, described software program to be installed is installed on described object virtual machine for client.
The virtual hard disk at software program place is mounted to virtual machine by the present invention, save the time that user downloads software program, is convenient to user's mounting software program on virtual machine quickly and efficiently according to demand.
Accompanying drawing explanation
Fig. 1 is the applied environment schematic diagram of software virtual machine installation system of the present invention preferred embodiment.
Fig. 2 is the functional block diagram of software virtual machine installation system in Fig. 1.
Fig. 3 is the process flow diagram of software virtual machine installation method of the present invention preferred embodiment.
Main element symbol description
Main frame 1
Network 2
Memory device 3
Client 4
Software virtual machine installation system 10
Storer 11
Processor 12
Creation module 100
Determination module 101
Search module 102
Carry module 103
Unload module 104
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
Consulting shown in Fig. 1, is the applied environment schematic diagram of software virtual machine installation system of the present invention preferred embodiment.Described software virtual machine installation system 10 runs in main frame 1, and main frame 1 is by network 2 and such as storage server of memory device 3() and multiple client 4 be connected.Main frame 1 is provided with one or more virtual machine (Fig. 1 does not draw).For example, main frame 1 is provided with three virtual machines, is designated as respectively VM1, VM2 and VM3.Main frame 1 also comprises storer 11 and processor 12.Required data in the program code of described storer 11 storage virtual machine software installation systems 10 and operational process.Described processor 12 is carried out the program code of software virtual machine installation system 10, is convenient to user's mounting software program on described virtual machine quickly and efficiently according to demand.Described network 2 can be in-house network (Intranet), can be also the communication network of internet (Internet) or other type, as GPRS, Wi-Fi/WLAN, 3G/WCDMA, 3.5G/HSDPA etc.
Consulting shown in Fig. 2, is the functional block diagram of software virtual machine installation system in Fig. 1.Described software virtual machine installation system 10 comprises creation module 100, determination module 101, searches module 102, carry module 103 and Unload module 104.
Described creation module 100 is for creating one or more virtual hard disks at memory device 3, and each virtual hard disk is stored one or more software programs.For example, creation module 100 creates three virtual hard disks in memory device 3, is designated as respectively vDisk1, vDisk2 and vDisk3.Wherein, virtual hard disk vDisk1 stores the first software program and the second software program.Virtual hard disk vDisk2 storage the 3rd software program.Virtual hard disk vDisk1 storage the 4th software program.
Described determination module 101 is for determining object virtual machine and software program to be installed.In the present embodiment, determination module 101 provides a Virtual Machine Manager page, and user accesses these Virtual Machine Manager pages by client 4, and from this Virtual Machine Manager page, selects object virtual machine and software program to be installed.For example, determination module 101 determines that according to user's selection object virtual machine is VM2, and software program to be installed is the 3rd software program.Described object virtual machine is the virtual machine that needs mounting software program.
The described module 102 of searching is for searching the virtual hard disk at software program place to be installed.For example, software program to be installed is the 3rd software program, searches module 102 and finds the 3rd software program and be stored in virtual hard disk vDisk2.
Described carry module 103, for the virtual hard disk finding being mounted to described object virtual machine, is installed described software program to be installed on described object virtual machine for client 4.For example, the virtual hard disk vDisk2 finding is mounted to virtual machine VM2 by carry module 103.In the present embodiment, in the time that carry completes, carry module 103 sends to client 4 notice that carry completes.Receive that after the notice that carry completes, user logins described object virtual machine by client 4 and opens the virtual hard disk of carry, from the virtual hard disk of this carry, described software program to be installed is installed.
Described Unload module 104 is for the virtual hard disk from described object virtual machine unloading carry.In the present embodiment, in the time that the virtual hard disk finding is mounted to described object virtual machine by carry module 103, Unload module 104 for example, starts timing according to Preset Time (1 hour).In the time that Preset Time arrives, Unload module 104 is from the virtual hard disk of described object virtual machine unloading carry.For example, Unload module 104 is from virtual machine VM2 unloading virtual hard disk vDisk2.In the present embodiment, in the time that unloading starts, Unload module 104 sends to client 4 notice that unloading starts.In the time that unloading completes, Unload module 104 sends to client 4 notice having unloaded.
Consulting shown in Fig. 3, is the process flow diagram of software virtual machine installation method of the present invention preferred embodiment.
Step S301, creation module 100 creates one or more virtual hard disks in memory device 3, and each virtual hard disk is stored one or more software programs.For example, creation module 100 creates three virtual hard disks in memory device 3, is designated as respectively vDisk1, vDisk2 and vDisk3.Wherein, virtual hard disk vDisk1 stores the first software program and the second software program.Virtual hard disk vDisk2 storage the 3rd software program.Virtual hard disk vDisk1 storage the 4th software program.
Step S302, determination module 101 is determined object virtual machine and software program to be installed.In the present embodiment, determination module 101 provides a Virtual Machine Manager page, and user accesses these Virtual Machine Manager pages by client 4, and from this Virtual Machine Manager page, selects object virtual machine and software program to be installed.For example, determination module 101 determines that according to user's selection object virtual machine is VM2, and software program to be installed is the 3rd software program.Described object virtual machine is the virtual machine that needs mounting software program.
Step S303, searches module 102 and searches the virtual hard disk at software program place to be installed.For example, software program to be installed is the 3rd software program, searches module 102 and finds the 3rd software program and be stored in virtual hard disk vDisk2.
Step S304, the virtual hard disk finding is mounted to described object virtual machine by carry module 103, and meanwhile, Unload module 104 for example, starts timing according to Preset Time (1 hour).For example, the virtual hard disk vDisk2 finding is mounted to virtual machine VM2 by carry module 103.In the present embodiment, in the time that carry completes, carry module 103 sends to client 4 notice that carry completes.
Step S305, user logins object virtual machine by client 4 and opens the virtual hard disk of carry, from the virtual hard disk of this carry, described software program to be installed is installed.
In the time that Preset Time arrives, step S306, Unload module 104 is from the virtual hard disk of described object virtual machine unloading carry.For example, Unload module 104 is from virtual machine VM2 unloading virtual hard disk vDisk2.In the present embodiment, in the time that unloading starts, Unload module 104 sends to client 4 notice that unloading starts.In the time that unloading completes, Unload module 104 sends to client 4 notice having unloaded.

Claims (10)

1. a software virtual machine installation system, runs in main frame, it is characterized in that, this system comprises:
Creation module, for creating one or more virtual hard disks at the memory device being connected with main frame, each virtual hard disk is stored one or more software programs;
Determination module, for determining object virtual machine and software program to be installed;
Search module, for searching the virtual hard disk at described software program place to be installed; And
Carry module for the virtual hard disk finding being mounted to described object virtual machine, is installed described software program to be installed on described object virtual machine for client.
2. software virtual machine installation system as claimed in claim 1, is characterized in that, this system also comprises:
Unload module, for the virtual hard disk from described object virtual machine unloading carry.
3. software virtual machine installation system as claimed in claim 2, it is characterized in that, in the time that the virtual hard disk finding is mounted to described object virtual machine by described carry module, described Unload module starts timing according to Preset Time, in the time that Preset Time arrives, described Unload module is from the virtual hard disk of described object virtual machine unloading carry.
4. software virtual machine installation system as claimed in claim 2, is characterized in that, described Unload module sends to described client the notice that unloading starts in the time that unloading starts.
5. software virtual machine installation system as claimed in claim 1, is characterized in that, described carry module sends to described client the notice that carry completes in the time that carry completes.
6. a software virtual machine installation method, is applied in main frame, it is characterized in that, the method comprises:
Foundation step creates one or more virtual hard disks in the memory device being connected with main frame, and each virtual hard disk is stored one or more software programs;
Determining step, determines object virtual machine and software program to be installed;
Finding step, searches the virtual hard disk at described software program place to be installed; And
Carry step, is mounted to described object virtual machine by the virtual hard disk finding, and described software program to be installed is installed on described object virtual machine for client.
7. software virtual machine installation method as claimed in claim 6, is characterized in that, the method also comprises:
Unloading step, from the virtual hard disk of described object virtual machine unloading carry.
8. software virtual machine installation method as claimed in claim 7, is characterized in that, described unloading step comprises:
In the time that carry completes, start timing according to Preset Time; And
In the time that Preset Time arrives, from the virtual hard disk of described object virtual machine unloading carry.
9. software virtual machine installation method as claimed in claim 7, is characterized in that, the method also comprises:
Unloading notifying process, in the time that unloading starts, sends to described client the notice that unloading starts.
10. software virtual machine installation method as claimed in claim 6, is characterized in that, the method also comprises:
Carry notifying process, in the time that carry completes, sends to described client the notice that carry completes.
CN201210573594.6A 2012-12-26 2012-12-26 Software installation system and method for virtual machine Pending CN103902302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210573594.6A CN103902302A (en) 2012-12-26 2012-12-26 Software installation system and method for virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210573594.6A CN103902302A (en) 2012-12-26 2012-12-26 Software installation system and method for virtual machine

Publications (1)

Publication Number Publication Date
CN103902302A true CN103902302A (en) 2014-07-02

Family

ID=50993643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210573594.6A Pending CN103902302A (en) 2012-12-26 2012-12-26 Software installation system and method for virtual machine

Country Status (1)

Country Link
CN (1) CN103902302A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102527A (en) * 2014-07-10 2014-10-15 国云科技股份有限公司 Method for updating software of virtual machine
CN105045644A (en) * 2015-09-17 2015-11-11 上海赛为信息技术有限公司 Production method of virtual device program installation package and production method of virtual device
CN105245606A (en) * 2015-10-22 2016-01-13 中国铁路总公司 Cloud office platform
CN105279000A (en) * 2015-11-19 2016-01-27 北京北信源软件股份有限公司 Virtual machine software installing method, installing controller and installing agent
CN106528263A (en) * 2016-10-21 2017-03-22 郑州云海信息技术有限公司 A method for injecting metainformation into virtual machines and performing initialization in a virtualization environment
CN109408077A (en) * 2018-10-23 2019-03-01 嘉兴南洋职业技术学院 A kind of colleges and universities' real training software quick deployment method based on virtual machine
CN110442426A (en) * 2019-07-25 2019-11-12 腾讯科技(深圳)有限公司 A kind of password remapping method, device and storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102527A (en) * 2014-07-10 2014-10-15 国云科技股份有限公司 Method for updating software of virtual machine
CN105045644A (en) * 2015-09-17 2015-11-11 上海赛为信息技术有限公司 Production method of virtual device program installation package and production method of virtual device
CN105245606A (en) * 2015-10-22 2016-01-13 中国铁路总公司 Cloud office platform
CN105245606B (en) * 2015-10-22 2018-10-16 中国铁路总公司 Cloud office platform
CN105279000A (en) * 2015-11-19 2016-01-27 北京北信源软件股份有限公司 Virtual machine software installing method, installing controller and installing agent
CN105279000B (en) * 2015-11-19 2019-06-21 北京北信源软件股份有限公司 A kind of software virtual machine installation method, installation controller and installation agent
CN106528263A (en) * 2016-10-21 2017-03-22 郑州云海信息技术有限公司 A method for injecting metainformation into virtual machines and performing initialization in a virtualization environment
CN106528263B (en) * 2016-10-21 2019-08-02 郑州云海信息技术有限公司 The method injecting metamessage to virtual machine in virtualized environment and being initialized
CN109408077A (en) * 2018-10-23 2019-03-01 嘉兴南洋职业技术学院 A kind of colleges and universities' real training software quick deployment method based on virtual machine
CN109408077B (en) * 2018-10-23 2022-04-22 嘉兴南洋职业技术学院 Virtual machine-based rapid deployment method for training software of colleges and universities
CN110442426A (en) * 2019-07-25 2019-11-12 腾讯科技(深圳)有限公司 A kind of password remapping method, device and storage medium
CN110442426B (en) * 2019-07-25 2023-09-26 腾讯科技(深圳)有限公司 Password resetting method, device and storage medium

Similar Documents

Publication Publication Date Title
CN103902302A (en) Software installation system and method for virtual machine
CN103227812B (en) Smart machine is supported method for down loading and the device of breakpoint transmission
US10764202B2 (en) Container-based mobile code offloading support system in cloud environment and offloading method thereof
US11048492B2 (en) Reducing downtime while patching binaries on a cluster
EP3333704A1 (en) Method and apparatus for repairing kernel vulnerability
JP2014127209A (en) Computer program installation system of virtual machine, and method for the same
US9274787B2 (en) Method and system for updating firmware on a beacon device and a communication unit broadcasting beacon signal
US20100088448A1 (en) Virtual computing accelerator and program downloading method for server-based virtual computing
CN101650660A (en) Booting a computer system from central storage
CN104113576A (en) Method and device for updating client
CN103164253A (en) Virtual machine deployment system and virtual machine deployment method
US9830169B2 (en) Method and apparatus for remotely delivering software
US10635604B2 (en) Extending a cache of a storage system
CN105450759A (en) System mirror image management method and device
US8843915B2 (en) Signature-based update management
JP6774971B2 (en) Data access accelerator
CN103136030A (en) Virtual machine management system and method
WO2014040424A1 (en) Method and apparatus for patching
CN106550022B (en) Application program distribution control processing method and system
CN104601617A (en) Peripheral access processing method and device in virtual desktop system
CN102480360B (en) Power control method of multiple servers
CN102664922A (en) High-speed network starting method based on Linux system
CN102419753B (en) Information processing equipment, information processing method and information processing system
CN103440146A (en) BIOS updating method based on cloud storage
CN103377280A (en) Information processing apparatus and method, program, and information processing system

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

Application publication date: 20140702