CN107766054A - A kind of method and device of automatic installation Virtual Machine Manager software - Google Patents

A kind of method and device of automatic installation Virtual Machine Manager software Download PDF

Info

Publication number
CN107766054A
CN107766054A CN201710896102.XA CN201710896102A CN107766054A CN 107766054 A CN107766054 A CN 107766054A CN 201710896102 A CN201710896102 A CN 201710896102A CN 107766054 A CN107766054 A CN 107766054A
Authority
CN
China
Prior art keywords
virtual machine
tools
software
image file
installation
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
CN201710896102.XA
Other languages
Chinese (zh)
Inventor
王亮
杨岳川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710896102.XA priority Critical patent/CN107766054A/en
Publication of CN107766054A publication Critical patent/CN107766054A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of method and device of automatic installation Virtual Machine Manager software, and the above method comprises the following steps:When virtual machine is run, software installation script and the access path of the image file ISO according to Virtual Machine Manager software Tools are performed, the image file is obtained and carries out Tools installations.Above-mentioned technical proposal, according to the Virtual Machine Manager software Tools of acquisition image file ISO, by performing software installation script, realize automatic, efficient, the accurate installations of Tools.

Description

A kind of method and device of automatic installation Virtual Machine Manager software
Technical field
The present invention relates to Virtual Machine Manager field, more particularly to a kind of method and dress of automatic installation Virtual Machine Manager software Put.
Background technology
With the development of virtualization technology, the management to virtual machine proposes increasing requirement, but due to virtual Change technology is to fictionalize a brand-new virtual machine to use to client, the various characteristics of this virtual machine internal nothing in main frame Method detects.At this time need that a set of Virtual Machine Manager software is installed in virtual machine internal, at present the general naming method of industry For Tools, this is the set of optional a driver and utility program, it is possible to increase virtual machine performance, simplifies virtual machine Management, because it provides a communication port between main frame and virtual machine, can obtain the various of virtual machine internal whereby Information, improve the convenience of management.
But Tools installation at present mainly selects to install in virtual machine internal manually by user, if virtualization system Virtual machine in system is excessive, both installation effectiveness is declined, and also the probability that mistake occurs is greatly increased.
Therefore, there is an urgent need to provide a kind of automatic installation Virtual Machine Manager software scenario to solve above-mentioned technical problem.
The content of the invention
The present invention provides a kind of method and device of automatic installation Virtual Machine Manager software, to solve the above problems.
The embodiment of the present invention provides a kind of method of automatic installation Virtual Machine Manager software, comprises the following steps:Virtual machine During operation, software installation script and the access path of the image file ISO according to Virtual Machine Manager software Tools are performed, is obtained The image file simultaneously carries out Tools installations.
The embodiment of the present invention also provides a kind of device of automatic installation Virtual Machine Manager software, including processor, suitable for reality Now each instruction;Storage device, suitable for storing a plurality of instruction, the instruction is suitable to be loaded and performed by the processor;
When virtual machine is run, software installation script is performed and according to Virtual Machine Manager software Tools image file ISO's Access path, obtain the image file and carry out Tools installations.
Technical scheme provided in an embodiment of the present invention:When virtual machine is run, software installation script is performed and according to virtual machine Management software Tools image file ISO access path, obtain the image file and carry out Tools installations.
Above-mentioned technical proposal, according to the Virtual Machine Manager software Tools of acquisition image file ISO, by performing software Installation script, realize automatic, efficient, the accurate installations of Tools.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 show the method flow diagram of the automatic installation Virtual Machine Manager software of the embodiment of the present invention 1;
Fig. 2 show the structure drawing of device of the automatic installation Virtual Machine Manager software of the embodiment of the present invention 2.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
When application claims system manager disposes virtualized environment, Virtual Machine Manager software corresponding with virtual machine is configured Tools.If chosen to virtual machine automatic deployment Tools, after keeper creates virtual machine, operation is fitted without in virtual machine System is also fitted without Tools, after keeper starts virtual machine installation operation system, can restart virtual machine, at this moment virtually There is operating system in machine but be fitted without Tools, restarting process at this time is as follows:First close virtual machine;Then virtualize Management system can detect the hard disk of virtual machine, and a software installation script is inserted into the hard disk of virtual machine;Then virtualization pipe Image file ISO of the reason system to virtual machine carry Tools;Open virtual machine, at this moment virtual machine can perform be previously inserted it is soft Part installation script, Tools is installed automatically in virtual machine using ISO, completes Tools automatically dispose.
It follows that the core scheme that the present invention protects is:After virtual machine installation operation system, virtual machine is closed, A software installation script is inserted into the hard disk of virtual machine;Then start virtual machine, perform software installation script and according to void Plan machine management software Tools image file ISO access path, obtain the image file and carry out Tools installations.
Such scheme needs to use in virtualized environment, and the automatic running during virtual machine is disposed improves and is The convenience of reason under the overall leadership.
It is as follows for such scheme, specific implementation process:
First, when system manager disposes virtualized environment, configure to virtual machine automatic deployment Tools;
Secondly, during the deployment of guest virtual machine, installed automatically from virtual management system to guest virtual machine Tools, specific implementation process are as follows:
1) keeper creates virtual machine;
2) keeper's installation operation system in virtual machine, and perform reboot operation;
3) virtual machine management system performs the operation for restarting virtual machine.
The process that virtual machine is restarted in the execution of virtual management system is as follows:
1) virtual machine is closed;
2) hard disk of virtual machine is detected, a software installation script is inserted into the hard disk of virtual machine;
3) to virtual machine carry Tools ISO;
4) virtual machine is opened
At this moment after virtual machine is opened, the software installation script being previously inserted can be performed, is installed using ISO in virtual machine Tools, complete Tools automatically dispose.
Fig. 1 show the method flow diagram of the automatic installation Virtual Machine Manager software of the embodiment of the present invention 1, including following step Suddenly:
Step 101:Create virtual machine and start the virtual machine, the installation targets operating system in the virtual machine;
Step 102:When the virtual machine is restarted, the virtual machine is closed;
Step 103:The software installation script is inserted into the hard disk of the virtual machine and by Tools ISO access Path transmission is to the virtual machine;
Further, the software installation script is inserted into the hard disk of the virtual machine and by Tools ISO access Before path transmission to the virtual machine, in addition to:
It is pre-configured with Tools corresponding with the virtual machine.
Step 104:When virtual machine is run, software installation script is performed and according to Virtual Machine Manager software Tools mirror image File ISO access path, obtain the image file and carry out Tools installations.
In the embodiment of the present invention, after virtual machine installs operating system, a software installation is inserted to virtual machine Script, and carry Tools ISO, Tools is installed in virtual machine using software installation script, completes Tools Automation Administration.Whole Tools deployment process does not need manual intervention, improves the convenience of system administration.
Fig. 2 show the structure drawing of device of the automatic installation Virtual Machine Manager software of the embodiment of the present invention 2, including processing Device, it is adapted for carrying out each instruction;Storage device, suitable for storing a plurality of instruction, the instruction is suitable to be loaded and held by the processor OK;
When virtual machine is run, software installation script is performed and according to Virtual Machine Manager software Tools image file ISO's Access path, obtain the image file and carry out Tools installations.
Further, when virtual machine is run, software installation script is performed and according to the image file of Virtual Machine Manager software Access path, before obtaining the image file and carrying out Tools installations, in addition to:
Create virtual machine and start the virtual machine, the installation targets operating system in the virtual machine.
Further, create and virtual machine and start the virtual machine, in the virtual machine installation targets operating system it Afterwards, in addition to:
When the virtual machine is restarted, the virtual machine is closed;
The software installation script is inserted into the hard disk of the virtual machine and transmits Tools ISO access path To the virtual machine.
Further, the software installation script is inserted into the hard disk of the virtual machine and by Tools ISO access Before path transmission to the virtual machine, in addition to:
It is pre-configured with Tools corresponding with the virtual machine
In the embodiment of the present invention, after virtual machine installs operating system, a software installation is inserted to virtual machine Script, and carry Tools ISO, Tools is installed in virtual machine using software installation script, completes Tools Automation Administration.Whole Tools deployment process does not need manual intervention, improves the convenience of system administration.
Technical scheme provided in an embodiment of the present invention:When virtual machine is run, software installation script is performed and according to virtual machine Management software Tools image file ISO access path, obtain the image file and carry out Tools installations.
Above-mentioned technical proposal, according to the Virtual Machine Manager software Tools of acquisition image file ISO, by performing software Installation script, realize automatic, efficient, the accurate installations of Tools.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (8)

  1. A kind of 1. method of automatic installation Virtual Machine Manager software, it is characterised in that comprise the following steps:
    When virtual machine is run, software installation script and the access of the image file ISO according to Virtual Machine Manager software Tools are performed Path, obtain the image file and carry out Tools installations.
  2. 2. according to the method for claim 1, it is characterised in that when virtual machine is run, perform software installation script and basis The access path of the image file of Virtual Machine Manager software, before obtaining the image file and carrying out Tools installations, also wrap Include:
    Create virtual machine and start the virtual machine, the installation targets operating system in the virtual machine.
  3. 3. according to the method for claim 2, it is characterised in that create virtual machine and start the virtual machine, in the void In plan machine after installation targets operating system, in addition to:
    When the virtual machine is restarted, the virtual machine is closed;
    The software installation script is inserted into the hard disk of the virtual machine and transmits Tools ISO access path to institute State virtual machine.
  4. 4. according to the method for claim 3, it is characterised in that the software installation is inserted into the hard disk of the virtual machine Script simultaneously transmits Tools ISO access path to before the virtual machine, in addition to:
    It is pre-configured with Tools corresponding with the virtual machine.
  5. 5. a kind of device of automatic installation Virtual Machine Manager software, it is characterised in that including processor, be adapted for carrying out each instruction; Storage device, suitable for storing a plurality of instruction, the instruction is suitable to be loaded and performed by the processor;
    When virtual machine is run, software installation script and the access of the image file ISO according to Virtual Machine Manager software Tools are performed Path, obtain the image file and carry out Tools installations.
  6. 6. device according to claim 5, it is characterised in that when virtual machine is run, perform software installation script and basis The access path of the image file of Virtual Machine Manager software, before obtaining the image file and carrying out Tools installations, also wrap Include:
    Create virtual machine and start the virtual machine, the installation targets operating system in the virtual machine.
  7. 7. device according to claim 6, it is characterised in that create virtual machine and start the virtual machine, in the void In plan machine after installation targets operating system, in addition to:
    When the virtual machine is restarted, the virtual machine is closed;
    The software installation script is inserted into the hard disk of the virtual machine and transmits Tools ISO access path to institute State virtual machine.
  8. 8. according to the method for claim 7, it is characterised in that the software installation is inserted into the hard disk of the virtual machine Script simultaneously transmits Tools ISO access path to before the virtual machine, in addition to:
    It is pre-configured with Tools corresponding with the virtual machine.
CN201710896102.XA 2017-09-27 2017-09-27 A kind of method and device of automatic installation Virtual Machine Manager software Pending CN107766054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710896102.XA CN107766054A (en) 2017-09-27 2017-09-27 A kind of method and device of automatic installation Virtual Machine Manager software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710896102.XA CN107766054A (en) 2017-09-27 2017-09-27 A kind of method and device of automatic installation Virtual Machine Manager software

Publications (1)

Publication Number Publication Date
CN107766054A true CN107766054A (en) 2018-03-06

Family

ID=61266908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710896102.XA Pending CN107766054A (en) 2017-09-27 2017-09-27 A kind of method and device of automatic installation Virtual Machine Manager software

Country Status (1)

Country Link
CN (1) CN107766054A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662745A (en) * 2012-04-18 2012-09-12 北京中电普华信息技术有限公司 Virtual machine management system and virtual machine management method
CN103530162A (en) * 2013-10-22 2014-01-22 中国科学院信息工程研究所 Automatic online virtual machine software installing method and system
US20140143305A1 (en) * 2012-11-22 2014-05-22 Electronics And Telecommunications Research Institute Apparatus and system for providing software service using software virtualization and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662745A (en) * 2012-04-18 2012-09-12 北京中电普华信息技术有限公司 Virtual machine management system and virtual machine management method
US20140143305A1 (en) * 2012-11-22 2014-05-22 Electronics And Telecommunications Research Institute Apparatus and system for providing software service using software virtualization and method thereof
CN103530162A (en) * 2013-10-22 2014-01-22 中国科学院信息工程研究所 Automatic online virtual machine software installing method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
IYUESH: "VMware Tools自动安装脚本", 《,51CTO博客,HTTPS://BLOG.51CTO.COM/IYUESH/946791》 *
JASON_HJX: "VMware Tool安装方法及共享文件夹设置方法", 《博客园,HTTPS://WWW.CNBLOGS.COM/HUANGJIANXIN/P/6343881.HTML,20170123》 *

Similar Documents

Publication Publication Date Title
US10284416B2 (en) Workload deployment with infrastructure management agent provisioning
JP5819561B1 (en) How to present a proprietary image backup to the hypervisor as a disk file bootable by the hypervisor
US9875133B2 (en) Virtual machine disk image installation
US20180039507A1 (en) System and method for management of a virtual machine environment
US9811369B2 (en) Method and system for physical computer system virtualization
US8924954B2 (en) Application software installation method and application software installation apparatus
EP2765508A1 (en) Installation method and installation device for application software
US9489220B1 (en) Displaying guest operating system statistics in host task manager
US20080189697A1 (en) Updating a virtual machine monitor from a guest partition
WO2015179603A1 (en) Providing testing environments using virtualization
CN104182257B (en) The installation method of application software and the erecting device of application software
US9495181B2 (en) Creating a virtual appliance
CN103327108B (en) A kind of cross-platform software management platform based on cloud and construction method thereof
CN106648827A (en) Method for online adding virtual machine resources
US20220121472A1 (en) Vm creation by installation media probe
CN109002346A (en) A kind of conversion method of Windows virtual machine boot program
CN105389190B (en) A kind of method, apparatus and system of os starting
WO2018103372A1 (en) Driver management method and host machine
US10606632B2 (en) Preventing interruption during virtual machine reboot
WO2017020460A1 (en) Method and apparatus for integrating plugin
CN106557354B (en) Method for setting attribute parameters of private image and computer equipment
EP3499365A1 (en) Method and device for use in accessing container
CN105447382A (en) Sandbox based software registry redirection method and system
CN107766122B (en) Method and device for setting available memory space of host machine
CN107766054A (en) A kind of method and device of automatic installation Virtual Machine Manager software

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180306