1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VZDump - KVM - Windows SBS 2008

Discussion in 'Proxmox VE 1.x: Installation and configuration' started by PeterLinuxGeek, Dec 11, 2009.

  1. PeterLinuxGeek

    PeterLinuxGeek New Member

    Joined:
    Aug 31, 2009
    Messages:
    19
    Likes Received:
    0
    Hi All,

    I've added a backup config to my small proxmox setup.
    There are 2 KVM instances, 1 winBlows SBS 2008 and a Ubuntu Linux.

    The backup is set to snapshot @ 1 am.

    The VMs were running fine until I activated the backup.
    Every morning after the backup ran I cannot connect to the SBS ...

    CPU for this VM is around 95%, the VNC console cannot connect. At one occurence the 'STOP' command didn't do anything and I had to reboot the whole server to get things back on track...

    Currently I am only backing up the Ubuntu VM without issues...

    I need to backup this winBlows VM... can I use snapshot?
    Is this a 'known' issue in VZDump / SBS 2008?

    Is there another option than stoping the VM - backing it up and restarting it...?

    Thanks

    Peter
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    14,568
    Likes Received:
    97
    What is the output of

    # pveperf

    (Please run when there is no load on the server)
     
  3. PeterLinuxGeek

    PeterLinuxGeek New Member

    Joined:
    Aug 31, 2009
    Messages:
    19
    Likes Received:
    0
    CPU BOGOMIPS: 11973.99
    REGEX/SECOND: 966817
    HD SIZE: 94.49 GB (/dev/pve/root)
    BUFFERED READS: 108.60 MB/sec
    AVERAGE SEEK TIME: 9.57 ms
    FSYNCS/SECOND: 1268.80
     
  4. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    14,568
    Likes Received:
    97
    And what version do you use exactly:

    # pveversion -v
     
  5. PeterLinuxGeek

    PeterLinuxGeek New Member

    Joined:
    Aug 31, 2009
    Messages:
    19
    Likes Received:
    0
    pve-manager: 1.4-10 (pve-manager/1.4/4403)
    qemu-server: 1.1-8
    pve-kernel: 2.6.24-16
    pve-qemu-kvm: 0.11.0-2
    pve-firmware: 1
    vncterm: 0.9-2
    vzctl: 3.0.23-1pve3
    vzdump: 1.2-5
    vzprocps: 2.0.11-1dso2
    vzquota: 3.0.11-1
     
  6. PeterLinuxGeek

    PeterLinuxGeek New Member

    Joined:
    Aug 31, 2009
    Messages:
    19
    Likes Received:
    0
    Stopped the VM
    Did a basic vzdump from the command line...

    It takes almost an our to complete... very odd, the Linux VM is backed up in 10 minutes...


    Log from last attempt to 'snapshot' while running:

    Dec 10 01:00:01 INFO: Starting Backup of VM 101 (qemu)
    Dec 10 01:00:01 INFO: running
    Dec 10 01:00:01 INFO: status = running
    Dec 10 01:00:11 INFO: backup mode: snapshot
    Dec 10 01:00:11 INFO: bandwidth limit: 10240 KB/s
    Dec 10 01:00:11 INFO: Logical volume "vzsnap-outside-0" created
    Dec 10 01:00:11 INFO: creating archive '/media/usb/vzdump-qemu-101-2009_12_10-01_00_01.tar'
    Dec 10 01:00:11 INFO: adding '/media/usb/vzdump-qemu-101-2009_12_10-01_00_01.tmp/qemu-server.conf' to archive ('qemu-server.conf')
    Dec 10 01:00:11 INFO: adding '/mnt/vzsnap0/images/101/vm-101-disk-1.qcow2' to archive ('vm-disk-ide0.qcow2')
    Dec 10 01:55:17 INFO: Total bytes written: 34663752704 (10.00 MiB/s)
    Dec 10 01:55:17 INFO: archive file size: 32.28GB
    Dec 10 01:55:17 INFO: delete old backup '/media/usb/vzdump-qemu-101-2009_12_09-01_00_02.tar'
    Dec 10 01:56:09 INFO: Logical volume "vzsnap-outside-0" successfully removed
    Dec 10 01:56:09 INFO: Finished Backup of VM 101 (00:56:08)

    Even when I stop the VM it takes this long...

    I am not a specialist, only a power-user (at best) but I can give certain people access to this box for testing if that helps the development of ProxMox...


    Peter
     
  7. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    14,568
    Likes Received:
    97
    You run vzdump wit a bandwith limit (10MB/s is the default limit)

    And this is the speed you get. Please read the manual page

    # man vzdump

    You can set the limit in the global config file /etc/vzdump.conf

    The limit is there to avoid to high loads on the server during backup.
     
  8. PeterLinuxGeek

    PeterLinuxGeek New Member

    Joined:
    Aug 31, 2009
    Messages:
    19
    Likes Received:
    0
    But a higher speed does not resolve the root of the problem.
    Windows SBS 2008 becomes unstable & unreachable after the backup ...

    I found another thread talking about allowing windows to shutdown without having to log on. I will test this and replace the 'snapshot' with a full stop/start of the VM

    Will report back in 2010
     

Share This Page