Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Pacemaker

configuring ocf:heartbeat:conntrackd

 

 

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded


kiven at kiven

Mar 22, 2012, 4:32 AM

Post #1 of 3 (510 views)
Permalink
configuring ocf:heartbeat:conntrackd

Hello,

I try to use the ocf:heartbeat:conntrackd resource on a CentOS 6 two nodes cluster. I don't understant how works the conntrackd resource, I configured it as explained in documentation, and start a conntrackd daemon whith an lsb script. When I try a takeover, the resource kill the daemon on nodes and don't restart it, and the resource failed.

Here is my configuration :

ms MS_CONNTRACKD SUIVI_CONNEXIONS \
meta notify="true" interleave="true"
primitive SUIVI_CONNEXIONS ocf:heartbeat:conntrackd \
params conntrackd="/usr/sbin/conntrackd" config="/etc/conntrackd/conntrackd.conf" \
op monitor interval="20" role="Slave" timeout="20" \
op monitor interval="10" role="Master" timeout="20"


Thanks for help

----

Kevin C.


_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss
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


dejanmm at fastmail

Mar 30, 2012, 8:00 AM

Post #2 of 3 (486 views)
Permalink
Re: configuring ocf:heartbeat:conntrackd [In reply to]

Hi,

On Thu, Mar 22, 2012 at 12:32:44PM +0100, Kevin COUSIN wrote:
> Hello,
>
> I try to use the ocf:heartbeat:conntrackd resource on a CentOS 6 two nodes cluster. I don't understant how works the conntrackd resource, I configured it as explained in documentation, and start a conntrackd daemon whith an lsb script. When I try a takeover, the resource kill the daemon on nodes and don't restart it, and the resource failed.
>
> Here is my configuration :
>
> ms MS_CONNTRACKD SUIVI_CONNEXIONS \
> meta notify="true" interleave="true"
> primitive SUIVI_CONNEXIONS ocf:heartbeat:conntrackd \
> params conntrackd="/usr/sbin/conntrackd" config="/etc/conntrackd/conntrackd.conf" \
> op monitor interval="20" role="Slave" timeout="20" \
> op monitor interval="10" role="Master" timeout="20"
>

Did you check the logs? The answer should be there. If not, then
the conntrackd RA probably needs fixing.

Thanks,

Dejan

> Thanks for help
>
> ----
>
> Kevin C.
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker [at] oss
> 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

_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss
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


kiven at kiven

May 28, 2012, 8:20 AM

Post #3 of 3 (390 views)
Permalink
Re: configuring ocf:heartbeat:conntrackd [In reply to]

Hi,

> Did you check the logs? The answer should be there. If not, then
> the conntrackd RA probably needs fixing.

I found something here, the resource on node is demote, but the ressource goes from Master to Stopped.

May 28 16:52:31 cerbere02 pengine: [9212]: notice: LogActions: Promote CONNTRACKD:0 (Slave -> Master cerbere02)
May 28 16:52:31 cerbere02 pengine: [9212]: notice: LogActions: Demote CONNTRACKD:1 (Master -> Stopped cerbere01)

the resource should not be just demoted and not stopped ?

----- Mail original -----
> De: "Dejan Muhamedagic" <dejanmm [at] fastmail>
> À: "The Pacemaker cluster resource manager" <pacemaker [at] oss>
> Envoyé: Vendredi 30 Mars 2012 17:00:07
> Objet: Re: [Pacemaker] configuring ocf:heartbeat:conntrackd
>
> Hi,
>
> On Thu, Mar 22, 2012 at 12:32:44PM +0100, Kevin COUSIN wrote:
> > Hello,
> >
> > I try to use the ocf:heartbeat:conntrackd resource on a CentOS 6
> > two nodes cluster. I don't understant how works the conntrackd
> > resource, I configured it as explained in documentation, and start
> > a conntrackd daemon whith an lsb script. When I try a takeover,
> > the resource kill the daemon on nodes and don't restart it, and
> > the resource failed.
> >
> > Here is my configuration :
> >
> > ms MS_CONNTRACKD SUIVI_CONNEXIONS \
> > meta notify="true" interleave="true"
> > primitive SUIVI_CONNEXIONS ocf:heartbeat:conntrackd \
> > params conntrackd="/usr/sbin/conntrackd"
> > config="/etc/conntrackd/conntrackd.conf" \
> > op monitor interval="20" role="Slave" timeout="20" \
> > op monitor interval="10" role="Master" timeout="20"
> >
>
> Did you check the logs? The answer should be there. If not, then
> the conntrackd RA probably needs fixing.
>
> Thanks,
>
> Dejan
>
> > Thanks for help
> >
> > ----
> >
> > Kevin C.
> >
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker [at] oss
> > 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
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker [at] oss
> 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
>

_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss
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

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.