CN105589721A - Method for batch updating system patches of Linux virtual machine - Google Patents
Method for batch updating system patches of Linux virtual machine Download PDFInfo
- Publication number
- CN105589721A CN105589721A CN201510980476.0A CN201510980476A CN105589721A CN 105589721 A CN105589721 A CN 105589721A CN 201510980476 A CN201510980476 A CN 201510980476A CN 105589721 A CN105589721 A CN 105589721A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- mirror image
- patch
- linux
- batch updating
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
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 relates to the technical field of management of cloud computing, and in particular relates to a method for batch updating system patches of a Linux virtual machine. The method comprises the steps of firstly selecting a mirror image to be updated with the patches to establish the virtual machine; then updating the system patches via the virtual machine, using yum update; after completing, distributing the mirror image updated with the patches to each physical node; then combining the changes of the mirror image into a corresponding virtual machine snap; and at last restarting the virtual machine, thus completing the patch update. The method for batch updating the patches of the virtual machine provided by the invention is simple and convenient, and can be applied to updating the patches of the virtual machine.
Description
Technical field
The present invention relates to cloud computing administrative skill field, refer to especially a kind of batch updating Linux dummy machine systemThe method of patch.
Background technology
Under cloud computing environment, virtual machine is widely used, and no matter is office computer or application server orderBefore all become unified centralized management by Decentralization; Therefore, the security of virtual machine seems more important. OrderAlthough front unified management of virtual machine, the renewal of system mend is because technical problem is always by each voidPlan machine user oneself solves, and even individual user is forbidden system update service, and this is just the management band of virtual machineCarry out very large potential safety hazard, for this situation, generally adopt several modes:
1, in the inner client of installing of virtual machine, system mend is upgraded in timing.
2, the each self refresh of virtual machine user, makes regular check on.
There is following drawback in above method:
1, client renewal process tends to be forbidden by user, cannot complete patch and upgrade operation.
2, the each self refresh of virtual machine user, easily causes network congestion, waste bandwidth
3, no matter waste of manpower cost, be the management of patch or regular inspection, all consumes human cost.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of side of batch updating Linux dummy machine system patchMethod, solves the deficiency that conventional method exists, and provides a solution for improving virtual machine patch renewal efficiency.
The technical scheme that the present invention solves the problems of the technologies described above is:
Described method comprises the steps:
Step 1: the mirror image that selection will be upgraded patch creates virtual machine;
Step 2: adopt yumupdate, upgrade system mend by virtual machine;
Step 3: after completing, the mirror image that has upgraded patch is distributed to each physical node;
Step 4: mirror image is changed and merges to corresponding virtual machine snapshot;
Step 5: after virtual machine is restarted, patch has upgraded.
Described mirror image creates virtual machine, is directly to create virtual machine by mirror image.
Described mirror image distribution, refers to the mirror image having upgraded after patch is transferred to each physical node, alternativeThe original mirror image of reason node.
Described merging, refers to the variation of mirror image is reconsolidated to virtual machine snapshot file, makes patch file rawEffect.
Method batch updating virtual machine patch of the present invention, simple and fast; Method of the present invention reduces human cost,Only need keeper to upgrade after mirror image patch, system completes distribution and the union operation of mirror image automatically; The present inventionMethod improve the security of virtual machine, guarantee all virtual machines system mend that can upgrade in time.
Brief description of the drawings
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is flow chart of the present invention;
Fig. 2 is technical schematic diagram of the present invention.
Detailed description of the invention
As shown in Figure 1, 2, specific implementation process of the present invention is as follows:
1, select to upgrade the mirror image establishment virtual machine of patch.
2, upgrade system mend by virtual machine.
# adopts yumUpdate to upgrade system mend
After # completes, forbidding yumUpdate service, avoids virtual machine automatically to upgrade, and causes restarting
3,, after completing, the mirror image that has upgraded patch is distributed to each physical node.
4, mirror image is changed and merges to corresponding virtual machine snapshot.
5, after virtual machine is restarted, patch has upgraded.
Claims (5)
1. a method for batch updating Linux dummy machine system patch, is characterized in that: described methodComprise the steps:
Step 1: the mirror image that selection will be upgraded patch creates virtual machine;
Step 2: adopt yumupdate, upgrade system mend by virtual machine;
Step 3: after completing, the mirror image that has upgraded patch is distributed to each physical node;
Step 4: mirror image is changed and merges to corresponding virtual machine snapshot;
Step 5: after virtual machine is restarted, patch has upgraded.
2. the method for a kind of batch updating Linux dummy machine system patch according to claim 1, itsBe characterised in that: described mirror image creates virtual machine, is directly to create virtual machine by mirror image.
3. the method for a kind of batch updating Linux dummy machine system patch according to claim 1, itsBe characterised in that: described mirror image distribution, refer to the mirror image having upgraded after patch is transferred to each physical node,Replace the original mirror image of physical node.
4. the method for a kind of batch updating Linux dummy machine system patch according to claim 2, itsBe characterised in that: described mirror image distribution, refer to the mirror image having upgraded after patch is transferred to each physical node,Replace the original mirror image of physical node.
5. according to a kind of batch updating Linux dummy machine system patch described in claim 1 to 4 any oneMethod, it is characterized in that: described merging, refers to the variation of mirror image is reconsolidated to virtual machine snapshotFile, allows patch file come into force.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510980476.0A CN105589721A (en) | 2015-12-22 | 2015-12-22 | Method for batch updating system patches of Linux virtual machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510980476.0A CN105589721A (en) | 2015-12-22 | 2015-12-22 | Method for batch updating system patches of Linux virtual machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105589721A true CN105589721A (en) | 2016-05-18 |
Family
ID=55929327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510980476.0A Withdrawn CN105589721A (en) | 2015-12-22 | 2015-12-22 | Method for batch updating system patches of Linux virtual machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105589721A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976792A (en) * | 2019-02-28 | 2019-07-05 | 国云科技股份有限公司 | A Mirror Delayed Update Method |
CN110807198A (en) * | 2019-11-04 | 2020-02-18 | 吉林亿联银行股份有限公司 | Method for acquiring information for repairing bugs and patch processing system |
CN110941440A (en) * | 2019-10-31 | 2020-03-31 | 北京浪潮数据技术有限公司 | Batch updating method, device and equipment for virtual machines and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081552A (en) * | 2009-12-01 | 2011-06-01 | 华为技术有限公司 | Method, device and system for transferring from physical machine to virtual machine on line |
US20120151201A1 (en) * | 2010-12-14 | 2012-06-14 | International Business Machines Corporation | Management of multiple software images with relocation of boot blocks |
CN102999369A (en) * | 2012-12-25 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for upgrading virtual machines |
US20130138783A1 (en) * | 2011-11-28 | 2013-05-30 | Wyse Technology Inc. | Deployment and updating of applications and drivers on a client device using an extensible markup language (xml) configuration file |
CN104166586A (en) * | 2014-09-04 | 2014-11-26 | 中南大学 | Transparent computing method and transparent computing system based on virtualization technology |
CN104679574A (en) * | 2013-11-26 | 2015-06-03 | 谢蓉 | Virtual machine image management system in cloud computing |
-
2015
- 2015-12-22 CN CN201510980476.0A patent/CN105589721A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081552A (en) * | 2009-12-01 | 2011-06-01 | 华为技术有限公司 | Method, device and system for transferring from physical machine to virtual machine on line |
US20120151201A1 (en) * | 2010-12-14 | 2012-06-14 | International Business Machines Corporation | Management of multiple software images with relocation of boot blocks |
US20130138783A1 (en) * | 2011-11-28 | 2013-05-30 | Wyse Technology Inc. | Deployment and updating of applications and drivers on a client device using an extensible markup language (xml) configuration file |
CN102999369A (en) * | 2012-12-25 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for upgrading virtual machines |
CN104679574A (en) * | 2013-11-26 | 2015-06-03 | 谢蓉 | Virtual machine image management system in cloud computing |
CN104166586A (en) * | 2014-09-04 | 2014-11-26 | 中南大学 | Transparent computing method and transparent computing system based on virtualization technology |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976792A (en) * | 2019-02-28 | 2019-07-05 | 国云科技股份有限公司 | A Mirror Delayed Update Method |
CN110941440A (en) * | 2019-10-31 | 2020-03-31 | 北京浪潮数据技术有限公司 | Batch updating method, device and equipment for virtual machines and readable storage medium |
CN110807198A (en) * | 2019-11-04 | 2020-02-18 | 吉林亿联银行股份有限公司 | Method for acquiring information for repairing bugs and patch processing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103986786A (en) | Remote cloud desktop operation system | |
US20140201564A1 (en) | Healing cloud services during upgrades | |
IN2015CH02762A (en) | ||
CN105072118B (en) | The login of call center's seat manages system and method | |
CN102945175A (en) | Terminal software online upgrading system and method based on cloud computing environment | |
CN102866998A (en) | Centralized password management method and centralized password management system in synchronous system | |
CN106020944B (en) | It is a kind of to configure the method and system for carrying out data downloading based on background data base | |
US20120151481A1 (en) | System for managing personalization information of virtual machine based on cloud computing and method thereof | |
CN104065517A (en) | Distributed-system software configuration management method and system | |
CN103118130A (en) | Cluster management method and cluster management system for distributed service | |
CN110532009A (en) | A kind of smart machine upgrading management system and method | |
CN105589721A (en) | Method for batch updating system patches of Linux virtual machine | |
CN102523109A (en) | Resource state updating method, management client ends, and server | |
CN102750176A (en) | Software upgrading method and device for network TV | |
CN102202087A (en) | Method for identifying storage equipment and system thereof | |
CN104182261A (en) | Online firmware batch upgrading method | |
CN105391747A (en) | Cloud intelligent equipment management method | |
CN102664758A (en) | Method for binding and automatically recovering network configuration | |
CN104618136A (en) | Configuration management method and device for blade server | |
CN105100211A (en) | Configuration file obtaining method and device | |
CN102932455A (en) | Construction method based on cloud computing render farms | |
CN104486393A (en) | Resource configuration and recycling method and resource configuration and recycling system | |
CN104516744A (en) | Software updating method and system | |
CN105302602A (en) | Smooth online upgrading method for cloud platform application program | |
WO2016086612A9 (en) | Single-board software management method, system, and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160518 |