CPC G06F 11/3034 (2013.01) [G06F 3/0607 (2013.01); G06F 3/0634 (2013.01); G06F 3/0689 (2013.01); G06F 11/3055 (2013.01)] | 7 Claims |
1. A node mode adjustment method for a storage cluster in the case of Battery Backup Unit (BBU) failure, wherein the storage cluster comprises a plurality of IO GROUPs, each of the IO GROUPs comprises two nodes, and each node is connected to a BBU corresponding to the node, the method comprising:
monitoring a state of each BBU in the storage cluster; and
after detection of any failed BBU, when it is determined that a BBU connected to a peer node of the node to which the failed BBU is connected does not fail and it is determined that the storage cluster is not degraded, maintaining the node connected to the BBU detected to be failed and the peer node of the node in a write-back mode;
wherein the after detection of any failed BBU, the method further comprises:
when it is determined that the BBU connected to the peer node of the node to which the failed BBU is connected does not fail and it is determined that the storage cluster is in a degraded state, switching the node connected to the failed BBU in the IO GROUP to a maintenance mode, and switching the node connected to the non-failed BBU to a write-through mode.
|