<p>There should be an OCF version of named RA available in resource agents package.</p>
<div class="gmail_quote">On Jun 5, 2013 5:45 AM, "David Coulson" <<a href="mailto:david@davidcoulson.net">david@davidcoulson.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On 6/5/13 2:30 PM, paul wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi. I have followed the Clusters from scratch PDF and have a working two<br>
node active passive cluster with ClusterIP, WebDataClone,WebFS and<br>
WebSite working. I am using BIND DNS to direct my websites to the<br>
cluster address. When I perform a failover which works ok I have to<br>
restart BIND on the now active node since the ClusterIP wasn't available<br>
on this node when BIND originally started even though I have listen-to<br>
the ClusterIP listed in my named.conf. I need DNS to also be part of the<br>
cluster! There is ocf:redhat:named.sh listed but I have no idea how to<br>
incorporate this into my cluster. I have tried pcs resource create Named<br>
ocf:redhat:named.sh configfile="/var/named/chroot/<u></u>etc/named.conf" op<br>
monitor interval=30s but I seem to have a basename:missing operand and<br>
an invalid Name Of Service. Could someone tell me what the create<br>
command should be? Thanks. Paul<br>
</blockquote>
I'm running RHEL6 and just use the named lsb which ships with it. Didn't make any modifications.<br>
<br>
I have also created a resource which does a 'rndc reload', which is sufficient to cause named to bind to the new address.<br>
<br>
primitive re-named-reload ocf:heartbeat:anything \<br>
        params binfile="/usr/sbin/rndc" cmdline_options="reload"<br>
<br>
So just have the reload run after your ip resource starts  (created a group or a collocation/order constraint).<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div>