Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: formatting

...

Note
titleNote
Before swapping the roles of the nodes, ensure that the replication has finished!  Attempting to set a node to standby before it has finished replicating will break your cluster and

...

require manual intervention to fix

...

If you would like to force your cluster to switch which node is active, follow these steps:

  • On your Master Node (Floating IP Address), ) click on the High Availability module under Settings.
    Image Removed
    On the right side click Image Added

  • Click on the "Manage" option.
    Image RemovedImage Added
     
  • Here, you can see which nodes are online at the top. You can choose to put the Master Node into standby mode, which will force the cluster to move all the services over to the Slave Node and bring it up as the MaserMaster.
    Image RemovedImage Added
     
  • Press Click the "Standby" Standby button next to the node you want to put in standby. Generally it would be "This Host" since you would normally be logged into the Floating floating IP Address address that points to the Master Node. Please note, this will take the active server into offline mode and . The server will no longer receive syncs until you re-enable the serverit. All active calls will be lost, so only do this during down time.
    Image RemovedImage Added 
     
  • You'll now see that freepbx-a is in standby mode and freepbx-b is online.
    Image RemovedImage Added
     
  • Going to the The Status page will show that freepbx-b is the current active Master and freepbx-a is not being synced.
    Image RemovedImage Added
     
  • If you go back to the Manage option, you can now re-enable freepbx-a to bring it back online and it . It will start syncing from freepbx-b to get up-to-date with any changes and become the active slave. Please note, if a node is in standby mode, it can not become active in the event that your Master Node crashes, so it's not recommended leaving to leave a node in standby mode. You want it online and in sync. Press the "Online" Online button to bring the node back online.
    Image RemovedImage Added
     
  • You can now see both servers are back online.
    Image RemovedImage Added 
     
  • Click Go back to the Status page and you'll see it shows that both nodes are online and in sync.
    Image RemovedImage Added