[Pacemaker] stop resource if cluster is "degraded"
Michael Schwartzkopff
ms at sys4.de
Wed Aug 6 20:35:06 UTC 2014
Am Mittwoch, 6. August 2014, 20:08:24 schrieb Thomas Müller:
> >>> I've got a 2 node cluster with 4 VM's. If a node fails 2 of them
> >>> should be stopped (the dev machines) to prevent the physical machine
> >>> from swap'ing.
> >>
> >> Do this with utilizations and priority:
> >>
> >> http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/
>
> Pacemaker_Explained/
>
> > _utilization_attributes.html
> >
> >> http://blog.clusterlabs.org/blog/2010/feature-spotlight-utilization/
> >
> > Thanks alot! This will defintely do what i want to configure.
>
> just tested this utilization thing. works like a charm. The
> VirtualDomain ocf agent even sets cpu and hv_memory automatically.
>
> So I only needed to set utilization attributes on the nodes, set priority
> of the productive vm's to 1 (default is 0) and activate the placement-
> strategy=utilization
>
> - Thomas
You are welcome.
--
Mit freundlichen Grüßen,
Michael Schwartzkopff
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140806/43dfef1c/attachment-0004.sig>
More information about the Pacemaker
mailing list