On Thu, Jun 26, 2014 at 01:13:22PM +0200, Daniel Thielking wrote:
> Dear members!
> I have a problem with our cluster.
> We have two nodes each has an IP and one more IP for the cluster.
> All our resources are on node-1 and node-2 is our slave one. But if
> I ping from node-1 to any other machine he is using the cluster-IP
> and not his own IP do you know how to fix that?

typically because of source routing or SNAT.

check iptables-save | grep SNAT
and
 ip route show
 ip route get $dest_ip

(look for "src ...")

In many cases you *want* outgoing packets from the "service" IP address.

You could use ip route to make them use the node address
to contact the other nodes, but use the service address
to contact clients.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to