Re: Ceph + KVM

2012-11-28 Thread linux...@gmail.com
http://ceph.com/docs/master/rbd/rbd-cloudstack/#rbd-and-apache-cloudstack

here is a method how to use ceph in cloudstack

maybe it's what you are looking for

2012/11/28 Trevor Francis 

> Can any of you wise gentlemen and ladies share the proper method for
> compiling and installing Qemu and libvirt on Ubuntu 12.04 to properly
> enable RBD for use as primary storage?
>
>
>
>  Trevor Francis
> Partner
> 46 Labs | PeerEdge Cloud Switch (PeCS)
> http://www.46labs.com | http://www.peeredge.net
> 720-214-3643- Voice
> tre...@46labs.com
>
> Solutions Provider for the Telecom Industry
>
>
>


-- 
白清杰 (Born Bai)

Beijing Open Vision Information Technology Co.,Ltd

Mail: linux...@gmail.com


Re: add CentOS 6.3 kvm compute error

2012-11-29 Thread linux...@gmail.com
Thanks Bryan
it's resolved


2012/11/29 Bryan Whitehead 

> Run "/etc/init.d/cgconfig restart"
>
> After you do that restart libvirtd.
>
>
> On Wed, Nov 28, 2012 at 10:25 PM, linux...@gmail.com  >wrote:
>
> > Hey ALL:
> > I have installed cloudstack 3.0.5 .
> >
> > the compute node's OS is CentOS 6.3 x64
> >
> > I use the install.sh to install the cloud-agent on the node
> > here is the versions of the kvm
> >
> > libvirt-devel-0.9.10-21.el6_3.6.x86_64
> > libvirt-java-0.4.7-1.el6.noarch
> > virt-viewer-0.5.2-9.el6.x86_64
> > virt-what-1.11-1.1.el6.x86_64
> > libvirt-0.9.10-21.el6_3.6.x86_64
> > libvirt-client-0.9.10-21.el6_3.6.x86_64
> > libvirt-java-devel-0.4.7-1.el6.noarch
> > libvirt-python-0.9.10-21.el6_3.6.x86_64
> > virt-manager-0.9.0-14.el6.x86_64
> > python-virtinst-0.600.0-8.el6.noarch
> > virt-top-1.0.4-3.13.el6.x86_64
> >
> > qemu-kvm-0.12.1.2-3.209.el6.4.x86_64
> > qemu-img-0.12.1.2-3.209.el6.4.x86_64
> >
> > I have edit the qemu.conf,make the
> >  vnc="0.0.0.0" to be used
> >
> >
> > and Append the below section into /etc/cgconfig.conf
> > group virt {
> > cpu {
> > cpu.shares = 9216;
> > }
> >
> >
> > [root@ ~]# cloud-setup-agent
> > Welcome to Cloud Agent Setup:
> > Please input the Management Server Name/IP:[localhost]192.168.2.9
> >
> > Please input the Zone Id:[default]15d8d9e4-73fc-4830-8b6d-85bfb25ed968
> >
> > Please input the Pod Id:[default]03ea301c-bdf2-48e9-a753-1b9cfd61f03e
> >
> > Please input the Cluster Id:[]2dcc5a45-d08e-4588-b5c1-89d5af7b8dd8
> >
> > Please choose which network used to create VM:[cloudbr0]
> >
> > Starting to configure your system:
> > Configure SElinux ... [OK]
> > Configure Network ... [OK]
> > Configure Libvirt ... [Failed]
> > Traceback (most recent call last):
> >   File "/usr/bin/cloud-setup-agent", line 112, in 
> > syscfg.config()
> >   File "/usr/lib/python2.6/site-packages/cloudutils/syscfg.py", line 76,
> in
> > conf
> >     raise CloudInternalException()
> > TypeError: __init__() takes exactly 2 arguments (1 given)
> >
> >
> > #/etc/init.d/libvirtd start
> > Starting libvirtd daemon: cgroup change of group failed
> >[FAILED
> >
> > could someone help me ? Thanks
> >
> > --
> > 白清杰 (Born Bai)
> >
> > Beijing Open Vision Information Technology Co.,Ltd
> >
> > Mail: linux...@gmail.com
> >
>



-- 
白清杰 (Born Bai)

Beijing Open Vision Information Technology Co.,Ltd

Mail: linux...@gmail.com