<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Ok, it works.<div class=""><br class=""></div><div class="">Thank you very much Nir.</div><div class=""><br class=""></div><div class="">Matteo<br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-family: Calibri; font-size: 15px;" class=""><br class=""></div><div id="signature_old" class=""><div id="x230f9618d8214c5" class=""><div class="WordSection1" style="page: WordSection1;"><div style="font-family: 'Times New Roman', serif; font-size: 12pt; margin: 0cm 0cm 0.0001pt;" class=""><font face="Calibri" style="font-size: 11pt;" class=""><br class=""></font></div><div style="font-family: 'Times New Roman', serif; font-size: 12pt; margin: 0cm 0cm 0.0001pt;" class=""><div class="" style="font-family: Helvetica; font-size: 12px;"><br class=""></div></div></div></div></div></div></div></div></div></div></div></div></div><div style=""><blockquote type="cite" class=""><div class="">Il giorno 21 feb 2017, alle ore 18:26, Nir Soffer &lt;<a href="mailto:nsoffer@redhat.com" class="">nsoffer@redhat.com</a>&gt; ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Tue, Feb 21, 2017 at 3:20 PM, Matteo Dacrema &lt;<a href="mailto:mdacrema@enter.eu" class="">mdacrema@enter.eu</a>&gt; wrote:<br class=""><blockquote type="cite" class="">Hi Nir,<br class=""><br class="">thank you.<br class="">So, can I use a Ceph backed VM with a lease on gluster?<br class=""></blockquote><br class="">Should work.<br class=""><br class=""><blockquote type="cite" class="">Also if I detach network from the node hosting the VMs it will not migrated<br class="">to another host.<br class=""></blockquote><br class="">If you have a lease, detaching the network used to access the leases will<br class="">cause sanlock to terminate the vm and expire the lease. In this case the<br class="">system should start the vm on another host.<br class=""><br class="">Note that if you have multiple networks, and the network used by the vm<br class="">disks is different from the network used to access the leases, all this may<br class="">not work in a useful way.<br class=""><br class="">Either the leases will not be accessible while the vm disks are accessible,<br class="">leading to killing a good working vm, or the vm disk are not accessible,<br class="">pausing the vm, but since the leases are still accessible, the vm will not<br class="">release the lease and the system will not be able to start the vm elsewhere.<br class=""><br class="">Maybe you can expose some of the ceph storage using cephfs for the leases?<br class="">This will make it more likely that the leases storage domain will fail<br class="">when there<br class="">is some issue with your ceph cluster.<br class=""><br class="">Another option is to expose ceph block device using iscsi, and use this iscsi<br class="">storage domain for the leases. But note that this makes your iscsi gateway<br class="">host a single point on failure.<br class=""><br class="">Nir<br class="">_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/users<br class=""><br class="">--<br class="">Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.<br class="">Seguire il link qui sotto per segnalarlo come spam: <br class="">http://mx01.enter.it/cgi-bin/learn-msg.cgi?id=D2CE14011D.A4808<br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>