CN106201660A - Method for automatically upgrading virtual hardware and software of virtual machine - Google Patents

Method for automatically upgrading virtual hardware and software of virtual machine Download PDF

Info

Publication number
CN106201660A
CN106201660A CN201610553985.XA CN201610553985A CN106201660A CN 106201660 A CN106201660 A CN 106201660A CN 201610553985 A CN201610553985 A CN 201610553985A CN 106201660 A CN106201660 A CN 106201660A
Authority
CN
China
Prior art keywords
virtual machine
software
virtual
hardware
upgrading
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
CN201610553985.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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610553985.XA priority Critical patent/CN106201660A/en
Publication of CN106201660A publication Critical patent/CN106201660A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

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

Abstract

The invention discloses a method for automatically upgrading virtual hardware and software of a virtual machine, and belongs to the technical field of server virtualization. The invention relates to a method for automatically upgrading virtual hardware and software by a virtual machine, which comprises the following steps: integrating driving tool software into a shared directory on a server node of a virtualization platform, integrating the driving of various hardware devices in the driving tool software, and setting a timing scanning hardware new version and a scanning path for a virtual machine; (II) upgrading the virtual software: and storing the new version of the virtual machine operating system and the new template of the virtual machine on the shared storage on the server node of the virtualization platform, and setting a timing scanning software new version and a scanning path for the virtual machine. The method for automatically upgrading the virtual hardware and software of the virtual machine can enable a user of the virtual machine to finish the version upgrading of the virtual machine and the synchronization of the latest application software data according to the scanned prompt, and has good popularization and application values.

Description

A kind of method of virtual machine automatic upgrading virtual hardware and software
Technical field
The present invention relates to technical field of server virtualization, the concrete a kind of virtual machine automatic upgrading virtual hardware and soft of providing The method of part.
Background technology
Along with socioeconomic development and progress, the use of computer is more and more extensive.In order to enable a calculating The functions such as the speed of service and the storage that realize multiple stage computer on machine, virtual machine arises at the historic moment.Virtualization is a kind of method, essence On say and refer to from logical perspective rather than physical angle, resource is allocated, be different to treat from single logical perspective The method of physical resource.Virtualization is a kind of resource configuration technology from logical perspective, is the logical abstraction of physics reality. Such as, a current only computer, by virtual technology, appear but to be multiple stage, every has it each user CPU, internal memory, the physical resource such as hard disk.For user, Intel Virtualization Technology achieves software and need not with hardware separation, user Consider that the particular hardware on backstage realizes, and only need to environmentally run system and the software of oneself at virtual level, and these systems and Software operationally, also appears to the physical platform on backstage is unrelated.
When being engaged in the test of server virtualization product, we can go test from the angle that user uses and verify some merit Energy.Also having much such as VMware, Citrix and Microsoft about virtualized producer, each product has oneself company to produce The characteristic of product, but most basic function can realize, and only implementation is different.They often issue a redaction After, all after all at different time phases, different users can be had in view of the maintenance of legacy version and upgrade job to use The product of their different editions.Such as old user employs the EXSI5.0 of the VMware of 2 years, finds nearest VMware company Having gone out again EXSI7.0, old user, except wanting to update virtual platform software, still wants to update the virtual of oneself use Machine.Based on template establishment a collection of virtual machine out before such as having filled individual windows7, want to upgrade windows10 or think now Escalating into other system version, fictitious host computer and management node that typically user can be used by we are upgraded, virtual machine version Installation can be re-created again if this is old.But user uses this virtual machine for a long time, it is mounted with various application Software, goes to install various application software again can take a substantial amount of time, if so can rise if re-creating virtual machine After the complete main frame of level and management node version, allow virtual machine automatically identify the template of redaction, and be automatically performed redaction virtual machine Upgrading, then user just need not reinstall virtual software again, thus saves the substantial amounts of time.
Summary of the invention
The technical assignment of the present invention is the problem for above-mentioned existence, it is provided that a kind of simple to operate, and virtual machine can be made automatic The hardware and software of scanning redaction, makes virtual machine user can complete the edition upgrading of virtual machine according to scanning prompting out And the method for the virtual machine automatic upgrading virtual hardware and software of the synchronization of more recent application software data.
The application scenarios that described method is suitable for is as follows:
(1) hardware information on the server node of virtual machine place there occurs change, or virtual machine is migrated to other main frames On node, and the hardware information of destination host is inconsistent with the hardware information of former place main frame;
(2) the hardware and software information of virtual machine place main frame does not all update, and the template that virtual machine is based on there occurs change, as Newly installed a few money application softwaries;
(3) server version that virtual machine is operated in has upgraded to highest version, its operating system version supported also with Upgrading.
For achieving the above object, the technical scheme is that
A kind of method of virtual machine automatic upgrading virtual hardware and software,
(1) upgrading virtual hardware: tool software will be driven to be integrated under the share directory on virtual platform server node, The driving of integrated multiple hardwares equipment in driving tool software, arranges timing scan hardware redaction and scanning road to virtual machine Footpath, automatically provides user's prompting when being found to have the hardware of redaction;
(2) upgrading virtual software: VME operating system redaction and virtual machine new template are stored in virtual platform service In shared storage on device node, virtual machine is arranged timing scan software redaction and scanning pattern, when being found to have redaction Software time be automatically given user prompting.
As preferably, during upgrading virtual hardware, when the hardware on the bottom host node of virtual machine place changes, run Automatically identify new hardware device during virtual machine timing scan on main frame and automatically provide user's prompting;When virtual machine (vm) migration arrives On other host nodes, automatically identify the hardware device of new node during virtual machine timing scan and automatically provide user's prompting.
Scene upgrading virtual machine hardware is planted: install the most in advance and drive tool software, as similar for (1st) The tool software of vmtools, the hardware driving such as this drive software the most popular integrated a few money disks, network interface card, video card, work as void Hardware information on the server node of plan machine place there occurs change, or when virtual machine is migrated on other host nodes, The timing scan arranged by virtual machine can identify new hardware device automatically, and provides user's prompting, by the user decide whether Update.If user selects no, then it is continuing with the hardware resource of original version, if having the compatible problem user being lost with performance also Suggestion can be given;If after user selects upgrading, the hardware bag that can load redaction carries out updating operation, after having upgraded Restarting virtual machine can be by the data syn-chronization in redaction to virtual machine.
As preferably, during upgrading virtual software, the new template made by virtual machine leaves in altogether in the form of a file Enjoying in storage, new template and original template are placed under same catalogue, automatically identify new template when virtual machine timing scan with former Template is same virtual machine when making, and automatically provides user's prompting.
Scene upgrading virtual machine template is planted: the virtual machine created based on foundation image, this foundation image is permissible for (2nd) Being interpreted as template, template itself is made by virtual machine, after the original virtual machine making template is installed new application program The template again made is stored under the branch of original template, in order to identifies new template during virtual machine periodic scanning, and is automatically given User points out, and equally by the user decide whether renewal, process plants scene with (1st).
As preferably, during upgrading virtual software, the pre-installation version of operating system redaction is put into host node carry NFS on, when virtual machine timing scan automatically identifies operating system redaction, be automatically given user prompting.
Scene upgrading operation system version is planted: by kernel and the installation kit of the operating system redaction of upgrading for (3rd) Be placed on the Server of PXE or virtual platform server locally stored in, in order to during virtual machine periodic scanning identify operation Providing user's prompting after system redaction, equally by the user decide whether renewal, process plants scene with (1st).
Compared with prior art, the present invention has beneficial effect highlighted below: can be certainly by described method virtual machine The hardware and software of dynamic scanning redaction, virtual machine user can complete the edition upgrading of virtual machine according to scanning prompting out And the synchronization of more recent application software data, break the thought of original bottom layer driving of need to upgrading, can save manager's Safeguard and the O&M time, improve work efficiency.
Detailed description of the invention
Below in conjunction with embodiment, the method for the virtual machine automatic upgrading virtual hardware and software of the present invention is made further Describe in detail.
Embodiment
The method of the virtual machine automatic upgrading virtual hardware and software of the present invention:
(1) upgrading virtual hardware: tool software will be driven (such as the tool software of similar vmtools, the integrated city of this drive software The hardware driving such as a few money disks popular on face, network interface card, video card) it is integrated to the share directory on virtual platform server node Under, when hardware change on the bottom host node of virtual machine place, or when virtual machine is migrated on other host nodes, The timing scan arranged by virtual machine can identify new hardware device automatically, and provides user's prompting.
(2) upgrading virtual software: the template again made after virtual machine is installed new application program is stored in original template Under branch, the timing scan arranged by virtual machine can identify new template, and automatically provides user's prompting;Behaviour by upgrading Make system redaction kernel and installation kit is placed on the Server of PXE or virtual platform server locally stored in, logical User's prompting is given after crossing the timing scan identification operating system redaction that virtual machine is arranged.
User decides whether after receiving prompting to update accordingly, if user selects no, is then continuing with original version Hardware or software resource, if there being compatible and performance loss problem user can also provide suggestion;If user selects upgrading After, hardware or the software kit that can load redaction carry out updating operation, and restarting virtual machine after having upgraded can be by new Data syn-chronization on version, in virtual machine, completes hardware and/or the software automatic updating of virtual machine.
Embodiment described above, the simply present invention more preferably detailed description of the invention, those skilled in the art is at this The usual variations and alternatives carried out in inventive technique aspects all should comprise within the scope of the present invention.

Claims (4)

1. the method for a virtual machine automatic upgrading virtual hardware and software, it is characterised in that:
(1) upgrading virtual hardware: tool software will be driven to be integrated under the share directory on virtual platform server node, The driving of integrated multiple hardwares equipment in driving tool software, arranges timing scan hardware redaction and scanning road to virtual machine Footpath, automatically provides user's prompting when being found to have the hardware of redaction;
(2) upgrading virtual software: VME operating system redaction and virtual machine new template are stored in virtual platform service In shared storage on device node, virtual machine is arranged timing scan software redaction and scanning pattern, when being found to have redaction Software time be automatically given user prompting.
The method of virtual machine the most according to claim 1 automatic upgrading virtual hardware and software, it is characterised in that: upgrading void When intending hardware, when the hardware on the bottom host node of virtual machine place changes, operate in the timing of the virtual machine on main frame and sweep Automatically identify new hardware device when retouching and automatically provide user's prompting;When on virtual machine (vm) migration to other host nodes, virtual machine Automatically identify the hardware device of new node during timing scan and automatically provide user's prompting.
The method of virtual machine the most according to claim 1 automatic upgrading virtual hardware and software, it is characterised in that: upgrading void When intending software, the new template made by virtual machine leaves in the form of a file to be shared in storage, new template and original template Being placed under same catalogue, automatically identifying new template when virtual machine timing scan with original template is that same virtual machine is made Time, automatically provide user's prompting.
The method of virtual machine the most according to claim 1 automatic upgrading virtual hardware and software, it is characterised in that: upgrading void When intending software, the pre-installation version of operating system redaction is put in the NFS of host node carry, when virtual When machine timing scan automatically identifies operating system redaction, automatically provide user's prompting.
CN201610553985.XA 2016-07-14 2016-07-14 Method for automatically upgrading virtual hardware and software of virtual machine Pending CN106201660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610553985.XA CN106201660A (en) 2016-07-14 2016-07-14 Method for automatically upgrading virtual hardware and software of virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610553985.XA CN106201660A (en) 2016-07-14 2016-07-14 Method for automatically upgrading virtual hardware and software of virtual machine

Publications (1)

Publication Number Publication Date
CN106201660A true CN106201660A (en) 2016-12-07

Family

ID=57475067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610553985.XA Pending CN106201660A (en) 2016-07-14 2016-07-14 Method for automatically upgrading virtual hardware and software of virtual machine

Country Status (1)

Country Link
CN (1) CN106201660A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909442A (en) * 2017-02-28 2017-06-30 郑州云海信息技术有限公司 A kind of Linux virtual machine migration methods and system
CN107222355A (en) * 2017-07-27 2017-09-29 郑州云海信息技术有限公司 A kind of server updating method and device
CN108196934A (en) * 2016-12-08 2018-06-22 阿里巴巴集团控股有限公司 The time set method, apparatus and virtual equipment of a kind of timer
CN108958770A (en) * 2018-06-27 2018-12-07 郑州云海信息技术有限公司 A kind of virtualization system upgrade method and device
CN109062815A (en) * 2018-10-11 2018-12-21 郑州云海信息技术有限公司 Generate the method and system of upgrading/service packs test bag of virtualization software
CN110083373A (en) * 2019-03-21 2019-08-02 中国平安财产保险股份有限公司 Method, apparatus, computer equipment and the storage medium of more new data
CN110673930A (en) * 2019-12-04 2020-01-10 深信服科技股份有限公司 Virtual machine migration method, virtualization device, storage medium and device
CN111885170A (en) * 2020-07-23 2020-11-03 平安科技(深圳)有限公司 Processing method and system of Internet of things control system, cloud server and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246544A (en) * 2013-04-09 2013-08-14 何钦淋 Virtual hardware drive terminal and method
CN103297504A (en) * 2013-05-09 2013-09-11 浙江大学 Method for quickly deploying operating systems in physical bare computers in cloud data center
CN104572154A (en) * 2013-10-23 2015-04-29 北京天地超云科技有限公司 Quick deployment method for RHEL (red hat enterprise Linux) operating system and applications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246544A (en) * 2013-04-09 2013-08-14 何钦淋 Virtual hardware drive terminal and method
CN103297504A (en) * 2013-05-09 2013-09-11 浙江大学 Method for quickly deploying operating systems in physical bare computers in cloud data center
CN104572154A (en) * 2013-10-23 2015-04-29 北京天地超云科技有限公司 Quick deployment method for RHEL (red hat enterprise Linux) operating system and applications

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPBAISHA88: "《安装和管理VMware vSphere update-manager-55》", 《百度文库:HTTPSWENKU.BAIDU.COMVIEW57F5A6316C85EC3A86C2C505.HTML》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196934A (en) * 2016-12-08 2018-06-22 阿里巴巴集团控股有限公司 The time set method, apparatus and virtual equipment of a kind of timer
CN106909442A (en) * 2017-02-28 2017-06-30 郑州云海信息技术有限公司 A kind of Linux virtual machine migration methods and system
CN107222355A (en) * 2017-07-27 2017-09-29 郑州云海信息技术有限公司 A kind of server updating method and device
CN107222355B (en) * 2017-07-27 2020-12-01 苏州浪潮智能科技有限公司 Server upgrading method and device
CN108958770A (en) * 2018-06-27 2018-12-07 郑州云海信息技术有限公司 A kind of virtualization system upgrade method and device
CN109062815A (en) * 2018-10-11 2018-12-21 郑州云海信息技术有限公司 Generate the method and system of upgrading/service packs test bag of virtualization software
CN110083373A (en) * 2019-03-21 2019-08-02 中国平安财产保险股份有限公司 Method, apparatus, computer equipment and the storage medium of more new data
CN110673930A (en) * 2019-12-04 2020-01-10 深信服科技股份有限公司 Virtual machine migration method, virtualization device, storage medium and device
CN110673930B (en) * 2019-12-04 2020-07-17 深信服科技股份有限公司 Virtual machine migration method, virtualization device, storage medium and device
CN111885170A (en) * 2020-07-23 2020-11-03 平安科技(深圳)有限公司 Processing method and system of Internet of things control system, cloud server and medium

Similar Documents

Publication Publication Date Title
CN106201660A (en) Method for automatically upgrading virtual hardware and software of virtual machine
US10581890B2 (en) Container data offline and online scan in a cloud environment
US8171201B1 (en) Systems and methods for improving virtual machine performance
US8966475B2 (en) Workload management for heterogeneous hosts in a computing system environment
RU2436150C2 (en) Creating templates of switched off resources
US9977688B2 (en) Live migration of virtual machines across virtual switches in virtual infrastructure
CN102710814B (en) The control method of virtual machine IP address and device
KR101403416B1 (en) Method system for managing virtual machine storage space and physical host
US10747585B2 (en) Methods and apparatus to perform data migration in a distributed environment
CN108089913B (en) Virtual machine deployment method of super-fusion system
MXPA05012972A (en) Systems and methods for virtualizing graphics subsystems.
WO2012065815A1 (en) Method and system for generating a virtual machine based on templates
CN104360892B (en) Create the system and method for virtual machine
CN104461744A (en) Resource allocation method and device
CN102262557A (en) Method for constructing virtual machine monitor by bus architecture and performance service framework
US20140047208A1 (en) Method of controlling the capacity of a virtual storage system, and a virtual storage system
CN102981888B (en) For the virtualization implementation method of Power server
CN109002346B (en) Conversion method of Windows virtual machine bootstrap program
CN105094964A (en) Virtual machine migration method and system
CN108255574A (en) A kind of virtual machine migration method and device
CN105577442A (en) Method for receiving and managing stock virtual machine based on cloud platform
WO2013083547A1 (en) Method and system for creating a virtual appliance
CN110377232A (en) A kind of method, apparatus and system for disposing distributed storage cluster
US9213561B2 (en) Virtual appliance deployment
WO2018103372A1 (en) Driver management method and host machine

Legal Events

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

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication