CN111694516B - Version online upgrading method and terminal of distributed block storage system - Google Patents

Version online upgrading method and terminal of distributed block storage system Download PDF

Info

Publication number
CN111694516B
CN111694516B CN202010452396.9A CN202010452396A CN111694516B CN 111694516 B CN111694516 B CN 111694516B CN 202010452396 A CN202010452396 A CN 202010452396A CN 111694516 B CN111694516 B CN 111694516B
Authority
CN
China
Prior art keywords
upgrading
version
storage node
time
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010452396.9A
Other languages
Chinese (zh)
Other versions
CN111694516A (en
Inventor
李军站
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010452396.9A priority Critical patent/CN111694516B/en
Publication of CN111694516A publication Critical patent/CN111694516A/en
Application granted granted Critical
Publication of CN111694516B publication Critical patent/CN111694516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a version online upgrade method and a terminal of a distributed block storage system, which execute a version upgrade program and record version upgrade time information of a current storage node; comparing the version upgrading time information of the current storage node with a preset time range; if the upgrading time of the current storage node exceeds the preset time range and the upgrading is successful, adjusting the lifting completion time of the current storage node to be the upgrading starting time point of the next storage node, and executing the upgrading; and finishing the version upgrading of all the storage nodes. By dynamically adjusting the version upgrading time of the storage nodes, the average time delay of the upgrading of the storage system is reduced, and the performance of the storage system in the upgrading process is improved. The version upgrading time is shortened, and the influence range on the client service is reduced.

Description

Version online upgrading method and terminal of distributed block storage system
Technical Field
The invention relates to the technical field of storage systems, in particular to a version online upgrading method and a version online upgrading terminal of a distributed block storage system.
Background
The distributed block storage system is widely applied to the fields of IT enterprises, cloud computing, big data, virtualization and the like, and meanwhile, the fields put forward higher and higher requirements on the function, performance and stability of the storage system along with the rapid growth of business; in order to meet customer requirements, it is sometimes necessary to perform a version upgrade on the distributed block storage system on the customer site.
The current distributed block storage system mainly has two versions upgrading modes: an offline upgrade version and an online upgrade version. The off-line version upgrading can be carried out only after the customer service is stopped, and is suitable for the business scene of the informal on-line customer; the version can be upgraded on line without stopping the client service, and the method is generally suitable for the business scene of formal online of the client. In order to satisfy the redundancy rules of the storage system and not affect the normal operation of the client service, the storage nodes sequentially perform version online upgrade under the normal condition of the distributed block storage system at present. But the shorter the version upgrading time is, the better the client hopes to be, the use of the client is prevented from being influenced, and the influence range on the service of the client is smaller. However, if the upgrade time is too short, the data storage service is not processed in time, and the performance value of the storage system is far lower than the performance value before upgrade. In addition, the upgrading process of the current version is executed according to fixed duration and fixed time intervals, so that the upgrading time cannot be dynamically adjusted in the upgrading process, the upgrading time is easily wasted, and the use of a client is further prevented from being influenced.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides an online version upgrading method of a distributed block storage system, which comprises the following steps:
the method comprises the following steps: executing a version upgrading program, and recording version upgrading time information of the current storage node;
step two: comparing the version upgrading time information of the current storage node with a preset time range;
step three: if the upgrading time of the current storage node exceeds the preset time range and the upgrading is successful, adjusting the upgrading completion time of the current storage node to be the upgrading starting time point of the next storage node, and executing the upgrading;
and finishing the version upgrading of all the storage nodes.
It should be further noted that the first step further includes:
detecting online communication information, and recording a time point t1 when a current storage node starts version upgrading;
the time t2 is recorded when the data storage service begins to reboot,
record t3 when the data storage service restart is complete;
the data reconstruction completion time after the data service is restarted is t 4;
acquiring a first average delay1 of a time period from t1 to t 2;
acquiring a second average time delay2 of the time period from t2 to t 3;
acquiring a third average time delay3 of a time period from t3 to t 4;
acquiring version upgrading time information T of the current storage node in the following way:
Sum_delay*T=(t1-t2)*delay1+(t2-t3)delay2+(t4-t3)delay3+ (T-t1-t2-t3-t4)delay1。
it should be further noted that the first step further includes:
before the version is upgraded, the storage node stops the data reading and writing process;
and stopping data monitoring of the storage nodes in the process of restarting the data storage service.
It should be further noted that, before the step one, the method further includes:
the method comprises the steps that a storage node to be upgraded acquires an upgrade package, and whether the version of the upgrade package meets an upgrade condition or not is judged in a preset mode;
if so, a version upgrade process is performed.
It should be further noted that the second step further includes: and if the upgrading time of the current storage node exceeds the preset time range and the upgrading fails, exiting the online upgrading process.
Based on the method, the invention also provides a terminal for upgrading the version of the storage node, which comprises the following steps: the system comprises a version upgrading configuration module, a comparison module and an execution module;
the version upgrading configuration module is used for acquiring a storage node and an upgrading sequence of the version upgrading;
executing a version upgrading program on a preset first storage node, and recording version upgrading time information of the storage node;
the comparison module is used for comparing the version upgrading time information of the current storage node with a preset time range and sending a comparison result to the execution module;
the execution module is used for adjusting the upgrade completion time of the current storage node to be the upgrade starting time point of the next storage node and executing the upgrade if the upgrade time of the current storage node exceeds the preset time range and the upgrade is successful;
and finishing the version upgrading of all the storage nodes.
Further, it should be noted that the method further includes: an upgrade processing module;
the upgrading processing module is used for stopping the data reading and writing process before the version of the storage node is upgraded;
and stopping data monitoring of the storage nodes in the process of restarting the data storage service.
Further, it should be noted that the method further includes: a version upgrade package transmission module;
and the version upgrading packet transmission module is used for transmitting the version upgrading packet with the preset identifier to a preset storage node and receiving feedback information of the storage node.
Further, it should be noted that the method further includes: a detection module;
the detection module is used for detecting the running state of the current storage node after the version upgrade of the current storage node is finished, and sending the running normal state information to the version upgrade configuration module if the current storage node runs normally.
It should be further noted that the method further includes: upgrading the monitoring module;
the upgrade monitoring module is used for detecting and recording the communication state between the upgrade monitoring module and the storage node, detecting the current state of the storage node before the storage node is upgraded, and if the storage node is normal, sending normal operation state information to the version upgrade configuration module.
According to the technical scheme, the invention has the following advantages:
the version online upgrading method of the distributed block storage system modifies the version online upgrading process of the distributed block storage system, reduces the average time delay of the upgrading of the storage system and improves the performance of the storage system in the upgrading process by dynamically adjusting the version upgrading time of the storage nodes. Therefore, the version upgrading time is shortened, and the influence range on the client service is reduced. And the problem that the short upgrading time can cause the untimely processing of the data storage service, so that the performance value of the storage system is far lower than that before upgrading is solved.
Secondly, a storage system state detection mechanism is added after each node is upgraded, and after each node is upgraded and the state of the storage system is normal, the version upgrade of the next node is sequentially carried out.
And after the upgrading of each storage node is completed, a storage system state detection mechanism is added, so that the version upgrading of the next node can be performed only after the upgrading of each node is completed and the state of the storage system is normal. The version online upgrading method of the distributed block storage system provided by the invention reduces the reconstruction data volume in the node upgrading process, simultaneously meets the performance requirement of the storage system in the upgrading process, and ensures the stable and normal operation of the client service of the distributed block storage system in the version online upgrading process.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description will be briefly introduced, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flowchart of a version online upgrade method for a distributed block storage system;
FIG. 2 is a schematic diagram of a terminal;
fig. 3 is a schematic diagram of an embodiment of the terminal.
Detailed Description
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The online version upgrading method of the distributed block storage system provided by the invention reduces the data reconstruction time in the version upgrading process, solves the balance problem of the upgrading time of the storage system and the performance of the storage system, simultaneously reduces the influence degree on the client service in the online upgrading process, increases the reliability and timeliness in the distributed block storage system, and meets the current requirements of users.
Specifically, as shown in fig. 1, the present invention provides an online version upgrade method for a distributed block storage system. The invention relates to version upgrading of each storage node in a storage system. That is, the storage system involves a plurality of storage nodes, and the upgrading process is to upgrade versions one by one according to a preset sequence.
Before upgrading, whether the whole storage system is normal in operation and state is normal is checked, and whether each storage node is normal is detected. And if the storage system is not in the abnormal state, the version upgrading is not carried out. Whether normal or not can be based on the read-write process, or the operation parameters of the device, etc.
Before upgrading, a storage node to be upgraded acquires an upgrade package, and judges whether the version of the upgrade package meets the upgrade condition or not in a preset mode; if so, a version upgrade process is performed.
Specifically, the version upgrading package is configured to the corresponding storage node based on the normal state of the storage system, after the configuration of the upgrading package is successful, the storage node is verified through the md5 value, and after the verification is passed, the subsequent node upgrading process can be carried out. Otherwise, prompting that the version upgrading package fails to be checked or the configuration of the version upgrading package fails, and sending prompting information. And after all the nodes in the distributed block storage system are upgraded, deleting the uploaded version upgrade package.
Further, before upgrading, in order to avoid that data reconstruction influences normal operation of the front-end client service, the data storage service of each storage node is set to no down, the data monitoring service does not update the mapping state of the data storage service in the process of restarting the data storage service, and after the data storage service is restarted, the client service can be quickly recovered.
Of course, if the data storage service is not set to no down, and the data monitoring service will update the mapping state of the data storage service after the data storage service is restarted, a large amount of data may be reconstructed to affect normal operation of the front-end client service.
Based on the above, the version upgrade process is started, and in particular,
s1: executing a version upgrading program, and recording version upgrading time information of the current storage node;
s2: comparing the version upgrading time information of the current storage node with a preset time range;
s3: if the upgrading time of the current storage node exceeds the preset time range and the upgrading is successful, recording the time information of the version upgrading and sending an alarm prompt; the upgrade completion time of the current storage node is adjusted to be the upgrade starting time point of the next storage node, and the upgrade is executed;
and finishing the version upgrading of all the storage nodes.
As an execution process of the version online upgrading method of the distributed block storage system, a smooth mode is that if the upgrading time of the current storage node does not exceed the preset time range and the upgrading is successful, the subsequent storage node upgrading programs are sequentially executed.
That is, each storage node is upgraded within a preset time range, so that adjustment is not needed.
In the method, if the upgrading time of the current storage node exceeds the preset time range and the upgrading fails, the online upgrading process is exited. The upgrading personnel solve the problem of upgrading failure through manual means.
It should be further noted that, in the comparison between the version upgrading time information and the preset time range, the storage node upgrading time exceeding the preset time range may include two cases, that is, the time duration is shorter than the preset time duration, and that is, the time duration is longer than the preset time duration. And if the version upgrading time is within the preset time length range, normally executing the later upgrading process.
The version upgrading time of the storage nodes is dynamically adjusted, so that the average time delay of the upgrading of the storage system is reduced, and the performance of the storage system in the upgrading process is improved. The problem that if the upgrading time is too short, the data storage service is not processed timely, and the performance value of the storage system is far lower than that before upgrading is solved.
Secondly, a storage system state detection mechanism is added after each node is upgraded, and after each node is upgraded and the state of the storage system is normal, the version upgrade of the next node is sequentially carried out.
Furthermore, after the version upgrade of the current storage node is completed, the running state of the current storage node is detected, and if the current storage node runs normally, the next version upgrade program of the storage node is executed.
In the steps of the method, the dynamic adjustment algorithm for the upgrade time of the storage node is realized by the following steps:
since a small amount of data is reconstructed in the process of starting the data service, if the reconstruction bandwidth is too high, the higher the reconstruction bandwidth is, and the shorter the reconstruction time is, the normal service of a client is seriously influenced, so that the reconstruction bandwidth is not too high during the node upgrading period. Aiming at the problem, the completion time of data reconstruction after the data service is restarted is supplemented to be t4, and the average time delay of the segment is also calculated, so that the shorter the upgrading time of the node is, the better the upgrading time is according to the latest algorithm.
Specifically, online communication information is detected, and a time point t1 when the first storage node starts version upgrade is recorded;
recording time t2 when the data storage service is started to restart, and recording as t3 when the data storage service is restarted; the data reconstruction completion time after the data service restart is t 4.
Acquiring a first average delay1 of a time period from t1 to t 2;
acquiring a second average time delay2 of the time period from t2 to t 3;
acquiring a third average delay3 of a time period from t3 to t 4;
acquiring version upgrade time information T of a first storage node by the following method:
Sum_delay*T=(t1-t2)*delay1+(t2-t3)delay2+(t4-t3)delay3+ (T-t1-t2-t3-t4)delay1。
the invention also calculates reconstruction time, and adjusts the time point of starting upgrading of the next storage node according to the upgrading time T value of the current storage node until all the nodes in the storage system are upgraded. Therefore, the upgrading time of each node is dynamically adjusted through an algorithm, and the balance between the upgrading time and the performance of the storage system is achieved as far as possible.
Based on the method, the invention also provides a terminal for upgrading the version of the storage node, as shown in fig. 2 and fig. 3, the terminal is used for performing communication connection with the storage system when the storage system needs to be upgraded, configuring the version to be upgraded into the system, and guiding the system to execute an upgrading process. The method specifically comprises the following steps: the system comprises a version upgrading configuration module 1, a comparison module 2 and an execution module 3;
the version upgrading configuration module 1 is used for acquiring a storage node and an upgrading sequence of version upgrading;
executing a version upgrading program on a preset first storage node, and recording version upgrading time information of the storage node;
the comparison module 2 is used for comparing the version upgrading time information of the current storage node with a preset time range and sending a comparison result to the execution module;
the execution module 3 is used for executing the version upgrading program of the storage node according to the comparison result.
If the upgrading time of the current storage node exceeds the preset time range and the upgrading is successful, sending an alarm prompt;
executing a version upgrading program of the next storage node, and recording version upgrading time information;
repeating the steps until the version upgrading of all the storage nodes is completed;
and if the upgrading time of the current storage node exceeds the preset time range and the upgrading fails, exiting the online upgrading process.
The terminal also includes: an upgrade processing module 4; the upgrade processing module 4 is used for stopping the data read-write process before the version upgrade of the storage node; and stopping data monitoring of the storage nodes in the process of restarting the data storage service.
In order to avoid that the normal operation of the front-end client service is influenced by data reconstruction, the data storage service of each storage node is set to no down, the data monitoring service does not update the mapping state of the data storage service in the restarting process of the data storage service, and the client service can be quickly recovered after the restarting of the data storage service is finished.
The terminal further includes: a version upgrade package transmission module; the version upgrading packet transmission module is used for transmitting the version upgrading packet with the preset identifier to a preset storage node and receiving feedback information of the storage node. The terminal carries out configuration upgrading program in advance by upgrading personnel and carries out upgrading on the storage system.
The method is based on the fact that after the state of a storage system is normal, a version upgrading packet is configured to a corresponding storage node, after the upgrading packet is configured successfully, the storage node is verified through an md5 value, and after the verification is passed, the subsequent node upgrading process can be carried out. Otherwise, prompting that the version upgrading package fails to be checked or the configuration of the version upgrading package fails, and sending prompting information. And after all the nodes in the distributed block storage system are upgraded, deleting the uploaded version upgrade package.
After the upgrade is completed, the detection module detects the running state of the current storage node after the upgrade of the version of the current storage node is completed, and if the current storage node runs normally, the detection module sends information of the running normal state to the version upgrade configuration module.
Based on the method, the communication state between the storage node and the storage node is detected and recorded through the upgrading monitoring module, the current state of the storage node is detected before the storage node is upgraded, and if the storage node is normal, the normal operation state information is sent to the version upgrading configuration module.
Therefore, the version upgrading is carried out based on the terminal of the invention, the average time delay of the upgrading of the storage system is reduced, the performance of the storage system in the upgrading process is improved, the upgrading time of each node can be dynamically adjusted through an algorithm, and the balance between the upgrading time and the performance of the storage system is realized as far as possible.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A version online upgrading method of a distributed block storage system is characterized by comprising the following steps:
the method comprises the following steps: executing a version upgrading program, and recording version upgrading time information of the current storage node;
detecting online communication information, and recording a time point t1 of upgrading a start version of a current storage node; recording time t2 when the data storage service is started to restart, and recording as t3 when the data storage service is restarted; the data reconstruction completion time after the data service is restarted is t 4; acquiring a first average delay1 of a time period from t1 to t 2; acquiring a second average delay2 of the time period from t2 to t 3; acquiring a third average time delay3 of a time period from t3 to t 4; acquiring version upgrading time information T of the current storage node in the following way:
Sum_delay*T=(t1-t2)*delay1+(t2-t3)delay2+(t4-t3)delay3+(T-t1-t2-t3-t4)delay1;
step two: comparing the version upgrading time information of the current storage node with a preset time range;
step three: if the upgrading time of the current storage node exceeds the preset time range and the upgrading is successful, adjusting the upgrading completion time of the current storage node to be the upgrading starting time point of the next storage node, and executing the upgrading; and finishing the version upgrading of all the storage nodes.
2. The method for version online upgrade of a distributed block storage system according to claim 1,
the first step further comprises the following steps:
before the version is upgraded, the storage node stops the data reading and writing process;
and stopping data monitoring of the storage nodes in the process of restarting the data storage service.
3. The method for version online upgrade of a distributed block storage system according to claim 1,
the first step also comprises the following steps:
the method comprises the steps that a storage node to be upgraded acquires an upgrade package, and whether the version of the upgrade package meets an upgrade condition or not is judged in a preset mode;
if so, a version upgrade process is performed.
4. The method for version online upgrade of a distributed block storage system according to claim 1,
the third step also comprises:
if the upgrading time of the current storage node does not exceed the preset time range and the upgrading is successful, sequentially executing subsequent storage node upgrading programs;
and if the upgrading time of the current storage node exceeds the preset time range and the upgrading fails, exiting the online upgrading process.
5. A terminal for upgrading the version of a storage node, wherein the terminal adopts the online version upgrading method of the distributed block storage system according to any one of claims 1 to 4;
the terminal includes: the version upgrading system comprises a version upgrading configuration module, a comparison module and an execution module;
the version upgrading configuration module is used for acquiring a storage node and an upgrading sequence of version upgrading;
executing a version upgrading program on a preset first storage node, and recording version upgrading time information of the storage node;
detecting online communication information, and recording a time point t1 of upgrading a start version of a current storage node; recording time t2 when the data storage service is started to restart, and recording time t3 when the data storage service is restarted; the data reconstruction completion time after the data service is restarted is t 4; obtaining a first average delay1 of a time period from t1 to t 2; acquiring a second average time delay2 of the time period from t2 to t 3; acquiring a third average time delay3 of a time period from t3 to t 4; acquiring version upgrading time information T of the current storage node in the following way:
Sum_delay*T=(t1-t2)*delay1+(t2-t3)delay2+(t4-t3)delay3+(T-t1-t2-t3-t4)delay1;
the comparison module is used for comparing the version upgrading time information of the current storage node with a preset time range and sending a comparison result to the execution module;
the execution module is used for adjusting the upgrade completion time of the current storage node to be the upgrade starting time point of the next storage node and executing the upgrade if the upgrade time of the current storage node exceeds the preset time range and the upgrade is successful;
and finishing the version upgrading of all the storage nodes.
6. The terminal of claim 5, further comprising: an upgrade processing module;
the upgrading processing module is used for stopping the data reading and writing process before the version upgrading of the storage node;
and stopping data monitoring of the storage nodes in the process of restarting the data storage service.
7. The terminal of claim 5,
further comprising: a version upgrade package transmission module;
the version upgrading packet transmission module is used for transmitting the version upgrading packet with the preset identifier to a preset storage node and receiving feedback information of the storage node.
8. The terminal of claim 5,
further comprising: a detection module;
the detection module is used for detecting the running state of the current storage node after the version upgrading of the current storage node is finished, and if the current storage node runs normally, the detection module sends information of the running normal state to the version upgrading configuration module.
9. The terminal of claim 5,
further comprising: upgrading the monitoring module;
the upgrade monitoring module is used for detecting and recording the communication state between the upgrade monitoring module and the storage node, detecting the current state of the storage node before the storage node is upgraded, and if the storage node is normal, sending the information of the normal operation state to the version upgrade configuration module.
CN202010452396.9A 2020-05-26 2020-05-26 Version online upgrading method and terminal of distributed block storage system Active CN111694516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010452396.9A CN111694516B (en) 2020-05-26 2020-05-26 Version online upgrading method and terminal of distributed block storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010452396.9A CN111694516B (en) 2020-05-26 2020-05-26 Version online upgrading method and terminal of distributed block storage system

Publications (2)

Publication Number Publication Date
CN111694516A CN111694516A (en) 2020-09-22
CN111694516B true CN111694516B (en) 2022-07-19

Family

ID=72478233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010452396.9A Active CN111694516B (en) 2020-05-26 2020-05-26 Version online upgrading method and terminal of distributed block storage system

Country Status (1)

Country Link
CN (1) CN111694516B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115373896B (en) * 2022-06-23 2023-05-09 北京志凌海纳科技有限公司 Distributed block storage-based duplicate data recovery method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786405A (en) * 2016-02-25 2016-07-20 华为技术有限公司 Online upgrading method, device and system
CN108768758A (en) * 2018-08-31 2018-11-06 郑州云海信息技术有限公司 Distributed memory system online upgrading method, apparatus, equipment and storage medium
CN108829420A (en) * 2018-06-12 2018-11-16 郑州云海信息技术有限公司 A kind of distributed memory system method for upgrading software based on RPM packet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786405A (en) * 2016-02-25 2016-07-20 华为技术有限公司 Online upgrading method, device and system
CN108829420A (en) * 2018-06-12 2018-11-16 郑州云海信息技术有限公司 A kind of distributed memory system method for upgrading software based on RPM packet
CN108768758A (en) * 2018-08-31 2018-11-06 郑州云海信息技术有限公司 Distributed memory system online upgrading method, apparatus, equipment and storage medium

Also Published As

Publication number Publication date
CN111694516A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN106843957B (en) System firmware upgrading method and device
CN106325929B (en) Firmware upgrading method, firmware upgrading device, refrigerator and server
KR100442884B1 (en) Method for updating firmware
US8719386B2 (en) System and method for providing configuration synchronicity
US9430221B2 (en) Device and method for updating firmware of a rackmount server system
WO2016078362A1 (en) Method and device for upgrade board by board in dual master control isolation
CN111901142B (en) Firmware silence upgrading method and device for embedded device cluster
CN111478796B (en) Cluster capacity expansion exception handling method for AI platform
EP2498439A1 (en) Protection method and system under abnormal conditions in upgrade gigabit passive optical network terminal
CN106897166B (en) Mobile terminal and repairing method thereof
CN109245953B (en) Network configuration method and device
CN101883254A (en) IP unicast loading upgrading device and method for interactive television set top box
CN112953983A (en) SFTP transmission method and device
CN111694516B (en) Version online upgrading method and terminal of distributed block storage system
CN110597545A (en) Hot patch intelligent upgrading method and system based on OTA component
CN112416411B (en) Upgrading method and device, equipment end, server and computer readable medium
CN116361114A (en) AI board monitoring keep-alive method, device, equipment and medium
CN111090537A (en) Cluster starting method and device, electronic equipment and readable storage medium
CN111104145A (en) Out-of-band updating method and system for Expander
CN115291905A (en) High-reliability OTA (over the air) upgrading method and system for automobile based on A/B (analog/digital) system
CN112732292A (en) Method, system, equipment and readable storage medium for software upgrading
CN113515291A (en) Equipment online upgrading method and device
CN110784518A (en) Static resource acquisition method and device
CN112203170A (en) Upgrading method, device, medium and equipment of optical network unit
CN114661648B (en) Hot plug method and system

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
GR01 Patent grant
GR01 Patent grant