[ClusterLabs] the PAF switchover does not happen if the VIP resource is stopped

Jehan-Guillaume de Rorthais jgdr at dalibo.com
Wed Apr 25 06:38:34 EDT 2018


On Wed, 25 Apr 2018 08:58:34 +0000
范国腾 <fanguoteng at highgo.com> wrote:

> 
> Our lab has two resource: (1) PAF (master/slave)    (2) VIP (bind to the
> master PAF node). The configuration is in the attachment.
> 
> Each node has two network card: One(enp0s8) is for the pacemaker heartbeat in
> internal network, the other(enp0s3) is for the master VIP in the external
> network.
> 
> 
> 
> We are testing the following case: if the master VIP network card is down,
> the master postgres and VIP could switch to another node.
> 
> 
> 
> 1. At first, node2 is master, I run "ifdown enp0s3" in node2, then node1
> become the master, that is ok.
> 
> 2. Then I run "ifup enp0s3" in node2, wait for 60 seconds, 

Did you check PostgreSQL instances were replicating again?

> then run "ifdown enp0s3" in node1, but the node1 still be master. Why does
> switchover doesn't happened? How to recover to make system work?



More information about the Users mailing list