Re: [ClusterLabs] Non-cloned resource moves before cloned resource startup on unstandby

2018-09-10 Thread Andrei Borzenkov
07.09.2018 23:07, Dan Ragle пишет: > On an active-active two node cluster with DRBD, dlm, filesystem mounts, > a Web Server, and some crons I can't figure out how to have the crons > jump from node to node in the correct order. Specifically, I have two > crontabs (managed via symlink

Re: [ClusterLabs] Complex Pacemaker resource depedency

2018-09-10 Thread Andrei Borzenkov
10.09.2018 22:46, Vassilis Aretakis пишет: > Hi All, > > I have a Pacemaker which failovers IPs around 5 nodes. I want to add an > default Route on each node, when this node has at least one of the > resources running. > > > The resources are: > >  vip1-19    (ocf::heartbeat:IPaddr2):   

Re: [ClusterLabs] VirtualDomain as resources and OCFS2

2018-09-10 Thread Gang He
Hello Lentes, It does not look like a OCFS2 or pacemaker problem, more like virtualization problem. From OCFS2/LVM2 perspective, if you use one LV for one VirtualDomain, that means the guest VMs on that VirtualDomain can not occupy the other LVs' storage space. If you use OCFS2 on one LV for

[ClusterLabs] Complex Pacemaker resource depedency

2018-09-10 Thread Vassilis Aretakis
Hi All, I have a Pacemaker which failovers IPs around 5 nodes. I want to add an default Route on each node, when this node has at least one of the resources running. The resources are:  vip1-19    (ocf::heartbeat:IPaddr2):    Started b01.  vip1-20    (ocf::heartbeat:IPaddr2):    Started

[ClusterLabs] Complex Pacemaker resource depedency

2018-09-10 Thread Vassilis Aretakis
Hi All, I have a Pacemaker which failovers IPs around 5 nodes. I want to add an default Route on each node, when this node has at least one of the resources running. The resources are:  vip1-19    (ocf::heartbeat:IPaddr2):    Started b01.  vip1-20    (ocf::heartbeat:IPaddr2):    Started

[ClusterLabs] VirtualDomain as resources and OCFS2

2018-09-10 Thread Lentes, Bernd
Hi, i'm establishing a cluster with virtual guests as resources which should reside in a raw files on OCFS2 formatted logical volumes. My first idea was to create for each VirtualDomain its own logical volume, i thought that would be well-structured. But now i realize that my cluster