Ask Your Question
1

Compute vs. Storage and VM

asked 2013-04-17 02:08:56 -0500

stephan gravatar image

Hi there,

I have a simple question running through my head the last days and have no idea where to find an answer, so I decided to post it here.

I am planning an simple private cloud: - 1 Compute node - 2 Storage nodes with only 1 disk (3 TB) - 1 Controller node - 1 Network switch

In the web I am finding several answers to my two problems, but I dont know, which is right, so here they are:

1) Does the compute node need disks for running instances? Then it would be simple like a Xen-Server, or? And then I would need to give a 32 Core 96 GB machine up to 4 TB x 2 disks with raid to have the ability to run large Instances, or?

2) Do I need (for the start) 2 or 1 Storage nodes? I thought, for security reasons, its better to have 2, if one fails. Is it recommended to have (for the start) more than one disk per node?

Thank you very much! Stephan

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
4

answered 2013-04-17 09:55:57 -0500

Robert van Leeuwen gravatar image

Hi Stephan,

Within Openstack there are 2 kinds of storage: ephemeral and persistent.

Ephemeral storage is used on on the compute node where the instance is running. When you startup a instance on a compute node the (glance) image is downloaded to this location and the image is run from there. Anything that happens within the virtual will be saved here on the compute node. If you are creating a lot of large instances with actual data in them you might need a lot of local storage (by default the images are sparse files so it only takes as much data as is actually used in the instance). Important to know is that the data on this disk is gone when the virtual is terminated. Also, if you want to be able to (live) migrate machines between nodes you need some kind of shared storage for the ephemeral storage between all compute nodes like nfs or glusterfs. (or you could boot from Cinder volumes)

There also is persistent storage through Cinder. These are block-devices that are connected to your instance across the network. You can boot from cinder volumes so that you don't need ephemeral storage. Cinder usually connects to some highly available block device a list of available drivers, I hear Ceph is pretty nice: https://wiki.openstack.org/wiki/CinderSupportMatrix

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: 2013-04-17 02:08:56 -0500

Seen: 1,001 times

Last updated: Apr 17 '13