On 8/27/07, Martin Bene <[EMAIL PROTECTED]> wrote:
> Hi
>
> I've got an ordered resource group "web" (on heartbeat 2.1.2)
>
> Resource Group: web
>     resource_web_ip     (heartbeat::ocf:IPaddr2)
>     resource_web_fs_ww  (heartbeat::ocf:Filesystem)
>     resource_web_fs_cache       (heartbeat::ocf:Filesystem)
>     resource_web_apache (heartbeat::ocf:apache)
>     resource_web_mailto (heartbeat::ocf:MailTo)
>     resource_web_indexserver    (heartbeat:indexserver)
>     resource_web_ip_27  (heartbeat::ocf:IPaddr2)
>     resource_web_samba  (heartbeat:samba)
>
> I'd like to reorder the primitives in that group:
> Resource Group: web
>     resource_web_ip     (heartbeat::ocf:IPaddr2)
>     resource_web_ip_27  (heartbeat::ocf:IPaddr2)
>     resource_web_fs_ww  (heartbeat::ocf:Filesystem)
>     resource_web_fs_cache       (heartbeat::ocf:Filesystem)
>     resource_web_apache (heartbeat::ocf:apache)
>     resource_web_indexserver    (heartbeat:indexserver)
>     resource_web_samba  (heartbeat:samba)
>     resource_web_mailto (heartbeat::ocf:MailTo)
>
> Reordering via GUI doesn't work (klicking up/down arrows just doesn't
> change the order of resources).
>
> What I've tried:
> * cibadmin -Q -o resources > web.xml
> * edit web.xml to contain just the web group, reordered as above
> * cibadmin -R -o resources -x web.xml

this is the one you want, however you need to run it on every node (i
realize this is likely to be frustrating)

this is because of a limitation in the way we broadcast changes which
doesn't preserve the ordering.

> * cibadmin -U -o resources -x web.xml
> * cibadmin -M -o resources -x web.xml
> All three don't return any errors -  but they also don't produce the
> expected result.
>
> * cibadmin -D -X '<group ordered="true" collocated="true" id="web">'
> * cibadmin -C -o resources -x web.xml
>
> To first completely delete and then recreate the group actually work -
> but it sure seems strance if deleting and recreating the group is
> actually required.
>
> Thanks, Martin
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to