Am Mittwoch, 27. Februar 2008 08:37 schrieb Wörz, Michael:
> Good Morning and Hello everyboby,
>
> I' new to the list and have been testing with Linux-Ha for serveral days
> now. The results are more or less usable but must be improved to get
> productive.
> The biggest issue so far is to migrate constraint resources frome one node
> to another with a single command. I cannot use grouped resources bcs one of
> the resources must be a cloneset (ocfs) and thus cannot be a member of a
> group.
Why not? You just cannot create this in the GUI. Use CLI.

> so i tried to solve the problem by creating location and order 
> constraints wich works quite well but migrating a service group behaves
> amigious. somtimes is works, sometimes not. most times i get an
> inconsistent cluster state with unmanaged and failed resourses. somteimes
> the whole cluster node dies (most probably bcs filesytems are no more
> available)
Check your resource agents again. Unmanaged states are often a sign for a RA 
where monitor/status is not implemented well.


>
> My Environment:
> - SLES10 sp1
What version of heartbeat? Please do update to 2.1.3 or later (pacemaker).

> Resources:
> - 2 Nodes
> - one stonith clone
> - 1 EvmsSCC cloneset running on every node
> <servicegroup>
>       -2 ocfs clones (config and image pool)  with clone_max set to 1 bcs i
> don't want the filesystem to be accessable on more than       one node at the
> same time
hm. Why don't you use a primitive resource then?

> - one primitive resource of type Xen. 
> </servicegroup>
>
>      <constraints>
>        <rsc_order id="evms-config" from="EvmsSCC " type="before"
> to="configstorecloneset"/>
>        <rsc_order id="config-image" from="configstorecloneset"
> type="before" to="imagestorecloneset"/> <rsc_order id="img-vm1"
> from="imagestorecloneset" type="before" to="vm1"/>

use rsc_colocation to pin the resources to the same machine. tsc_order just 
starts them in the right order, but they also might start on different 
machines!

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
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