免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2807 | 回复: 0
打印 上一主题 下一主题

[CloudStack] 转载]使用RBD 做 CLOUDSTACK的主存储 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-12-03 17:27 |只看该作者 |倒序浏览
原文链接:http://ceph.com/docs/master/rbd/ ... d-apache-cloudstack

You can use RBD to run instances on in Apache CloudStack.

This can be done by adding a RBD pool as Primary Storage.

There are a couple of prerequisites: * You need to CloudStack 4.0 or higher * Qemu on the Hypervisor has to be compiled with RBD enabled * The libvirt version on the Hypervisor has to be at least 0.10 with RBD enabled

Make sure you meet this requirements before installing the CloudStack Agent on the Hypervisor(s)!


Important

To use RBD with CloudStack, you must have a running Ceph cluster!


LIMITATIONS

Running instances from RBD has a couple of limitations:
■An additional NFS Primary Storage pool is required for running System VM’s
■Snapshotting RBD volumes is not possible (at this moment)
■Only one monitor can be configured


ADD HYPERVISOR

Please follow the official CloudStack documentation how to do this.

There is no special way of adding a Hypervisor when using RBD, nor is any configuration needed on the hypervisor.


ADD RBD PRIMARY STORAGE

Once the hypervisor has been added, log on to the CloudStack UI.
■Infrastructure
■Primary Storage
■“Add Primary Storage”
■Select “Protocol” RBD
■Fill in your cluster information (cephx is supported)
■Optionally add the tag ‘rbd’

Now you should be able to deploy instances on RBD.


RBD DISK OFFERING

Create a special “Disk Offering” which needs to match the tag ‘rbd’ so you can make sure the StoragePoolAllocator chooses the RBD pool when searching for a suiteable storage pool.

Since there is also a NFS storage pool it’s possible that instances get deployed on NFS instead of RBD.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP