CN103412780A - System, device and method for upgrading distributed file system - Google Patents
System, device and method for upgrading distributed file system Download PDFInfo
- Publication number
- CN103412780A CN103412780A CN2013103617314A CN201310361731A CN103412780A CN 103412780 A CN103412780 A CN 103412780A CN 2013103617314 A CN2013103617314 A CN 2013103617314A CN 201310361731 A CN201310361731 A CN 201310361731A CN 103412780 A CN103412780 A CN 103412780A
- Authority
- CN
- China
- Prior art keywords
- server
- file system
- distributed file
- upgrading
- service
- 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.)
- Granted
Links
Images
Abstract
The invention provides a system, device and method for upgrading a distributed file system. The system comprises any two paired servers, namely a first server and a second server, in multiple servers, and the first server and the second server are connected with shared storage equipment through a switch. When the first server and the second server are used for upgrading the distributed file system, the service of the distributed file system to be upgraded is switched to the paired servers, and then the distributed file system to be upgraded is upgraded; the service switched to the paired servers is switched back to the upgraded server after upgrading is finished. The distributed file system can be upgraded in an online upgrading mode of a high availability cluster, so that the continuity and reliability of high availability service in a cluster system are guaranteed.
Description
Technical field
The present invention relates to the management of distributed file system in the concentrating type storage system, relate in particular to upgrade method and device based on the distributed file system of high available service.
Background technology
Computer cluster is called for short cluster, is a kind ofly by one group of loose integrated computer hardware and software, to be coupled together by the computer system of the evaluation work that highly closely cooperated.At present, due to the dramatic growth of individual and business data, rapidly, system often can change along with the variation of demand the development of concentrating type storage system, therefore need in the process of using, guarantee safe availability, avoids the generation of shutting down as far as possible.
Generally, if distributed file system is not supported online upgrading, just need to be before its upgrading, at first whole distributed file system in cluster is all cut off, then after one by one the distributed file system software in each equipment being upgraded, more whole distributed file system in cluster is restarted.Because this upgrade method needs whole distributed file system is cut off in escalation process; and within the time period that system is cut off, can't continue to provide data, services at all; therefore will inevitably cause the stop time of growing occurring, thereby affect the continuity that system is used.Especially in some crucial industries, the so long availability that can have a strong impact on whole group system stop time.
Therefore, need to be for the problems referred to above, a kind of upgrade-system, device and method of distributed file system are provided, can by the mode of online upgrading, upgrade to distributed file system to high availability cluster, thus continuity, the reliability of the high available service of assurance group system.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of system, device and method that distributed file system is upgraded, and can when upgrading, guarantee the continuity of high available service.
In order to solve the problems of the technologies described above, the invention provides a kind of system that distributed file system is upgraded, comprise: the first server of any two pairings and second server in a plurality of servers, first server is connected with shared storage device by switch with second server, wherein:
First server and second server, for when carrying out the distributed file system upgrading, the service of the distributed file system that will upgrade is switched on the server of pairing, then the distributed file system that will upgrade is upgraded; After to be upgraded completing, the service be switched on the server of pairing is switched back on the server of having upgraded.
Further, first server and second server are after switching back to the service on the server of pairing of being switched on the server of having upgraded, the corresponding service of the distributed file system of also not upgrading is switched on the server of having upgraded, and then the distributed file system of not upgrading on this server of upgrading; After after to be upgraded, completing, then by the service switchback of respective server.
Further, first server and second server are connected by each shared storage in a plurality of shared storages in switch and shared storage device respectively.
Further, first server and second server are equipped with respectively the update device of distributed file system separately, comprise distributed file system and high available service module, wherein:
Distributed file system, upgrade to native system for the upgrading sign on according to the transmission of high available service module, and to the transmission of high available service module, upgrade successfully information after upgrading completes;
High available service module, for before the upgrading of distributed file system need be carried out in this locality, the service of local distributed file system is switched on the server of pairing, then to the high available service module transmission upgrading sign on of the server of local distributed file system and pairing; After receiving the information of upgrading successfully, to the high available service module transferring service switchback instruction of the server matched.
Further, high available service module, after receiving service switchback instruction, switches back to the service be switched on book server on the server of distributed file system upgrading.
In order to solve the problems of the technologies described above, the invention provides a kind of device that distributed file system is upgraded, comprise distributed file system and high available service module, wherein:
Distributed file system, upgrade to native system for the upgrading sign on according to the transmission of high available service module, and to the transmission of high available service module, upgrade successfully information after upgrading completes;
High available service module, for before the upgrading of distributed file system need be carried out in this locality, the service of local distributed file system is switched on the server of pairing, then to the high available service module transmission upgrading sign on of the server of local distributed file system and pairing; After receiving the information of upgrading successfully, to the high available service module transferring service switchback instruction of the server matched.
Further, high available service module, after receiving service switchback instruction, switches back to the service be switched on book server on the server of distributed file system upgrading.
In order to solve the problems of the technologies described above, the invention provides a kind of method that distributed file system is upgraded, relate to the server of any two pairings in a plurality of servers, each server all is connected with shared storage device by switch, and the method comprises:
In the time will carrying out the distributed file system upgrading to server, the service of the distributed file system that will upgrade is switched on the server of pairing, then this distributed file system that will upgrade is upgraded; After to be upgraded completing, the service be switched on the server of pairing is switched back on the server of having upgraded.
Further, the method also comprises:
After the service on the server that will be switched to pairing switches back on the server of having upgraded, will be also without the corresponding service of the server of distributed file system upgrading, be switched on the server of having upgraded, and then on this server of upgrading without the distributed file system of upgrading; After after this upgrading, completing, then by the service switchback of respective server.
Further, each server all is connected with shared storage device by switch, refers to that each server all is connected by each shared storage in a plurality of shared storages in switch and shared storage device.
The present invention can upgrade to distributed file system by the mode of online upgrading to high availability cluster, thereby guarantees continuity, the reliability of the high available service of group system.
The accompanying drawing explanation
Fig. 1 is the structural representation of the system embodiment that distributed file system is upgraded of the present invention;
Fig. 2 is arranged on the apparatus structure schematic diagram in each server in system embodiment shown in Figure 1.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment, technical scheme of the present invention is at length set forth.Should be appreciated that, the embodiment below enumerated is only for description and interpretation the present invention, and do not form the restriction to technical solution of the present invention.
As shown in Figure 1, be the system embodiment that distributed file system is upgraded of the present invention, it comprises server A and the server B of any two pairings in a plurality of servers, server A is connected with shared storage device by switch with server B, wherein:
Server A and server B, for when carrying out the distributed file system upgrading, the service of the distributed file system that will upgrade is switched on the server of pairing, then the distributed file system that will upgrade is upgraded; After to be upgraded completing, the service be switched on the server of pairing is switched back on the server of having upgraded.
In said system embodiment, after the service on the server that will be switched to pairing switches back on the server of having upgraded, the service of the distributed file system of also not upgrading is switched on the server of having upgraded, and then the distributed file system of not upgrading on this server of upgrading; After after to be upgraded, completing, then by the service switchback of respective server.
In said system embodiment, server A and server B are connected by each shared storage in a plurality of shared storages in switch and shared storage device respectively.
In said system embodiment, server A and server B are equipped with respectively the update device of distributed file system separately, and its structure as shown in Figure 2, comprises distributed file system and high available service module, wherein:
Distributed file system, upgrade to native system for the upgrading sign on according to the transmission of high available service module, and to the transmission of high available service module, upgrade successfully information after upgrading completes;
High available service module, for before the upgrading of distributed file system need be carried out in this locality, the service of local distributed file system is switched on the server of pairing, then to the high available service module transmission upgrading sign on of the server of local distributed file system and pairing; After receiving the information of upgrading successfully, to the high available service module transferring service switchback instruction of the server matched.
In said system embodiment,
High available service module, after receiving service switchback instruction, switches back on the server of distributed file system upgrading being switched to service on book server.
The present invention is directed to said system embodiment, a kind of upgrade method of distributed file system correspondingly also is provided, relate to the server of any two pairings in a plurality of servers, each server all is connected with shared storage device by switch, and the method comprises:
In the time will carrying out the distributed file system upgrading to server, the service of the distributed file system that will upgrade is switched on the server of pairing, then this distributed file system that will upgrade is upgraded; After to be upgraded completing, the service be switched on the server of pairing is switched back on the server of having upgraded.
Said method embodiment also comprises:
After the service on the server that will be switched to pairing switches back on the server of having upgraded, to also without the corresponding service of the server of distributed file system upgrading, be switched on the server of having upgraded, and then the distributed file system of not upgrading on this server of upgrading; After after to be upgraded, completing, then by the service switchback of this server.
So far, the distributed file system updating operation of whole cluster all completes.
Said system of the present invention and method are carried out in escalation process in the distributed file system to server, have avoided the appearance of the situation of service shutdown, are a kind of unperturbed upgrading modes of smooth rolling, have effectively guaranteed the high availability of system.
Claims (10)
1. system that distributed file system is upgraded, it is characterized in that, comprise: the first server of any two pairings and second server in a plurality of servers, first server is connected with shared storage device by switch with second server, wherein:
First server and second server, for when carrying out the distributed file system upgrading, the service of the distributed file system that will upgrade is switched on the server of pairing, then the distributed file system that will upgrade is upgraded; After described upgrading completes, the service be switched on the server of pairing is switched back on the server of having upgraded.
2. according to system claimed in claim 1, it is characterized in that, first server and second server are after switching back to the described service on the server of described pairing of being switched on described server of having upgraded, the corresponding service of the distributed file system of also not upgrading is switched on described server of having upgraded, and then the distributed file system of not upgrading on this server of upgrading; After after described upgrading, completing, then by the service switchback of respective server.
3. according to the described system of claim 1 or 2, it is characterized in that, first server and second server are connected by each shared storage in a plurality of shared storages in described switch and described shared storage device respectively.
4. according to the described system of claim 1 or 2, it is characterized in that, first server and second server are equipped with respectively the update device of distributed file system separately, comprise distributed file system and high available service module, wherein:
Distributed file system, upgrade to native system for the upgrading sign on according to the transmission of high available service module, and to the transmission of high available service module, upgrade successfully information after upgrading completes;
High available service module, for before the upgrading of distributed file system need be carried out in this locality, the service of local distributed file system is switched on the server of described pairing, then to the high available service module of the server of local distributed file system and described pairing, transmits described upgrading sign on; Receive described upgrade successfully information after, to the high available service module transferring service switchback instruction of the server of described pairing.
5. according to system claimed in claim 4, it is characterized in that, described high available service module, after receiving described service switchback instruction, switches back to the service be switched on book server on the server of distributed file system upgrading.
6. the device that distributed file system is upgraded, is characterized in that, comprises distributed file system and high available service module, wherein:
Distributed file system, upgrade to native system for the upgrading sign on according to the transmission of high available service module, and to the transmission of high available service module, upgrade successfully information after upgrading completes;
High available service module, for before the upgrading of distributed file system need be carried out in this locality, the service of local distributed file system is switched on the server of described pairing, then to the high available service module of the server of local distributed file system and described pairing, transmits described upgrading sign on; Receive described upgrade successfully information after, to the high available service module transferring service switchback instruction of the server of described pairing.
7. according to device claimed in claim 6, it is characterized in that, described high available service module, after receiving described service switchback instruction, switches back to the service be switched on book server on the server of distributed file system upgrading.
8. the method that distributed file system is upgraded, is characterized in that, relates to the server of any two pairings in a plurality of servers, and each server all is connected with shared storage device by switch, and the method comprises:
In the time will carrying out the distributed file system upgrading to server, the service of the distributed file system that will upgrade is switched on the server of pairing, then this distributed file system that will upgrade is upgraded; After described upgrading completes, the service be switched on the server of described pairing is switched back on the server of having upgraded.
9. in accordance with the method for claim 8, it is characterized in that, also comprise:
After the described service on the server that will be switched to described pairing switches back on described server of having upgraded, will be also without the corresponding service of the server of distributed file system upgrading, be switched on described server of having upgraded, and then on this server of upgrading without the distributed file system of upgrading; After after this upgrading, completing, then by the service switchback of respective server.
10. according to the described method of claim 8 or 9, it is characterized in that, described each server all is connected with shared storage device by switch, refers to that each server all is connected by each shared storage in a plurality of shared storages in described switch and described shared storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310361731.4A CN103412780B (en) | 2013-08-19 | 2013-08-19 | System, device and method for upgrading distributed file system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310361731.4A CN103412780B (en) | 2013-08-19 | 2013-08-19 | System, device and method for upgrading distributed file system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103412780A true CN103412780A (en) | 2013-11-27 |
CN103412780B CN103412780B (en) | 2017-04-12 |
Family
ID=49605793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310361731.4A Active CN103412780B (en) | 2013-08-19 | 2013-08-19 | System, device and method for upgrading distributed file system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103412780B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970567A (en) * | 2014-04-28 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Method for online upgrading of cloud storage system firmware |
CN104618487A (en) * | 2015-02-06 | 2015-05-13 | 杭州华三通信技术有限公司 | Internet protocol storage on-line upgrading method and device |
CN105630848A (en) * | 2014-11-25 | 2016-06-01 | 中兴通讯股份有限公司 | File system processing method and apparatus |
CN105791337A (en) * | 2014-12-19 | 2016-07-20 | 华为数字技术(苏州)有限公司 | Upgrading method, device and cluster system |
CN106941420A (en) * | 2017-03-16 | 2017-07-11 | 北京深思数盾科技股份有限公司 | A kind of cluster application environment upgrade method and device |
CN107273169A (en) * | 2017-06-30 | 2017-10-20 | 郑州云海信息技术有限公司 | The on-line software updating method and system of a kind of storage control cluster |
CN109213507A (en) * | 2018-08-27 | 2019-01-15 | 郑州云海信息技术有限公司 | A kind of upgrade method and server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101252464A (en) * | 2008-03-17 | 2008-08-27 | 华为技术有限公司 | Dual system and dual system online upgrading method |
CN102360324A (en) * | 2011-10-28 | 2012-02-22 | 华为技术有限公司 | Failure recovery method and equipment for failure recovery |
CN102880485A (en) * | 2012-08-30 | 2013-01-16 | 浪潮(北京)电子信息产业有限公司 | Method and system for upgrading double controllers |
-
2013
- 2013-08-19 CN CN201310361731.4A patent/CN103412780B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101252464A (en) * | 2008-03-17 | 2008-08-27 | 华为技术有限公司 | Dual system and dual system online upgrading method |
CN102360324A (en) * | 2011-10-28 | 2012-02-22 | 华为技术有限公司 | Failure recovery method and equipment for failure recovery |
CN102880485A (en) * | 2012-08-30 | 2013-01-16 | 浪潮(北京)电子信息产业有限公司 | Method and system for upgrading double controllers |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970567A (en) * | 2014-04-28 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Method for online upgrading of cloud storage system firmware |
CN105630848A (en) * | 2014-11-25 | 2016-06-01 | 中兴通讯股份有限公司 | File system processing method and apparatus |
CN105630848B (en) * | 2014-11-25 | 2020-05-22 | 中兴通讯股份有限公司 | Processing method and device of file system |
CN105791337A (en) * | 2014-12-19 | 2016-07-20 | 华为数字技术(苏州)有限公司 | Upgrading method, device and cluster system |
CN105791337B (en) * | 2014-12-19 | 2019-11-12 | 华为数字技术(苏州)有限公司 | A kind of upgrade method, equipment and group system |
CN104618487A (en) * | 2015-02-06 | 2015-05-13 | 杭州华三通信技术有限公司 | Internet protocol storage on-line upgrading method and device |
CN104618487B (en) * | 2015-02-06 | 2018-04-20 | 新华三技术有限公司 | A kind of Internet Protocol stores online upgrade method and device |
CN106941420A (en) * | 2017-03-16 | 2017-07-11 | 北京深思数盾科技股份有限公司 | A kind of cluster application environment upgrade method and device |
CN106941420B (en) * | 2017-03-16 | 2019-12-13 | 北京深思数盾科技股份有限公司 | cluster application environment upgrading method and device |
CN107273169A (en) * | 2017-06-30 | 2017-10-20 | 郑州云海信息技术有限公司 | The on-line software updating method and system of a kind of storage control cluster |
CN109213507A (en) * | 2018-08-27 | 2019-01-15 | 郑州云海信息技术有限公司 | A kind of upgrade method and server |
Also Published As
Publication number | Publication date |
---|---|
CN103412780B (en) | 2017-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103412780A (en) | System, device and method for upgrading distributed file system | |
US10409751B2 (en) | System and method for adding active out-of-band management capability as a user-selectable module | |
CN111090699A (en) | Service data synchronization method and device, storage medium and electronic device | |
CN112069265B (en) | Synchronization method of configuration data, business data system, computer system and medium | |
CN103744906A (en) | System, method and device for data synchronization | |
CN105141456A (en) | Method for monitoring high-availability cluster resource | |
CN110795503A (en) | Multi-cluster data synchronization method and related device of distributed storage system | |
CN103473141A (en) | Method for out-of-band check and modification of BIOS (basic input/output system) setting options | |
TW200703024A (en) | Peer data transfer orchestration | |
CN103401909A (en) | Data interaction method and system based on BS (browser/server), client end and server | |
US9727117B2 (en) | Validating power paths to it equipment | |
CN104252397A (en) | Realizing method for supporting automatic backup of cloud platform user file | |
CN104104739A (en) | Data synchronization method for metadata service cluster of cloud storage system | |
CN104167817A (en) | Power equipment real-time information integration system and method | |
CN103685083A (en) | Communication method in asynchronous management network | |
CN105634635B (en) | A kind of methods, devices and systems of shared RTC | |
CN105302817B (en) | Distributed file system management method and device | |
CN111078463A (en) | Data backup method, device and system | |
CN102970375A (en) | Cluster configuration method and device | |
CN204117069U (en) | A kind of server backplanes | |
CN103685191A (en) | Data synchronizing system and method | |
CN102629260A (en) | Processing method, device and system for database collapse | |
CN203658822U (en) | Command and control system of aerospace landing test site | |
CN103095739A (en) | Cabinet server system and node communication method thereof | |
US10680877B2 (en) | Information transmission, sending, and acquisition method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |