Hi, Ranju. Are you talking about setting up Ceph Monitors and OSD nodes on VMs for the purposes of learning, or adding a Ceph storage cluster to an existing KVM-based infrastructure that's using local storage/NFS/iSCSI for block storage now? - If the former, this is pretty easy. Although performance will suffer, OSDs and Monitors will run fine in VMs, just observe the minimum specs in the official hardware howtos. I setup my first cluster like this: Ubuntu 14.04 Workstation (with LVM) -Ceph1: 14.04 with Mon1 and OSD using Raw disk access from different LVM partitions of hypervisor OS -Ceph2: " -Ceph3: " -Test VM1: 14.04 desktop with 20G filesystem exposed through RBD to libvirt. What's neat (and was non-obvious) was that simply configuring the KVM hypervisor as a Ceph client allowed you to leverage its exposed storage even though the hosts exposing that storage were VMs on the same machine (horribly non-resilient design, yes, but it helped teach the concepts). - If you're looking to do the latter, you can create your Ceph cluster of nodes adjacent your existing infrastructure, configure your hypervisor nodes as ceph/rbd clients (and test them with "ceph -w", etc) then convert/copy the disk images one by one to rbd block images: http://ceph.com/docs/master/rbd/libvirt/ http://ceph.com/docs/master/rbd/qemu-rbd/ Once you create a few test VMs on local disk and get into the practice of migrating them over, you'll find it's pretty straightforward with the commands listed in those pages. Dan Dan Geist dan(@)polter.net ----- Original Message ----- From: "Ranju Upadhyay" <Ranju.Upadhyay@xxxxxxx> To: ceph-users@xxxxxxxxxxxxxx Sent: Monday, October 20, 2014 6:23:59 AM Subject: real beginner question Hi list, This is a real newbie question.(and hopefully the right list to ask to!) Is it possible to set up ceph in an already virtualized environment? i.e. we have a scenario here, where we have virtual machine ( as opposed to individual physical machines) with ubuntu OS on it. We are trying to create ceph cluster on this virtual machine . (not sure if this is a sensible thing to do!) On our effort to install ceph we used vagrant ( came across some notes through google). We thought that would be the easiest route, as we do not know anything yet. But we are unsuccessful. We can go as far as creating a virtual machine but it fails as provisioning stage (i.e. mons;osds;mdss;rgws etc do not get created) Any suggestions? Thanks Ranju Upadhyay Maynooth University, Ireland. _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com -- _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com