Re: [Pacemaker] Collocating resource with a started clone instance

2012-06-28 Thread David Vossel
- Original Message - > From: "Sergey Tachenov" > To: pacemaker@oss.clusterlabs.org > Sent: Friday, June 22, 2012 4:58:55 AM > Subject: [Pacemaker] Collocating resource with a started clone instance > . . . > Online: [ srvplan1 srvplan2 ] > >

Re: [Pacemaker] Collocating resource with a started clone instance

2012-06-26 Thread Phil Frost
On 06/22/2012 05:58 AM, Sergey Tachenov wrote: Why the score for the DBIP is -INFINITY on the srvplan2? The only INF rule in my config is the collocation rule for the postgres group. This sounds not unlike an issue I'm experencing. See here: http://oss.clusterlabs.org/pipermail/pacemaker/2012-

Re: [Pacemaker] Collocating resource with a started clone instance

2012-06-23 Thread Sergey Tachenov
Well, I've got to the point where I understand what exactly doesn't work. Now I only need to understand why, and fix it. I created a test cluster to reproduce this issue. Here's its current state: Online: [ node2 node1 ] Clone Set: dummies [dummy] Started: [ node2 ] Stopped: [ dummy

Re: [Pacemaker] Collocating resource with a started clone instance

2012-06-22 Thread Sergey Tachenov
group postgres pgdrive_fs DBIP postgresql colocation postgres_on_drbd inf: postgres ms_drbd_pgdrive:Master order postgres_after_drbd inf: ms_drbd_pgdrive:promote postgres:start ... location DBIPcheck DBIP \        rule $id="DBIPcheck-rule" 1: defined pingd and ping

Re: [Pacemaker] Collocating resource with a started clone instance

2012-06-22 Thread Andreas Kurz
On 06/22/2012 12:40 PM, Sergey Tachenov wrote: >>> group postgres pgdrive_fs DBIP postgresql >>> colocation postgres_on_drbd inf: postgres ms_drbd_pgdrive:Master >>> order postgres_after_drbd inf: ms_drbd_pgdrive:promote postgres:start >>> ... >>> location DBIPcheck DBIP \ >>>rule $id="DBIP

Re: [Pacemaker] Collocating resource with a started clone instance

2012-06-22 Thread Sergey Tachenov
>> group postgres pgdrive_fs DBIP postgresql >> colocation postgres_on_drbd inf: postgres ms_drbd_pgdrive:Master >> order postgres_after_drbd inf: ms_drbd_pgdrive:promote postgres:start >> ... >> location DBIPcheck DBIP \ >>        rule $id="DBIPcheck-rule" 1: defined pingd and pingd gt 0 >> lo

Re: [Pacemaker] Collocating resource with a started clone instance

2012-06-22 Thread Andreas Kurz
On 06/22/2012 11:58 AM, Sergey Tachenov wrote: > Hi! > > I'm trying to set up a 2-node cluster. I'm new to pacemaker, but > things are getting better and better. However, I am completely at a > loss here. > > I have a cloned tomcat resource, which runs on both nodes and doesn't > really depend on

[Pacemaker] Collocating resource with a started clone instance

2012-06-22 Thread Sergey Tachenov
Hi! I'm trying to set up a 2-node cluster. I'm new to pacemaker, but things are getting better and better. However, I am completely at a loss here. I have a cloned tomcat resource, which runs on both nodes and doesn't really depend on anything (it doesn't use DRBD or anything else of that sort).