Discussion:
[drbd-mc] drbd-mc 0.9.8.dev_1: Add depending Service
Oualid Nouri
2011-09-06 14:14:34 UTC
Permalink
Hi Rasto,
Using "add depending service" adds only the service but no colocation and order constraint.
During definition it shows the line between the services but the result is without colocation and order.
But it can be added with "start before" context menu option.

Tested with Windows 7.

Regards
Walid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20110906/602797c5/attachment.htm>
Rasto Levrinc
2011-09-06 18:31:10 UTC
Permalink
Post by Oualid Nouri
Hi Rasto,
Using ?add depending service? adds only the service but no colocation and
order constraint.
During definition it shows the line between the services but the result is
without colocation and order.
But it can be added with ?start before? context menu option.
Tested with Windows 7.
Hi,

could you describe exactly what you did? I've tried the following: I added
Apache service, applied it, right clicked on it, chose "Add New Dependent
Service", chose another Apache, applied it. It worked with Windows 7.
The result was with colocation and order.

Rasto
Oualid Nouri
2011-09-07 11:27:49 UTC
Permalink
Hi,
sorry I've had to be more precisely.
When I use the menu option "Add New Depending Service" to add new service (controld for example ) to an existing one (let's say an existing drbd-resource example) then the new service definition template for the controld service is displayed with an arrow to symbolize the relation between the existing Service definition (drbd-service) as expected.

After the definition of the new depending service the "relational" arrow (for colocation and order) between the drbd and the controld resource disappears. Using "crm_mon" for controlling shows also that there is no colocation nor order definition between the two resources.

But when you use the context menu option "Start before" on the drbd-resource and select the now existing controld-resource as target the colocation and order is defined and is also displayed with crm_mon.

I helpful I can send you 2 screen shots.

Walid
-----Urspr?ngliche Nachricht-----
Von: drbd-mc-bounces at lists.linbit.com [mailto:drbd-mc-
bounces at lists.linbit.com] Im Auftrag von Rasto Levrinc
Gesendet: Dienstag, 6. September 2011 20:31
An: drbd-mc at lists.linbit.com
Betreff: Re: [drbd-mc] drbd-mc 0.9.8.dev_1: Add depending Service
Post by Oualid Nouri
Hi Rasto,
Using "add depending service" adds only the service but no colocation
and order constraint.
During definition it shows the line between the services but the
result is without colocation and order.
But it can be added with "start before" context menu option.
Tested with Windows 7.
Hi,
could you describe exactly what you did? I've tried the following: I added Apache
service, applied it, right clicked on it, chose "Add New Dependent Service",
chose another Apache, applied it. It worked with Windows 7.
The result was with colocation and order.
Rasto
_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc
--
This message was scanned by ESVA and is believed to be clean.
Rasto Levrinc
2011-09-08 07:48:53 UTC
Permalink
Post by Oualid Nouri
Hi,
sorry I've had to be more precisely.
When I use the menu option "Add New Depending Service" to add new service (controld ?for example ) to an existing one (let's say an existing drbd-resource example) then the new service definition template for the controld ?service is displayed with an arrow to symbolize the relation between the existing Service definition (drbd-service) as expected.
After the definition of the new depending service the "relational" arrow (for colocation and order) between the drbd and the controld resource disappears. Using "crm_mon" for controlling ?shows also that there is no colocation nor order definition between the two resources.
But when you use the context menu option "Start before" on the drbd-resource and select the now existing controld-resource as target the colocation and order ?is defined and is also displayed with crm_mon.
I helpful I can send you 2 ?screen shots.
I couldn't reproduce it with drbd and controld resources. Could you
send output of cigadmin -Q of one of the nodes, before and after? Also
the version of the Pacemaker and what distro.

Thanks,
Rasto
Oualid Nouri
2011-09-08 15:27:38 UTC
Permalink
Distro: suse openSUSE 11.4 (x86_64)

Pacemaker/Corosync: 1.1.5/1.3.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: after.xml
Type: text/xml
Size: 13316 bytes
Desc: after.xml
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20110908/a27640df/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: before.xml
Type: text/xml
Size: 8451 bytes
Desc: before.xml
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20110908/a27640df/attachment-0003.bin>
Rasto Levrinc
2011-09-09 12:47:23 UTC
Permalink
Distro: ?suse openSUSE 11.4 (x86_64)
Pacemaker/Corosync: 1.1.5/1.3.2
Hi,

what you didn't mention is, that your dependent service is a clone. :)
Yep it was
broken, I've fixed it here:
dmctest-0.9.8.dev.3.jar

http://oss.linbit.com/drbd-mc/

Thanks for helping out!

Rasto
Oualid Nouri
2011-09-12 11:22:35 UTC
Permalink
Hi,
Post by Rasto Levrinc
Thanks for helping out!
It makes a lot of fun to help you a (very) little bit to make this nice tool even better :)


Walid



PS: i'll try to describe it better next time I find something :)
Post by Rasto Levrinc
-----Urspr?ngliche Nachricht-----
Von: drbd-mc-bounces at lists.linbit.com [mailto:drbd-mc-
bounces at lists.linbit.com] Im Auftrag von Rasto Levrinc
Gesendet: Freitag, 9. September 2011 14:47
An: drbd-mc at lists.linbit.com
Betreff: Re: [drbd-mc] drbd-mc 0.9.8.dev_1: Add depending Service
Post by Oualid Nouri
Distro: suse openSUSE 11.4 (x86_64)
Pacemaker/Corosync: 1.1.5/1.3.2
Hi,
what you didn't mention is, that your dependent service is a clone. :) Yep it was
dmctest-0.9.8.dev.3.jar
http://oss.linbit.com/drbd-mc/
Thanks for helping out!
Rasto
_______________________________________________
drbd-mc mailing list
drbd-mc at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-mc
--
This message was scanned by ESVA and is believed to be clean.
Oualid Nouri
2011-09-07 11:32:00 UTC
Permalink
Hi,
i "crm configure show" and not "crm_mon" for controlling the contents of the CIB!

Walid
Loading...