This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Intentionally swapping Master and Slave Nodes

hi,
i have build up a Cluster and like to swap the Master node with the Slave node for testing reasons and rack-install.

Is there an other way than shutdown the Master Node.
I'd like to have the possibility to switch back fast in case of a configproblem.

thx
Tibor


This thread was automatically locked due to age.
  • Tibor,

    To force a graceful HA fail over from Master to Slave:
    # ha_daemon -c takeover

    That will cause a disconnect from the command line.

    Before you do this, two questions... Is this an Active/Active Cluster or Hot-Standby configuration?  Is this two separate hardware nodes, or are these virtual machines?

    If you don't see ACTIVE for both Master and Slave in 'Management >> High availability', there's no point in experimenting with a failover.

    Cheers - Bob
  • Hello Bob,

    thank you for the answer.

    This is a Hot-Standby configuration with two Hardware UTM 220.
    I can see Active on Master and Slave.

    I mounted the Slave into the rack today and like to switch now so i can mount the master. 
    For safety reasons i'd like to switch manually and do not want do shutdown the master. 
    if some cabeling is unintentionally wrong [:O] i am able to switch back fast [:)].

    rgds
    Tibor
  • Just use the command line above, Tibor, and the switch will be done without a reboot.  Then, if you see a problem, just power the new master node down and the "good" node will take over as Master again.

    Cheers - Bob