CN109542338B - Method and device for realizing node information consistency in distributed storage system - Google Patents

Method and device for realizing node information consistency in distributed storage system Download PDF

Info

Publication number
CN109542338B
CN109542338B CN201811222429.XA CN201811222429A CN109542338B CN 109542338 B CN109542338 B CN 109542338B CN 201811222429 A CN201811222429 A CN 201811222429A CN 109542338 B CN109542338 B CN 109542338B
Authority
CN
China
Prior art keywords
node
service
abnormal
nodes
information
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
CN201811222429.XA
Other languages
Chinese (zh)
Other versions
CN109542338A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811222429.XA priority Critical patent/CN109542338B/en
Publication of CN109542338A publication Critical patent/CN109542338A/en
Application granted granted Critical
Publication of CN109542338B publication Critical patent/CN109542338B/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/0614Improving the reliability 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/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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application discloses a method and a device for realizing node information consistency in a distributed storage system, and specifically can create a new mapping volume according to the triggering operation of a user, set configuration information of the mapping volume, detect whether the service of each node is normal or not, and add the configuration information of the mapping volume in a configuration file corresponding to the node if the service of the node is normal; if the service of a certain node is abnormal, a timing detection process is established for the node to perform timing detection on the abnormal service node, and when the service of the node is recovered to be normal, the configuration information of the mapping volume is extracted from the added node and is synchronized into the configuration file of the node, so that the configuration information of each node in the distributed storage system is kept consistent, and further the block storage service of each node in the system is ensured to be normal.

Description

Method and device for realizing node information consistency in distributed storage system
Technical Field
The application relates to the technical field of computer storage, in particular to a method and a device for realizing consistency of node information in a distributed storage system.
Background
With the rapid development of computer technology, the demand of users for storage applications is also increasing. In order to meet the requirement of large-scale storage application, the distributed storage system adopts an expandable system structure, a plurality of storage servers are used for dividing storage load, namely, the plurality of storage servers are integrated together, and then data storage is dispersed on a plurality of independent devices, so that the storage efficiency is improved.
In actual application, a user can create a mapping volume in the distributed storage system according to own requirements so as to store data required by the user in the corresponding mapping volume. When creating the mapping volume, the system adds the configuration information of the mapping volume to the block storage service configuration file of each node in the cluster.
However, when a block storage service of a node fails or is shut down, an operation of adding configuration information of a newly created mapping volume to a configuration file of the node fails. When the node is recovered from the fault or started, the node is inconsistent with the configuration information in the configuration file corresponding to other nodes, so that the node cannot provide storage service for users.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for implementing consistency of node information in a distributed storage system, so as to ensure consistency of configuration information of mapping volumes among nodes in the distributed storage system.
In order to solve the above problem, the technical solution provided by the embodiment of the present application is as follows:
a first aspect of the present application provides a method for implementing consistency of node information in a distributed storage system, where the distributed storage system includes at least two nodes, and the method includes:
responding to the trigger operation of a user, creating a mapping volume, and setting configuration information of the mapping volume;
for any one node, detecting whether the node service is normal;
when the node service is abnormal, a timing detection process is established to detect the service state of the node at regular time;
when the service state of the node is recovered to be normal, extracting the configuration information of the mapping volume from other nodes, and synchronizing the configuration information to the configuration file of the node; and the other nodes are nodes without abnormal service.
In one possible implementation, the method further includes:
when the node service is normal, adding the configuration information of the mapping volume into a configuration file corresponding to the node; and each node corresponds to the configuration file.
In one possible implementation, after the creating the mapping volume, the method further includes:
sending a configuration file modification instruction to the node; the node is each node in the distributed storage system.
In one possible implementation, the method further includes:
when the node service is abnormal, recording the information of the abnormal service node; the information of the abnormal service node comprises the ID of the abnormal service node and the time of the abnormal service node when the abnormal service node occurs;
when the service state of the node returns to normal, the configuration information of the mapping volume is extracted from the other nodes and synchronized to the configuration file of the node, and the method comprises the following steps:
and according to the information of the service abnormal node, extracting the configuration information of the mapping volume from the rest nodes, and synchronizing the configuration information to the configuration file of the node.
In one possible implementation, the method further includes:
and when all the nodes finish the modification of the configuration file, sending a modification success prompt message.
A second aspect of the present application provides an apparatus for implementing consistency of node information in a distributed storage system, where the distributed storage system includes at least two nodes, and the apparatus includes:
the mapping system comprises a first creating unit, a second creating unit and a mapping unit, wherein the first creating unit is used for creating a mapping volume in response to the triggering operation of a user and setting the configuration information of the mapping volume;
a detecting unit, configured to detect, for any one of the nodes, whether the node service is normal;
the second establishing unit is used for establishing a timing detection process when the service of the node is abnormal so as to detect the service state of the node at regular time;
the synchronization unit is used for extracting the configuration information of the mapping volume from other nodes and synchronizing the configuration information to the configuration file of the node when the service state of the node is recovered to normal; and the other nodes are nodes without abnormal service.
In one possible implementation, the apparatus further includes:
an adding unit, configured to add configuration information of the mapping volume to a configuration file corresponding to the node when the node service is normal; and each node corresponds to the configuration file.
In one possible implementation, the apparatus further includes:
a sending unit, configured to send a configuration file modification instruction to the node; the node is each node in the distributed storage system.
In one possible implementation, the apparatus further includes:
the recording unit is used for recording the information of the abnormal service node when the service of the node is abnormal; the information of the abnormal service node comprises the ID of the abnormal service node and the time of the abnormal service node when the abnormal service node occurs;
the synchronization unit is specifically configured to extract the configuration information of the mapping volume from the other nodes according to the information of the service abnormal node, and synchronize the configuration information to the configuration file of the node.
In one possible implementation, the apparatus further includes:
and the sending unit is used for sending a prompt message of successful modification when all the nodes finish the modification of the configuration file.
Therefore, the embodiment of the application has the following beneficial effects:
the embodiment of the application aims at a distributed storage system, firstly, a new mapping volume can be created according to the triggering operation of a user, the configuration information of the mapping volume is set, meanwhile, whether the service of each node is normal or not is detected, and if the service of the node is normal, the configuration information of the mapping volume is added into a configuration file corresponding to the node; if the service of a certain node is abnormal, a timing detection process is established for the node to perform timing detection on the abnormal service node, and when the service of the node is recovered to be normal, the configuration information of the mapping volume is extracted from the added node and is synchronized into the configuration file of the node, so that the configuration information of each node in the distributed storage system is kept consistent, and further the block storage service of each node in the system is ensured to be normal.
Drawings
Fig. 1 is a schematic diagram of a framework of an exemplary application scenario provided in an embodiment of the present application;
fig. 2 is a flowchart of a method for implementing consistency of node information in a distributed storage system according to an embodiment of the present application;
fig. 3 is a framework diagram of a method for implementing consistency of node information in a distributed storage system according to an embodiment of the present application;
fig. 4 is a structural diagram of an apparatus for implementing node information consistency in a distributed storage system according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying the drawings are described in detail below.
In order to facilitate understanding of the technical solutions provided in the present application, the following description will first be made on the background of the present application.
The inventor finds in research on modifying configuration files of nodes in a conventional distributed storage system that, in the conventional technology, when mapping volume creation is performed, the system may add configuration information of the mapping volume to configuration files of nodes in a cluster. However, when a node has a service anomaly, the system sends a service anomaly prompt to prompt a user that the node fails to add the configuration information of the mapping volume in the configuration file of the node, and does not perform further processing operation on the failed node.
Based on this, the embodiments of the present application provide a method and an apparatus for implementing node information consistency in a distributed storage system, when a mapping volume is newly created, setting configuration information of the mapping volume, and detecting a service state of each node in the distributed storage system, when a certain node is out of service, creating a timing detection process for the node to detect the service state of the node, when the node is recovered to be normal, extracting the configuration information of the mapping volume from other nodes, and synchronizing the configuration information to a configuration file of the node, thereby ensuring that the configuration information of each node in the system is consistent, and further ensuring that each node can provide block storage service for a user.
Referring to fig. 1, the figure is a schematic diagram of a framework of an exemplary application scenario provided in an embodiment of the present application. The method for achieving consistency of node information in the distributed storage system provided by the embodiment of the present application may be applied to the distributed storage system 20, and the system may include a server node 1 and a server node 2.
In actual application, a user may trigger a request for creating a mapping volume through the client 10, the distributed storage system 20 creates the mapping volume according to the creation request, and detects the service state of each node in the system, and when an exception occurs in a certain service node, a detection process is created to detect the service state of the node at regular time. When the node returns to normal, the configuration information of the mapping volume is extracted from other nodes and synchronized into the configuration file of the node, so that the configuration information of each node is ensured to be consistent.
Those skilled in the art will appreciate that the block diagram shown in fig. 1 is only one example in which embodiments of the present application may be implemented. The scope of applicability of the embodiments of the present application is not limited in any way by this framework.
It should be noted that the client 10 in the embodiment of the present application may be installed in a terminal, which may be any existing, developing or future developed user equipment capable of interacting with the distributed storage system 20 through any form of wired and/or wireless connection (e.g., Wi-Fi, LAN, cellular, coaxial cable, etc.), including but not limited to: existing, developing, or future developing smartphones, non-smartphones, tablets, laptop personal computers, desktop personal computers, minicomputers, midrange computers, mainframe computers, and the like. It should also be noted that the distributed storage system 20 in the embodiment of the present application may be an example of an existing, developing or future developed device capable of providing data storage application services to users. The embodiments of the present application are not limited in any way in this respect.
In order to facilitate understanding of the technical solutions provided by the present application, the storage snapshot type conversion method provided by the present application will be described below with reference to the accompanying drawings.
Referring to fig. 2, which is a flowchart illustrating a method for implementing node information consistency in a distributed storage system according to an embodiment of the present application, where the distributed storage system includes at least two nodes, as shown in fig. 2, the method may include:
s201: and responding to the triggering operation of a user, creating a mapping volume, and setting the configuration information of the mapping volume.
In this embodiment, a user may initiate a request for creating a mapping volume through a client according to a storage requirement of the user, and the distributed storage system creates the mapping volume according to the creation request. Meanwhile, the configuration information of the mapping volume may be set, specifically, information such as an ID of the mapping volume, creation time, and storage space of the mapping volume may be set.
S202: and detecting whether the service of the node is normal or not aiming at any node.
In practical applications, after the mapping volume is created, the system adds the configuration information of the mapping volume to the block storage service configuration file of each node, so that the mapping volume may have a mapping on each node.
In order to avoid addition failure caused by a failure of a node in the system, before adding the configuration information, the service state of each node in the system may be detected to determine whether the node can add the configuration information.
In specific implementation, after the mapping volume is created, an instruction for modifying the configuration file may be sent to each node, and each node may be detected according to the sent modification instruction. Each node in the system corresponds to one configuration file.
S203: when the service of the node is abnormal, a timing detection process is established to detect the service state of the node at regular time.
In this embodiment, when detecting that the storage service of the node block is abnormal, a timing detection process is created for the node, so as to detect the service state of the node at regular time. Wherein the service state of the node comprises normal and abnormal.
In practical applications, a node fast storage service may be shut down or fail, so that configuration information of a node configuration file cannot be modified, and therefore, when a node is out of service, the node is periodically detected to detect whether a service state of the node is changed.
S204: when the service state of the node is recovered to normal, the configuration information of the mapping volume is extracted from other nodes and synchronized to the configuration file of the node.
In this embodiment, when the block storage service of the abnormal node returns to normal, the configuration information of the newly created mapping volume may be extracted from the configuration files of other nodes, and the configuration information is synchronized into the configuration file of the node, so that the configuration information of each node in the system is consistent, and it is ensured that the newly created mapping volume has a mapping on each node, that is, each node stores the relevant information of the mapping volume, such as the ID, the creation time, and the storage space of the mapping volume. And the other nodes are nodes without abnormal service in the system, and the configuration file of the node is added with the configuration information of the mapping volume.
In practical application, when S202 detects that a node service is normal, the configuration file of the node without the abnormality is modified, and the configuration information of the mapping volume is added to the configuration file corresponding to the node. When the nodes with abnormal service recover to be normal, the configuration information of the mapping volume is extracted from the nodes, and the extracted configuration information is added into the configuration file corresponding to the nodes which have recovered to be normal.
In a possible implementation manner, in a specific implementation, when a node service abnormality is detected, the system may record information of the abnormal node, where the information may include an ID of the node with the service abnormality and a time when the service abnormality occurs. When the node returns to normal, the configuration information of the mapping volume can be extracted from the other nodes according to the information, and the mapping volume is synchronized into the configuration file of the node.
In specific implementation, when a node returns to normal, the system may extract the configuration information of the mapping volume created after the time point from the rest nodes according to the recorded time information, thereby ensuring the integrity of the configuration information of the node configuration file and no addition of repeated configuration information.
In a possible implementation manner, when all nodes in the system complete configuration file modification, the system may send modification success prompt information to the client to prompt the user that the configuration files of all nodes are successfully modified, so as to facilitate the user to perform subsequent storage operation.
The method comprises the steps that firstly, a new mapping volume can be created according to the triggering operation of a user, the configuration information of the mapping volume is set, whether the service of each node is normal or not is detected, and if the service of the node is normal, the configuration information of the mapping volume is added into a configuration file corresponding to the node; if the service of a certain node is abnormal, a timing detection process is established for the node to perform timing detection on the abnormal service node, and when the service of the node is recovered to be normal, the configuration information of the mapping volume is extracted from the added node and is synchronized into the configuration file of the node, so that the configuration information of each node in the distributed storage system is kept consistent, and further the block storage service of each node in the system is ensured to be normal.
For convenience of understanding, referring to a framework diagram for implementing node information consistency in a distributed storage system shown in fig. 3, firstly, according to a trigger request of a user, a mapping volume is created in the storage system, for each node, whether the service of the node is normal or not is detected, and if the service of the node is normal, configuration information of the mapping volume is added in a configuration file corresponding to the node. If the node service is abnormal, establishing a timing monitoring process to monitor the service state of the node and monitor whether the service of the node is normal again, if so, extracting the configuration information of the mapping volume from the configuration files of other nodes and carrying out information synchronization on the node; and if not, continuously monitoring the service state of the node.
Based on the above method embodiment, the present application embodiment further provides a method and an apparatus for implementing consistency of node information in a distributed storage system, and the apparatus will be described below with reference to the accompanying drawings.
Referring to fig. 4, which is a structural diagram of a method and an apparatus for implementing node information consistency in a distributed storage system according to an embodiment of the present disclosure, as shown in fig. 4, the distributed storage system includes at least two nodes, and the apparatus may include:
a first creating unit 401, configured to create a mapping volume in response to a trigger operation of a user, and set configuration information of the mapping volume;
a detecting unit 402, configured to detect, for any one of the nodes, whether the node service is normal;
a second creating unit 403, configured to create a timing detection process to detect a service state of the node at regular time when the service of the node is abnormal;
a synchronizing unit 404, configured to, when the service state of the node returns to normal, extract the configuration information of the mapping volume from the other nodes, and synchronize to the configuration file of the node; and the other nodes are nodes without abnormal service.
In one possible implementation, the apparatus further includes:
an adding unit, configured to add configuration information of the mapping volume to a configuration file corresponding to the node when the node service is normal; and each node corresponds to the configuration file.
In one possible implementation, the apparatus further includes:
a sending unit, configured to send a configuration file modification instruction to the node; the node is each node in the distributed storage system.
In one possible implementation, the apparatus further includes:
the recording unit is used for recording the information of the abnormal service node when the service of the node is abnormal; the information of the abnormal service node comprises the ID of the abnormal service node and the time of the abnormal service node when the abnormal service node occurs;
the synchronization unit is specifically configured to extract the configuration information of the mapping volume from the other nodes according to the information of the service abnormal node, and synchronize the configuration information to the configuration file of the node.
In one possible implementation, the apparatus further includes:
and the sending unit is used for sending a prompt message of successful modification when all the nodes finish the modification of the configuration file.
It should be noted that, implementation of each unit in this embodiment may refer to implementation of the method embodiment shown in fig. 2, and this embodiment is not described herein again.
Through the embodiment, the embodiment of the application is directed to a distributed storage system, and the method includes firstly, creating a new mapping volume according to a trigger operation of a user, setting configuration information of the mapping volume, detecting whether each node service is normal, and if the node service is normal, adding the configuration information of the mapping volume in a configuration file corresponding to the node; if the service of a certain node is abnormal, a timing detection process is established for the node to perform timing detection on the abnormal service node, and when the service of the node is recovered to be normal, the configuration information of the mapping volume is extracted from the added node and is synchronized into the configuration file of the node, so that the configuration information of each node in the distributed storage system is kept consistent, and further the block storage service of each node in the system is ensured to be normal.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system or the device disclosed by the embodiment, the description is simple because the system or the device corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. 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 application. Thus, the present application 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 (8)

1. A method for implementing node information consistency in a distributed storage system, wherein the distributed storage system comprises at least two nodes, the method comprising:
responding to the trigger operation of a user, creating a mapping volume, and setting configuration information of the mapping volume;
for any one node, detecting whether the node service is normal;
when the node service is abnormal, recording the information of the abnormal service node, and establishing a timing detection process to detect the service state of the node at regular time; the information of the abnormal service node comprises the ID of the abnormal service node and the time of the abnormal service node when the abnormal service node occurs;
when the service state of the node is recovered to be normal, extracting the configuration information of the mapping volume from other nodes, and synchronizing the configuration information to the configuration file of the node; the other nodes are nodes without abnormal service;
wherein the extracting the configuration information of the mapping volume from the rest of the nodes and synchronizing to the configuration file of the node includes:
and according to the information of the service abnormal node, extracting the configuration information of the mapping volume from the rest nodes, and synchronizing the configuration information to the configuration file of the node.
2. The method of claim 1, further comprising:
when the node service is normal, adding the configuration information of the mapping volume into a configuration file corresponding to the node; and each node corresponds to the configuration file.
3. The method of claim 2, wherein after the creating the mapped volume, the method further comprises:
sending a configuration file modification instruction to the node; the node is each node in the distributed storage system.
4. The method according to any one of claims 1 to 3, further comprising:
and when all the nodes finish the modification of the configuration file, sending a modification success prompt message.
5. An apparatus for implementing consistency of node information in a distributed storage system, wherein the distributed storage system comprises at least two nodes, the apparatus comprising:
the mapping system comprises a first creating unit, a second creating unit and a mapping unit, wherein the first creating unit is used for creating a mapping volume in response to the triggering operation of a user and setting the configuration information of the mapping volume;
a detecting unit, configured to detect, for any one of the nodes, whether the node service is normal;
the second establishing unit is used for establishing a timing detection process when the service of the node is abnormal so as to detect the service state of the node at regular time;
the recording unit is used for recording the information of the abnormal service node when the service of the node is abnormal; the information of the abnormal service node comprises the ID of the abnormal service node and the time of the abnormal service node when the abnormal service node occurs;
the synchronization unit is used for extracting the configuration information of the mapping volume from other nodes and synchronizing the configuration information to the configuration file of the node when the service state of the node is recovered to normal; the other nodes are nodes without abnormal service;
the synchronization unit is specifically configured to extract the configuration information of the mapping volume from the other nodes according to the information of the service abnormal node, and synchronize the configuration information to the configuration file of the node.
6. The apparatus of claim 5, further comprising:
an adding unit, configured to add configuration information of the mapping volume to a configuration file corresponding to the node when the node service is normal; and each node corresponds to the configuration file.
7. The apparatus of claim 6, further comprising:
a sending unit, configured to send a configuration file modification instruction to the node; the node is each node in the distributed storage system.
8. The apparatus of any one of claims 5 to 7, further comprising:
and the sending unit is used for sending a prompt message of successful modification when all the nodes finish the modification of the configuration file.
CN201811222429.XA 2018-10-19 2018-10-19 Method and device for realizing node information consistency in distributed storage system Active CN109542338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811222429.XA CN109542338B (en) 2018-10-19 2018-10-19 Method and device for realizing node information consistency in distributed storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811222429.XA CN109542338B (en) 2018-10-19 2018-10-19 Method and device for realizing node information consistency in distributed storage system

Publications (2)

Publication Number Publication Date
CN109542338A CN109542338A (en) 2019-03-29
CN109542338B true CN109542338B (en) 2022-02-18

Family

ID=65844072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811222429.XA Active CN109542338B (en) 2018-10-19 2018-10-19 Method and device for realizing node information consistency in distributed storage system

Country Status (1)

Country Link
CN (1) CN109542338B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214466B (en) * 2019-07-12 2024-05-14 海能达通信股份有限公司 Distributed cluster system, data writing method, electronic equipment and storage device
CN111125219A (en) * 2019-12-18 2020-05-08 紫光云(南京)数字技术有限公司 Method for modifying Redis cluster parameters on cloud platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475732A (en) * 2013-09-25 2013-12-25 浪潮电子信息产业股份有限公司 Distributed file system data volume deployment method based on virtual address pool
CN103516736A (en) * 2012-06-20 2014-01-15 中兴通讯股份有限公司 Data recovery method of distributed cache system and a data recovery device of distributed cache system
CN104679897A (en) * 2015-03-18 2015-06-03 成都金本华科技股份有限公司 Data retrieval method under big data environment
CN107734037A (en) * 2017-10-19 2018-02-23 郑州云海信息技术有限公司 A kind of NAS clusters and data access method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821114B (en) * 2011-06-07 2017-02-08 南京中兴新软件有限责任公司 Distributed memory system and implementation method of timestamps thereof
US9582213B2 (en) * 2013-02-21 2017-02-28 Netapp, Inc. Object store architecture for distributed data processing system
CN106612312A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Virtualized data center scheduling system and method
CN106682040A (en) * 2015-11-11 2017-05-17 中兴通讯股份有限公司 Data management method and device
CN105897499A (en) * 2015-12-07 2016-08-24 乐视云计算有限公司 Distributed storage system node state monitoring method, center code and system
CN107357639B (en) * 2016-05-09 2019-09-17 腾讯科技(深圳)有限公司 A kind of distributed processing system(DPS), data processing method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516736A (en) * 2012-06-20 2014-01-15 中兴通讯股份有限公司 Data recovery method of distributed cache system and a data recovery device of distributed cache system
CN103475732A (en) * 2013-09-25 2013-12-25 浪潮电子信息产业股份有限公司 Distributed file system data volume deployment method based on virtual address pool
CN104679897A (en) * 2015-03-18 2015-06-03 成都金本华科技股份有限公司 Data retrieval method under big data environment
CN107734037A (en) * 2017-10-19 2018-02-23 郑州云海信息技术有限公司 A kind of NAS clusters and data access method

Also Published As

Publication number Publication date
CN109542338A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
US11086825B2 (en) Telemetry system for a cloud synchronization system
EP3832578A1 (en) Electronic invoice identifier allocation method, and electronic ticket generating method, device and system
US20170116084A1 (en) Method and System for Monitoring Virtual Machine Cluster
US8775859B2 (en) Method, apparatus and system for data disaster tolerance
WO2021226905A1 (en) Data storage method and system, and storage medium
US10296254B2 (en) Method and device for synchronization in the cloud storage system
JP2013520746A (en) System and method for failing over non-cluster aware applications in a cluster system
CN106339278A (en) Data backup and recovery method of network file system
CN110351313B (en) Data caching method, device, equipment and storage medium
CN102394914A (en) Cluster brain-split processing method and device
CN109542338B (en) Method and device for realizing node information consistency in distributed storage system
CN106817387B (en) Data synchronization method, device and system
TWI669624B (en) Webpage content self-protection method and associated server
CN112506702A (en) Data center disaster tolerance method, device, equipment and storage medium
CN111787113B (en) Node fault processing method and device, storage medium and electronic equipment
CN103902401A (en) Virtual machine fault tolerance method and device based on monitoring
CN112650629A (en) Block chain index data recovery method, device, equipment and computer storage medium
WO2017080362A1 (en) Data managing method and device
CN107526652B (en) Data synchronization method and storage device
CN116389233B (en) Container cloud management platform active-standby switching system, method and device and computer equipment
CN116455910A (en) Load balancing processing method of terminal home server based on consistent hash algorithm
CN116010199A (en) Application service self-adjustment method, device, computer equipment and storage medium
CN111858076B (en) Target daemon process synchronization method and device
CN115114112A (en) Data synchronization method and device
US10292047B1 (en) Systems and methods for preventing tracking of mobile devices

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