Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Linux-HA help needed

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


Christopher.Davis at patsystems

May 7, 2012, 10:20 AM

Post #1 of 3 (198 views)
Permalink
Linux-HA help needed

Does anyone know how to configure Linux-ha as a load balancer? I seem
to remember it's possible but can't find any documentation on it. What
we want is for a user coming into a given VIP to get load balanced to
one of four active ports on the box in a round robin situation. Thanks
in advance for any help.



Regards,



Christopher A. Davis



Global Support Desk

Patsystems (NA) LLC

200 W. Madison Avenue

Suite 1400

Chicago, IL 60606

www.patsystems.com <http://www.patsystems.com/>



Please note that the Patsystems Chicago office has relocated to: 200 W.
Madison, Suite 1400, Chicago, IL 60606





DISCLAIMER: This e-mail is confidential and may also be legally privileged. If you are not the intended recipient, use of the information contained in this e-mail
(including disclosure, copying or distribution) is prohibited and may be unlawful. Please inform the sender and delete the message immediately from your system.
This e-mail is attributed to the sender and may not necessarily reflect the views of the Patsystems Group and no member of the Patsystems Group accepts any
liability for any action taken in reliance on the contents of this e-mail (other than where it has a legal or regulatory obligation to do so) or for the consequences of any
computer viruses which may have been transmitted by this e-mail. The Patsystems Group comprises Patsystems plc and its subsidiary group of companies.

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


misch at clusterbau

May 9, 2012, 3:57 AM

Post #2 of 3 (185 views)
Permalink
Re: Linux-HA help needed [In reply to]

> Does anyone know how to configure Linux-ha as a load balancer? I seem
> to remember it's possible but can't find any documentation on it. What
> we want is for a user coming into a given VIP to get load balanced to
> one of four active ports on the box in a round robin situation. Thanks
> in advance for any help.
>
>
>
> Regards,
>
>
>
> Christopher A. Davis

Make the loadbalancer run as a clone on both nodes under cluster control and
make the VIP dependent on the LVS clone.

I use ldirectord configuring the LVS and for the monitoring of the real
servers because it nicely integrates into the cluster with its own resource
agent.

With this setup you even can use the state table sync feature of LVS.

Greetings,

--
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
Attachments: signature.asc (0.19 KB)


zen.suite at gmail

May 12, 2012, 11:10 AM

Post #3 of 3 (165 views)
Permalink
Re: Linux-HA help needed [In reply to]

Michael Schwartzkopff <misch <at> clusterbau.com> writes:

>
> > Does anyone know how to configure Linux-ha as a load balancer? I seem
> > to remember it's possible but can't find any documentation on it. What
> > we want is for a user coming into a given VIP to get load balanced to
> > one of four active ports on the box in a round robin situation. Thanks
> > in advance for any help.
> >
> >
> >
> > Regards,
> >
> >
> >
> > Christopher A. Davis
>
> Make the loadbalancer run as a clone on both nodes under cluster control and
> make the VIP dependent on the LVS clone.
>
> I use ldirectord configuring the LVS and for the monitoring of the real
> servers because it nicely integrates into the cluster with its own resource
> agent.
>
> With this setup you even can use the state table sync feature of LVS.
>
> Greetings,
>

Michael,

Can you help how to approach that config?

I have the same problem trying to get 2 nodes using one VIP in a round-robin
fashion, but as soon as I clone it, it becomes no longer pingable, reachable at
all.

Here is my VIP cluster RA:

primitive vip1 ocf:heartbeat:IPaddr2 \
params ip="192.168.10.1" cidr_netmask="24" broadcast="192.168.10.255"
nic="eth0" clusterip_hash="sourceip" \
op monitor interval="30s"
clone cl_vip1 vip1 \
meta globally-unique="true" clone-max="2" clone-node-max="2"
interleave="true" target-role="Started"

Cluster Status:

============
Last updated: Sat May 12 15:08:00 2012
Stack: openais
Current DC: hanode1 - partition with quorum
Version: 1.1.2-2e096a41a5f9e184a1c1537c82c6da1093698eb5
2 Nodes configured, 2 expected votes
1 Resources configured.
============

Node hanode1: online
vip1:0 (ocf::heartbeat:IPaddr2) Started
Node hanode2: online
vip1:1 (ocf::heartbeat:IPaddr2) Started

Inactive resources:


Migration summary:
* Node hanode1:
* Node hanode2:

Regards,

John S.

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.