[Pacemaker] Collocating resource with a started clone instance

David Vossel dvossel at redhat.com
Thu Jun 28 13:36:18 EDT 2012


----- Original Message -----
> From: "Sergey Tachenov" <stachenov at gmail.com>
> To: pacemaker at oss.clusterlabs.org
> Sent: Friday, June 22, 2012 4:58:55 AM
> Subject: [Pacemaker] Collocating resource with a started clone instance
> 
.
.
.
> Online: [ srvplan1 srvplan2 ]
> 
>  Master/Slave Set: ms_drbd_pgdrive [drbd_pgdrive]
>     Masters: [ srvplan1 ]
>     Slaves: [ srvplan2 ]
>  Resource Group: postgres
>     pgdrive_fs (ocf::heartbeat:Filesystem):    Started srvplan1
>     DBIP       (ocf::heartbeat:IPaddr2):       Started srvplan1
>     postgresql (ocf::heartbeat:pgsql): Started srvplan1
>  Clone Set: pings [ping]
>     Started: [ srvplan1 srvplan2 ]
>  Clone Set: tomcats [tomcat]
>     Started: [ srvplan2 ]
>     Stopped: [ tomcat:0 ]
> 
> Failed actions:
>    tomcat:0_start_0 (node=srvplan1, call=37, rc=-2, status=Timed
> Out): unknown exec error
> 
> As you can see, tomcat is stopped on srvplan1 (I have deliberately
> messed up the startup scripts), but everything else still runs there.
> ptest -L -s shows:

I took a look at your comment in this issue, http://bugs.clusterlabs.org/show_bug.cgi?id=5070.

I've integrated a fix for your situation into this patch.

https://github.com/davidvossel/pacemaker/commit/0062eab18f96d3f75462e0a889e4175f02552d92

-- Vossel




More information about the Pacemaker mailing list