Is it possible to run a production environment with only 2 server?

Asked by sdfgt

I have in mind, to make openstack available for production on a micro starting point. One single developer can start using openstack and scale out when the time comes.

The setup I Imagined:

Cluster 1: All-in-one server (later add storage nodes to the cluster)
Cluster 2: All-in-one server (later add storage nodes to the cluster)

I still have to figure out a few things, how to let the server and service communicate right and would this setup be failover resistant for use in a production perspective?

Perhaps someone has some suggestions, hints anything to provide.

Thanks. I'm on IRC for any discussions or so. user: infinite-scale.
Michael

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
gholt (gholt) said :
#1

There is no cluster to cluster failover concepts in Swift. If you only had 2 boxes to start with, I'd make them both part of the same cluster each running each service (proxy, account, container, object, etc.) and then use round-robin dns (or better yet, an active load balancer) to route traffic to the two.

Revision history for this message
sdfgt (sadfdfgrstdsfg-deactivatedaccount) said :
#2

But how would the services communicate?
but without the clusters the files wouldn't be replicated and so there would be missing redundandancy.

Thanks for your help.

Revision history for this message
gholt (gholt) said :
#3

I think maybe I'm misunderstanding your question. The services would communicate because that's how Swift was written, to have services that communicate. The All-In-One setup you mention is emulating 4 nodes worth of services on one machine for testing and development. So, an All-In-One would have 4 copies of the account, container, and object services all running as well as one proxy service to tie them together. On a production Swift cluster (you may want to read through the multi server install doc) these services would run on various separate machines.

This isn't the greatest document, I've just started on it, but maybe it will help a little:

http://dl.dropbox.com/u/19755215/swift/swift_overview.html

Revision history for this message
sdfgt (sadfdfgrstdsfg-deactivatedaccount) said :
#4

That doc looks pretty good thanks. You don't have something like that for nova too or? would be awesome.

Revision history for this message
gholt (gholt) said :
#5

Hehe, no I don't. Unfortunately I'm only a Swift guy, I haven't gotten my head wrapped around Nova just yet.

Can you help with this problem?

Provide an answer of your own, or ask sdfgt for more information if necessary.

To post a message you must log in.