CN110413300A - Rolling upgrade control method, device, equipment and storage medium - Google Patents
Rolling upgrade control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110413300A CN110413300A CN201910692910.3A CN201910692910A CN110413300A CN 110413300 A CN110413300 A CN 110413300A CN 201910692910 A CN201910692910 A CN 201910692910A CN 110413300 A CN110413300 A CN 110413300A
- Authority
- CN
- China
- Prior art keywords
- rolling upgrade
- new version
- rolling
- upgrade
- version copy
- 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
- 238000000034 method Methods 0.000 title claims abstract description 130
- 238000005096 rolling process Methods 0.000 title claims abstract description 130
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 230000008569 process Effects 0.000 claims abstract description 88
- 238000012795 verification Methods 0.000 claims abstract description 37
- 230000036541 health Effects 0.000 claims abstract description 34
- 238000004590 computer program Methods 0.000 claims description 18
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000011084 recovery Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
This specification embodiment provides a kind of rolling upgrade control method, device, equipment and storage medium, this method comprises: completing the upgrading that a wheel rolls step-length in rolling upgrade process, and epicycle suspends the rolling upgrade process when upgrading the new version copy to be formed and can be used in state;Verification process is called to carry out healthy verifying to the new version copy;When health is proved to be successful, restores the rolling upgrade process and continue rolling upgrade.The flatness of rolling upgrade can be improved in this specification embodiment, and reduces upgrade cost.
Description
Technical field
This specification is related to rolling upgrade (Rolling Update) technical field, more particularly, to a kind of rolling upgrade control
Method, apparatus, equipment and storage medium processed.
Background technique
Rolling upgrade generally refers to take out the stopping service of one or more server node from cluster, and executes more
Newly, it is come into operation again after being updated successfully.In cycles, until in cluster Servers-all node be all updated to new edition
This.Rolling the maximum benefit updated is zero shutdown, and entire renewal process has copy running always, to ensure that business
Continuity.It therefore, is a kind of higher upgrading mode of the degree of automation, user experience is smoother, is current adult form technology
Mainstream used by organizing upgrades mode.
However, during realizing the application, the inventors of the present application found that current rolling upgrade can only be in whole
It just can be carried out verifying after the completion of upgrading, if there is program or deployment issue, then server node all in cluster has been all
It is affected.Certainly, although (new early version can be kept all to provide clothes simultaneously by configuring multiple versions for server node
Business) mode, avoid new version there are server node is influenced when problem, then this will cause the increase of version at double, thus shadow
Ring maintenance cost.
Summary of the invention
This specification embodiment is designed to provide a kind of rolling upgrade control method, device, equipment and storage medium,
To improve the flatness of rolling upgrade, upgrade cost is reduced.
In order to achieve the above objectives, on the one hand, this specification embodiment provides a kind of rolling upgrade control method, comprising:
The upgrading that a wheel rolls step-length is completed in rolling upgrade process, and epicycle upgrades the new version copy to be formed and is in shape
When state can be used, suspend the rolling upgrade process;
Verification process is called to carry out healthy verifying to the new version copy;
When health is proved to be successful, restores the rolling upgrade process and continue rolling upgrade.
The rolling upgrade control method of this specification embodiment, further includes:
When it is to be proved to be successful that the verification process, which continuously presets time verification result of verifying, it is turned up according to preset increments
The rolling step-length.
The rolling upgrade control method of this specification embodiment, the recovery rolling upgrade process continue to roll
Upgrading, comprising:
Be not configured pause duration in the case where, when health is proved to be successful, directly restore the rolling upgrade process after
It is continuous to carry out rolling upgrade;
Configured with pause duration, when health is proved to be successful, when pause duration being waited to reach described in recovery
Rolling upgrade process continues rolling upgrade.
The rolling upgrade control method of this specification embodiment, the verifying content of the health verifying include one in following
Kind is a variety of:
The corresponding interface of new version copy;
The corresponding service of new version copy;
The corresponding container log of new version copy;
The corresponding container file of new version copy;
The corresponding database of new version copy.
The rolling upgrade control method of this specification embodiment, further includes:
In healthy authentication failed, judge whether the new version copy is designated as mandatory upgrade;
If the new version copy is not designated as mandatory upgrade, after being spaced setting time, continue to described new
Version copy carries out healthy verifying.
The rolling upgrade control method of this specification embodiment, further includes:
If the new version copy is designated as mandatory upgrade, the new version copy is considered as and is tested by health
Card.
The rolling upgrade control method of this specification embodiment, further includes:
When the verification process continuously presets time verification result of verifying and is authentication failed, notification information is exported.
On the other hand, this specification embodiment additionally provides a kind of rolling upgrade control device, comprising:
Upgrading pause module, for completing the upgrading that a wheel rolls step-length in rolling upgrade process, and epicycle upgrades to be formed
New version copy when can be used in state, suspend the rolling upgrade process;
Healthy authentication module, for calling verification process to carry out healthy verifying to the new version copy;
Upgrading restoring module continues to roll liter for when health is proved to be successful, restoring the rolling upgrade process
Grade.
On the other hand, this specification embodiment additionally provides a kind of computer equipment, including memory, processor and
The computer program being stored on the memory, the computer program execute following steps when being run by the processor:
The upgrading that a wheel rolls step-length is completed in rolling upgrade process, and epicycle upgrades the new version copy to be formed and is in shape
When state can be used, suspend the rolling upgrade process;
Verification process is called to carry out healthy verifying to the new version copy;
When health is proved to be successful, restores the rolling upgrade process and continue rolling upgrade.
On the other hand, this specification embodiment additionally provides a kind of computer storage medium, is stored thereon with computer journey
Sequence, the computer program perform the steps of when being executed by processor
The upgrading that a wheel rolls step-length is completed in rolling upgrade process, and epicycle upgrades the new version copy to be formed and is in shape
When state can be used, suspend the rolling upgrade process;
Verification process is called to carry out healthy verifying to the new version copy;
When health is proved to be successful, restores the rolling upgrade process and continue rolling upgrade.
The technical solution provided by above this specification embodiment as it can be seen that in this specification embodiment, rolling upgrade into
The every wheel of completing of journey rolls step-length, and when epicycle upgrades the new version copy to be formed and can be used in state, by call verify into
Journey carries out healthy verifying to new version copy, so that only new version copy is risen by just allowing to restore to roll when health verifying
Grade process continues rolling upgrade.In this way, can be during rolling upgrade, the upgrading for rolling step-length to each round carries out
Health verifying;If there is program or deployment issue, it can only upgrade the corresponding server section of the new version copy to be formed to epicycle
Point impacts, without will affect other server nodes in cluster, to improve the flatness of rolling upgrade.Also,
Since the rolling upgrade control method of this specification embodiment can greatly improve the flatness of rolling upgrade, without for protect
It demonstrate,proves smooth upgrade and configures multiple version copies in each server node, and then avoid because increasing brought by version copy
Maintenance cost.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
The some embodiments recorded in this specification, for those of ordinary skill in the art, in not making the creative labor property
Under the premise of, it is also possible to obtain other drawings based on these drawings.In the accompanying drawings:
Fig. 1 is the flow chart of the rolling upgrade control method of some embodiments of this specification;
Fig. 2 is the health verifying schematic diagram in one embodiment of this specification;
Fig. 3 is that the rolling step-length in one embodiment of this specification adjusts schematic diagram;
Fig. 4 is the structural block diagram of the rolling upgrade control device of some embodiments of this specification;
Fig. 5 is the structural block diagram of the computer equipment of some embodiments of this specification.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual,
Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all should belong to
The range of this specification protection.
Refering to what is shown in Fig. 1, the rolling upgrade control method of some embodiments of this specification may comprise steps of:
S101, the upgrading that a wheel rolls step-length is completed in rolling upgrade process, and epicycle upgrades the new version copy to be formed
When can be used in state, suspend the rolling upgrade process.
S102, verification process is called to carry out healthy verifying to the new version copy.
S103, when health is proved to be successful, restore the rolling upgrade process and continue rolling upgrade.
It can be seen that in the rolling upgrade control method of this specification embodiment, in the every completion one of rolling upgrade process
Wheel rolls step-length, and when epicycle upgrades the new version copy to be formed and can be used in state, by calling verification process to new version
Copy carries out healthy verifying, so that only new version copy is continued by just allowing to restore rolling upgrade process when health verifying
Carry out rolling upgrade.In this way, healthy verifying can be carried out to the upgrading that each round rolls step-length during rolling upgrade;
When a length of M server node of roll step, if there is program or deployment issue, this M server node can only be made
At influence, without will affect other server nodes in cluster, to improve the flatness of rolling upgrade.Also, due to
The rolling upgrade control method of this specification embodiment can greatly improve the flatness of rolling upgrade, without flat to guarantee
Sliding grade and configure multiple version copies in each server node, and then avoid because increasing maintenance brought by version copy
Cost.
It can be used it will be appreciated by those skilled in the art that epicycle upgrades the new version copy to be formed in state, refer to the wheel
Initialization starting is completed in the new version copy that upgrading is formed, into available mode (having carried out the preparation of the service of offer).By
Upgrade the new version copy to be formed when in initial startup in epicycle, effective health examination can not be carried out;
Therefore, corresponding new version copy can be used in state after this specification embodiment limits opportunity of health verifying as grade, can be with
System resource is saved, unnecessary expense is avoided.
It, can be first by version to reduce influence of the rolling upgrade to application as far as possible in some embodiments of this specification
Capacity reducing ratio setting at 1, after rolling upgrade process starts upgrading, application programming interface (API) can be called version
This paused attribute is arranged to true, starts a thread timing scan rolling upgrade process, then to judge rolling upgrade
The upgrading that process completes a wheel rolling step-length (judges whether the new version number of copies of wheel upgrading reaches escalation policy setting
Numerical value).In addition, the pause in this specification embodiment can be realized by calling pause to suspend the modes such as thread.
In some embodiments of this specification, according to whether can be rolled using different recoveries configured with pause duration
Upgrade process strategy.Such as in the case where pause duration is not configured, when health is proved to be successful, it can further judge cluster
In the application upgrades of all nodes whether completed, as unfinished, then the recovering mark that can directly issue more new version refers to
It enables, to restore rolling upgrade process, to continue rolling upgrade.And configured with pause duration, work as health
When being proved to be successful, further judge whether the application upgrade of all nodes in cluster has been completed, as unfinished, is then waiting temporarily
Stopping time up to then, issuing the recovering mark instruction of more new version, to restore rolling upgrade process, is risen with continuing to roll
Grade.It in one exemplary embodiment, can be by calling resume interface to restore rolling upgrade process.
In one embodiment of this specification, when rolling upgrade process completes the upgrading that a wheel rolls step-length, and wheel upgrading
When the new version copy of formation can be used in state, which can be upgraded the new version copy to be formed container identification (such as
Pod title), version identifier (such as version name) issue verification process, with call verification process to the new version copy into
Row health verifying.For example, as shown in Fig. 2, in one exemplary embodiment, verification process passes through after receiving checking request
It tables look-up available pending healthy validation task, and the relevant information of task is read into memory;Then according to verifying
Vertex type (such as verifying major class, verifying group, destination server type etc.) obtains identifying object, verification method etc., according to pod
Name obtains the specifying information for being verified object, and specific verification tool is called to carry out the acquisition of specifying information.The verifying work of offer
Tool may include:
A, database authentication supports the different types of database authentications such as mysql, oracle, real by jdbc mode etc.
The connection of existing database and sql are executed, and are parsed and are extracted and return the result.
B, log is verified, and by calling the log center of rest API connection paas platform, obtains the corresponding log of container.
C, file verification: the specified file of specified path in container is obtained by docker api and is parsed.
D, interface is verified: by http interface get or post method, the method for calling application to provide obtains corresponding connect
Mouth return information.
E, service verification: by calling serviceization platform, the list of service registration is obtained, and compare the state letter of service
Breath.
Please continue to refer to shown in Fig. 2, according to the information that verification tool obtains, assert that module can be asserted and will be verified
As a result with identifying object information preservation server, verification result is then returned to called side.
In some embodiments of this specification, by just allowing the new version copy to provide clothes when health is proved to be successful
Business, can be online to avoid problematic new version copy and influence services.Since there is no problem for the upgrading of this round, then can restore
The rolling upgrade process continues rolling upgrade, rolls liter to complete the application of all service nodes in entire group system
Grade.
In some embodiments of this specification, if healthy authentication failed, it can be determined that the new version copy whether by
It is appointed as mandatory upgrade.If the new version copy is designated as mandatory upgrade, the new version copy is considered as and is passed through
Health verifying.If the new version copy is not designated as mandatory upgrade, after being spaced setting time (such as 30 seconds), after
It is continuous that healthy verifying is carried out to the new version copy, at the same can also increase according to preset increment interval setting time (such as
Increase by 10 seconds).It, can be with if verification process continuously presets time verification result of verifying (such as 5 times) when being authentication failed
Notification information is exported, to notify respective application responsible person to carry out live emergency processing in time.According between preset increment increase
After setting time, when can also increase interval setting time (such as increase by 10 seconds) according to preset increment after, if healthy
It is proved to be successful, then can restore the initial value for being spaced setting time, and continue to verify.
And in other embodiments of this specification, continuously presetting time verification result of verifying in the verification process is
When being proved to be successful, the rolling step-length can be turned up according to preset increments, to improve rolling efficiency.For example, as shown in figure 3, In
In one exemplary embodiment, the initial a length of every wheel of roll step upgrades a node (i.e. by capacity reducing ratio setting at 1), when continuous 3
The verification result of wheel upgrading is that a length of every wheel of roll step can be upgraded two nodes (i.e. by capacity reducing ratio when being proved to be successful
It is arranged to 2);When the verification result of continuous 3 wheel upgrading is still to be proved to be successful, it can further adjust a length of every wheel of roll step and rise
Four nodes of grade (i.e. by capacity reducing ratio setting at 4).Successively recursion, in such a way that this gradually dynamic expands and rolls step-length,
Rolling upgrade efficiency can be promoted on the basis of guaranteeing rolling upgrade flatness.In one exemplary embodiment, can pass through
The adjustment of Kubernetes interface is called to roll step-length.
It should be noted that in this specification embodiment, for each round rolls the upgrading of step-length, at least in the wheel
Before the new version number of copies of upgrading passes through health examination, corresponding legacy version copy will not be deleted, and still normally externally be mentioned
For service.After the new version number of copies of wheel upgrading passes through health examination, in order to reduce maintenance cost, correspondence can be deleted
Legacy version copy.
Refering to what is shown in Fig. 5, corresponding with above-mentioned rolling upgrade control method, the computer of some embodiments of this specification is set
Standby, including memory, processor and the computer program being stored on the memory, the computer program is described
Processor executes following steps when running:
The upgrading that a wheel rolls step-length is completed in rolling upgrade process, and epicycle upgrades the new version copy to be formed and is in shape
When state can be used, suspend the rolling upgrade process;
Verification process is called to carry out healthy verifying to the new version copy;
When health is proved to be successful, restores the rolling upgrade process and continue rolling upgrade.
It is corresponding with above-mentioned rolling upgrade control method, it is stored in the computer storage medium of some embodiments of this specification
There is computer program, the computer program performs the steps of when being executed by processor
The upgrading that a wheel rolls step-length is completed in rolling upgrade process, and epicycle upgrades the new version copy to be formed and is in shape
When state can be used, suspend the rolling upgrade process;
Verification process is called to carry out healthy verifying to the new version copy;
When health is proved to be successful, restores the rolling upgrade process and continue rolling upgrade.
Although procedures described above process includes the multiple operations occurred with particular order, it should however be appreciated that understand,
These processes may include more or fewer operations, these operations can be executed sequentially or be executed parallel (such as using parallel
Processor or multi-thread environment).
Refering to what is shown in Fig. 4, the rolling upgrade of this specification some embodiments corresponding with above-mentioned rolling upgrade control method
Control device may include:
Upgrading pause module 41 can be used for completing the upgrading that a wheel rolls step-length, and epicycle liter in rolling upgrade process
When the new version copy that grade is formed can be used in state, suspend the rolling upgrade process;
Healthy authentication module 42 can be used for that verification process is called to carry out healthy verifying to the new version copy;
Upgrading restoring module 43 can be used for when health is proved to be successful, and restores the rolling upgrade process and continues
Rolling upgrade.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when specification.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Include, so that process, method or equipment including a series of elements not only include those elements, but also including not having
There is the other element being expressly recited, or further includes for this process, method or the intrinsic element of equipment.Do not having more
In the case where more limitations, the element that is limited by sentence "including a ...", it is not excluded that including process, the side of the element
There is also other identical elements in method or equipment.
It will be understood by those skilled in the art that the embodiment of this specification can provide as the production of method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects can be used in this specification
The form of example.Moreover, it wherein includes the computer of computer usable program code that this specification, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey
Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects,
Component, data structure etc..This specification can also be practiced in a distributed computing environment, in these distributed computing environment
In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module
It can be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely the embodiments of this specification, are not limited to this specification.For art technology
For personnel, this specification can have various modifications and variations.It is all made any within the spirit and principle of this specification
Modification, equivalent replacement, improvement etc., should be included within the scope of the claims of this specification.
Claims (10)
1. a kind of rolling upgrade control method characterized by comprising
Rolling upgrade process complete one wheel roll step-length upgrading, and epicycle upgrade the new version copy to be formed be in state can
Used time suspends the rolling upgrade process;
Verification process is called to carry out healthy verifying to the new version copy;
When health is proved to be successful, restores the rolling upgrade process and continue rolling upgrade.
2. rolling upgrade control method as described in claim 1, which is characterized in that further include:
When it is to be proved to be successful that the verification process, which continuously presets time verification result of verifying, be turned up according to preset increments described in
Roll step-length.
3. rolling upgrade control method as described in claim 1, which is characterized in that it is described restore the rolling upgrade process after
It is continuous to carry out rolling upgrade, comprising:
Be not configured pause duration in the case where, when health is proved to be successful, directly restore the rolling upgrade process continue into
Row rolling upgrade;
Configured with pause duration, when health is proved to be successful, pause duration is waited to restore the rolling when reaching
Upgrade process continues rolling upgrade.
4. rolling upgrade control method as described in claim 1, which is characterized in that it is described health verifying verifying content include
It is one of below or a variety of:
The corresponding interface of new version copy;
The corresponding service of new version copy;
The corresponding container log of new version copy;
The corresponding container file of new version copy;
The corresponding database of new version copy.
5. rolling upgrade control method as described in claim 1, which is characterized in that further include:
In healthy authentication failed, judge whether the new version copy is designated as mandatory upgrade;
If the new version copy is not designated as mandatory upgrade, after being spaced setting time, continue to the new version
Copy carries out healthy verifying.
6. rolling upgrade control method as claimed in claim 5, which is characterized in that further include:
If the new version copy is designated as mandatory upgrade, the new version copy is considered as and is verified by health.
7. rolling upgrade control method as claimed in claim 5, which is characterized in that further include:
When the verification process continuously presets time verification result of verifying and is authentication failed, notification information is exported.
8. a kind of rolling upgrade control device characterized by comprising
Upgrading pause module, for rolling upgrade process complete one wheel roll step-length upgrading, and epicycle upgrade to be formed it is new
When version copy can be used in state, suspend the rolling upgrade process;
Healthy authentication module, for calling verification process to carry out healthy verifying to the new version copy;
Upgrading restoring module continues rolling upgrade for when health is proved to be successful, restoring the rolling upgrade process.
9. a kind of computer equipment, including memory, processor and the computer program being stored on the memory,
It is characterized in that, the computer program executes following steps when being run by the processor:
Rolling upgrade process complete one wheel roll step-length upgrading, and epicycle upgrade the new version copy to be formed be in state can
Used time suspends the rolling upgrade process;
Verification process is called to carry out healthy verifying to the new version copy;
When health is proved to be successful, restores the rolling upgrade process and continue rolling upgrade.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the computer program is located
Reason device performs the steps of when executing
Rolling upgrade process complete one wheel roll step-length upgrading, and epicycle upgrade the new version copy to be formed be in state can
Used time suspends the rolling upgrade process;
Verification process is called to carry out healthy verifying to the new version copy;
When health is proved to be successful, restores the rolling upgrade process and continue rolling upgrade.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910692910.3A CN110413300A (en) | 2019-07-30 | 2019-07-30 | Rolling upgrade control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910692910.3A CN110413300A (en) | 2019-07-30 | 2019-07-30 | Rolling upgrade control method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110413300A true CN110413300A (en) | 2019-11-05 |
Family
ID=68364040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910692910.3A Pending CN110413300A (en) | 2019-07-30 | 2019-07-30 | Rolling upgrade control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110413300A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110908575A (en) * | 2019-12-05 | 2020-03-24 | 上海凯京信达科技集团有限公司 | Data processing method, computer storage medium and electronic device |
CN111666088A (en) * | 2020-06-07 | 2020-09-15 | 中信银行股份有限公司 | Pod replacement method and device, electronic equipment and computer-readable storage medium |
CN111782253A (en) * | 2020-06-29 | 2020-10-16 | 中国工商银行股份有限公司 | Rolling upgrade control method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030149970A1 (en) * | 2002-01-23 | 2003-08-07 | Vedvyas Shanbhogue | Portable software for rolling upgrades |
US20170115978A1 (en) * | 2015-10-26 | 2017-04-27 | Microsoft Technology Licensing, Llc | Monitored upgrades using health information |
-
2019
- 2019-07-30 CN CN201910692910.3A patent/CN110413300A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030149970A1 (en) * | 2002-01-23 | 2003-08-07 | Vedvyas Shanbhogue | Portable software for rolling upgrades |
US20170115978A1 (en) * | 2015-10-26 | 2017-04-27 | Microsoft Technology Licensing, Llc | Monitored upgrades using health information |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110908575A (en) * | 2019-12-05 | 2020-03-24 | 上海凯京信达科技集团有限公司 | Data processing method, computer storage medium and electronic device |
CN111666088A (en) * | 2020-06-07 | 2020-09-15 | 中信银行股份有限公司 | Pod replacement method and device, electronic equipment and computer-readable storage medium |
CN111782253A (en) * | 2020-06-29 | 2020-10-16 | 中国工商银行股份有限公司 | Rolling upgrade control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103226493B (en) | The dispositions method and system of multi-operation system service | |
CN107451147B (en) | Method and device for dynamically switching kafka clusters | |
US9367301B1 (en) | Dynamic update of a distributed message processing system | |
CN110413300A (en) | Rolling upgrade control method, device, equipment and storage medium | |
US8365009B2 (en) | Controlled automatic healing of data-center services | |
CN106899648B (en) | Data processing method and equipment | |
CN109960653A (en) | Regression testing method, device, equipment and storage medium | |
CN106897342B (en) | Data verification method and equipment | |
CN107025224B (en) | Method and equipment for monitoring task operation | |
CN113609019B (en) | Pipelining method and device for cross-cluster deployment of container cloud application | |
CN105743677B (en) | A kind of resource allocation method and device | |
US10802920B2 (en) | Backup and restore validation | |
CN109634682A (en) | The configuration file update method and device of application program | |
CN112748993A (en) | Task execution method and device, storage medium and electronic equipment | |
CN111782253A (en) | Rolling upgrade control method, device, equipment and storage medium | |
CN110727664A (en) | Method and device for executing target operation on public cloud data | |
CN112579099A (en) | Code deployment method and device, storage medium and electronic equipment | |
AU2021204593A1 (en) | Methods and apparatuses for installing device application | |
CN105208095A (en) | Filtering service deployment recommendation device and method | |
CN109582384A (en) | The update method and device of configuration information | |
CN107193582B (en) | Publishing method and system | |
CN104462353B (en) | Database batch synchronization processing method and processing device | |
CN115827028A (en) | System upgrading method and device, storage medium and electronic equipment | |
CN110275731B (en) | Information processing method, information processing apparatus, storage medium, and electronic device | |
CN109542598B (en) | Timed task management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191105 |