[pve-devel] consistent backups / snapshots
    Alexandre DERUMIER 
    aderumier at odiso.com
       
    Thu Nov 22 15:58:42 CET 2012
    
    
  
>>uh so you mean patches for qemu-server which enable qga? NICE ;-) will 
>>search the web. 
http://pve.proxmox.com/pipermail/pve-devel/2012-September/003822.html 
http://pve.proxmox.com/pipermail/pve-devel/2012-September/003839.html
Feel free to improve it ;) 
(Main part was PVE/QGAClient.pm, copied and hacked from PVE/QMPCLient.pm).
Maybe we can merge both cleanly.
----- Mail original ----- 
De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 22 Novembre 2012 15:29:08 
Objet: Re: [pve-devel] consistent backups / snapshots 
Am 22.11.2012 15:12, schrieb Alexandre DERUMIER: 
> Am 22.11.2012 14:41, schrieb Alexandre DERUMIER: 
>> I see 2 ways : 
>> 
>> - snapshot with vmstate. (so pending write in memory are saved). 
> 
>>> Does this work with rbd snap? 
> 
> Yes. (Dietmar has implemented it with creating a rbd volume to store the vmstate). 
> Just try with the proxmox gui ;) 
I want to mount this exported disk elsewhere - so a memory copy does not 
help to me. 
>> - implement qemu guest agent qmp protocol ,and send fs-freeze qmp command to freeze the filesystem, before doing the snapshot. 
>> (I have seny some prelimary patches some months ago, need to be polish) 
> 
>>> Patches? this sounds experimental - patches for guest kernel? For qemu? 
> 
> patches for pve-qemu-server ;) 
uh so you mean patches for qemu-server which enable qga? NICE ;-) will 
search the web. 
> http://wiki.qemu.org/Features/QAPI/GuestAgent 
> 
> - First, you need to install qemu-ga deamon in your guest. 
> - then pass 
> -chardev qga_proxy,id=qga0 \ 
> -device virtio-serial \ 
> -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 
> -qmp tcp:localhost:4444,server 
> 
> to kvm command line. 
> 
> and then implemented the qemu-ga protocol. 
> (It's like qmp, but with some minor changes in protocol (check the wiki) 
Stefan 
    
    
More information about the pve-devel
mailing list