Re: [Pacemaker] Two slave nodes, neither will promote to Master

2012-06-25 Thread Sergey Tachenov
ms ms_nfs ms_dummy \ meta target-role="Master" master-max="1" master-node="1" Shouldn't that be master-node-max, not just master-node? ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacema

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 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

[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).