[Pacemaker] stonith xenU

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Jun 16 10:03:03 EDT 2011


On Thu, Jun 16, 2011 at 03:21:47PM +0300, Aleksey Mykhailov wrote:
> Hello!
> 
> I've two node cluster created from two xenserver guests
> each node located on the different dom0
> node0 on dom0-0
> node1 on dom0-1
> 
> for stonith I'm going use this http://code.google.com/p/fence-xenserver/
> 
> but questions probably not related to this details , it mostly theoretical
> so,
> I tried to block network connections with iptables on node0:
> iptables -A OUTPUT -d node1 -j REJECT
> iptables -A INPUT -s node1 -j REJECT
> 
> and as result  - all cluster resources  was started on the both nodes
> drbd was switched to the Primary/Unknown state on both nodes too and so on
> ...
> 
> and as far as I understood if I will have stonith enabled pacemaker kill one
> of the cluster node (am I right?)
> but how pacemaker decide which node to kill ?
> in my case node0 and node1 is up and running, which of them will be killed ?
> how pacemaker know that another node is up and it is only network issue?

They'll try to shoot each other. The faster wins. See
http://ourobengr.com/ha

Thanks,

Dejan

> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker





More information about the Pacemaker mailing list