[Pacemaker] named

Vladislav Bogdanov bubble at hoster-ok.com
Wed Jun 5 08:26:31 UTC 2013


05.06.2013 21:30, 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

You probably need one of:
* alter /proc/sys/net/ipv4/ip_nonlocal_bind (and have all addresses
listed in named.conf) - this may not work if named does not blindly
accept what admin specified, but rather checks if address is locally
configured.
* make named listen on a wildcard address (0.0.0.0) - this doesn't seem
to be possible for ipv4.
* use 'interface-interval' configuration option.
* somehow restart/reload named after IP is migrated.

Vladislav





More information about the Pacemaker mailing list