Re: [ClusterLabs] Antw: Re: snapshots in a clvm environment - some questions for proceeding

2017-03-01 Thread Lentes, Bernd

> 
> Actually that's what we are doing, but at some point in the past I had ruined
> the directory with the VM images (user error). THe problem then was that you
> need a running VM to restore files inside the VM. This is when you would like
> to have a crash-consistent backup image of your VM. However I found no working
> solution yet (we have VM images hosted on OCFS2, hosted on a cLVM LV).
> 
> Regards,
> Ulrich
> 
>> 

With OCFS2 you could snapshot (i think they call it reflink) the Image file.

Bernd 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671


___
Users mailing list: Users@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] Antw: Re: snapshots in a clvm environment - some questions for proceeding

2017-03-01 Thread Lentes, Bernd

- On Mar 1, 2017, at 8:11 AM, Ulrich Windl 
ulrich.wi...@rz.uni-regensburg.de wrote:

 Digimer  schrieb am 24.02.2017 um 19:20 in Nachricht
> <8762afa9-0f45-04c7-2404-565dcabf9...@alteeve.ca>:
> 
> [...]
>> Aside from this, I strongly recommend against snapshots as a backup
>> mechanism anyway. There is no way to ensure that that operating system
>> and applications are in a clean state when you take the snapshot, so
>> using the image is like recovering from sudden power loss. If data was
>> in cache but not flushed out, you could have corruption.
>> 
>> If you can't stop your VMs, I'd recommend using a backup application
>> inside the VM that knows how to ensure that your apps and the OS are in
>> a clean state, particularly for DBs.
> 
> Actually that's what we are doing, but at some point in the past I had ruined
> the directory with the VM images (user error). THe problem then was that you
> need a running VM to restore files inside the VM. This is when you would like
> to have a crash-consistent backup image of your VM. However I found no working
> solution yet (we have VM images hosted on OCFS2, hosted on a cLVM LV).
> 

I changed the approach. Inside the vm i have also lv's. When changing 
configuration inside the vm
i will snapshot inside. 


Bernd
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671


___
Users mailing list: Users@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[ClusterLabs] Antw: Re: snapshots in a clvm environment - some questions for proceeding

2017-02-28 Thread Ulrich Windl
>>> Digimer  schrieb am 24.02.2017 um 19:20 in Nachricht
<8762afa9-0f45-04c7-2404-565dcabf9...@alteeve.ca>:

[...]
> Aside from this, I strongly recommend against snapshots as a backup
> mechanism anyway. There is no way to ensure that that operating system
> and applications are in a clean state when you take the snapshot, so
> using the image is like recovering from sudden power loss. If data was
> in cache but not flushed out, you could have corruption.
> 
> If you can't stop your VMs, I'd recommend using a backup application
> inside the VM that knows how to ensure that your apps and the OS are in
> a clean state, particularly for DBs.

Actually that's what we are doing, but at some point in the past I had ruined
the directory with the VM images (user error). THe problem then was that you
need a running VM to restore files inside the VM. This is when you would like
to have a crash-consistent backup image of your VM. However I found no working
solution yet (we have VM images hosted on OCFS2, hosted on a cLVM LV).

Regards,
Ulrich

> 
> -- 
> Digimer
> Papers and Projects: https://alteeve.com/w/ 
> "I am, somehow, less interested in the weight and convolutions of
> Einstein’s brain than in the near certainty that people of equal talent
> have lived and died in cotton fields and sweatshops." - Stephen Jay Gould
> 
> ___
> Users mailing list: Users@clusterlabs.org 
> http://lists.clusterlabs.org/mailman/listinfo/users 
> 
> Project Home: http://www.clusterlabs.org 
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
> Bugs: http://bugs.clusterlabs.org 




___
Users mailing list: Users@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org