Distributed storage cluster and node fault switching method and apparatus thereof
The invention discloses a node power-off switching method and apparatus of a distributed storage cluster, applied to a master node of the distributed storage cluster. The method comprises the following steps: detecting the state of each node in the cluster according to a heartbeat detection mode of...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a node power-off switching method and apparatus of a distributed storage cluster, applied to a master node of the distributed storage cluster. The method comprises the following steps: detecting the state of each node in the cluster according to a heartbeat detection mode of a CTDB; after a power-off node is detected, obtaining service information of the power-off node; andsending the service information to normal nodes having corresponding service functions in the distributed storage cluster, so that the normal nodes receiving the service information perform service drift and service recovery according to the service information. According to the node power-off switching method and apparatus provided by the invention, the detection and recovery process time of thepower-off node is shortened from the original minute level to a second level, the recovery of the cluster and the service recovery access speed of the power-off node are accelerated, and the reliability of the cluster is impr |
---|