CPC G06F 11/2023 (2013.01) [G06F 11/2025 (2013.01); G06F 11/2069 (2013.01); G06F 16/27 (2019.01)] | 18 Claims |
1. A method for automated disaster recovery site failover of a messaging platform by utilizing one or more processors and one or more memories, the method comprising:
establishing a communication link between a first data center site and a second data center site via a communication network, wherein the first data center site includes a first database in an active state and the second data center site includes a second database in a passive state during which data replication flows from the first database to the second database;
monitoring states of the first database and the second database;
detecting, in response to monitoring, that the first database has changed its state from the active state to the passive state and that the second database has changed its state from the passive state to the active state; and
automatically switching, in response to detecting, the data replication flows during which the data replication flows from the second database to the first database,
wherein the active state is a state during which both reading and writing operations are performed and the passive state is a state during which only reading operation is performed.
|