Ask Your Question
0

lbaas installation

asked 2014-08-01 08:17:35 -0500

Beny gravatar image

I am planning to install lbaas in a separate node, away from network controller for redudancy. Is it possible to install lbaas agent and haproxy in a node and connect to the network controller?

edit retag flag offensive close merge delete

Comments

Thanks for heads up!!, i'll try it

Beny gravatar imageBeny ( 2014-08-05 04:56:54 -0500 )edit

Andy,

Thanks for your help. It worked as expected. are we able to use two lbaas agent for one network node? like high availability?

Beny gravatar imageBeny ( 2014-08-06 07:28:40 -0500 )edit

Hi Beny,

Great you got working what you needed. I only briefly looked at making LBaaS HA but I haven't had the time, also I suspect it won't really give what is needed.

There is a blues print for this functionality.

AndyHardwick gravatar imageAndyHardwick ( 2014-08-06 09:07:09 -0500 )edit
AndyHardwick gravatar imageAndyHardwick ( 2014-08-06 09:07:12 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-08-04 09:52:53 -0500

Yes, build this 'lbaas' node as if it were a network node but only launch the neutron LBaaS agent. The agent needs to use which ever message queue (rabbitmq, zeromq) and know where the neutron server is. Just copy the existing neutron conf for those details.

Here are guidelines for enabling. On my installations, I had to make sure the correct user group enabled that is referenced in the LBaaS.ini

http://docs.openstack.org/admin-guide...

edit flag offensive delete link more

Comments

Hi Andy,

I'm unable to use the same lb pools in different lbaas agents. If i create a lb pool with the secondary lbaas agent. then the haproxy in that same node understands it and works fine. but i'm unable to use the same lbpool with the primary lbaas agent.

any ideas?

Beny gravatar imageBeny ( 2014-08-07 07:33:01 -0500 )edit

Hi, are these agents running active / active? right now I think this will only function with the agents in an active / passive mode.

AndyHardwick gravatar imageAndyHardwick ( 2014-08-07 07:50:55 -0500 )edit

They are running as active/passive mode only. I stop the primary lbaas agent before starting the secondary.

Beny gravatar imageBeny ( 2014-08-08 00:04:45 -0500 )edit

I have been trying to see if this should work at all with 2 agents and it is not clear. Theocratically if the agents are using the same service ID and do not run at the same time then it should work.

Please understand I have not tried this myself. I hope you can make it work.

AndyHardwick gravatar imageAndyHardwick ( 2014-08-08 02:43:17 -0500 )edit

Certainly, i understand it. I found the problem is with lbaas agent and haproxy, that they are unable to undertand the lbpool configuration created by other lbaas agent and haproxy. However the neutron is able to communicate with both and get the details perfectly.

i'm still connecting the dots. will update you if i find anything. :)

Beny gravatar imageBeny ( 2014-08-08 02:58:35 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-01 08:17:35 -0500

Seen: 377 times

Last updated: Aug 01 '14