CN107423082A - A kind of more server system upgrade methods living and platform - Google Patents

A kind of more server system upgrade methods living and platform Download PDF

Info

Publication number
CN107423082A
CN107423082A CN201710253614.4A CN201710253614A CN107423082A CN 107423082 A CN107423082 A CN 107423082A CN 201710253614 A CN201710253614 A CN 201710253614A CN 107423082 A CN107423082 A CN 107423082A
Authority
CN
China
Prior art keywords
server
living
master
upgrading
upgraded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710253614.4A
Other languages
Chinese (zh)
Inventor
曹海华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research 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 Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201710253614.4A priority Critical patent/CN107423082A/en
Publication of CN107423082A publication Critical patent/CN107423082A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

This application discloses a kind of more server system upgrade methods living and platform, this method to include:Master server in more server systems living is upgraded;After the master server upgrading in more server systems living, all in more work server systems are upgraded from server;Wherein, the process upgraded to the master server in more server systems living, including:It is default to the master server in more server systems living and one to carry out first time master-slave exchange from server, then upgrade to what is obtained after first time master-slave exchange from server.The application can avoid due under synchronization to master server and from server upgrade caused by trouble waters, the appearance for phenomena such as thus avoiding system data entanglement, realize the reliable upgrading to more server systems living.

Description

A kind of more server system upgrade methods living and platform
Technical field
The present invention relates to server technology field, more particularly to a kind of more server system upgrade methods living and platform.
Background technology
Currently, with the fast development of Internet technology, user is increasingly dependent on the various services that server is provided, The performance of server directly affects the Consumer's Experience of Internet user.It can meet as far as possible in fact in order to ensure the performance of server The application demand on border, people aperiodically would generally upgrade to server, to lift the overall service level of server.
Due to server during actual motion it is possible that failure, in order to lift the security of data, people It has developed more server systems living.More living server systems include a master server and at least two from server, Mutual Backup Data between these servers, so as to which the security reliability of data is substantially improved.However, due to more services living The system architecture particularity of device system, more living server systems are easily caused to be caused confusion in escalation process situation, so as to draw Play the serious problems such as system data entanglement.
In summary as can be seen that how to carry out reliable updating operation to more server systems living is to need to be solved at present Certainly the problem of.
The content of the invention
In view of this, can be right it is an object of the invention to provide a kind of more server system upgrade methods living and platform More server systems living carry out reliable updating operation.Its concrete scheme is as follows:
A kind of more living server system upgrade method, applied to including a master server and at least two from server More server systems living, wherein, methods described includes:
Master server in more server systems living is upgraded;
After the master server upgrading in more server systems living, to the institute in more server systems living Have from server and upgraded;
Wherein, the process that the master server in more server systems living is upgraded, including:To described more Master server in server system living and one it is default carry out first time master-slave exchange from server, then to the first time What is obtained after master-slave exchange is upgraded from server.
Optionally, the process upgraded from server to being obtained after the first time master-slave exchange, including:
To obtaining carrying out software upgrading from server after the first time master-slave exchange, and it is directed to this software upgrading The corresponding data synchronization processings of Cheng Zhankai.
Optionally, it is described to obtaining carrying out software upgrading from server after the first time master-slave exchange, and for this Secondary software upgrade process deploys the process of corresponding data synchronization processing, including:
Start the software upgrading process from server to being obtained after the first time master-slave exchange;
What is obtained after the first time master-slave exchange completes software upgrading from server, then mutual to the first time principal and subordinate The master server that is obtained after changing and carry out second of master-slave exchange from server;
Extract the interior corresponding data renewal during software upgrading from server obtained after the first time master-slave exchange Bag, and data renewal bag is incorporated into the master server obtained after second of master-slave exchange, to complete to described the The upgrading from server obtained after master-slave exchange.
Optionally, all processes upgraded from server in more server systems living, including:
Unified upgrading is carried out from server to all in more living server systems, also, when more services living It is all from after server upgrades in device system, rejoin more topology server structures living from server by all.
Optionally, all processes upgraded from server in more server systems living, including:
Every in more living server systems is upgraded one by one from server, also, whenever complete one from The upgrading of server, then this is rejoined into more topology server structures living from server.
The present invention further correspondingly discloses a kind of more living server system upgrading platform, applied to including a master server and At least two server systems how living from server, wherein, the platform includes:
First upgraded module, for upgrading to the master server in more server systems living;
Second upgraded module, after upgrading when the master server in more server systems living, to described more All in server system living are upgraded from server;
Wherein, first upgraded module, is specifically included:
Master-slave exchange submodule, for default from server to the master server in more server systems living and one Carry out first time master-slave exchange;
Upgrade submodule, for upgrading to what is obtained after the first time master-slave exchange from server.
Optionally, the upgrading submodule, specifically for entering to what is obtained after the first time master-slave exchange from server Row software upgrading, and deploy corresponding data synchronization processing for this software upgrade process.
Optionally, the upgrading submodule, including:
Software upgrading start unit, for starting the software liter from server to being obtained after the first time master-slave exchange Level process;
Master-slave exchange unit, for obtaining completing software upgrading from server after the first time master-slave exchange, then Second of master-slave exchange is carried out to the master server obtained after the first time master-slave exchange and from server;
Data synchronisation unit, for extract obtain after the first time master-slave exchange from server during software upgrading Interior corresponding data renewal bag, and data renewal bag is incorporated into the master server obtained after second of master-slave exchange In, to complete the upgrading from server to being obtained after the first time master-slave exchange.
Optionally, second upgraded module, specifically for all from server in more server systems living Carry out unified upgrading, also, when all from after server upgrades in more server systems living, by all from clothes Business device rejoins more topology server structures living.
Optionally, second upgraded module, specifically for every in more living server systems from server Upgraded one by one, also, whenever completing a upgrading from server, then this is rejoined into more servers living from server Topological structure.
In the present invention, more server system upgrade methods living, including:Master server in more server systems living is carried out Upgrading;After the master server upgrading in more server systems living, to all from server in more server systems living Upgraded;Wherein, the process upgraded to the master server in more server systems living, including:To more server systems living Master server in system and one it is default carry out first time master-slave exchange from server, then to being obtained after first time master-slave exchange Upgraded from server.
It can be seen that the present invention first upgrades when needing to upgrade more server systems living to master server, Wherein, the process upgraded to master server specifically includes:It is first set in advance to master server and one to enter from server Row master-slave exchange, then obtained after to this master-slave exchange by way of server upgrades, realize to more living clothes Originally the upgrading of master server in device system of being engaged in, then all in more work server systems are risen from server again Level, so as to avoid due under synchronization to master server and from server upgrade caused by chaotic office Face, the appearance for phenomena such as thus avoiding system data entanglement, realize the reliable upgrading to more server systems living.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of more server system upgrade method flow charts living disclosed in the embodiment of the present invention;
Fig. 2 is that a kind of more server systems living upgrade platform structure schematic diagram disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of more living server system upgrade methods, applied to including a master server and At least two server systems how living from server, wherein, shown in Figure 1, this method includes:
Step S11:Master server in more server systems living is upgraded.
Wherein, the process that the above-mentioned master server in more server systems living is upgraded, is specifically included:To more clothes living Master server in device system of being engaged in and one it is default carry out first time master-slave exchange from server, then to first time master-slave exchange What is obtained afterwards is upgraded from server.That is, the embodiment of the present invention specifies one from service from all from server in advance Device, when upgrading to master server, first by it is above-mentioned specify carry out master-slave exchange, Ran Houzai from server and master server Upgrade to what is obtained after this master-slave exchange from server, be achieved in the upgrading to master server originally.
Step S12:After the master server upgrading in more server systems living, to the institute in more server systems living Have from server and upgraded.
It can be seen that the embodiment of the present invention is first entered when needing to upgrade more server systems living to master server Row upgrading, wherein, the process upgraded to master server specifically includes:It is first set in advance to master server and one from clothes Be engaged in device carry out master-slave exchange, then obtained after to this master-slave exchange by way of server upgrades, realize pair The upgrading of master server in more living server systems originally, then all in more work server systems are entered from server again Row upgrading, so as to avoid due under synchronization to master server and from server upgrade caused by it is chaotic Situation, the appearance for phenomena such as thus avoiding system data entanglement, realize the reliable upgrading to more server systems living.
The embodiment of the invention discloses a kind of much more specific living server system upgrade methods, relative to a upper embodiment, The present embodiment has made further instruction and optimization to technical scheme.Specifically:
In a upper embodiment, to the process upgraded from server obtained after first time master-slave exchange, specifically may be used With including:To obtaining carrying out software upgrading from server after first time master-slave exchange, and it is directed to this software upgrade process exhibition Open corresponding data synchronization processing.
Wherein, what is obtained after the above-mentioned master-slave exchange to first time carries out software upgrading from server, and is directed to this software Escalation process deploys the process of corresponding data synchronization processing, can specifically include:
Start the software upgrading process from server to being obtained after first time master-slave exchange;After first time master-slave exchange What is obtained completes software upgrading from server, then carries out the to the master server that is obtained after first time master-slave exchange and from server Secondary master-slave exchange;The interior corresponding data renewal during software upgrading from server obtained after extraction first time master-slave exchange Bag, and data renewal bag is incorporated into the master server obtained after second of master-slave exchange, to complete to first time principal and subordinate The upgrading from server obtained after exchange.
In a kind of embodiment, in upper embodiment step S12, to all from clothes in more server systems living The process that business device is upgraded, can specifically include:
Unified upgrading is carried out from server to all in more server systems living, also, in the server system that ought live more It is all from after server upgrades, rejoin more topology server structures living from server by all.
In another embodiment, in upper embodiment step S12, in more server systems living it is all from The process that server is upgraded, it can specifically include:
Every in more server systems living is upgraded one by one from server, also, whenever completing one from service The upgrading of device, then this is rejoined into more topology server structures living from server.
Accordingly, the embodiment of the invention also discloses a kind of more server system upgrading platforms living, applied to including one Master server and at least two server systems how living from server, wherein, shown in Figure 2, above-mentioned platform includes:
First upgraded module 11, for upgrading to the master server in more server systems living;
Second upgraded module 12, after upgrading for the master server in the server system that ought live more, to more services living All in device system are upgraded from server;
Wherein, the first upgraded module 11, is specifically included:
Master-slave exchange submodule 111, for default from server to the master server in more server systems living and one Carry out first time master-slave exchange;
Upgrade submodule 112, for upgrading to what is obtained after first time master-slave exchange from server.
In the present embodiment, above-mentioned upgrading submodule, specifically it can be used for being obtained after first time master-slave exchange from service Device carries out software upgrading, and deploys corresponding data synchronization processing for this software upgrade process.
Specifically, above-mentioned upgrading submodule, it is same can to include software upgrading start unit, master-slave exchange unit and data Walk unit;Wherein,
Software upgrading start unit, for starting from the software upgrading of server to enter to what is obtained after first time master-slave exchange Journey;
Master-slave exchange unit, for obtaining completing software upgrading from server after first time master-slave exchange, then to the The master server that is obtained after master-slave exchange and carry out second of master-slave exchange from server;
Data synchronisation unit, for extract obtain after first time master-slave exchange from server during software upgrading interior phase The data renewal bag answered, and data renewal bag is incorporated into the master server obtained after second of master-slave exchange, to complete The upgrading from server to being obtained after first time master-slave exchange.
In a kind of embodiment, above-mentioned second upgraded module, specifically it can be used in more server systems living It is all carry out unified upgrading from server, it is also, all from after server upgrades in the server system that ought live more, By all more topology server structures living are rejoined from server.
In another embodiment, above-mentioned second upgraded module, specifically it can be used for more server systems living In every upgraded one by one from server, also, whenever complete a upgrading from server, then this is thought highly of from service It is new to add more topology server structures living.
It can be seen that the embodiment of the present invention is first entered when needing to upgrade more server systems living to master server Row upgrading, wherein, the process upgraded to master server specifically includes:It is first set in advance to master server and one from clothes Be engaged in device carry out master-slave exchange, then obtained after to this master-slave exchange by way of server upgrades, realize pair The upgrading of master server in more living server systems originally, then all in more work server systems are entered from server again Row upgrading, so as to avoid due under synchronization to master server and from server upgrade caused by it is chaotic Situation, the appearance for phenomena such as thus avoiding system data entanglement, realize the reliable upgrading to more server systems living.
Finally, it is to be noted that, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of elements not only include that A little key elements, but also the other element including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except other identical element in the process including the key element, method, article or equipment being also present.
A kind of more server system upgrade methods living provided by the present invention and platform are described in detail above, this Apply specific case in text to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to Help to understand method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, the think of according to the present invention Think, in specific embodiments and applications there will be changes, in summary, this specification content should not be construed as pair The limitation of the present invention.

Claims (10)

1. a kind of more server system upgrade methods living, it is characterised in that applied to including a master server and at least two From the server system how living of server, wherein, methods described includes:
Master server in more server systems living is upgraded;
After the master server upgrading in more living server systems, in more server systems living it is all from Server is upgraded;
Wherein, the process that the master server in more server systems living is upgraded, including:To more clothes living Master server in device system of being engaged in and one it is default carry out first time master-slave exchange from server, then to the first time principal and subordinate What is obtained after exchange is upgraded from server.
2. more server system upgrade methods living according to claim 1, it is characterised in that described to the first time master The process upgraded from server obtained after exchange, including:
To obtaining carrying out software upgrading from server after the first time master-slave exchange, and it is directed to this software upgrade process exhibition Open corresponding data synchronization processing.
3. more server system upgrade methods living according to claim 2, it is characterised in that described to the first time master What is obtained after exchange carries out software upgrading from server, and deploys for this software upgrade process at corresponding data syn-chronization The process of reason, including:
Start the software upgrading process from server to being obtained after the first time master-slave exchange;
Obtained after the first time master-slave exchange from server complete software upgrading, then to the first time master-slave exchange after Obtained master server and carry out second of master-slave exchange from server;
Extract obtain after the first time master-slave exchange from server during software upgrading interior corresponding data renewal bag, and Data renewal bag is incorporated into the master server obtained after second of master-slave exchange, to complete to the first time master The upgrading from server obtained after exchange.
4. more server system upgrade methods living according to claim 3, it is characterised in that described to more services living All processes upgraded from server in device system, including:
Unified upgrading is carried out from server to all in more living server systems, also, when more server systems living It is all from after server upgrades in system, rejoin more topology server structures living from server by all.
5. more server system upgrade methods living according to claim 3, it is characterised in that described to more services living All processes upgraded from server in device system, including:
Every in more living server systems is upgraded one by one from server, also, whenever completing one from service The upgrading of device, then this is rejoined into more topology server structures living from server.
6. a kind of more server system upgrading platforms living, it is characterised in that applied to including a master server and at least two From the server system how living of server, wherein, the platform includes:
First upgraded module, for upgrading to the master server in more server systems living;
Second upgraded module, after upgrading when the master server in more server systems living, to more clothes living All being upgraded from server in business device system;
Wherein, first upgraded module, is specifically included:
Master-slave exchange submodule, for being carried out to the master server in more server systems living and one are default from server First time master-slave exchange;
Upgrade submodule, for upgrading to what is obtained after the first time master-slave exchange from server.
7. more server system upgrading platforms living according to claim 6, it is characterised in that
The upgrading submodule, specifically for obtained after the first time master-slave exchange from server carry out software upgrading, And deploy corresponding data synchronization processing for this software upgrade process.
8. more server system upgrading platforms living according to claim 7, it is characterised in that the upgrading submodule, bag Include:
Software upgrading start unit, for starting from the software upgrading of server to enter to what is obtained after the first time master-slave exchange Journey;
Master-slave exchange unit, for obtaining completing software upgrading from server after the first time master-slave exchange, then to institute State the master server obtained after first time master-slave exchange and carry out second of master-slave exchange from server;
Data synchronisation unit, for extract obtain after the first time master-slave exchange from server during software upgrading interior phase The data renewal bag answered, and data renewal bag is incorporated into the master server obtained after second of master-slave exchange, with Complete the upgrading from server to being obtained after the first time master-slave exchange.
9. more server system upgrading platforms living according to claim 8, it is characterised in that
Second upgraded module, specifically for carrying out unified rise from server to all in more living server systems Level, also, when all from after server upgrades in more living server systems, add all again from server Enter more topology server structures living.
10. more server system upgrading platforms living according to claim 8, it is characterised in that
Second upgraded module, specifically for being risen one by one from server to every in more server systems living Level, also, whenever completing a upgrading from server, then this is rejoined into more topology server structures living from server.
CN201710253614.4A 2017-04-18 2017-04-18 A kind of more server system upgrade methods living and platform Pending CN107423082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710253614.4A CN107423082A (en) 2017-04-18 2017-04-18 A kind of more server system upgrade methods living and platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710253614.4A CN107423082A (en) 2017-04-18 2017-04-18 A kind of more server system upgrade methods living and platform

Publications (1)

Publication Number Publication Date
CN107423082A true CN107423082A (en) 2017-12-01

Family

ID=60423703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710253614.4A Pending CN107423082A (en) 2017-04-18 2017-04-18 A kind of more server system upgrade methods living and platform

Country Status (1)

Country Link
CN (1) CN107423082A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238893A1 (en) * 2019-05-27 2020-12-03 中兴通讯股份有限公司 Rsu upgrading method and apparatus, rsu and rsu relay

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908980A (en) * 2010-08-20 2010-12-08 中兴通讯股份有限公司 Network management upgrading method and system
CN102075556A (en) * 2009-11-19 2011-05-25 北京明朝万达科技有限公司 Method for designing service architecture with large-scale loading capacity
CN102487342A (en) * 2010-12-03 2012-06-06 阿里巴巴集团控股有限公司 Device and method for controlling virtual internet protocol address binding
US20130054668A1 (en) * 2011-08-29 2013-02-28 Salesforce.Com, Inc. Mechanism for facilitating spin mode-based dynamic updating of application servers in an on-demand services environment
CN103294503A (en) * 2012-02-24 2013-09-11 纬创资通股份有限公司 Server deployment system and data updating method
CN103346903A (en) * 2013-06-20 2013-10-09 北京捷成世纪科技股份有限公司 Dual-machine backup method and device
CN105141453A (en) * 2015-08-11 2015-12-09 上海斐讯数据通信技术有限公司 Control method capable of not interrupting service in upgrading process of system and system thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075556A (en) * 2009-11-19 2011-05-25 北京明朝万达科技有限公司 Method for designing service architecture with large-scale loading capacity
CN101908980A (en) * 2010-08-20 2010-12-08 中兴通讯股份有限公司 Network management upgrading method and system
CN102487342A (en) * 2010-12-03 2012-06-06 阿里巴巴集团控股有限公司 Device and method for controlling virtual internet protocol address binding
US20130054668A1 (en) * 2011-08-29 2013-02-28 Salesforce.Com, Inc. Mechanism for facilitating spin mode-based dynamic updating of application servers in an on-demand services environment
CN103294503A (en) * 2012-02-24 2013-09-11 纬创资通股份有限公司 Server deployment system and data updating method
CN103346903A (en) * 2013-06-20 2013-10-09 北京捷成世纪科技股份有限公司 Dual-machine backup method and device
CN105141453A (en) * 2015-08-11 2015-12-09 上海斐讯数据通信技术有限公司 Control method capable of not interrupting service in upgrading process of system and system thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238893A1 (en) * 2019-05-27 2020-12-03 中兴通讯股份有限公司 Rsu upgrading method and apparatus, rsu and rsu relay

Similar Documents

Publication Publication Date Title
CN112585919A (en) Method for managing application configuration state by using cloud-based application management technology
CN106330575A (en) Safety service platform and safety service deployment method
CN106445663A (en) Application data migration method and device
CN108270726A (en) Application example dispositions method and device
CN103559055A (en) Activity starting method and device applied to Android platform
CN106982129A (en) Method for upgrading software and device
CN105630572A (en) Virtual machine monitoring method and virtual machine monitoring system
CN104361098A (en) Method applied to customization of nodes in topological graph of cloud system
CN107423082A (en) A kind of more server system upgrade methods living and platform
CN105791011A (en) System and method for realizing unified network management platform based on Docker
CN109800009A (en) The hot update method and system of mixed type App functional module
CN105930181A (en) Runtime interface integration method based on plug-in mechanism
CN107305497A (en) Version upgrading method and device
CN105577503A (en) Cloud switch system based on Docker and realization method thereof
CN106878082B (en) Virtual network card hot migration method and device
CN100477603C (en) Multifunctional network application equipment and starting and online updating method
CN109992801A (en) A kind of PCB update method based on PADS software
CN103677854A (en) Design method and design system of OSGI (Open Service Gateway Initiative)-WEB framework applicable to cloud computing environment
CN104200394A (en) Power grid equipment network analysis method and system based on SpatiaLite database
CN106557386A (en) Method, the apparatus and system of standby virtual network interface card virtual machine are disposed based on KVM
CN103186405A (en) Method and device for implementing unified control of equipment
CN105243141A (en) APP resource management method and mobile terminal
CN104503849A (en) System data setting method, system data setting device and terminal
CN107038048A (en) A kind of dual-active server system upgrade method and platform
CN107066299A (en) A kind of many server system upgrade methods living and platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
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: 20171201