Forum Discussion
that is good infor thanks!
so step
Put Cluster in maintenance mode is in
1 coro_config > Enable Cluster Maintenance
Enable Cluster Maintenance
Right?
what is the DRBD process to set this node to primary again ?
- TonyAndres14 days ago
Moderator
Hello Rob,
Yes, selecting option 1 after running coro_config will put the entire cluster in maintenance.
To failover, you would go to the current primary node and run the commands sudo systemctl stop pacemaker and then sudo systemctl start pacemaker. Keep in mind that if the cluster is in maintenance, then the failover will not occur so the cluster maintenance would have to be disabled during the failover.
Antonio Andres
Principal Technical Support Engineer | ScienceLogic
- merrittr14 days ago
Contributor II
OK so basically stop and start the pacemaker on the server I want as primary
- TonyAndres14 days ago
Moderator
Hello Rob,
Quite the opposite, you run the commands on the current primary node, as this will force a failover and cause the current secondary node to promote itself.
For example, let's say DB02 is the current primary and you want DB01, the current secondary, to be the primary. You would log into the CLI of the DB02 appliance and run the commands to stop and start pacemaker. When you stop pacemaker on DB02, CRM will begin the failover process. Once the failover is complete, DB02 will be the secondary node and DB01 will be the primary node.
Antonio Andres
Principal Technical Support Engineer | ScienceLogic