On 05/05/2016 07:43 AM, Rafał Sanocki wrote: > for what? > > cluster working good when i stop pacemaker, resources go to second node, > but when connection is lost nothing happend. > > Failed Actions: > * p_ip_2_monitor_30000 on csb01B 'not running' (7): call=47, > status=complete, exitreason='none', > last-rc-change='Wed May 4 17:34:50 2016', queued=0ms, exec=0ms > > I just want to move resources when connection on one ring is lost.
If you have two working rings, and one is lost, then the other will be used automatically, with no resource failover required. "Nothing happened" in that case is the desired outcome. If you lose your only ring (or all rings), then fencing is required for the cluster to recover resources safely. As an example, let's say we have two nodes, and two networks, one used for public-facing services and one used for cluster communication, with an IP address as the highly available resource. If the cluster communication link fails but the public-facing link is still up, without fencing both nodes could bring up the IP address. That would lead to some packets going to one node and some to the other, rendering the service completely unusable. Fencing allows one node to be sure the other is not using the IP. Once you use shared storage, databases, and such, the risk is much greater -- a reconciliation nightmare at best, complete data loss at worst. > W dniu 2016-05-04 o 15:50, emmanuel segura pisze: >> use fencing and drbd fencing handler >> >> 2016-05-04 14:46 GMT+02:00 Rafał Sanocki <rafal.sano...@gmail.com>: >>> Resources shuld move to second node when any interface is down. >>> >>> >>> >>> >>> W dniu 2016-05-04 o 14:41, Ulrich Windl pisze: >>> >>>>>>> Rafal Sanocki <rafal.sano...@gmail.com> schrieb am 04.05.2016 um >>>>>>> 14:14 >>>>>>> in >>>> Nachricht <78d882b1-a407-31e0-2b9e-b5f8406d4...@gmail.com>: >>>>> Hello, >>>>> I cant find what i did wrong. I have 2 node cluster, Corosync >>>>> ,Pacemaker >>>>> , DRBD . When i plug out cable nothing happend. >>>> "nothing"? The wrong cable? >>>> >>>> [...] >>>> >>>> Regards, >>>> Ulrich _______________________________________________ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org