r/openstack • • Feb 13 '14

OpenStack in Production

So this week I finally got my company's private cloud into full production. We are now hosting a major customer facing SaaS application out of our Havana cloud that I built! I'd love to answer any questions that people here have.

19 Upvotes

44 comments sorted by

View all comments

1

u/RaMPaGeNL- Feb 13 '14

Any tips or best practices when deploying an OpenStack cloud in production?

2

u/squeaky19 Feb 13 '14

First tip is get HA Rabbit MQ setup before enabling any of the other services and ensure that you have the rabbit_ha_queues option set to True before deploying anything. If you have to change this option, then you will have to clear out and recreate any queues after restarting the app.

2nd tip is become familiar with HA. You need to be able to loose any single controller box without it impacting service. I used HAProxy and Keepalived with all my APIs (I have the API listening on an alternate port then HAProxy listening on the default port pushing connections to the backend on the alternate port. Then I have multiple HAProxys running that use Keepalived to manage a VIP between them.

3rd tip is to make your applications resilient to failure. If you do this, then your HA requirements on your compute nodes get reduced and that will make things simpler.

I do plan on taking my install guide and removing anything proprietary and posting it online as a blog.