[one-users] How to use Ceph/RBD for System Datastore

Campbell, Bill bcampbell at axcess-financial.com
Thu Jul 11 04:55:11 PDT 2013


The deployment files referenced are the libvirt VM definition files that OpenNebula generates for all deployments and datastores used: 

Here is an example of the contents (with internal identifiable information scrubbed) 



<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> 
<name>one-128</name> 
<vcpu>2</vcpu> 
<cputune> 
<shares>2048</shares> 
</cputune> 
<memory>8388608</memory> 
<os> 
<type arch='x86_64'>hvm</type> 
<boot dev='hd'/> 
</os> 
<devices> 
<emulator>/usr/bin/kvm</emulator> 
<disk type='network' device='disk'> 
<source protocol='rbd' name='datastorename/one-81-128-0'/> 
<target dev='vda'/> 
<driver name='qemu' type='raw' cache='writeback'/> 
</disk> 
<disk type='network' device='disk'> 
<source protocol='rbd' name='datastorename/one-81'/> 
<target dev='vdb'/> 
<driver name='qemu' type='raw' cache='writeback'/> 
</disk> 
<disk type='file' device='cdrom'> 
<source file='/var/lib/one//datastores/0/128/disk.2'/> 
<target dev='hda'/> 
<readonly/> 
<driver name='qemu' type='raw'/> 
</disk> 
<interface type='bridge'> 
<source bridge='vmbridge'/> 
<mac address='xx:xx:xx:xx:xx:xx'/> 
<model type='virtio'/> 
</interface> 
<graphics type='vnc' listen='0.0.0.0' port='6028'/> 
</devices> 
<features> 
<acpi/> 
</features> 

</domain> 

----- Original Message -----

From: "Gandalf Corvotempesta" <gandalf.corvotempesta at gmail.com> 
To: "Bill Campbell" <bcampbell at axcess-financial.com> 
Cc: "Jon" <three18ti at gmail.com>, "Users OpenNebula" <users at lists.opennebula.org> 
Sent: Wednesday, July 10, 2013 5:07:04 PM 
Subject: Re: [one-users] How to use Ceph/RBD for System Datastore 

2013/7/10 Campbell, Bill <bcampbell at axcess-financial.com>: 
> Not entirely. You shouldn’t need to manually create/mount an RBD for the 
> system datastore. Since the system datastore holds the running VM 
> deployment files (and not necessarily an RBD image, just a reference to it 
> in the deployment file) then this directory does not necessarily need to be 
> shared. 

Could you please post some deployments files as samples? 
I would like to see the content of these files. 


NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130711/72e05a7c/attachment-0002.htm>


More information about the Users mailing list