背景
临时存储
- 使用Ephemeral Storage的虚拟机不能支持迁移,以及和虚拟机迁移相关的特性,包括 1) HA 2) 动态调度 等等。
- 存放在Ephemeral Storage上的数据是高度不可靠的,任何虚拟机和主机的故障都可能会导致数据丢失。
块存储
- 无状态虚拟机,为系统提供Cache服务
- 为虚拟机操作系统提供交换分区,或者用来存放其它类型的临时文件
- 改进EBS的性能,比如买4个EBS盘,再配置2个免费的Ephermal盘,组建一个RAID 10系统
总结
| Ephemeral storage | Block storage | Object storage | |
|---|---|---|---|
|
Used to… |
Run operating system and scratch space |
Add additional persistent storage to a virtual machine (VM) |
Store data, including VM images |
|
Accessed through… |
A file system |
A block device that can be partitioned, formatted and mounted (such as, /dev/vdc) |
REST API |
|
Accessible from… |
Within a VM |
Within a VM |
Anywhere |
|
Managed by… |
OpenStack Compute (Nova) |
OpenStack Block Storage (Cinder) |
OpenStack Object Storage (Swift) |
|
Persists until… |
VM is terminated |
Deleted by user |
Deleted by user |
|
Sizing determined by… |
Administrator configures size settings, known asflavors |
Specified by user in initial request |
Amount of available physical storage |
|
Example of typical usage… |
10 GB first disk, 30GB second disk |
1 TB disk |
10s of TBs of dataset storage |
相关阅读:
在Ubuntu 12.10 上安装部署Openstack http://www.linuxidc.com/Linux/2013-08/88184.htm
Ubuntu 12.04 OpenStack Swift单节点部署手册 http://www.linuxidc.com/Linux/2013-08/88182.htm
OpenStack云计算快速入门教程 http://www.linuxidc.com/Linux/2013-08/88186.htm
企业部署OpenStack:该做与不该做的事 http://www.linuxidc.com/Linux/2013-09/90428.htm
Ubuntu上搭建Hadoop环境(单机模式+伪分布模式) http://www.linuxidc.com/Linux/2013-01/77681.htm
Ubuntu下Hadoop环境的配置 http://www.linuxidc.com/Linux/2012-11/74539.htm
单机版搭建Hadoop环境图文教程详解 http://www.linuxidc.com/Linux/2012-02/53927.htm
