[Pacemaker] Pacemaker stops monitor on Master resource upon failovers

2012-06-22 Thread Shyam
Hi Folks, I am using pacemaker 1.1.6-2ubuntu3 heartbeat 1:3.0.5-3ubuntu2 that comes with ubuntu precise. For some reason the "monitor" operation on master/slave resource is broken. It used to work in previous versions. I enabled full debug logs & submitted a bug http://bugs.clusterlabs.org/show_

Re: [Pacemaker] "ERROR: Wrong stack o2cb" when trying to start o2cb service in Pacemaker cluster

2012-06-22 Thread David Guyot
Le 22/06/2012 11:58, Andreas Kurz a écrit : > On 06/22/2012 11:14 AM, David Guyot wrote: >> Hello. >> >> Concerning dlm-pcmk, it's not available from backports, so I installed >> it from stable; only ocfs2-tools-pacemaker are available and installed >> from it. > thats ok > >> I checked if /etc/in

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

Re: [Pacemaker] "ERROR: Wrong stack o2cb" when trying to start o2cb service in Pacemaker cluster

2012-06-22 Thread Andreas Kurz
On 06/22/2012 11:14 AM, David Guyot wrote: > Hello. > > Concerning dlm-pcmk, it's not available from backports, so I installed > it from stable; only ocfs2-tools-pacemaker are available and installed > from it. thats ok > > I checked if /etc/init.d/ocfs2 and /etc/init.d/o2cb are removed from >

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

Re: [Pacemaker] "ERROR: Wrong stack o2cb" when trying to start o2cb service in Pacemaker cluster

2012-06-22 Thread David Guyot
Hello. Concerning dlm-pcmk, it's not available from backports, so I installed it from stable; only ocfs2-tools-pacemaker are available and installed from it. I checked if /etc/init.d/ocfs2 and /etc/init.d/o2cb are removed from /etc/rcX.d/*, and they are, so the system cannot boot them up by itsel

Re: [Pacemaker] resources not migrating when some are not runnable on one node, maybe because of groups or master/slave clones?

2012-06-22 Thread Andreas Kurz
On 06/21/2012 11:30 PM, David Vossel wrote: > - Original Message - >> From: "Phil Frost" >> To: pacemaker@oss.clusterlabs.org >> Sent: Tuesday, June 19, 2012 4:25:53 PM >> Subject: Re: [Pacemaker] resources not migrating when some are not runnable >> on one node, maybe because of groups o