CN105426205A - Upgrading method and device of cloud platform template - Google Patents
Upgrading method and device of cloud platform template Download PDFInfo
- Publication number
- CN105426205A CN105426205A CN201510745943.1A CN201510745943A CN105426205A CN 105426205 A CN105426205 A CN 105426205A CN 201510745943 A CN201510745943 A CN 201510745943A CN 105426205 A CN105426205 A CN 105426205A
- Authority
- CN
- China
- Prior art keywords
- cloud platform
- platform template
- attribute information
- template
- 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
Links
Classifications
-
- 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/445—Program loading or initiating
- G06F9/44536—Selecting among different versions
-
- 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
Abstract
The invention provides an upgrading method and device of a cloud platform template. Each cloud platform template is circularly traversed, the corresponding cloud platform template is subjected to an upgrading operation according to the relevant attribute information of each cloud platform template, and the problem of omissions which exist in the upgrading of the cloud platform can be effectively avoided. The upgrading method and device of the cloud platform template has the advantages of being high in upgrading efficiency and favorable in safety.
Description
Technical field
The present invention relates to electronic communication field, particularly relate to a kind of cloud platform template upgrade method and device.
Background technology
Cloud computing can be made up of with the resource be virtualized by dynamic update a series of, these resources are shared by the user of all cloud computings and can be accessed conveniently by network, user, without the need to grasping the technology of cloud computing, only needs the resource needing to lease cloud computing according to individual or group.And for most of cloud computing platform, cloud system provides certain application service catalogue for client, and client adopts self-service way selection to meet service item and the content of self-demand.Have the concept of vApp template in cloud computing platform, it is the virtual machine image being loaded with system.User can construct the virtual machine of required system by this template.Save the time of installation system or related application step by step.
The template created in our cloud computing environment at present has each operating system, comprises windows, each version in linux, ubuntu.But be not changeless to the demand of these system template, along with the change of time, there will be various demand.Such as need to do security patch to Linux system, to strengthen security and the robustness of linux.
For example, between the different editions with a system, as centos5.0, centos5.1, centos5.5, centos6.0 etc.
Manual renewal security patch also makes template and will spend long time.Manual operation also greatly increases some template and does not upgrade and cause the probability of omission.These templates have great security breaches.And all associated safety leak can be there is in the virtual machine that client is disposed by this template.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of cloud platform template upgrade method and device, for solving artificial upgrading cloud platform template in prior art, easily there is the problem of security breaches.
For achieving the above object and other relevant objects, the invention provides a kind of cloud platform template upgrade method, comprise the following steps: the attribute information recording all cloud platform template in described cloud platform; Transfer the application programming interfaces of a cloud platform, obtain the attribute information of described all cloud platform template; The attribute information of all described cloud platform template of searching loop, with according to described attribute information, carries out corresponding updating operation to corresponding cloud platform template.
Optionally, described attribute information comprises the system type of corresponding cloud platform template.
Optionally, when the system type of described cloud platform template is windows, being connected to corresponding windows system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carrying out the judgement of the attribute information of next cloud platform template; When the system type of described cloud platform template is linux, being connected to corresponding Linux system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carrying out the judgement of the attribute information of next cloud platform template.
Optionally, when upgrading unsuccessfully, the related causes that record upgrading is failed, and send abnormal prompt information to an assigned address, and carry out the judgement of the attribute information of next cloud platform template.
Optionally, described attribute information also comprises IP and the account of corresponding cloud platform template, and described method also comprises: according to described IP and account, according to certain order, the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carries out corresponding updating operation.
Optionally, described attribute information also comprises a network interface card information, after a cloud platform template upgrades successfully, according to the application programming interfaces of described cloud platform, cloud platform template after upgrading successfully described in order, after removing the network interface card information belonging to it, is added in a predetermined directory.
For achieving the above object and other relevant objects, the present invention also provides a kind of cloud platform template update device, comprising: logging modle, in order to record the attribute information of all cloud platform template in described cloud platform; Acquisition module, in order to transfer the application programming interfaces of a cloud platform, obtains the attribute information of described all cloud platform template; Upgraded module, in order to the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carries out corresponding updating operation to corresponding cloud platform template.
Optionally, described attribute information comprises the system type of corresponding cloud platform template.
Optionally, described upgraded module is according to described attribute information, the mode of carrying out corresponding updating operation comprises: when the system type of described cloud platform template is windows, be connected to corresponding windows system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carry out the judgement of the attribute information of next cloud platform template; When the system type of described cloud platform template is linux, being connected to corresponding Linux system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carrying out the judgement of the attribute information of next cloud platform template.
Optionally, described upgraded module, also in order to when upgrading unsuccessfully, the related causes that record upgrading is failed, and send abnormal prompt information to an assigned address, and carry out the judgement of the attribute information of next cloud platform template.
Optionally, described attribute information also comprises IP and the account of corresponding cloud platform template, and described upgraded module is according to described IP and account, according to certain order, the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carries out corresponding updating operation.
Optionally, described attribute information also comprises a network interface card information, described upgraded module is also in order to after a cloud platform template upgrades successfully, according to the application programming interfaces of described cloud platform, cloud platform template after upgrading successfully described in order, after removing the network interface card information belonging to it, is added in a predetermined directory.
As mentioned above, cloud platform template upgrade method of the present invention and device, each cloud platform template of searching loop, and according to the correlation attribute information of each cloud platform template, carry out updating operation, and can effectively prevent from cloud platform template from upgrading having the problem of omission.Efficiency is high and security good.
Accompanying drawing explanation
Fig. 1 is shown as cloud platform template upgrade method of the present invention schematic flow sheet in one embodiment.
Fig. 2 is shown as cloud platform template update device of the present invention module diagram in one embodiment.
Element numbers explanation
1 cloud platform template update device
11 logging modles
12 acquisition modules
13 upgraded module
S11 ~ S13 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in diagram but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
The present invention, can efficiently, exhaustively to the operation that cloud platform template is upgraded, described cloud platform automatically updating method comprises by a kind of cloud platform automatically updating method:
Record the attribute information of all cloud platform template in described cloud platform;
Transfer the application programming interfaces of a cloud platform, obtain the attribute information of described all cloud platform template;
The attribute information of all described cloud platform template of searching loop, with according to described attribute information, carries out corresponding updating operation.
Refer to Fig. 1, be shown as cloud platform template upgrade method of the present invention schematic flow sheet in one embodiment.
Described method, comprises the following steps:
S11: the attribute information recording all cloud platform template in described cloud platform; Described attribute information comprises the system type of corresponding cloud platform template.
Further, when upgrading unsuccessfully, the related causes that record upgrading is failed, and send abnormal prompt information to an assigned address, and carry out the judgement of the attribute information of next cloud platform template.Described assigned address can be physical address or the IP address of the electric terminal of network management personnel, or is the physical address of terminal device or the IP address of other related personnel.
S12: the application programming interfaces transferring a cloud platform, obtains the attribute information of described all cloud platform template;
S13: the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carries out corresponding updating operation to corresponding cloud platform template.And preferred, when the system type of described cloud platform template is windows, being connected to corresponding windows system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carrying out the judgement of the attribute information of next cloud platform template; When the system type of described cloud platform template is linux, being connected to corresponding Linux system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carrying out the judgement of the attribute information of next cloud platform template.
In another specific embodiment, described attribute information also comprises IP and the account of corresponding cloud platform template, described method also comprises: according to described IP and account, according to certain order, the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carry out corresponding updating operation.Such as according to the size of IP, descending travels through cloud platform template, and carries out corresponding updating operation.
And described attribute information also comprises a network interface card information, after a cloud platform template upgrades successfully, according to the application programming interfaces of described cloud platform, the cloud platform template after upgrading successfully described in order, after removing the network interface card information belonging to it, is added in a predetermined directory.。And user according to the described predetermined directory of inquiry, can understand the upgrade case of each cloud platform template.
Refer to Fig. 2, be shown as cloud platform template update device of the present invention module diagram in one embodiment.
Described cloud platform template update device 1, comprises logging modle 11, acquisition module 12 and upgraded module 13.
Described logging modle 11 is in order to record the attribute information of all cloud platform template in described cloud platform; Described attribute information comprises the system type of corresponding cloud platform template.
Described acquisition module 12, in order to transfer the application programming interfaces of a cloud platform, obtains the attribute information of described all cloud platform template;
Described upgraded module 13, in order to the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carries out corresponding updating operation to corresponding cloud platform template.
Preferably, described upgraded module 13 is according to described attribute information, the mode of carrying out corresponding updating operation comprises: when the system type of described cloud platform template is windows, be connected to corresponding windows system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carry out the judgement of the attribute information of next cloud platform template; When the system type of described cloud platform template is linux, being connected to corresponding Linux system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carrying out the judgement of the attribute information of next cloud platform template.
Further, described upgraded module 13, also in order to when upgrading unsuccessfully, records the related causes that upgrading is failed, and sends abnormal prompt information to an assigned address, and carries out the judgement of the attribute information of next cloud platform template.
In another specific embodiment, described attribute information also comprises IP and the account of corresponding cloud platform template, described upgraded module 13 is according to described IP and account, according to certain order, the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carry out corresponding updating operation.Such as according to the size of IP, descending travels through cloud platform template, and carries out corresponding updating operation.
Further, described attribute information also comprises a network interface card information, described upgraded module 13 is also in order to after a cloud platform template upgrades successfully, according to the application programming interfaces of described cloud platform, cloud platform template after upgrading successfully described in order, after removing the network interface card information belonging to it, is added in a predetermined directory.And user according to the described predetermined directory of inquiry, can understand the upgrade case of each cloud platform template.
In sum, a kind of cloud platform template upgrade method of the present invention and device, each cloud platform template of searching loop, and according to the correlation attribute information of each cloud platform template, carry out updating operation, and can effectively prevent the upgrading of cloud platform template from having the problem of omission, efficiency is high and security good.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.
Claims (12)
1. a cloud platform template upgrade method, is characterized in that, comprises the following steps:
Record the attribute information of all cloud platform template in described cloud platform;
Transfer the application programming interfaces of a cloud platform, obtain the attribute information of described all cloud platform template;
The attribute information of all described cloud platform template of searching loop, with according to described attribute information, carries out corresponding updating operation to corresponding cloud platform template.
2. cloud platform template upgrade method according to claim 1, is characterized in that: described attribute information comprises the system type of corresponding cloud platform template.
3. cloud platform template upgrade method according to claim 2, it is characterized in that: when the system type of described cloud platform template is windows, be connected to corresponding windows system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carry out the judgement of the attribute information of next cloud platform template; When the system type of described cloud platform template is linux, being connected to corresponding Linux system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carrying out the judgement of the attribute information of next cloud platform template.
4. cloud platform template upgrade method according to claim 3, is characterized in that: when upgrading unsuccessfully, the related causes that record upgrading is failed, and sends abnormal prompt information to an assigned address, and carries out the judgement of the attribute information of next cloud platform template.
5. cloud platform template upgrade method according to claim 2, it is characterized in that: described attribute information also comprises IP and the account of corresponding cloud platform template, described method also comprises: according to described IP and account, according to certain order, the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carry out corresponding updating operation.
6. cloud platform template upgrade method according to claim 5, it is characterized in that: described attribute information also comprises a network interface card information, after a cloud platform template upgrades successfully, according to the application programming interfaces of described cloud platform, cloud platform template after upgrading successfully described in order, after removing the network interface card information belonging to it, is added in a predetermined directory.
7. a cloud platform template update device, is characterized in that, comprising:
Logging modle, in order to record the attribute information of all cloud platform template in described cloud platform;
Acquisition module, in order to transfer the application programming interfaces of a cloud platform, obtains the attribute information of described all cloud platform template;
Upgraded module, in order to the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carries out corresponding updating operation to corresponding cloud platform template.
8. cloud platform template update device according to claim 7, is characterized in that: described attribute information comprises the system type of corresponding cloud platform template.
9. cloud platform template update device according to claim 8, is characterized in that: described upgraded module is according to described attribute information, and the mode of carrying out corresponding updating operation comprises:
When the system type of described cloud platform template is windows, being connected to corresponding windows system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carrying out the judgement of the attribute information of next cloud platform template;
When the system type of described cloud platform template is linux, being connected to corresponding Linux system, corresponding cloud platform template is upgraded accordingly, when upgrading successfully, carrying out the judgement of the attribute information of next cloud platform template.
10. cloud platform template update device according to claim 9, it is characterized in that: described upgraded module, also in order to when upgrading unsuccessfully, the related causes that record upgrading is failed, and send abnormal prompt information to an assigned address, and carry out the judgement of the attribute information of next cloud platform template.
11. cloud platform template update devices according to claim 8, it is characterized in that: described attribute information also comprises IP and the account of corresponding cloud platform template, described upgraded module is according to described IP and account, according to certain order, the attribute information of all described cloud platform template of searching loop, with according to described attribute information, carry out corresponding updating operation.
12. cloud platform template update devices according to claim 11, it is characterized in that: described attribute information also comprises a network interface card information, described upgraded module is also in order to after a cloud platform template upgrades successfully, according to the application programming interfaces of described cloud platform, cloud platform template after upgrading successfully described in order, after removing the network interface card information belonging to it, is added in a predetermined directory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510745943.1A CN105426205A (en) | 2015-11-03 | 2015-11-03 | Upgrading method and device of cloud platform template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510745943.1A CN105426205A (en) | 2015-11-03 | 2015-11-03 | Upgrading method and device of cloud platform template |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105426205A true CN105426205A (en) | 2016-03-23 |
Family
ID=55504434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510745943.1A Pending CN105426205A (en) | 2015-11-03 | 2015-11-03 | Upgrading method and device of cloud platform template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426205A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708792A (en) * | 2020-06-16 | 2020-09-25 | 东莞中国科学院云计算产业技术创新与育成中心 | Cloud platform database upgrading method and device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020129356A1 (en) * | 2001-01-05 | 2002-09-12 | International Business Machines Corporation | Systems and methods for service and role-based software distribution |
CN102810067A (en) * | 2011-06-02 | 2012-12-05 | 鸿富锦精密工业(深圳)有限公司 | Virtual machine template updating system and method |
CN102999369A (en) * | 2012-12-25 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for upgrading virtual machines |
-
2015
- 2015-11-03 CN CN201510745943.1A patent/CN105426205A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020129356A1 (en) * | 2001-01-05 | 2002-09-12 | International Business Machines Corporation | Systems and methods for service and role-based software distribution |
CN102810067A (en) * | 2011-06-02 | 2012-12-05 | 鸿富锦精密工业(深圳)有限公司 | Virtual machine template updating system and method |
CN102999369A (en) * | 2012-12-25 | 2013-03-27 | 杭州华三通信技术有限公司 | Method and device for upgrading virtual machines |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708792A (en) * | 2020-06-16 | 2020-09-25 | 东莞中国科学院云计算产业技术创新与育成中心 | Cloud platform database upgrading method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10585691B2 (en) | Distribution system, computer, and arrangement method for virtual machine | |
CN108388599B (en) | Electronic device, data migration and calling method and storage medium | |
CN105159704B (en) | A kind of method and device of batch deployment operation system | |
US20170006083A1 (en) | Methods, systems, and computer readable media for on-boarding virtualized network function (vnf) packages in a network functions virtualization (nfv) system | |
CN106357738B (en) | A kind of automatically dispose methods, devices and systems of server cluster | |
US8627274B2 (en) | Software tool and method for generating a virtual appliance | |
CN106708597A (en) | Method, device and system for creating cluster environment on the basis of Openstack | |
US10341253B2 (en) | Automatic consolidation of network resources | |
CN103631623A (en) | Method and device for allocating application software in trunking system | |
US9519537B2 (en) | Apparatus, system and method for application log data processing | |
CN105704188A (en) | Deployment method and apparatus of applications and services | |
CN105553684A (en) | Communication system and applied router upgrading method thereof | |
CN106227893A (en) | A kind of file type acquisition methods and device | |
CN105700936A (en) | Operating method and apparatus for application program of Android simulator | |
CN112860282A (en) | Upgrading method and device of cluster plug-in and server | |
CN106326777A (en) | System mirror image document signature method and system, client and server | |
US9626213B2 (en) | System and method for file injection in virtual machine configuration | |
CN105426205A (en) | Upgrading method and device of cloud platform template | |
CN109739857B (en) | Data distributed writing method and device under high concurrency, terminal and storage medium | |
CN109753506B (en) | Data distributed storage method, device, terminal and storage medium | |
CN115665231A (en) | Service creation method, device and computer-readable storage medium | |
CN109408045B (en) | Government affair system integration method and device | |
CN114356379A (en) | Backup-based service upgrading method, device, equipment and storage medium | |
CN106990990B (en) | Resource dynamic maintenance system based on resource configuration driver library | |
KR102156656B1 (en) | System and method for creating stack of virtual 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: 20160323 |
|
RJ01 | Rejection of invention patent application after publication |