[Pacemaker] named
Jake Smith
jsmith at argotec.com
Wed Jun 5 14:02:57 UTC 2013
----- Original Message -----
> From: "Serge Dubrouski" <sergeyfd at gmail.com>
> To: "The Pacemaker cluster resource manager" <pacemaker at oss.clusterlabs.org>
> Sent: Wednesday, June 5, 2013 9:27:15 AM
> Subject: Re: [Pacemaker] named
>
>
>
>
> There should be an OCF version of named RA available in resource
> agents package.
> On Jun 5, 2013 5:45 AM, "David Coulson" < david at davidcoulson.net >
> wrote:
>
>
>
> On 6/5/13 2:30 PM, paul wrote:
>
>
> Hi. I have followed the Clusters from scratch PDF and have a working
> two
> node active passive cluster with ClusterIP, WebDataClone,WebFS and
> WebSite working. I am using BIND DNS to direct my websites to the
> cluster address. When I perform a failover which works ok I have to
> restart BIND on the now active node since the ClusterIP wasn't
> available
> on this node when BIND originally started even though I have
> listen-to
> the ClusterIP listed in my named.conf. I need DNS to also be part of
> the
> cluster! There is ocf:redhat:named.sh listed but I have no idea how
> to
> incorporate this into my cluster. I have tried pcs resource create
> Named
> ocf:redhat:named.sh configfile="/var/named/chroot/ etc/named.conf" op
> monitor interval=30s but I seem to have a basename:missing operand
> and
> an invalid Name Of Service. Could someone tell me what the create
> command should be? Thanks. Paul
> I'm running RHEL6 and just use the named lsb which ships with it.
> Didn't make any modifications.
>
> I have also created a resource which does a 'rndc reload', which is
> sufficient to cause named to bind to the new address.
>
> primitive re-named-reload ocf:heartbeat:anything \
> params binfile="/usr/sbin/rndc" cmdline_options="reload"
>
> So just have the reload run after your ip resource starts (created a
> group or a collocation/order constraint).
I just use the lsb for BIND also in my cluster... though I believe it failed the LSB compliance and I had to correct an exit code... (Ubuntu)
Works fine
HTH
Jake
More information about the Pacemaker
mailing list