Skip to contentSkip to conversation

setting up virtual machines with ceph

DISCUSSION udit agarwal 3 participants 5 messages Jun 7, 2012 – Jun 11, 2012

lore
Share & tools
lore
#0 lore raw

Hi,
I have set up ceph system with a client, mon and mds on one system which is
connected to 2 osds. . The ceph setup worked fine and I did some tests on it and they too worked fine. Now, I want to set up virtual machines on my system and want to run multiple virtual machine instances in parallel . But I don’t know about what are the exact installation steps that are needed to be done after the ceph installation. I guess I need to install rdb and kvm to achieve the same. Please correct me if I am wrong.

Can anyone help me in this matter.

Thanks in advance.

--Udit Agarwal

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

Hi,
if you want the easy way,
I have done integration of rbd in proxmox 2.0 kvm distribution (currently in proxmox testing repos).

you only need mon and osd, as kvm only use rbd and not ceph filesystem.

I think,you could also use libvirt, but you need to have a qemu-kvm package with librbd support

- Alexandre

----- Mail original -----

De: "udit agarwal" <[email protected]>
À: [email protected]
Envoyé: Jeudi 7 Juin 2012 08:56:58
Objet: setting up virtual machines with ceph

Hi,
I have set up ceph system with a client, mon and mds on one system which is connected to 2 osds. . The ceph setup worked fine and I did some tests on it and they too worked fine. Now, I want to set up virtual machines on my system and want to run multiple virtual machine instances in parallel . But I don’t know about what are the exact installation steps that are needed to be done after the ceph installation. I guess I need to install rdb and kvm to achieve the same. Please correct me if I am wrong.

Can anyone help me in this matter.

Thanks in advance.

--Udit Agarwal

Signature · 24 lines
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in 
the body of a message to [email protected] 
More majordomo info at http://vger.kernel.org/majordomo-info.html 



-- 

-- 




	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to udit agarwal
Quoted 7 lines · udit agarwal

 I have set up ceph system with a client, mon and mds on one system which is connected to 2 osds. . The ceph setup worked fine and I did some tests on it and they too worked fine. Now, I want to set up virtual machines on my system and want to run multiple virtual machine instances in parallel . But I don’t know about what are the exact installation steps that are needed to be done after the ceph installation. I guess I need to install rdb and kvm to achieve the same. Please correct me if I am wrong.

First off, you need to decide whether you want "just virtualization" or a "private cloud". For the former, you're looking at something like just libvirt and kvm; for the latter, OpenStack builds on top of libvirt and provides a lot of extra functionality (at the cost of significant complexity).

You should probably study libvirt and/or OpenStack first, independently of Ceph. Once you are familiar with running virtual machines on local disks, switching from that to RBD isn't all that difficult. That said, I am not aware of us having any real documentation on how to do it, currently :( A guide is being written as we speak, so hopefully it'll be ready Real Soon Now(tm). --
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Hi Tommi,
Thanks for your reply. I want just virtualization on my ceph system. I will
explain you the exact implementation that I want in my ceph system. I want to run 10 virtual machine instances on my ceph client whilst utilizing the storage on the rest of the two systems. I tried to study libvirt but couldn't succeed to help my way out to solve this problem. Please help me out with this problem..

Thanx in advance.

Regards
udit agarwal

#4 lore raw
Quoted 5 lines · udit agarwal

 Thanks for your reply. I want just virtualization on my ceph system. I will explain you the exact implementation that I want in my ceph system. I want to run 10 virtual machine instances on my ceph client whilst utilizing the storage on the rest of the two systems. I tried to study libvirt but couldn't succeed to help my way out to solve this problem. Please help me out with this problem..

Hi. I'd like to help but I'm not sure what trouble you are really running into. Can you use libvirt successfully with local storage? If not, then you probably need to find a good linux admin to help you out. If you can get libvirt to work locally, but not with rbd, can you ask a specific question?
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html