LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Connecting to service from behind VIP

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Connecting to service from behind VIP
From: Samuel Winchenbach <swinchen@xxxxxxxxx>
Date: Thu, 16 May 2013 16:17:23 -0400
Hi all,

I am setting up a three node OpenStack cluster that I would like to make
highly available.   One of the services OpenStack requires is a database,
so I installed Percona XtraDB Cluster on the three nodes.

At this point I thought "Hey, why not load balance the connections to the
cluster?" so I installed ldirectord on one of the nodes, and configured all
three nodes as the reals.  What I noticed is this:

* I have no problem when connecting from the node running ldirectord (wrr
works fine and connecting to all the real servers works great)

* If I connect from one of the other database nodes the only real that
works correctly is the one running ldirectord.   It does not work when
connecting to the node I am connecting from, or the other non-ldirectord
node.

Here is a little paste that kind of shows what I am doing:
http://pastie.org/private/uufpnismlibjekjozojqg


Any idea on what might cause this?   Also if you have ideas or suggestions
on something that might be cleaner or more elegant that would be wonderful.

I do not have resources to move ldirectord to dedicated node(s).   I could
just use pacemaker and assign a VIP to one of the nodes running Percona and
forget about load balancing the cluster.

Thanks for any tips you might have!

Sam
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>