Re: [ovirt-users] Snapshot of the Self-Hosted Engine

2018-03-28 Thread FERNANDO FREDIANI
Hello Sven and all.

Yes storage does have the snapshot function and could be possibility be
used, but I was wondering a even easier way through the oVirt Node CLI or
something similar that can use the qcow2 image snapshot to do that with the
Self-Hosted Engine in Global Maintenance.

I used to run the oVirt Engine in a Libvirt KVM Virtual Machine in a
separate Host and it has always been extremely handy to have this feature.
There has been times where the upgrade was not successfully and just
turning off the VM, starting it from snapshot saved my day.

Regards
Fernando

2018-03-27 14:14 GMT-03:00 Sven Achtelik :

> Hi Fernando,
>
>
>
> depending on where you’re having your storage you could set everything to
> global maintenance, stop the vm and copy the disk image. Or if your storage
> systeme is able to do snapshots you could use that function once the engine
> is stopped. It’s the easiest way I can think of right now. What kind of
> storage are you using ?
>
>
>
> Sven
>
>
>
> *Von:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *Im
> Auftrag von *FERNANDO FREDIANI
> *Gesendet:* Dienstag, 27. März 2018 15:24
> *An:* users
> *Betreff:* [ovirt-users] Snapshot of the Self-Hosted Engine
>
>
>
> Hello
>
> Is it possible to snapshot the Self-Hosted Engine before an Upgrade ? If
> so how ?
>
> Thanks
>
> Fernando
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot of the Self-Hosted Engine

2018-03-28 Thread Simone Tiraboschi
On Wed, Mar 28, 2018 at 9:13 AM, Yedidyah Bar David  wrote:

> On Tue, Mar 27, 2018 at 4:23 PM, FERNANDO FREDIANI
>  wrote:
> > Hello
> >
> > Is it possible to snapshot the Self-Hosted Engine before an Upgrade ? If
> so
> > how ?
>
> I do not think so - I do not think anything changed since this:
>
> http://lists.ovirt.org/pipermail/users/2016-November/044103.html
>
> I agree it sounds like a useful thing to have. Not sure how hard it
> can be to implement it. Feel free to open an RFE bz.
>

We are using a disk lease to prevent split brains, AFAIK snapshots are not
compatible with disk leases.


>
> Basically, we'll have to:
>
> 1. Make sure everything continues to work sensibly - engine/vdsm do
> the right things, ha agent works as expected, etc.
>
> 2. Provide means to start the vm from a snapshot, and/or revert to a
> snapshot. This is going to be quite ugly, because it will have to
> duplicate in ovirt-hosted-engine-setup/-ha functionality that already
> exists in the engine, because at that point the engine is not
> available to assist with this.
>
> Best regards,
> --
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot of the Self-Hosted Engine

2018-03-28 Thread Yedidyah Bar David
On Tue, Mar 27, 2018 at 4:23 PM, FERNANDO FREDIANI
 wrote:
> Hello
>
> Is it possible to snapshot the Self-Hosted Engine before an Upgrade ? If so
> how ?

I do not think so - I do not think anything changed since this:

http://lists.ovirt.org/pipermail/users/2016-November/044103.html

I agree it sounds like a useful thing to have. Not sure how hard it
can be to implement it. Feel free to open an RFE bz.

Basically, we'll have to:

1. Make sure everything continues to work sensibly - engine/vdsm do
the right things, ha agent works as expected, etc.

2. Provide means to start the vm from a snapshot, and/or revert to a
snapshot. This is going to be quite ugly, because it will have to
duplicate in ovirt-hosted-engine-setup/-ha functionality that already
exists in the engine, because at that point the engine is not
available to assist with this.

Best regards,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Snapshot of the Self-Hosted Engine

2018-03-27 Thread FERNANDO FREDIANI
Hello

Is it possible to snapshot the Self-Hosted Engine before an Upgrade ? If so
how ?

Thanks
Fernando
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users