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

2018-04-26 Thread 范国腾
Does it mean if one node has ever a resource failure, it could not be promoted to be master any more except that I run the pcs cleanup to clean the failcount? I am testing the case if the VIP resource down because of some reason, the cluster could still work. So I only ifdown the VIP

Re: [ClusterLabs] 答复: the PAF switchover does not happen if the VIP resource is stopped

2018-04-26 Thread emmanuel segura
But I think using ifdown isn't the correct way to test the cluster, this topic was discussed many times 2018-04-26 9:53 GMT+02:00 范国腾 : > 1. There is no failure in initial status. sds1 is master > > > > 2. ifdown the sds1 VIP network card. > > 3. ifup the sds1 VIP network

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

2018-04-26 Thread 范国腾
1. There is no failure in initial status. sds1 is master [cid:image001.png@01D3DD75.3F4BF110] 2. ifdown the sds1 VIP network card. [cid:image002.png@01D3DD75.71D5DE70] 3. ifup the sds1 VIP network card and then ifdown sds2 VIP network card [cid:image003.png@01D3DD76.26C5E820]

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

2018-04-25 Thread 范国腾
Hi Rorthais, Thank you for your help. The replication works at that time. I try again today. (1) If I run "ifup enp0s3" in node2, then run "ifdown enp0s3" in node1, the switchover issue could be reproduced. (2) But if I run "ifup enp0s3" in node2, run "pcs resource cleanup mastergroup" to