Re: [Pacemaker] Multi-node resource dependency

2013-07-22 Thread Lars Marowsky-Bree
On 2013-07-22T16:25:29, "\"Tomcsányi, Domonkos\"" wrote: > You were right, the version in the Ubuntu repository is outdated, so I > decided to install it from a PPA-repo. Now I have the latest version of > everything, but naturally I already have an error: > > ERROR: running cibadmin -Ql: Could

Re: [Pacemaker] Multi-node resource dependency

2013-07-22 Thread Tomcsányi, Domonkos
2013.07.22. 12:16 keltezéssel, Lars Marowsky-Bree írta: On 2013-07-22T12:09:22, "\"Tomcsányi, Domonkos\"" wrote: crm(live)configure# colocation by_color inf: HTTPS_SERVICE_GROUP OPENVPN_SERVICE_GROUP node-attribute=color ERROR: 4: constraint by_color references a resource node-attribute=color

Re: [Pacemaker] Multi-node resource dependency

2013-07-22 Thread Lars Marowsky-Bree
On 2013-07-22T12:09:22, "\"Tomcsányi, Domonkos\"" wrote: > crm(live)configure# colocation by_color inf: HTTPS_SERVICE_GROUP > OPENVPN_SERVICE_GROUP node-attribute=color > ERROR: 4: constraint by_color references a resource node-attribute=color > which doesn't exist Which crmsh version are you us

Re: [Pacemaker] Multi-node resource dependency

2013-07-22 Thread Tomcsányi, Domonkos
2013.07.22. 11:15 keltezéssel, Lars Marowsky-Bree írta: On 2013-07-19T23:18:29, Lars Ellenberg wrote: You may use node attributes in colocation constraints. Ohhh, good thinking. I had forgotten about that too. But I wonder if that really is bi-directional; is the PE smart enough to figure ou

Re: [Pacemaker] Multi-node resource dependency

2013-07-22 Thread Lars Marowsky-Bree
On 2013-07-19T23:18:29, Lars Ellenberg wrote: > You may use node attributes in colocation constraints. Ohhh, good thinking. I had forgotten about that too. But I wonder if that really is bi-directional; is the PE smart enough to figure out where resources need to go if one of them can't run on

Re: [Pacemaker] Multi-node resource dependency

2013-07-22 Thread Tomcsányi, Domonkos
2013.07.20. 17:32 keltezéssel, Lars Marowsky-Bree írta: On 2013-07-19T16:49:21, "\"Tomcsányi, Domonkos\"" wrote: Now the behaviour I would like to achieve: If NODE 1 goes offline its services should get migrated to NODE 2 AND NODE 3's services should get migrated to NODE 4. If NODE 3 goes offl

Re: [Pacemaker] Multi-node resource dependency

2013-07-22 Thread Tomcsányi, Domonkos
2013.07.22. 4:57 keltezéssel, Andrew Beekhof írta: On 20/07/2013, at 7:18 AM, Lars Ellenberg wrote: On Fri, Jul 19, 2013 at 04:49:21PM +0200, "Tomcsányi, Domonkos" wrote: Hello everyone, I have been struggling with this issue for quite some time so I decided to ask you to see if maybe you ca

Re: [Pacemaker] Multi-node resource dependency

2013-07-21 Thread Andrew Beekhof
On 20/07/2013, at 7:18 AM, Lars Ellenberg wrote: > On Fri, Jul 19, 2013 at 04:49:21PM +0200, "Tomcsányi, Domonkos" wrote: >> Hello everyone, >> >> I have been struggling with this issue for quite some time so I >> decided to ask you to see if maybe you can shed some light on this >> problem. >>

Re: [Pacemaker] Multi-node resource dependency

2013-07-20 Thread Lars Marowsky-Bree
On 2013-07-19T16:49:21, "\"Tomcsányi, Domonkos\"" wrote: > Now the behaviour I would like to achieve: > If NODE 1 goes offline its services should get migrated to NODE 2 AND NODE > 3's services should get migrated to NODE 4. > If NODE 3 goes offline its services should get migrated to NODE4 AND N

[Pacemaker] Multi-node resource dependency

2013-07-19 Thread Tomcsányi, Domonkos
Hello everyone, I have been struggling with this issue for quite some time so I decided to ask you to see if maybe you can shed some light on this problem. So here is the deal: I have a 4-node cluster, from which 2-2 nodes belong together. In ASCII art it would look like this: --

Re: [Pacemaker] Multi-node resource dependency

2013-07-19 Thread Lars Ellenberg
On Fri, Jul 19, 2013 at 04:49:21PM +0200, "Tomcsányi, Domonkos" wrote: > Hello everyone, > > I have been struggling with this issue for quite some time so I > decided to ask you to see if maybe you can shed some light on this > problem. > So here is the deal: > I have a 4-node cluster, from which