[Openstack] load balancer using iptables rules in neutron

Priyanka ppnaik at cse.iitb.ac.in
Thu Jun 16 11:56:12 UTC 2016


Hi,

The lbaas service requires to create a subnet with all the backend 
server VMs. In my case these servers also act as client to another 
server VMs (which would also have a load balancer) . Will lbaas support 
this?

Thanks,

Priyanka
On Wednesday 15 June 2016 06:49 PM, Brian Haley wrote:
> On 06/15/2016 12:18 AM, Priyanka wrote:
>> Hi,
>>
>> I want to create a basic round-robin layer 3 load balancer. The 
>> request would be
>> coming from same tenant network and the backend servers would also be 
>> in the
>> same network. For this the steps I think should be done are: create a 
>> neutron
>> port (for the load balancer) and attach it to ovs on the neutron node 
>> and apply
>> ip tables to load balance traffic coming to this port (using the nth 
>> patch of
>> iptable).
>>
>> Are the steps I am thinking correct? Also, to which chain should 
>> these rules be
>> put? Please guide me on this.
>
> Why don't you just use LBaaS?
>
> https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun
>
> Manipulating iptables rules manually will just lead to problems, see a 
> response I sent yesterday to this list for an example.
>
> -Brian





More information about the Openstack mailing list