[PVE-User] vzdump: how to backup server state

Holger Ernst he at ernstdatenmedien.de
Tue Feb 14 10:10:42 CET 2012


Hi Alain,

You can also 'live migrate' without central storage. The machine will be suspended then all the disc content and RAM and cpu state will be transmitted then you wake up the vm on the other host. This might take some time so it is not very 'live' but you will have to use this method also when migrating with a central storage because transmitting 8 Gig RAM or so will also take some time. So anyway RAM and machine state has to be send and of cause it can be stored in a file (try dumping /proc/kcore for a starter). So could one do with backup...

Regards, Holger

-----Ursprüngliche Nachricht-----
Von: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] Im Auftrag von Alain Péan
Gesendet: Montag, 13. Februar 2012 13:33
An: pve-user at pve.proxmox.com
Betreff: Re: [PVE-User] vzdump: how to backup server state

Hi Holger,

You can only backup a file. You can imagine store the Ram content in a 
file (that is what is done with hiberfil.sys under windows), and backup 
that one, but it is not a frequent option. In fact, I never saw that for 
backup.

With LVM, you take a snapshot of the VM file system, and this frozen 
file system is backuped to another storage (NFS...).

For Live Migration, you have a central storage (iSCSI, FC, NFS, 
DRDB...), and you don't move the VM files, and indeed copy only the Ram 
and machine state to another machine, but it is not used for backup 
purpose, and I don't know if it is done in any virtualization solution 
(VMWare ?).

Regards,
Alain

Le 13/02/2012 13:21, Holger Ernst a écrit :
> But when you transfer a running machine to another cluster member there
> is a transfer of the current machine state too!
> So technically it should be possible to save ram content and cpu/machine
> state...
>
> Regards, Holger
>
> --------------
> Il 13/02/2012 09:40, Simone Ruffilli ha scritto:
>> Hi,
>> I'm running a 3-machines cluster of proxmox-1.9, primarily for KVM
>> virtualization.
>>
>> I would like hot backup the VMs, saving the machine state. Is that
> possible?
>
> If you're referring to Snapshot support in QEMU [1][2], when relying on
> QCOW2 storage format, it seems that it isn't directly supported by
> ProxMox.
> As for ProxMox, it seems that the "Snapshot" support is always related
> to
> the underlying LVM kernel support. As such, it cover "only" storage
> issues.
>
> At least, this is what I understood from a thread discussed last month
> on
> this very same list [3].
>
> Bye,
> DV
>
> [1] http://wiki.qemu.org/Features/Snapshots
> [2]
> https://events.linuxfoundation.org/slides/2011/linuxcon-japan/lcj2011_so
> rensen.pdf
> [3] http://pve.proxmox.com/pipermail/pve-user/2012-January/003024.html
>
> - -- 
> Damiano Verzulli
> e-mail: damiano at verzulli.it
> - ---
> possible?ok:while(!possible){open_mindedness++}
> - ---
> "Technical people tend to fall into two categories: Specialists
> and Generalists. The Specialist learns more and more about a
> narrower and narrower field, until he eventually, in the limit,
> knows everything about nothing. The Generalist learns less and
> less about a wider and wider field, until eventually he knows
> nothing about everything." - William Stucke - AfrISPA
>
> http://elists.isoc.org/mailman/private/pubsoft/2007-December/001935.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk84/YIACgkQcwT9fsMT4Sy9YwCeLA/GNEDoermvI1Q33F1gCxbS
> k+wAn1nNbOYYEdZO6hK0lQxXW0hkKN3Z
> =jQnU
> -----END PGP SIGNATURE-----
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
>
>
>
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user


-- 
==========================================================
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==========================================================

_______________________________________________
pve-user mailing list
pve-user at pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user









More information about the pve-user mailing list