Re: [ceph-users] features required for live migration

2017-11-14 Thread Oscar Segarra
Thanks a lot for all your comments,

If you don't see any problem... I will enable the following features that
might fit my requirements:

Layering
Striping
Exclusive locking
Object map
Fast-diff

Thanks a lot
Óscar Segarra




2017-11-14 16:56 GMT+01:00 Jason Dillaman :

> From the documentation [1]:
>
> shareable
> If present, this indicates the device is expected to be shared between
> domains (assuming the hypervisor and OS support this), which means that
> caching should be deactivated for that device.
>
> Basically, it's the use-case for putting a clustered file system (or
> similar) on top of the block device. For the vast majority of cases, you
> shouldn't enable this in libvirt.
>
> [1] https://libvirt.org/formatdomain.html#elementsDisks
>
> On Tue, Nov 14, 2017 at 10:49 AM, Oscar Segarra 
> wrote:
>
>> Hi Jason,
>>
>> The big use-case for sharing a block device is if you set up a clustered
>> file system on top of it, and I'd argue that you'd probably be better
>> off using CephFS.
>> --> Nice to know!
>>
>> Thanks a lot for your clarifications, in this case I referenced the
>> shareable flag that one can see in the KVM. I'd like to know the suggested
>> configuration for rbd images and live migration
>>
>> [image: Imágenes integradas 1]
>>
>> Thanks a lot.
>>
>> 2017-11-14 16:36 GMT+01:00 Jason Dillaman :
>>
>>> On Tue, Nov 14, 2017 at 10:25 AM, Oscar Segarra 
>>> wrote:
>>> > In my environment, I have a Centos7 updated todate therefore, all
>>> > features might work as expected to do...
>>> >
>>> > Regarding the other question, do you suggest making the virtual disk
>>> > "shareable" in rbd?
>>>
>>> Assuming you are refering to the "--image-shared" option when creating
>>> an image, the answer is no. That is just a short-cut to disable all
>>> features that depend on the exclusive lock. The big use-case for
>>> sharing a block device is if you set up a clustered file system on top
>>> of it, and I'd argue that you'd probably be better off using CephFS.
>>>
>>> > Thanks a lot
>>> >
>>> > 2017-11-14 15:58 GMT+01:00 Jason Dillaman :
>>> >>
>>> >> Concur -- there aren't any RBD image features that should prevent live
>>> >> migration when using a compatible version of librbd. If, however, you
>>> >> had two hosts where librbd versions were out-of-sync and they didn't
>>> >> support the same features, you could hit an issue if a VM with fancy
>>> >> new features was live migrated to a host where those features aren't
>>> >> supported since the destination host wouldn't be able to open the
>>> >> image.
>>> >>
>>> >> On Tue, Nov 14, 2017 at 7:55 AM, Cassiano Pilipavicius
>>> >>  wrote:
>>> >> > Hi Oscar, exclusive-locking should not interfere with
>>> live-migration. I
>>> >> > have
>>> >> > a small virtualization cluster backed by ceph/rbd and I can migrate
>>> all
>>> >> > the
>>> >> > VMs which RBD image have exclusive-lock enabled without any issue.
>>> >> >
>>> >> >
>>> >> >
>>> >> > Em 11/14/2017 9:47 AM, Oscar Segarra escreveu:
>>> >> >
>>> >> > Hi Konstantin,
>>> >> >
>>> >> > Thanks a lot for your advice...
>>> >> >
>>> >> > I'm specially interested in feature "Exclusive locking". Enabling
>>> this
>>> >> > feature can affect live/offline migration? In this scenario
>>> >> > (online/offline
>>> >> > migration)  I don't know if two hosts (source and destination) need
>>> >> > access
>>> >> > to the same rbd image at the same time
>>> >> >
>>> >> > It looks that enabling Exlucisve locking you can enable some other
>>> >> > interessant features like "Object map" and/or "Fast diff" for
>>> backups.
>>> >> >
>>> >> > Thanks a lot!
>>> >> >
>>> >> > 2017-11-14 12:26 GMT+01:00 Konstantin Shalygin :
>>> >> >>
>>> >> >> On 11/14/2017 06:19 PM, Oscar Segarra wrote:
>>> >> >>
>>> >> >> What I'm trying to do is reading documentation in order to
>>> understand
>>> >> >> how
>>> >> >> features work and what are they for.
>>> >> >>
>>> >> >> http://tracker.ceph.com/issues/15000
>>> >> >>
>>> >> >>
>>> >> >> I would also be happy to read what features have negative sides.
>>> >> >>
>>> >> >>
>>> >> >> The problem is that documentation is not detailed enough.
>>> >> >>
>>> >> >> The proof-test method you suggest I think is not a good procedure
>>> >> >> because
>>> >> >> I want to a void a corrpution in the future due to a bad
>>> configuration
>>> >> >>
>>> >> >>
>>> >> >> So my recommendation: if you can wait - may be from some side you
>>> >> >> receive
>>> >> >> a new information about features. Otherwise - you can set minimal
>>> >> >> features
>>> >> >> (like '3') - this is enough for virtualization (snapshots, clones).
>>> >> >>
>>> >> >> And start your project.
>>> >> >>
>>> >> >> --
>>> >> >> Best regards,
>>> >> >> Konstantin Shalygin
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> > ___
>>> >> > 

Re: [ceph-users] features required for live migration

2017-11-14 Thread Jason Dillaman
>From the documentation [1]:

shareable
If present, this indicates the device is expected to be shared between
domains (assuming the hypervisor and OS support this), which means that
caching should be deactivated for that device.

Basically, it's the use-case for putting a clustered file system (or
similar) on top of the block device. For the vast majority of cases, you
shouldn't enable this in libvirt.

[1] https://libvirt.org/formatdomain.html#elementsDisks

On Tue, Nov 14, 2017 at 10:49 AM, Oscar Segarra 
wrote:

> Hi Jason,
>
> The big use-case for sharing a block device is if you set up a clustered
> file system on top of it, and I'd argue that you'd probably be better off
> using CephFS.
> --> Nice to know!
>
> Thanks a lot for your clarifications, in this case I referenced the
> shareable flag that one can see in the KVM. I'd like to know the suggested
> configuration for rbd images and live migration
>
> [image: Imágenes integradas 1]
>
> Thanks a lot.
>
> 2017-11-14 16:36 GMT+01:00 Jason Dillaman :
>
>> On Tue, Nov 14, 2017 at 10:25 AM, Oscar Segarra 
>> wrote:
>> > In my environment, I have a Centos7 updated todate therefore, all
>> > features might work as expected to do...
>> >
>> > Regarding the other question, do you suggest making the virtual disk
>> > "shareable" in rbd?
>>
>> Assuming you are refering to the "--image-shared" option when creating
>> an image, the answer is no. That is just a short-cut to disable all
>> features that depend on the exclusive lock. The big use-case for
>> sharing a block device is if you set up a clustered file system on top
>> of it, and I'd argue that you'd probably be better off using CephFS.
>>
>> > Thanks a lot
>> >
>> > 2017-11-14 15:58 GMT+01:00 Jason Dillaman :
>> >>
>> >> Concur -- there aren't any RBD image features that should prevent live
>> >> migration when using a compatible version of librbd. If, however, you
>> >> had two hosts where librbd versions were out-of-sync and they didn't
>> >> support the same features, you could hit an issue if a VM with fancy
>> >> new features was live migrated to a host where those features aren't
>> >> supported since the destination host wouldn't be able to open the
>> >> image.
>> >>
>> >> On Tue, Nov 14, 2017 at 7:55 AM, Cassiano Pilipavicius
>> >>  wrote:
>> >> > Hi Oscar, exclusive-locking should not interfere with
>> live-migration. I
>> >> > have
>> >> > a small virtualization cluster backed by ceph/rbd and I can migrate
>> all
>> >> > the
>> >> > VMs which RBD image have exclusive-lock enabled without any issue.
>> >> >
>> >> >
>> >> >
>> >> > Em 11/14/2017 9:47 AM, Oscar Segarra escreveu:
>> >> >
>> >> > Hi Konstantin,
>> >> >
>> >> > Thanks a lot for your advice...
>> >> >
>> >> > I'm specially interested in feature "Exclusive locking". Enabling
>> this
>> >> > feature can affect live/offline migration? In this scenario
>> >> > (online/offline
>> >> > migration)  I don't know if two hosts (source and destination) need
>> >> > access
>> >> > to the same rbd image at the same time
>> >> >
>> >> > It looks that enabling Exlucisve locking you can enable some other
>> >> > interessant features like "Object map" and/or "Fast diff" for
>> backups.
>> >> >
>> >> > Thanks a lot!
>> >> >
>> >> > 2017-11-14 12:26 GMT+01:00 Konstantin Shalygin :
>> >> >>
>> >> >> On 11/14/2017 06:19 PM, Oscar Segarra wrote:
>> >> >>
>> >> >> What I'm trying to do is reading documentation in order to
>> understand
>> >> >> how
>> >> >> features work and what are they for.
>> >> >>
>> >> >> http://tracker.ceph.com/issues/15000
>> >> >>
>> >> >>
>> >> >> I would also be happy to read what features have negative sides.
>> >> >>
>> >> >>
>> >> >> The problem is that documentation is not detailed enough.
>> >> >>
>> >> >> The proof-test method you suggest I think is not a good procedure
>> >> >> because
>> >> >> I want to a void a corrpution in the future due to a bad
>> configuration
>> >> >>
>> >> >>
>> >> >> So my recommendation: if you can wait - may be from some side you
>> >> >> receive
>> >> >> a new information about features. Otherwise - you can set minimal
>> >> >> features
>> >> >> (like '3') - this is enough for virtualization (snapshots, clones).
>> >> >>
>> >> >> And start your project.
>> >> >>
>> >> >> --
>> >> >> Best regards,
>> >> >> Konstantin Shalygin
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ___
>> >> > ceph-users mailing list
>> >> > ceph-users@lists.ceph.com
>> >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> >> >
>> >> >
>> >> >
>> >> > ___
>> >> > ceph-users mailing list
>> >> > ceph-users@lists.ceph.com
>> >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Jason
>> >
>> >
>>
>>
>>
>> --
>> Jason
>>
>
>


-- 
Jason

Re: [ceph-users] features required for live migration

2017-11-14 Thread Jason Dillaman
>From the documentation [1]:

shareable
If present, this indicates the device is expected to be shared between
domains (assuming the hypervisor and OS support this), which means that
caching should be deactivated for that device.

Basically, it's the use-case for putting a clustered file system (or
similar) on top of the block device. For the vast majority of cases, you
shouldn't enable this in libvirt.

[1] https://libvirt.org/formatdomain.html#elementsDisks

On Tue, Nov 14, 2017 at 10:49 AM, Oscar Segarra 
wrote:

> Hi Jason,
>
> The big use-case for sharing a block device is if you set up a clustered
> file system on top of it, and I'd argue that you'd probably be better off
> using CephFS.
> --> Nice to know!
>
> Thanks a lot for your clarifications, in this case I referenced the
> shareable flag that one can see in the KVM. I'd like to know the suggested
> configuration for rbd images and live migration
>
> [image: Imágenes integradas 1]
>
> Thanks a lot.
>
> 2017-11-14 16:36 GMT+01:00 Jason Dillaman :
>
>> On Tue, Nov 14, 2017 at 10:25 AM, Oscar Segarra 
>> wrote:
>> > In my environment, I have a Centos7 updated todate therefore, all
>> > features might work as expected to do...
>> >
>> > Regarding the other question, do you suggest making the virtual disk
>> > "shareable" in rbd?
>>
>> Assuming you are refering to the "--image-shared" option when creating
>> an image, the answer is no. That is just a short-cut to disable all
>> features that depend on the exclusive lock. The big use-case for
>> sharing a block device is if you set up a clustered file system on top
>> of it, and I'd argue that you'd probably be better off using CephFS.
>>
>> > Thanks a lot
>> >
>> > 2017-11-14 15:58 GMT+01:00 Jason Dillaman :
>> >>
>> >> Concur -- there aren't any RBD image features that should prevent live
>> >> migration when using a compatible version of librbd. If, however, you
>> >> had two hosts where librbd versions were out-of-sync and they didn't
>> >> support the same features, you could hit an issue if a VM with fancy
>> >> new features was live migrated to a host where those features aren't
>> >> supported since the destination host wouldn't be able to open the
>> >> image.
>> >>
>> >> On Tue, Nov 14, 2017 at 7:55 AM, Cassiano Pilipavicius
>> >>  wrote:
>> >> > Hi Oscar, exclusive-locking should not interfere with
>> live-migration. I
>> >> > have
>> >> > a small virtualization cluster backed by ceph/rbd and I can migrate
>> all
>> >> > the
>> >> > VMs which RBD image have exclusive-lock enabled without any issue.
>> >> >
>> >> >
>> >> >
>> >> > Em 11/14/2017 9:47 AM, Oscar Segarra escreveu:
>> >> >
>> >> > Hi Konstantin,
>> >> >
>> >> > Thanks a lot for your advice...
>> >> >
>> >> > I'm specially interested in feature "Exclusive locking". Enabling
>> this
>> >> > feature can affect live/offline migration? In this scenario
>> >> > (online/offline
>> >> > migration)  I don't know if two hosts (source and destination) need
>> >> > access
>> >> > to the same rbd image at the same time
>> >> >
>> >> > It looks that enabling Exlucisve locking you can enable some other
>> >> > interessant features like "Object map" and/or "Fast diff" for
>> backups.
>> >> >
>> >> > Thanks a lot!
>> >> >
>> >> > 2017-11-14 12:26 GMT+01:00 Konstantin Shalygin :
>> >> >>
>> >> >> On 11/14/2017 06:19 PM, Oscar Segarra wrote:
>> >> >>
>> >> >> What I'm trying to do is reading documentation in order to
>> understand
>> >> >> how
>> >> >> features work and what are they for.
>> >> >>
>> >> >> http://tracker.ceph.com/issues/15000
>> >> >>
>> >> >>
>> >> >> I would also be happy to read what features have negative sides.
>> >> >>
>> >> >>
>> >> >> The problem is that documentation is not detailed enough.
>> >> >>
>> >> >> The proof-test method you suggest I think is not a good procedure
>> >> >> because
>> >> >> I want to a void a corrpution in the future due to a bad
>> configuration
>> >> >>
>> >> >>
>> >> >> So my recommendation: if you can wait - may be from some side you
>> >> >> receive
>> >> >> a new information about features. Otherwise - you can set minimal
>> >> >> features
>> >> >> (like '3') - this is enough for virtualization (snapshots, clones).
>> >> >>
>> >> >> And start your project.
>> >> >>
>> >> >> --
>> >> >> Best regards,
>> >> >> Konstantin Shalygin
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ___
>> >> > ceph-users mailing list
>> >> > ceph-users@lists.ceph.com
>> >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> >> >
>> >> >
>> >> >
>> >> > ___
>> >> > ceph-users mailing list
>> >> > ceph-users@lists.ceph.com
>> >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Jason
>> >
>> >
>>
>>
>>
>> --
>> Jason
>>
>
>


-- 
Jason

Re: [ceph-users] features required for live migration

2017-11-14 Thread Oscar Segarra
Hi Jason,

The big use-case for sharing a block device is if you set up a clustered
file system on top of it, and I'd argue that you'd probably be better off
using CephFS.
--> Nice to know!

Thanks a lot for your clarifications, in this case I referenced the
shareable flag that one can see in the KVM. I'd like to know the suggested
configuration for rbd images and live migration

[image: Imágenes integradas 1]

Thanks a lot.

2017-11-14 16:36 GMT+01:00 Jason Dillaman :

> On Tue, Nov 14, 2017 at 10:25 AM, Oscar Segarra 
> wrote:
> > In my environment, I have a Centos7 updated todate therefore, all
> > features might work as expected to do...
> >
> > Regarding the other question, do you suggest making the virtual disk
> > "shareable" in rbd?
>
> Assuming you are refering to the "--image-shared" option when creating
> an image, the answer is no. That is just a short-cut to disable all
> features that depend on the exclusive lock. The big use-case for
> sharing a block device is if you set up a clustered file system on top
> of it, and I'd argue that you'd probably be better off using CephFS.
>
> > Thanks a lot
> >
> > 2017-11-14 15:58 GMT+01:00 Jason Dillaman :
> >>
> >> Concur -- there aren't any RBD image features that should prevent live
> >> migration when using a compatible version of librbd. If, however, you
> >> had two hosts where librbd versions were out-of-sync and they didn't
> >> support the same features, you could hit an issue if a VM with fancy
> >> new features was live migrated to a host where those features aren't
> >> supported since the destination host wouldn't be able to open the
> >> image.
> >>
> >> On Tue, Nov 14, 2017 at 7:55 AM, Cassiano Pilipavicius
> >>  wrote:
> >> > Hi Oscar, exclusive-locking should not interfere with live-migration.
> I
> >> > have
> >> > a small virtualization cluster backed by ceph/rbd and I can migrate
> all
> >> > the
> >> > VMs which RBD image have exclusive-lock enabled without any issue.
> >> >
> >> >
> >> >
> >> > Em 11/14/2017 9:47 AM, Oscar Segarra escreveu:
> >> >
> >> > Hi Konstantin,
> >> >
> >> > Thanks a lot for your advice...
> >> >
> >> > I'm specially interested in feature "Exclusive locking". Enabling this
> >> > feature can affect live/offline migration? In this scenario
> >> > (online/offline
> >> > migration)  I don't know if two hosts (source and destination) need
> >> > access
> >> > to the same rbd image at the same time
> >> >
> >> > It looks that enabling Exlucisve locking you can enable some other
> >> > interessant features like "Object map" and/or "Fast diff" for backups.
> >> >
> >> > Thanks a lot!
> >> >
> >> > 2017-11-14 12:26 GMT+01:00 Konstantin Shalygin :
> >> >>
> >> >> On 11/14/2017 06:19 PM, Oscar Segarra wrote:
> >> >>
> >> >> What I'm trying to do is reading documentation in order to understand
> >> >> how
> >> >> features work and what are they for.
> >> >>
> >> >> http://tracker.ceph.com/issues/15000
> >> >>
> >> >>
> >> >> I would also be happy to read what features have negative sides.
> >> >>
> >> >>
> >> >> The problem is that documentation is not detailed enough.
> >> >>
> >> >> The proof-test method you suggest I think is not a good procedure
> >> >> because
> >> >> I want to a void a corrpution in the future due to a bad
> configuration
> >> >>
> >> >>
> >> >> So my recommendation: if you can wait - may be from some side you
> >> >> receive
> >> >> a new information about features. Otherwise - you can set minimal
> >> >> features
> >> >> (like '3') - this is enough for virtualization (snapshots, clones).
> >> >>
> >> >> And start your project.
> >> >>
> >> >> --
> >> >> Best regards,
> >> >> Konstantin Shalygin
> >> >
> >> >
> >> >
> >> >
> >> > ___
> >> > ceph-users mailing list
> >> > ceph-users@lists.ceph.com
> >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >> >
> >> >
> >> >
> >> > ___
> >> > ceph-users mailing list
> >> > ceph-users@lists.ceph.com
> >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >> >
> >>
> >>
> >>
> >> --
> >> Jason
> >
> >
>
>
>
> --
> Jason
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Jason Dillaman
On Tue, Nov 14, 2017 at 10:25 AM, Oscar Segarra  wrote:
> In my environment, I have a Centos7 updated todate therefore, all
> features might work as expected to do...
>
> Regarding the other question, do you suggest making the virtual disk
> "shareable" in rbd?

Assuming you are refering to the "--image-shared" option when creating
an image, the answer is no. That is just a short-cut to disable all
features that depend on the exclusive lock. The big use-case for
sharing a block device is if you set up a clustered file system on top
of it, and I'd argue that you'd probably be better off using CephFS.

> Thanks a lot
>
> 2017-11-14 15:58 GMT+01:00 Jason Dillaman :
>>
>> Concur -- there aren't any RBD image features that should prevent live
>> migration when using a compatible version of librbd. If, however, you
>> had two hosts where librbd versions were out-of-sync and they didn't
>> support the same features, you could hit an issue if a VM with fancy
>> new features was live migrated to a host where those features aren't
>> supported since the destination host wouldn't be able to open the
>> image.
>>
>> On Tue, Nov 14, 2017 at 7:55 AM, Cassiano Pilipavicius
>>  wrote:
>> > Hi Oscar, exclusive-locking should not interfere with live-migration. I
>> > have
>> > a small virtualization cluster backed by ceph/rbd and I can migrate all
>> > the
>> > VMs which RBD image have exclusive-lock enabled without any issue.
>> >
>> >
>> >
>> > Em 11/14/2017 9:47 AM, Oscar Segarra escreveu:
>> >
>> > Hi Konstantin,
>> >
>> > Thanks a lot for your advice...
>> >
>> > I'm specially interested in feature "Exclusive locking". Enabling this
>> > feature can affect live/offline migration? In this scenario
>> > (online/offline
>> > migration)  I don't know if two hosts (source and destination) need
>> > access
>> > to the same rbd image at the same time
>> >
>> > It looks that enabling Exlucisve locking you can enable some other
>> > interessant features like "Object map" and/or "Fast diff" for backups.
>> >
>> > Thanks a lot!
>> >
>> > 2017-11-14 12:26 GMT+01:00 Konstantin Shalygin :
>> >>
>> >> On 11/14/2017 06:19 PM, Oscar Segarra wrote:
>> >>
>> >> What I'm trying to do is reading documentation in order to understand
>> >> how
>> >> features work and what are they for.
>> >>
>> >> http://tracker.ceph.com/issues/15000
>> >>
>> >>
>> >> I would also be happy to read what features have negative sides.
>> >>
>> >>
>> >> The problem is that documentation is not detailed enough.
>> >>
>> >> The proof-test method you suggest I think is not a good procedure
>> >> because
>> >> I want to a void a corrpution in the future due to a bad configuration
>> >>
>> >>
>> >> So my recommendation: if you can wait - may be from some side you
>> >> receive
>> >> a new information about features. Otherwise - you can set minimal
>> >> features
>> >> (like '3') - this is enough for virtualization (snapshots, clones).
>> >>
>> >> And start your project.
>> >>
>> >> --
>> >> Best regards,
>> >> Konstantin Shalygin
>> >
>> >
>> >
>> >
>> > ___
>> > ceph-users mailing list
>> > ceph-users@lists.ceph.com
>> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> >
>> >
>> >
>> > ___
>> > ceph-users mailing list
>> > ceph-users@lists.ceph.com
>> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> >
>>
>>
>>
>> --
>> Jason
>
>



-- 
Jason
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Oscar Segarra
In my environment, I have a Centos7 updated todate therefore, all
features might work as expected to do...

Regarding the other question, do you suggest making the virtual disk
"shareable" in rbd?

Thanks a lot

2017-11-14 15:58 GMT+01:00 Jason Dillaman :

> Concur -- there aren't any RBD image features that should prevent live
> migration when using a compatible version of librbd. If, however, you
> had two hosts where librbd versions were out-of-sync and they didn't
> support the same features, you could hit an issue if a VM with fancy
> new features was live migrated to a host where those features aren't
> supported since the destination host wouldn't be able to open the
> image.
>
> On Tue, Nov 14, 2017 at 7:55 AM, Cassiano Pilipavicius
>  wrote:
> > Hi Oscar, exclusive-locking should not interfere with live-migration. I
> have
> > a small virtualization cluster backed by ceph/rbd and I can migrate all
> the
> > VMs which RBD image have exclusive-lock enabled without any issue.
> >
> >
> >
> > Em 11/14/2017 9:47 AM, Oscar Segarra escreveu:
> >
> > Hi Konstantin,
> >
> > Thanks a lot for your advice...
> >
> > I'm specially interested in feature "Exclusive locking". Enabling this
> > feature can affect live/offline migration? In this scenario
> (online/offline
> > migration)  I don't know if two hosts (source and destination) need
> access
> > to the same rbd image at the same time
> >
> > It looks that enabling Exlucisve locking you can enable some other
> > interessant features like "Object map" and/or "Fast diff" for backups.
> >
> > Thanks a lot!
> >
> > 2017-11-14 12:26 GMT+01:00 Konstantin Shalygin :
> >>
> >> On 11/14/2017 06:19 PM, Oscar Segarra wrote:
> >>
> >> What I'm trying to do is reading documentation in order to understand
> how
> >> features work and what are they for.
> >>
> >> http://tracker.ceph.com/issues/15000
> >>
> >>
> >> I would also be happy to read what features have negative sides.
> >>
> >>
> >> The problem is that documentation is not detailed enough.
> >>
> >> The proof-test method you suggest I think is not a good procedure
> because
> >> I want to a void a corrpution in the future due to a bad configuration
> >>
> >>
> >> So my recommendation: if you can wait - may be from some side you
> receive
> >> a new information about features. Otherwise - you can set minimal
> features
> >> (like '3') - this is enough for virtualization (snapshots, clones).
> >>
> >> And start your project.
> >>
> >> --
> >> Best regards,
> >> Konstantin Shalygin
> >
> >
> >
> >
> > ___
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
> >
> >
> > ___
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >
>
>
>
> --
> Jason
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Jason Dillaman
Concur -- there aren't any RBD image features that should prevent live
migration when using a compatible version of librbd. If, however, you
had two hosts where librbd versions were out-of-sync and they didn't
support the same features, you could hit an issue if a VM with fancy
new features was live migrated to a host where those features aren't
supported since the destination host wouldn't be able to open the
image.

On Tue, Nov 14, 2017 at 7:55 AM, Cassiano Pilipavicius
 wrote:
> Hi Oscar, exclusive-locking should not interfere with live-migration. I have
> a small virtualization cluster backed by ceph/rbd and I can migrate all the
> VMs which RBD image have exclusive-lock enabled without any issue.
>
>
>
> Em 11/14/2017 9:47 AM, Oscar Segarra escreveu:
>
> Hi Konstantin,
>
> Thanks a lot for your advice...
>
> I'm specially interested in feature "Exclusive locking". Enabling this
> feature can affect live/offline migration? In this scenario (online/offline
> migration)  I don't know if two hosts (source and destination) need access
> to the same rbd image at the same time
>
> It looks that enabling Exlucisve locking you can enable some other
> interessant features like "Object map" and/or "Fast diff" for backups.
>
> Thanks a lot!
>
> 2017-11-14 12:26 GMT+01:00 Konstantin Shalygin :
>>
>> On 11/14/2017 06:19 PM, Oscar Segarra wrote:
>>
>> What I'm trying to do is reading documentation in order to understand how
>> features work and what are they for.
>>
>> http://tracker.ceph.com/issues/15000
>>
>>
>> I would also be happy to read what features have negative sides.
>>
>>
>> The problem is that documentation is not detailed enough.
>>
>> The proof-test method you suggest I think is not a good procedure because
>> I want to a void a corrpution in the future due to a bad configuration
>>
>>
>> So my recommendation: if you can wait - may be from some side you receive
>> a new information about features. Otherwise - you can set minimal features
>> (like '3') - this is enough for virtualization (snapshots, clones).
>>
>> And start your project.
>>
>> --
>> Best regards,
>> Konstantin Shalygin
>
>
>
>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
Jason
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Cassiano Pilipavicius
Hi Oscar, exclusive-locking should not interfere with live-migration. I 
have a small virtualization cluster backed by ceph/rbd and I can migrate 
all the VMs which RBD image have exclusive-lock enabled without any issue.




Em 11/14/2017 9:47 AM, Oscar Segarra escreveu:

Hi Konstantin,

Thanks a lot for your advice...

I'm specially interested in feature "Exclusive locking". Enabling this 
feature can affect live/offline migration? In this scenario 
(online/offline migration)  I don't know if two hosts (source and 
destination) need access to the same rbd image at the same time


It looks that enabling Exlucisve locking you can enable some other 
interessant features like "Object map" and/or "Fast diff" for backups.


Thanks a lot!

2017-11-14 12:26 GMT+01:00 Konstantin Shalygin >:


On 11/14/2017 06:19 PM, Oscar Segarra wrote:


What I'm trying to do is reading documentation in order to
understand how features work and what are they for.

http://tracker.ceph.com/issues/15000



I would also be happy to read what features have negative sides.



The problem is that documentation is not detailed enough.

The proof-test method you suggest I think is not a good procedure
because I want to a void a corrpution in the future due to a bad
configuration


So my recommendation: if you can wait - may be from some side you
receive a new information about features. Otherwise - you can set
minimal features (like '3') - this is enough for virtualization
(snapshots, clones).

And start your project.

-- 
Best regards,

Konstantin Shalygin




___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Oscar Segarra
Hi,

I include Jason Dillaman, the creator of this post
http://tracker.ceph.com/issues/15000 in this thread

Thanks a lot

2017-11-14 12:47 GMT+01:00 Oscar Segarra :

> Hi Konstantin,
>
> Thanks a lot for your advice...
>
> I'm specially interested in feature "Exclusive locking". Enabling this
> feature can affect live/offline migration? In this scenario (online/offline
> migration)  I don't know if two hosts (source and destination) need access
> to the same rbd image at the same time
>
> It looks that enabling Exlucisve locking you can enable some other
> interessant features like "Object map" and/or "Fast diff" for backups.
>
> Thanks a lot!
>
> 2017-11-14 12:26 GMT+01:00 Konstantin Shalygin :
>
>> On 11/14/2017 06:19 PM, Oscar Segarra wrote:
>>
>> What I'm trying to do is reading documentation in order to understand how
>> features work and what are they for.
>>
>> http://tracker.ceph.com/issues/15000
>>
>>
>> I would also be happy to read what features have negative sides.
>>
>>
>> The problem is that documentation is not detailed enough.
>>
>> The proof-test method you suggest I think is not a good procedure because
>> I want to a void a corrpution in the future due to a bad configuration
>>
>>
>> So my recommendation: if you can wait - may be from some side you receive
>> a new information about features. Otherwise - you can set minimal features
>> (like '3') - this is enough for virtualization (snapshots, clones).
>>
>> And start your project.
>>
>> --
>> Best regards,
>> Konstantin Shalygin
>>
>>
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Oscar Segarra
Hi Konstantin,

Thanks a lot for your advice...

I'm specially interested in feature "Exclusive locking". Enabling this
feature can affect live/offline migration? In this scenario (online/offline
migration)  I don't know if two hosts (source and destination) need access
to the same rbd image at the same time

It looks that enabling Exlucisve locking you can enable some other
interessant features like "Object map" and/or "Fast diff" for backups.

Thanks a lot!

2017-11-14 12:26 GMT+01:00 Konstantin Shalygin :

> On 11/14/2017 06:19 PM, Oscar Segarra wrote:
>
> What I'm trying to do is reading documentation in order to understand how
> features work and what are they for.
>
> http://tracker.ceph.com/issues/15000
>
>
> I would also be happy to read what features have negative sides.
>
>
> The problem is that documentation is not detailed enough.
>
> The proof-test method you suggest I think is not a good procedure because
> I want to a void a corrpution in the future due to a bad configuration
>
>
> So my recommendation: if you can wait - may be from some side you receive
> a new information about features. Otherwise - you can set minimal features
> (like '3') - this is enough for virtualization (snapshots, clones).
>
> And start your project.
>
> --
> Best regards,
> Konstantin Shalygin
>
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Konstantin Shalygin

On 11/14/2017 06:19 PM, Oscar Segarra wrote:

What I'm trying to do is reading documentation in order to understand 
how features work and what are they for.


http://tracker.ceph.com/issues/15000


I would also be happy to read what features have negative sides.



The problem is that documentation is not detailed enough.

The proof-test method you suggest I think is not a good procedure 
because I want to a void a corrpution in the future due to a bad 
configuration


So my recommendation: if you can wait - may be from some side you 
receive a new information about features. Otherwise - you can set 
minimal features (like '3') - this is enough for virtualization 
(snapshots, clones).


And start your project.

--
Best regards,
Konstantin Shalygin

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Oscar Segarra
Hi Konstantin,

What I'm trying to do is reading documentation in order to understand how
features work and what are they for.

http://tracker.ceph.com/issues/15000

The problem is that documentation is not detailed enough.

The proof-test method you suggest I think is not a good procedure because I
want to a void a corrpution in the future due to a bad configuration

Thanks a lot,



2017-11-14 12:07 GMT+01:00 Konstantin Shalygin :

> I misunderstand you. If you at the testing/deploy stage - why you can't
> test what features you need and what supported by your librbd?
>
>
> On 11/14/2017 05:39 PM, Oscar Segarra wrote:
>
>> In this moment, I'm deploying and therefore I can upgrade every
>> component... I have recently executed "yum upgrade -y" in order to update
>> all operating system components.
>>
>> And please, apollogize me but In your lines I am not able to find the
>> answer to my questions.
>>
>> Please, can you clarify?
>>
>
> --
> Best regards,
> Konstantin Shalygin
>
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Konstantin Shalygin
I misunderstand you. If you at the testing/deploy stage - why you can't 
test what features you need and what supported by your librbd?



On 11/14/2017 05:39 PM, Oscar Segarra wrote:
In this moment, I'm deploying and therefore I can upgrade every 
component... I have recently executed "yum upgrade -y" in order to 
update all operating system components.


And please, apollogize me but In your lines I am not able to find the 
answer to my questions.


Please, can you clarify?


--
Best regards,
Konstantin Shalygin

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Konstantin Shalygin
For understanding: live migration is just the same run like clean run 
from powered off state, exception only the copying memory from one host 
to another, i.e. if your VM start from powered off state, than live 
migration should works without any issues.


Also, client must be compatible with the features, otherwise qemu will 
not be able to work with the rbd. For this reason, there is an option 
that indicates the default features when creating a volume - if not 
possible to upgrade librbd on host (or any other component), the 
features can be customized for the present librbd.



On 11/14/2017 04:41 PM, Oscar Segarra wrote:
Yes, but looks lots of features like snapshot, fast-diff require some 
other features... If I enable exclusive-locking or journaling, live 
migration will be possible too?


Is it recommended to set KVM disk "shareable" depending on the 
activated features?


--
Best regards,
Konstantin Shalygin

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-14 Thread Oscar Segarra
Hi,

Yes, but looks lots of features like snapshot, fast-diff require some other
features... If I enable exclusive-locking or journaling, live migration
will be possible too?

Is it recommended to set KVM disk "shareable" depending on the activated
features?

Thanks a lot!


2017-11-14 4:52 GMT+01:00 Konstantin Shalygin :

> I'd like to use the live migration feature of KVM. In this scenario, what
>> features may be enabled in the rbd base image? and in my EV (snapshot
>> clone)?
>>
>
> You can use live migration without features. For KVM I can recommend
> minimal "rbd default features = 3" (layering, striping).
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-13 Thread Konstantin Shalygin

I'd like to use the live migration feature of KVM. In this scenario, what
features may be enabled in the rbd base image? and in my EV (snapshot
clone)?


You can use live migration without features. For KVM I can recommend 
minimal "rbd default features = 3" (layering, striping).

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] features required for live migration

2017-11-10 Thread Oscar Segarra
Hi,

Anybody has experience with live migration features?

Thanks a lot in advance.

Óscar Segarra

El 7 nov. 2017 14:02, "Oscar Segarra"  escribió:

> Hi,
>
> In my environment I'm working with a 3 node ceph cluster based on Centos 7
> and KVM. My VM is a clone of a protected snapshot as is suggested in the
> following document:
>
> http://docs.ceph.com/docs/luminous/rbd/rbd-snapshot/#
> getting-started-with-layering
>
> I'd like to use the live migration feature of KVM. In this scenario, what
> features may be enabled in the rbd base image? and in my EV (snapshot
> clone)?
>
> http://tracker.ceph.com/issues/15000
>
> Thanks a lot in advance,
>
> Óscar Segarra
>
>
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com