Questions tagged [ldirectord]

12 questions
5
votes
4 answers

IPvsadm not equally balancing on wlc scheduler

For some reason, ipvsadm does not seem to be equally balancing the connections between my real servers when using the wlc or lc schedulers. One real server gets absolutely hammered with requests while the others receive relatively few…
davidsmalley
  • 457
  • 1
  • 6
  • 14
3
votes
2 answers

lvs vs haproxy vs ? for hostname based forwarding

i'd like to forward incoming traffic on 80 to various ports based on the hostname. previously on serverfault i've seen solutions that uses ldirectord, just iptables, haproxy, and other proxy servers. considering that i'm looking for simply proxying,…
Bosky
  • 315
  • 1
  • 3
  • 7
1
vote
1 answer

ldirectord balancing internal traffic doesnt work

Here is my ldirectord.cf file checktimeout=10 checkinterval=2 autoreload=no logfile="local0" quiescent=yes virtual=192.168.1.4:7777 real=192.168.1.52:7777 gate scheduler=wlc protocol=tcp checktype=on I cannot connect…
1
vote
0 answers

IPVS direct-routing, ldirectord, and IPv6 in Debian Wheezy

I'm encountering a bit of a problem when combining IPv6 with ldirectord/IPVS and direct routing in Wheezy. (Disclaimer: the prefix fdff:4818:7090:9c9f::/64 used here is made up; I'm using an actual routed IPv6 prefix in my setup.) I'm trying to…
Joshua Boniface
  • 346
  • 3
  • 14
1
vote
1 answer

ldirectord ipvsadm not show reals ip and not work wtih pacemaker and corosync

first thanks for your time. I'm having a problem with ldirectord that I can not solve, I comment my situation: I have two nodes with pace maker and corosync and configure somes resources: root@ldap1:/home/mamartin# crm status Last updated: Tue Jun …
miguer27
  • 11
  • 2
1
vote
0 answers

LVS-DR and OpenVPN: returning packets not being routed into the vpn

i've set up a load balancer with ldirectord, and an active-passive mysql service managed by it, on two additional real servers. LVS is running in Direct Routing mode, so the client requests are directly routed to the real server currently…
1
vote
1 answer

Redirect HTTP to HTTPS with ldirectord/LVS

We're using LVS for load balancing and want to do a 301 redirect for http://example.com to https://example.com LVS is enabling https without issue, but the http real servers are not being added to the pool (weight of 0). Does LVS not follow 301…
Brian
  • 131
  • 8
1
vote
2 answers

ldirectord process disappears

I have 2 frontend apache webservers that are load balanced using ldirectord. ldirectord is kept running on one server or the other by heartbeat Recently I upgraded these servers from Debian Etch to Debian Lenny Ever since then, every…
Brent
  • 22,857
  • 19
  • 70
  • 102
1
vote
1 answer

Does Ubuntu-stock ldirectord not handle hung connections to real servers or am I configuring it wrong?

I'm using it to balance and remove failed instances from a http/https cluster, but have noticed that when connections to a real server hang, ldirectord never marks them quiescent, though it will instantly if the connection is rejected or cannot be…
Yuri Gadow
  • 111
  • 4
1
vote
2 answers

Can I do HA load balancing with ldirectord using only 2 servers?

I managed to set up a pacemaker-heartbeat cluster with a virtual IP address and a virtual instance of ldirectord, by gathering information from here, here and here. It seems that the proper way to use ldirectord is to have two load-balancing servers…
itsadok
  • 1,869
  • 5
  • 22
  • 33
0
votes
1 answer

Heartbeat (without ldirectord etc) for a floating IP address?

I have two load-balancing servers running mod_proxy_balancer. Each server balances between two web servers. Now I'd like to find a way to share a single IP address between those two load-balancing servers, in a way that will fail over. Is it…
Richard
  • 133
  • 1
  • 3
  • 6
0
votes
2 answers

Distributing mysql connections with ldirectord

I'm using ldirectord with heartbeat for mysql load balancing. It is distributing mysql connections equally to all servers available in the pool but sometime slave remains in the pool even after encountering a Too many connections error. There should…
Email geek
  • 67
  • 1
  • 8