[lvs-users] Multiple Services Load-Balancing

2009-09-02 Thread Darren.Mansell
Hello everyone. Not sure if this is the right place to ask this, if not please point me in the right direction. I'm load-balancing 2 nodes using Pacemaker/OpenAIS (Linux-HA V2 ish) with ldirectord/LVS. My setup follows the vast majority of the howto's on the net; use an IPaddr2 resource wit

[lvs-users] LVS Use Sanity Check

2009-12-08 Thread Darren.Mansell
Hello everyone. We are using LVS in quite a large way (volume, distribution and importance) in solutions that we have implemented for our business. The way we are using LVS seems to work very nicely but I would appreciate it if anyone could look at our set up and see if they can see any potenti

[lvs-users] LVS Sync in Ldirectord

2009-12-17 Thread Darren.Mansell
This doesn't seem to be in ldirectord, and it would seem to be a nice addition. Has anyone looked at implementing this? Many thanks Darren Mansell ___ Please read the documentation before posting - it's available at: http://www.linuxvirtualserve

Re: [lvs-users] LVS Sync in Ldirectord

2009-12-17 Thread Darren.Mansell
I'm using ldirectord to load LVS modules rather than the ipvsadm init script. Man ipvsadm says you need to start the ipvsadm sync daemon using --start-daemon state and --stop-daemon. As ldirectord is doing the loading / unloading of ipvsadm rules then I think the ldirectord script itself needs t

Re: [lvs-users] LVS Sync in Ldirectord

2009-12-17 Thread Darren.Mansell
Exactly what I thought. Off to learn Perl ;) Thanks. -Original Message- From: lvs-users-boun...@linuxvirtualserver.org [mailto:lvs-users-boun...@linuxvirtualserver.org] On Behalf Of Michael Schwartzkopff Sent: 17 December 2009 15:37 To: LinuxVirtualServer.org users mailing list. Subject

Re: [lvs-users] LVS Sync in Ldirectord

2009-12-18 Thread Darren.Mansell
Thanks for the response and sorry for messing up the thread formatting ;) Now I've started to look more into it, it shouldn't be too difficult. The ldirectord resource agent in Pacemaker needs changing to a multi-state RA so it can run in slave mode, then ldirectord itself needs to take another ar

Re: [lvs-users] LVS Sync in Ldirectord

2009-12-18 Thread Darren.Mansell
>On Thu, 2009-12-17 at 16:37 +0100, Michael Schwartzkopff wrote: >> Am Donnerstag, 17. Dezember 2009 16:22:08 schrieb >> darren.mans...@opengi.co.uk: >> > I'm using ldirectord to load LVS modules rather than the ipvsadm >> > init script. Man ipvsadm says you need to start the ipvsadm sync >> > d

Re: [lvs-users] how to run load balancer in Active - Active mode butusing a single IP address

2010-01-26 Thread Darren.Mansell
On Tue, 2010-01-26 at 13:40 +0530, Atul kumar wrote: > I have configured the LVS/Ldirector in HA setup. 2 servers for Load Balan= cer > (LB), 2 for web servers. The heartbeat failover is working fine and the L= B > too is working fine. But I want to run the LB in Active / Active mode. Bu= t > the r

[lvs-users] Source Hashing (Again)

2010-09-29 Thread Darren.Mansell
Hello everyone. We have a 2 node load-balanced MySQL cluster running in active-active mode. Linux-HA is running on each with LVS balancing connections on the nodes themselves. This works great for other production clusters but the MySQL nodes require connection jailing, i.e. a single client

Re: [lvs-users] Source Hashing (Again)

2010-09-29 Thread Darren.Mansell
-Original Message- From: lvs-users-boun...@linuxvirtualserver.org [mailto:lvs-users-boun...@linuxvirtualserver.org] On Behalf Of Malcolm Turnbull Sent: 29 September 2010 13:32 To: LinuxVirtualServer.org users mailing list. Subject: Re: [lvs-users] Source Hashing (Again) On 29 September 20

Re: [lvs-users] is it possible to have ldirector and real cluster server on same physical machine?

2010-12-03 Thread Darren.Mansell
Hello. We have around 20 nodes of SLES 11 HAE servers running in 2 or 3 node clusters. All of them are configured with local resources and ldirectord to load-balance to the local nodes with a highly available ldirectord resource being able to move on failover. I can give more info if required.

Re: [lvs-users] is it possible to have ldirector and realcluster server on same physical machine?

2010-12-03 Thread Darren.Mansell
1. Yes, ldirectord, cluster, real server, resources all on the same machine. 2. /etc/sysctl.conf is (appended to existing default) : net.ipv4.conf.all.arp_ignore = 1 net.ipv4.conf.eth0.arp_ignore = 1 net.ipv4.conf.all.arp_announce = 2 net.ipv4.conf.eth0.arp_announce = 2 You will need to put non-a

Re: [lvs-users] is it possible to have ldirectorand realcluster server on same physical machine?

2010-12-03 Thread Darren.Mansell
Glad it helped. This is my original howto for this kind of setup: http://www.clusterlabs.org/wiki/Load_Balanced_MySQL_Replicated_Cluster darren -Original Message- From: lvs-users-boun...@linuxvirtualserver.org [mailto:lvs-users-boun...@linuxvirtualserver.org] On Behalf Of Mrvka Andrea

Re: [lvs-users] is it possible to have ldirector and real cluster server on same physical machine?

2010-12-06 Thread Darren.Mansell
Check the /var/log/ldirectord.log file for errors and check you can manually start it yourself: rcldirectord restart I've had to compile a Perl module myself for ldirector in SLES 11 HAE: http://www.clusterlabs.org/wiki/Load_Balanced_MySQL_Replicated_Cluster#Missing_Perl_Socket6 You also ne

Re: [lvs-users] is it possible tohave ldirectorand realcluster server on same physical machine?

2010-12-06 Thread Darren.Mansell
This is all of my network config, and it works fine here: /etc/sysctl.conf # Disable response to broadcasts. # You don't want yourself becoming a Smurf amplifier. net.ipv4.icmp_echo_ignore_broadcasts = 1 # enable route verification on all interfaces net.ipv4.conf.all.rp_filter = 1 # enable ipV6 fo

Re: [lvs-users] ldirectord and tomcat cluster

2010-12-21 Thread Darren.Mansell
Hello Andreas. I don't do session replication with Tomcat, I found it not to work very well. Instead I just set anything you need sessions on to be source hash scheduler. Darren -Original Message- From: lvs-users-boun...@linuxvirtualserver.org [mailto:lvs-users-boun...@linuxvirtualserver

Re: [lvs-users] ldirectord and tomcat cluster

2010-12-21 Thread Darren.Mansell
During failover, you will lose sessions from the node that has gone away. New connections will be sent to the remaining real server(s). I asked the same thing 3 months ago ;) http://lists.graemef.net/pipermail/lvs-users/2010-September/023555.html Happy new year to you too. Darren -Original

Re: [lvs-users] MySQL Cluster Balancing

2011-08-25 Thread Darren.Mansell
That looks fine. This is mine from a production cluster: virtual=10.167.20.100:3306 fallback=10.167.20.20:3306 real=10.167.20.10:3306 gate 1000 service=mysql login="servicecheck" passwd="password" database="ldirectord" request="SELECT * from

Re: [lvs-users] MySQL Cluster Balancing

2011-08-26 Thread Darren.Mansell
I get that when the DB server is overloaded. It's just that the query times out. Looking at the script to check MySQL in ldirectord, it's very simple and doesn't specify any timeouts etc so I assume will be using Perl DBI defaults. Thing is, if the server is heavily loaded and ldirectord is moving