<div>Hello All,</div><div><br></div><div>I am using Ceph as my storage back end and would like to know how to configure the system datastore, such that I can live migrate vms.</div><div><br></div><div>Following the directions, I thought I could create a datastore, format it, and mount it at /var/lib/one/datastores/0 , however, I discovered, that isn't quite how things work.</div>
<div><br></div>>> <a href="http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-May/001913.html">http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-May/001913.html</a><div>You can read more about that at the above link, but long story short, to mount a shared filesystem it has to be a "clustered" filesystem (I think CephFS is the "clustered filesystem", in this case).</div>
<div><br></div><div>I attempted to modify my system datastore config, however, I was unable to change the DS_MAD parameter, and vm creation errors out telling me there's no /var/lib/one/remotes/tm/ceph/mkswap driver (there isn't)</div>
<div><br></div><div><div>>> oneadmin@red6:~$ onedatastore show 0 </div><div>>> DATASTORE 0 INFORMATION </div><div>>> ID : 0 </div>
<div>>> NAME : system </div><div>>> USER : oneadmin </div><div>>> GROUP : oneadmin </div><div>>> CLUSTER : - </div>
<div>>> TYPE : SYSTEM </div><div>>> DS_MAD : - </div><div>>> TM_MAD : ceph </div><div>>> BASE PATH : /var/lib/one/datastores/0</div>
<div>>> DISK_TYPE : FILE </div><div>>> </div><div>>> PERMISSIONS </div><div>>> OWNER : um- </div>
<div>>> GROUP : u-- </div><div>>> OTHER : --- </div><div>>> </div><div>>> DATASTORE TEMPLATE </div>
<div>>> DISK_TYPE="rbd"</div><div>>> DS_MAD="-"</div><div>>> TM_MAD="ceph"</div><div>>> TYPE="SYSTEM_DS"</div><div>>> </div><div>>> IMAGES </div>
</div><div><br></div><div>Maybe I'm just confused. Can anyone provide some guidance on setting ceph up as the system datastore?</div><div><br></div><div>Thanks,</div><div>Jon A</div>