Ask Your Question
0

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

asked 2011-05-09 11:46:23 -0500

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

edit retag flag offensive close merge delete

5 answers

Sort by » oldest newest most voted
0

answered 2011-05-09 17:17:25 -0500

gholt gravatar image

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.

edit flag offensive delete link more
0

answered 2011-05-10 08:14:28 -0500

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.

edit flag offensive delete link more
0

answered 2011-05-10 15:12:45 -0500

gholt gravatar image

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 (http://dl.dropbox.com/u/19755215/swif...)

edit flag offensive delete link more
0

answered 2011-05-10 15:24:46 -0500

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

edit flag offensive delete link more
0

answered 2011-05-10 15:30:52 -0500

gholt gravatar image

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

edit flag offensive delete link more

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: 2011-05-09 11:46:23 -0500

Seen: 25 times

Last updated: May 10 '11