Ask Your Question
1

Architecture to build a cloud in my company

asked 2014-05-21 07:43:30 -0500

apanagiotou gravatar image

Hello, I want to build an openstack cloud in my company's servers. What would be the best architecture for 10 servers which will provide HA. The purpose of the cloud will be: serving e-shops and have DNS server and Mail servers

e.g The servers are all the same. There is no storage device. Every server has its own disk.

Thank you

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-05-21 23:06:53 -0500

Sean gravatar image

Take a look at this. Not HA perfect but its a good article

http://behindtheracks.com/2014/04/ope...

edit flag offensive delete link more

Comments

If you notice, that does not use neutron at all. There is a reason for that, neutron is not highly available in an active/active configuration. (Also, they do not address issue like running multiple nova-consoleauths behind haproxy breaking somethings after every other attempt). It is detinetly a good way to get started and get a grasp on it though.

SamYaple gravatar imageSamYaple ( 2014-05-22 08:07:12 -0500 )edit
1

answered 2014-05-21 08:07:29 -0500

SamYaple gravatar image

The "best" solution is going to widely vary based on your needs _and_ who you ask. I can suggest a solution to you that may help you accomplish what you need.

True active/active HA does not exist for openstack as a whole (mainly because of neutron, though there are solutions that can be used with various degrees of success to try and implement that). You can, however, quite easily setup active/passive HA for everything.

Due to the size of your cluster, I would recommend 2 "controller" nodes. These nodes would run all services except nova-compute (glance, cinder, database, nova, neutron, etc.). Having them in an Active/Passive HA configuration with pacemaker and corosync is documented well enough. The other 8 nodes can be used for compute.

This setup is not exteremely scalable since you have to scale up for all of your services other than compute. If you have stricter requirements for scaling or throughput reasons, let me know. We can come up with something else.

edit flag offensive delete link more

Comments

Thank you for your suggestion. This is a good architecture but in my case I want it to be scalable because it will host e-shops. today it is 100 e-shops but next year may be 200, so I want it to be scalable.

Thanks in advance Alex

apanagiotou gravatar imageapanagiotou ( 2014-05-22 05:27:17 -0500 )edit

With a setup like described above, you can break each service out to its own node. You can also "convert" each setup into an active/active configuration. Depending on what those eshops actually need, you may find yourself easily able to scale out compure without havign to scale your controllers at all.

SamYaple gravatar imageSamYaple ( 2014-05-22 08:09:43 -0500 )edit

What do you mean by "break each service out to its own node"? Run cinder,neutron and glance on each compute node?

apanagiotou gravatar imageapanagiotou ( 2014-05-22 08:33:54 -0500 )edit

Correct. You do not need a central control node. Each service can run in its own node. Breaking out the database and neutron would probably be the first 2 things I would do.

SamYaple gravatar imageSamYaple ( 2014-05-22 08:50:07 -0500 )edit

You mean I don't need controller nodes. then who will run identity,dashboard and MQ? Also how the system will work with multiple databases?

apanagiotou gravatar imageapanagiotou ( 2014-05-22 09:35:55 -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

Stats

Asked: 2014-05-21 07:43:30 -0500

Seen: 140 times

Last updated: May 21 '14