[Linux-HA] Question regarding primitives and groups inside a clone

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Wed Sep 19 04:37:19 MDT 2007


Andrew Beekhof wrote:
>>> Clone Set: clone_ocfs2_www
>>>     ocfs2_www:0 (heartbeat::ocf:Filesystem):    Stopped
>>>     ocfs2_www:1 (heartbeat::ocf:Filesystem):    Started webcluster01
>> when using a group instead of the primitive, things do not work as
>> i think they should. the result is, that the group is started clone_max
>> times:
>>
>>> Clone Set: apache2_clone
>>>     Resource Group: grrr:0
>>>         apache2:0       (heartbeat::ocf:apache):        Started webcluster01
>>>         mysql-proxy:0   (lsb:mysql-proxy):      Started webcluster01
>>>     Resource Group: grrr:1
>>>         apache2:1       (heartbeat::ocf:apache):        Started webcluster01
>>>         mysql-proxy:1   (lsb:mysql-proxy):      Started webcluster01
> 
> ok, thats wrong.
> 
> if you attach the complete CIB i'll make sure that gets fixed
> 
>> the only way to avoid this is to use a constraint like:

please find the cib file attached to this message.

uncommenting the following produces the correct behavior:
>        <!-- ENABLE THE NEXT LINE TO GET THE GROUP WORKING -->
>        <!--<rsc_colocation id="no_dual_clone" to="grrr:0" from="grrr:1" score="-INFINITY" />-->

thank you,
raoul bhatia
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib_error.xml.gz
Type: application/gzip
Size: 1133 bytes
Desc: not available
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20070919/02f272c5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crm_mon.log.gz
Type: application/gzip
Size: 314 bytes
Desc: not available
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20070919/02f272c5/attachment-0001.bin>


More information about the Linux-HA mailing list