[Pacemaker] resource running on both nodes
Alex Samad - Yieldbroker
Alex.Samad at yieldbroker.com
Mon Jun 3 23:44:54 UTC 2013
> -----Original Message-----
> From: Lars Marowsky-Bree [mailto:lmb at suse.com]
> Sent: Monday, 3 June 2013 11:25 PM
> To: The Pacemaker cluster resource manager
> Subject: Re: [Pacemaker] resource running on both nodes
>
> On 2013-06-03T18:22:39, ESWAR RAO <eswar7028 at gmail.com> wrote:
>
> > Hi All,
> >
> > Can someone please help me in my below setup??
> >
> > I have 2 node setup with HB+pacemaker.
> > I have my app running on both the nodes before the start of HB and
> > pacemaker.
> >
> > Later I configured the crm as below:
> >
> > # crm configure primitive havip ocf:IPaddr2 params ip=192.168.101.205
> > cidr_netmask=32 nic=eth1 op monitor interval=30s # crm configure
> > primitive oc_proxyapp lsb::proxyapp meta allow-migrate="true"
> > migration-threshold="3" failure-timeout="30s" op monitor interval="5s"
> >
> > #crm configure colocation oc-havip INFINITY: havip oc_proxyapp
>
> If you want it to be running on multiple nodes, you have to configure thart
> particular resource as a clone, not as a primitive.
That's very similar to what I'm trying to do. How would you convert it to a clone resource ?
Alex
>
> A primitive resource, by definition, is only allowed to run once in the cluster.
>
>
> Regards,
> Lars
>
> --
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
> Imendörffer, HRB 21284 (AG Nürnberg) "Experience is the name everyone
> gives to their mistakes." -- Oscar Wilde
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
More information about the Pacemaker
mailing list