Re: [Pacemaker] howto group resources without having an order

2013-11-27 Thread Michael Schwartzkopff
Am Mittwoch, 27. November 2013, 10:51:43 schrieb Bauer, Stefan: > Thank you Michael for pointing that out. > > I now use colocation cluster inf: (p_openvpn1 p_openvpn2) cluster > > Now the openvpn resources can be stopped independently - but still depend on > ressources from the cluster-group. >

Re: [Pacemaker] howto group resources without having an order

2013-11-27 Thread Bauer, Stefan (IZLBW Extern)
Thank you Michael for pointing that out. I now use colocation cluster inf: (p_openvpn1 p_openvpn2) cluster Now the openvpn resources can be stopped independently - but still depend on ressources from the cluster-group. Is that the expected behavior? I'm a bit confused as I expected the other wa

Re: [Pacemaker] howto group resources without having an order

2013-11-27 Thread Michael Schwartzkopff
Am Mittwoch, 27. November 2013, 08:50:59 schrieb Bauer, Stefan: > Hi Michael, > > i already have your book but i can't find anything related to the way, you > define constraint sets like stated here: > > -- > As Lars already noted. Or make a constraint set, as Florian already noted: >

Re: [Pacemaker] howto group resources without having an order

2013-11-27 Thread Bauer, Stefan (IZLBW Extern)
Hi Michael, i already have your book but i can't find anything related to the way, you define constraint sets like stated here: -- As Lars already noted. Or make a constraint set, as Florian already noted: colocation c-set inf: (OVPN1 OVPN2 ...) myGroup -- What is the b

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Michael Schwartzkopff
Am Dienstag, 26. November 2013, 13:44:58 schrieb Bauer, Stefan: (...) > As Lars already noted. Or make a constraint set, as Florian already noted: > > colocation c-set inf: (OVPN1 OVPN2 ...) myGroup > > -> Can you recommend a documentation about howto specify a colocation? What > is the function

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Bauer, Stefan (IZLBW Extern)
What do you mean by "alias". The ocf:heartbeat:IPaddr2 adds a secondary IP address to a interface. -> Alias is he original term used from the ocf:heartbeat:IPaddr2 manpage for the function. ->Description ->This Linux-specific resource manages IP alias IP addresses. It can add an IP alias, or r

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Michael Schwartzkopff
Am Dienstag, 26. November 2013, 12:14:59 schrieb Bauer, Stefan: > Hi, > > What does the resource p_eth0 do exactly? > -> It simply adds an alias ocf:heartbeat:IPadr2 What do you mean by "alias". The ocf:heartbeat:IPaddr2 adds a secondary IP address to a interface. > What does the conntractd re

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Bauer, Stefan (IZLBW Extern)
Hi, What does the resource p_eth0 do exactly? -> It simply adds an alias ocf:heartbeat:IPadr2 What does the conntractd resource exactly do? netfilter connection tracking. Shouldn't this be master on one node and slave on the other node? -> No, that is correct, i handle this with an init-skript,

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Michael Schwartzkopff
Am Dienstag, 26. November 2013, 06:40:04 schrieb Bauer, Stefan: > Dear Developers & Users, > > i have 4 resources: p_eth0 p_conntrackd p_openvpn1 p_openvpn2 > > Right now, I use group and colocation to let p_eth0 and p_conntrackd start > in the right order (first eth0, then conntrackd). I want no

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Bauer, Stefan (IZLBW Extern)
Hi Lars, thank you for your answer. I'm not sure, why you think, that p_conntrackd should be started before my interface eth0. I like the idea of linking p_openvpn1 + 2 to cluster1. That should work and I will instantly give it a try. Stefan -Ursprüngliche Nachricht- Von: Lars Marowsky

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Florian Crouzat
Le 26/11/2013 10:49, Bauer, Stefan (IZLBW Extern) a écrit : The thing is, that resource sets are not configurable without editing the xml directly. True? Not true at all. Crm configure only knows group order and colocation. Nop, eg (from memories, check the syntax, it exists): order foo I

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Lars Marowsky-Bree
On 2013-11-26T09:19:36, "Bauer, Stefan (IZLBW Extern)" wrote: > Hi, > > thank you for your input - unfortunately i want to go another path if > possible to not not have to change more parts of my configuration: > > I have setup so far: > > group cluster1 p_eth0 p_conntrackd > location groupw

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Bauer, Stefan (IZLBW Extern)
don't want to mess with the raw xml files if there are other options. Stefan -Ursprüngliche Nachricht- Von: Florian Crouzat [mailto:gen...@floriancrouzat.net] Gesendet: Dienstag, 26. November 2013 10:32 An: pacemaker@oss.clusterlabs.org Betreff: Re: [Pacemaker] howto group resourc

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Florian Crouzat
Le 26/11/2013 10:19, Bauer, Stefan (IZLBW Extern) a écrit : Hi, thank you for your input - unfortunately i want to go another path if possible to not not have to change more parts of my configuration: So basically you want to fix your non-working configuration without changing your (non-work

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Bauer, Stefan (IZLBW Extern)
Hi, thank you for your input - unfortunately i want to go another path if possible to not not have to change more parts of my configuration: I have setup so far: group cluster1 p_eth0 p_conntrackd location groupwithping cluster1 \ rule "id="groupwithping-rule" pingd: defined pingd colocation cl

Re: [Pacemaker] howto group resources without having an order

2013-11-26 Thread Florian Crouzat
Le 26/11/2013 07:40, Bauer, Stefan (IZLBW Extern) a écrit : Dear Developers & Users, i have 4 resources: p_eth0 p_conntrackd p_openvpn1 p_openvpn2 Right now, I use group and colocation to let p_eth0 and p_conntrackd start in the right order (first eth0, then conntrackd). I want now to also inc

[Pacemaker] howto group resources without having an order

2013-11-25 Thread Bauer, Stefan (IZLBW Extern)
Dear Developers & Users, i have 4 resources: p_eth0 p_conntrackd p_openvpn1 p_openvpn2 Right now, I use group and colocation to let p_eth0 and p_conntrackd start in the right order (first eth0, then conntrackd). I want now to also include p_openvpn1 + 2 but not having them in any order. Means -