u could try by cibadmin -U and then crm_resource -C ... i did a couple
of days ago and it worked , maybe with some other little tricks i don't
remember now.

chhers
FC

Martin Bene 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
> * 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
>
>   

-- 
==============================================
Francesco Ciocchetti ([EMAIL PROTECTED])

Network & Security
Kyneste - Piattaforme ICT
"Società appartenente al Gruppo Bancario Capitalia e
sottoposta all’attività di direzione e coordinamento di Capitalia S.p.A."
Via Mario Bianchini 68, 00142 Roma
T.[+39] 06.98402.1 F. [+39] 06.98402.300
http://www.kyneste.com/
==============================================

Questo messaggio può contenere informazioni di carattere riservato e 
confidenziale. Qualora non foste i destinatari, vogliate immediatamente 
informarci con lo stesso mezzo ed eliminare il  messaggio, con gli eventuali 
allegati, senza trattenerne copia. Qualsivoglia utilizzo non autorizzato del 
contenuto di questo messaggio costituisce violazione dell'obbligo di non 
prendere cognizione della corrispondenza tra altri soggetti.

_______________________________________________
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