Re: Antw: Question around resources constraints (pacemaker on RHE7.1)

"MOULLE, ALAIN" <[email protected]> Tue, 25 Aug 2015 08:50:59 +0000
Newsgroups gmane.linux.highavailability.user
Message-ID <DF84CFF8A85AB546B2D53FFF12267727022CAE@FRAUVJ99EX5MSX.ww931.my-it-solutions.net>
Hi =


Thanks, I just tried :
colocation fs-img with vg
colocation vm with vg

but the problem remains : =

if the vm fails, it is not migrated despite the migration-threshold=3D1, as=
 the vg remains "Started" locally and has no problem.
In fact, I would need a parameter to force the vg to move in case of vm or =
fs-img failure, but I think it is not possible for now ...

Alain
________________________________________
De : [email protected] [[email protected]=
rg] de la part de Ulrich Windl [[email protected]]
Envoy=E9 : mardi 25 ao=FBt 2015 10:18
=C0 : General Linux-HA mailing list
Objet : [Linux-HA] Antw: Question around resources constraints (pacemaker o=
n RHE7.1)

>>> "MOULLE, ALAIN" <[email protected]> schrieb am 21.08.2015 um 15:27 =
in
Nachricht
<DF84CFF8A85AB546B2D53FFF122677270220DA@FRAUVJ99EX5MSX.ww931.my-it-solution=
s.net

:
> Hi
>
> I can't find a way to configure constraints in pacemaker so that with the=
se

> resources:
>
> Res1
> Res2
> Res3
> Res4
> Res5
>
> with current colocation constraints :
> Res2 with Res1
> Res3 with Res2

I think pacemaker still cannot do transitive location constraints; can you
try
R2 with R1
R3 with R1
(and related) instead?

>
> Res4 with Res1
> Res5 with Res4
>
> and current order symmetrical constraints :
> Res2 after Res1
> Res3 after Res2
>
> Res4 after Res1
> Res5 after Res4
>
> and migration-threshold=3D1 on all resources .
>
> What I want it that if I have a failure for example on Res3  is that all =
the

> 5 Ressources are migrated.
>
> Is there a solution ?
>
> For example , with an HA LVM configuration and VM resources :
>
> Res1=3DVGA
> Res2=3DFS-img-VM1 (where are the VM1 image and .xml) (FS-img-VM1 is on VGA
LV)
> Res3=3DVM1
> Res4=3DFS-img-VM2 (where are the VM2 image and .xml) (FS-img-VM1 is on an=
other
VGA
> LV)
> Res5=3DVM2
>
> So current constraints are so that VGA is activated before the FS-img is
> mounted and before the VM is started.
>
> But I want that if the VM1 fails, it can migrate on another node (together
> with all other 4 resources) but with only the constraints above, the VGA
> stalls the migration of the VM ...
>
> Is there any solution by constraints configuration ?
> Note : we can't use group resources for now, because VMs are remote-nodes.
>
> Thanks
> Alain Moull=E9
> _______________________________________________
> Linux-HA mailing list is closing down.
> Please subscribe to [email protected] instead.
> http://clusterlabs.org/mailman/listinfo/users
> _______________________________________________
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha



_______________________________________________
Linux-HA mailing list is closing down.
Please subscribe to [email protected] instead.
http://clusterlabs.org/mailman/listinfo/users
_______________________________________________
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
_______________________________________________
Linux-HA mailing list is closing down.
Please subscribe to [email protected] instead.
http://clusterlabs.org/mailman/listinfo/users
_______________________________________________
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha