CN103713924B - The upgrade method and system of cloud computing platform service - Google Patents

The upgrade method and system of cloud computing platform service Download PDF

Info

Publication number
CN103713924B
CN103713924B CN201310723143.0A CN201310723143A CN103713924B CN 103713924 B CN103713924 B CN 103713924B CN 201310723143 A CN201310723143 A CN 201310723143A CN 103713924 B CN103713924 B CN 103713924B
Authority
CN
China
Prior art keywords
yum
storehouse
software
version
address
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.)
Active
Application number
CN201310723143.0A
Other languages
Chinese (zh)
Other versions
CN103713924A (en
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.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon 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 Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN201310723143.0A priority Critical patent/CN103713924B/en
Publication of CN103713924A publication Critical patent/CN103713924A/en
Application granted granted Critical
Publication of CN103713924B publication Critical patent/CN103713924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of upgrade method of cloud computing platform service and system, are related to field of cloud computer technology, methods described includes:S1:The file of storage software rpm bag is created as yum storehouse is installed, build version information is stored;S2:By in the Znode on the ip address and path write zookeeper service;S3:Servers-all in being sent ip address and path to the cloud computing platform by the Znode;S4:The software version that the software version of installed software on the current server installs storehouse with the yum is compared by current server;S5:The current server is downloaded and installs the yum and installs the higher software of version in storehouse.The present invention is by the cooperation between each step so that when being upgraded, and can carry out parallel upgrade to the server in cloud computing platform, reduces the workload of server updating, and the time required to reducing upgrading.

Description

The upgrade method and system of cloud computing platform service
Technical field
The present invention relates to field of cloud computer technology, more particularly to a kind of upgrade method of cloud computing platform service and system.
Background technology
Cloud computing is considered as to have continued since PC and internet, the IT tide of third time, it will change people obtain, process and Protect stored mode.Cloud computing using the transmittability of high speed internet, by the processing procedure of data from personal computer or Server is transferred to large-scale cloud computing center, and computing capability, storage capacity is provided the user in the way of servicing, user As using the public utility such as electric power, running water using computing capability, and charging can be carried out by usage amount.
Mostly the environment of cloud computing platform deployment is the cluster of tens of or even up to a hundred server compositions, huge server Quantity and platform will continuously provide the feature of service, cause platform subsequent upgrade to bring very big challenge, traditional upgrading mode It is that every machine is upgraded by operating personnel, but as number of servers is excessive, workload is big when causing to upgrade, and wastes Manpower and materials, and update time is long so that and cloud computing platform long-time cannot be used.
Content of the invention
(One)Technical problem to be solved
The technical problem to be solved in the present invention is:How to reduce the workload of server updating, and reduce upgrading and taken Between.
(Two)Technical scheme
For solving above-mentioned technical problem, the invention provides a kind of upgrade method of cloud computing platform service, methods described Comprise the following steps:
S1:Software rpm bag to be upgraded is stored on a computer, then the file of the software rpm bag will be deposited It is created as yum and storehouse is installed, and the version information that the yum of generation is installed storehouse is stored;
S2:Zookeeper service is installed on the server of the cloud computing platform, and the yum is installed the ip in storehouse In Znode on address and path write zookeeper service;
S3:Institute in being sent the ip address in yum installation storehouse and path to the cloud computing platform by the Znode There is server;
S4:Yum management tool on current server is according to the yum installs the ip address in storehouse and path obtains Yum installs the version information in storehouse, and the software version of installed software on the current server is installed storehouse with the yum Software version is compared;
S5:The current server installs the ip address in storehouse according to the yum and yum installation is downloaded and installed in path The higher software of version in storehouse.
Wherein, also include after step S5:
S6:The download of software and mount message are recorded by the current server.
Wherein, in step S6, the current server also includes after being recorded the download of software and mount message:
The record is sent to purpose mailbox by mail.
Wherein, in step S5, the yum is installed and is installed in storehouse after the higher software of version, also include:
The software of installation is restarted, so that upgrading comes into force.
The invention also discloses a kind of upgrade-system of cloud computing platform service, the system includes:
Storehouse is installed module is set up, for software rpm bag to be upgraded is stored in a computer, then will deposit described soft The file of part rpm bag is created as yum and installs storehouse, and the version information that the yum of generation is installed storehouse is stored;
Address path writing module, for installing zookeeper service on the server of the cloud computing platform, and will The yum is installed in the Znode on the ip address in storehouse and path write zookeeper service;
Sending module, for being sent the ip address in yum installation storehouse and path to the cloud computing by the Znode Servers-all in platform;
Edition comparison module, for the yum management tool on current server according to the yum install storehouse ip address and Path obtains the version information that the yum installs storehouse, and by the software version of installed software on the current server and institute The software version for stating yum installation storehouse is compared;
Download and module is installed, the ip address in storehouse is installed according to the yum for the current server and path is downloaded simultaneously The yum is installed the higher software of version in storehouse is installed.
Wherein, the system also includes:
The download of software and mount message are recorded by information logging modle for the current server.
Wherein, described information logging modle is additionally operable to send to purpose mailbox the record by mail.
Wherein, the installation module of downloading is additionally operable to be restarted the software of installation, so that upgrading comes into force.
(Three)Beneficial effect
The present invention is by the cooperation between each step so that when being upgraded, can be to the service in cloud computing platform Parallel upgrade carried out by device, reduces the workload of server updating, and the time required to reducing upgrading.
The present invention can also carry out specifying the service of upgrading, very flexibly by the cooperation between each step.
The present invention completes platform is upgrade by only needing to the api for instructing by or externally providing, very intelligently.
After the completion of present invention upgrading, it is only necessary to allow upgrading to come into force by restarting corresponding software, and without restarting clothes Business device.
The upgrade case of in cloud computing platform server can be appreciated that in the present invention by mail, the inspection being easy to upgrading Control.
Description of the drawings
Fig. 1 is the flow chart of the upgrade method of the cloud computing platform service of one embodiment of the present invention;
Fig. 2 is the structured flowchart of the upgrade-system of the cloud computing platform service of one embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment to the present invention is described in further detail.Hereinafter implement Example is for illustrating the present invention, but is not limited to the scope of the present invention.
The method of the present invention is applied in linux operating system, and Fig. 1 is the cloud computing platform of one embodiment of the present invention The flow chart of the upgrade method of service;With reference to Fig. 1, the method comprising the steps of:
S1:By software rpm to be upgraded(Package manager, software package manager)Bag is stored on a computer, Again the file for depositing the software rpm bag is created as yum(Full name is Yellow dog Updater, Modified, is one Individual Shell front-end software package manager in Fedora and RedHat and SUSE, CentOS)Install storehouse, and by generate Yum installs the version information in storehouse and is stored;
S2:Zookeeper is installed on the server of the cloud computing platform(Zookeeper is the Chubby of Google One realization that increases income, is high effective and reliable cooperative operation system)Service, and by the yum install storehouse ip address and Znode in the write zookeeper service of path(Znode is a node in zookeeper, when Znode changes When, be notified that all servers being attached thereto, and message be while reaching)In;
S3:Institute in being sent the ip address in yum installation storehouse and path to the cloud computing platform by the Znode There is server;
S4:Yum management tool on current server is according to the yum installs the ip address in storehouse and path obtains Yum installs the version information in storehouse, and the software version of installed software on the current server is installed storehouse with the yum Software version is compared;
S5:The current server installs the ip address in storehouse according to the yum and yum installation is downloaded and installed in path The higher software of version in storehouse.
For ease of allowing administrative staff be well understood to its installation situation, it is preferable that also include after step S5:
S6:The download of software and mount message are recorded by the current server.
For ease of allowing administrative staff to collect installation situation and being checked, it is preferable that in step S6, the current service Device also includes after being recorded the download of software and mount message:
The record is sent to purpose mailbox by mail.
For ensureing that installed come into force, it is preferable that in step S5, install the yum install in storehouse the higher software of version it Afterwards, also include:
The software of installation is restarted, so that upgrading comes into force.
The invention also discloses a kind of upgrade-system of cloud computing platform service, with reference to Fig. 2, the system includes:
Storehouse is installed module is set up, for software rpm bag to be upgraded is stored in a computer, then will deposit described soft The file of part rpm bag is created as yum and installs storehouse, and the version information that the yum of generation is installed storehouse is stored;
Address path writing module, for installing zookeeper service on the server of the cloud computing platform, and will The yum is installed in the Znode on the ip address in storehouse and path write zookeeper service;
Sending module, for being sent the ip address in yum installation storehouse and path to the cloud computing by the Znode Servers-all in platform;
Edition comparison module, for the yum management tool on current server according to the yum install storehouse ip address and Path obtains the version information that the yum installs storehouse, and by the software version of installed software on the current server and institute The software version for stating yum installation storehouse is compared;
Download and module is installed, the ip address in storehouse is installed according to the yum for the current server and path is downloaded simultaneously The yum is installed the higher software of version in storehouse is installed.
Preferably, the system also includes:
The download of software and mount message are recorded by information logging modle for the current server.
Preferably, described information logging modle is additionally operable to send to purpose mailbox the record by mail.
Preferably, the installation module of downloading is additionally operable to be restarted the software of installation, so that upgrading comes into force.
Embodiment of above is merely to illustrate the present invention, and not limitation of the present invention, about the common of technical field Technical staff, without departing from the spirit and scope of the present invention, can also make a variety of changes and modification, therefore own The technical scheme of equivalent falls within scope of the invention, and the scope of patent protection of the present invention should be defined by the claims.

Claims (8)

1. the upgrade method that a kind of cloud computing platform is serviced, it is characterised in that the method comprising the steps of:
S1:Software rpm bag to be upgraded is stored on a computer, then the file for depositing the software rpm bag is created Storehouse is installed for yum, and the version information that the yum of generation is installed storehouse is stored;
S2:Zookeeper service is installed on the server of the cloud computing platform, and the yum is installed the ip address in storehouse In the Znode in the write zookeeper service of path;
S3:All clothes in being sent the ip address in yum installation storehouse and path to the cloud computing platform by the Znode Business device;
S4:Yum management tool on current server installs the ip address in storehouse according to the yum and path obtains the yum peace The version information in dress storehouse, and the software by the software version of installed software on the current server and yum installation storehouse Version is compared;
S5:The current server installs the ip address in storehouse according to the yum and path is downloaded and installs the yum and installs in storehouse The higher software of version.
2. upgrade method as claimed in claim 1, it is characterised in that also include after step S5:
S6:The download of software and mount message are recorded by the current server.
3. upgrade method as claimed in claim 2, it is characterised in that in step S6, the current server is by under software Carrying also includes after being recorded with mount message:
The record is sent to purpose mailbox by mail.
4. the upgrade method as any one of claims 1 to 3, it is characterised in that in step S5, installs the yum peace In dress storehouse after the higher software of version, also include:
The software of installation is restarted, so that upgrading comes into force.
5. the upgrade-system that a kind of cloud computing platform is serviced, it is characterised in that the system includes:
Storehouse is installed module is set up, for software rpm bag to be upgraded is stored in a computer, then the software will be deposited The file of rpm bag is created as yum and installs storehouse, and the version information that the yum of generation is installed storehouse is stored;
Address path writing module, for installing zookeeper service on the server of the cloud computing platform, and will be described Yum is installed in the Znode on the ip address in storehouse and path write zookeeper service;
Sending module, for being sent the ip address in yum installation storehouse and path to the cloud computing platform by the Znode In Servers-all;
Edition comparison module, installs ip address and the path in storehouse for the yum management tool on current server according to the yum The version information that the yum installs storehouse is obtained, and by the software version of installed software on the current server and the yum The software version for installing storehouse is compared;
Download and module is installed, the ip address in storehouse is installed according to the yum for the current server and path is downloaded and installed The yum installs the higher software of version in storehouse.
6. upgrade-system as claimed in claim 5, it is characterised in that the system also includes:
The download of software and mount message are recorded by information logging modle for the current server.
7. upgrade-system as claimed in claim 6, it is characterised in that described information logging modle is additionally operable to will be logical for the record Cross mail to send to purpose mailbox.
8. the upgrade-system as any one of claim 5~7, it is characterised in that the download is installed module and is additionally operable to The software of installation is restarted, so that upgrading comes into force.
CN201310723143.0A 2013-12-24 2013-12-24 The upgrade method and system of cloud computing platform service Active CN103713924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310723143.0A CN103713924B (en) 2013-12-24 2013-12-24 The upgrade method and system of cloud computing platform service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310723143.0A CN103713924B (en) 2013-12-24 2013-12-24 The upgrade method and system of cloud computing platform service

Publications (2)

Publication Number Publication Date
CN103713924A CN103713924A (en) 2014-04-09
CN103713924B true CN103713924B (en) 2017-03-08

Family

ID=50406927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310723143.0A Active CN103713924B (en) 2013-12-24 2013-12-24 The upgrade method and system of cloud computing platform service

Country Status (1)

Country Link
CN (1) CN103713924B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335173A (en) * 2014-07-01 2016-02-17 北京奇虎科技有限公司 Method, apparatus and system for initializing intelligent terminal device
CN104618166B (en) * 2015-02-16 2018-11-20 中国农业银行股份有限公司 Application service dispositions method, apparatus and system
CN106130750A (en) * 2016-09-29 2016-11-16 安徽四创电子股份有限公司 A kind of big data platform upgrade method based on privately owned Yum storehouse
CN108512684B (en) * 2017-02-28 2021-07-27 阿里巴巴集团控股有限公司 Firmware upgrading method and system and firmware upgrading management device
CN108733398B (en) * 2018-05-15 2021-06-15 联想(北京)有限公司 Software upgrading processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731738A (en) * 2005-08-30 2006-02-08 西安交通大学 Automated quick deployment method for large-scale computer cluster node
CN101465757A (en) * 2009-01-15 2009-06-24 武汉烽火网络有限责任公司 Method for batch upgrade in cluster network
CN102681899A (en) * 2011-03-14 2012-09-19 金剑 Virtual computing resource dynamic management system of cloud computing service platform
CN102811136A (en) * 2011-06-01 2012-12-05 南京中兴新软件有限责任公司 Software upgrading system and method
CN103412768A (en) * 2013-07-19 2013-11-27 蓝盾信息安全技术股份有限公司 Zookeeper cluster automatic-deployment method based on script program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731738A (en) * 2005-08-30 2006-02-08 西安交通大学 Automated quick deployment method for large-scale computer cluster node
CN101465757A (en) * 2009-01-15 2009-06-24 武汉烽火网络有限责任公司 Method for batch upgrade in cluster network
CN102681899A (en) * 2011-03-14 2012-09-19 金剑 Virtual computing resource dynamic management system of cloud computing service platform
CN102811136A (en) * 2011-06-01 2012-12-05 南京中兴新软件有限责任公司 Software upgrading system and method
CN103412768A (en) * 2013-07-19 2013-11-27 蓝盾信息安全技术股份有限公司 Zookeeper cluster automatic-deployment method based on script program

Also Published As

Publication number Publication date
CN103713924A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
CN103713924B (en) The upgrade method and system of cloud computing platform service
CN107577475B (en) Software package management method and system of data center cluster system
CN109460281B (en) Virtual machine management method and device of cloud platform
US7886292B2 (en) Methodology of individualized software deployment for hardware-independent personal computer mass development
CN104317642A (en) Method and device for configuring software in cloud calculation environment
US20130031542A1 (en) Method and system for distributed application stack deployment
CN103608773A (en) Deployment system for multi-node applications
CN111625316A (en) Environment deployment method and device, electronic equipment and storage medium
CN103580908A (en) Server configuration method and system
CN105867973A (en) Loading method and system for so file in application program
CN108369532A (en) For first and the encapsulation tool of third party's arrangements of components
CN104754032A (en) Method and device for deploying OpenStack
CN104281484A (en) VM (virtual machine) migration method and device
CN103259808A (en) Updating service delivery method and device
CN103810429A (en) Computer virus searching and killing method based on desktop cloud virtualization technology
CN102646056A (en) Function expansion method and device for grid GIS (geographic information system) platform based applications
CN104935455A (en) Cluster construction method and device therefor
WO2016026329A1 (en) Terminal upgrade method and apparatus
CN104767654A (en) Update method and device for topological graph of monitoring system
CN105446873A (en) Automatic test method and system of APK (AndroidPackage) software on the basis of android platform
CN104794217A (en) Tile map data and service updating method and system based on parallel computing mode
CN110221910A (en) Method and apparatus for executing MPI operation
US20220353341A1 (en) Efficient deployment of cloud resources
CN108845864B (en) Spring frame-based JVM garbage recycling method and device
Markus et al. Flexible representation of IoT sensors for cloud simulators

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20180528

Granted publication date: 20170308

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20180823

Granted publication date: 20170308