(Replication mode)
...
Scenario 1 : opHA-MB failover and failback commands.
State: It is possible to get the state of the Peers on the Main Primary using the cli
| Code Block |
|---|
sudo /usr/local/omk/bin/ophad cmd consumer state |
Failover: If Poller were to go down, the Mirror would take over automatically. But, once the Poller comes back online, the switchover from Mirror to Poller is not automatic.
Failback: There is a cli command to accomplish the same which needs to be run the Main Primary (and Primary)
| Code Block |
|---|
sudo /usr/local/omk/bin/ophad cmd consumer failback <Poller Cluster ID> |
There is also a way to force a Failover which again needs to be run on Main Primary (and Primary)
| Code Block |
|---|
sudo /usr/local/omk/bin/ophad cmd consumer failover <Poller Cluster ID> |
Scenario 2 : (Replication mode) If the main-primary were to go down in replication mode.
Switching Main and Secondary Primary Servers
...