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