[Pacemaker] pacemaker and the clone resource

Lars Marowsky-Bree lmb at suse.de
Tue Apr 1 18:00:16 UTC 2008


On 2008-04-01T18:40:12, Andrew Beekhof <beekhof at gmail.com> wrote:

> On Tue, Apr 1, 2008 at 3:44 PM, Hartje Bruns <hb at bos-bremen.de> wrote:
> >
> >  Hi,
> >  i started testing the clone resource (on a two node cluster one tomcat
> > running on each). I want to be able to shutdown just one tomcat (= one clone
> > instance). Trying that with hb_gui results in shutting down both instances.
> >
> >  Does anyone know if that is a feature or a bug ;-)
> 
> Feature IIRC

Yes, the GUI applies the target role to the container or the primitive
directly.


> You have two options,
> - if you don't care which one is shut down, then set clone_max=1

... can be done via the GUI.

> - otherwise, use a rsc_location constraint to prevent the clone from
> running on that node

That probably works using the migrate button?


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde





More information about the Pacemaker mailing list