0

I have pacemaker cluster that is in maintence mode because some maintenance is needed to be done manually on some of the resources. One of the resource is a virtual IP that is currently running on node1. How can I force to move this resource over to another node even though maintenance mode is on.

Tried

pcs resource move virtualip node2

pcs resource ban virtualip node1

I can always manually remove the virtual IP from node1 and add it to node2 but then when I enable the cluster again it first brings the virtualIP back to node1 and then again back again to node2. So technically after a few seconds I end up with the desired situation but I want to avoid this brief outage. I thought if I moved fhe resource through cluster somehow it will understand that the IP should be on node2 and wouldnt want to try to "fix" it.

snailrider
  • 63
  • 9

0 Answers0