VeeamB&R and CSV

Hyper-V specific discussions

Re: Optimal job design

Veeam Logoby frankive » Fri Apr 24, 2015 1:41 pm

Seems like someone has the same question as me here: microsoft-hyper-v-f25/veeamb-r-and-csv-t22167.html
So I guess my post can be deleted/merged.

I use hardware snapshot lefthand, so it seems that 8 VMS pr. job which runs on the same hyper-v host is the optimal design?
frankive
Service Provider
 
Posts: 719
Liked: 86 times
Joined: Tue May 14, 2013 8:35 pm
Location: Norway
Full Name: Frank Iversen

Re: VeeamB&R and CSV

Veeam Logoby v.Eremin » Fri Apr 24, 2015 2:00 pm

Correct.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: VeeamB&R and CSV

Veeam Logoby frankive » Mon Apr 27, 2015 8:55 am 3 people like this post

Pretty cool. Reduced the backup time from 11 hours to 2 1/2 hour byt using 7 jobs with 8 VMS in each (VM on same host and same CSV) and parallel processing enabled.
frankive
Service Provider
 
Posts: 719
Liked: 86 times
Joined: Tue May 14, 2013 8:35 pm
Location: Norway
Full Name: Frank Iversen

Re: VeeamB&R and CSV

Veeam Logoby samh22a » Tue Apr 28, 2015 1:43 am

are you saying veeam can figure out where vm are located and then optimize the processing ?

let's say I backup 50 vm, located on 3 hosts with 5 different csv.. would veeam figure out the grouping and optimize the group in group of 8 vm located on the same csv/host ?

Thx
samh22a
Service Provider
 
Posts: 35
Liked: 2 times
Joined: Sun Nov 10, 2013 2:03 pm

Re: VeeamB&R and CSV

Veeam Logoby frankive » Tue Apr 28, 2015 12:00 pm

No. What I did was to create a job named "01 - NAME OF HYPER-V HOST - NAME OF CSV".
Then I included max 8 VM in this job and live migrated the VM to that speicif chost and made sure that the VM ALSO was located on that specified CSV.
So the hyper-v AND csv location dictaates which VM you put in the job.
I then creaate a backup copy job where I can choose longer retentions which I name: GFS (grand, father, son) - COMPANYNAME and choose the VM from the infrastructure.
Then Veeam will scna ALL jobs I have to find the backup data for that VM and I get to collect them logical in the backup copy job and it's naming.
frankive
Service Provider
 
Posts: 719
Liked: 86 times
Joined: Tue May 14, 2013 8:35 pm
Location: Norway
Full Name: Frank Iversen

Re: VeeamB&R and CSV

Veeam Logoby samh22a » Wed Apr 29, 2015 1:22 am

my point,is that I can't event think of doing this..

let's say, 12 nodes in the cluster , 20+ CSV

I do not want to start to live migration vm before a backup.. is there any other way ?
samh22a
Service Provider
 
Posts: 35
Liked: 2 times
Joined: Sun Nov 10, 2013 2:03 pm

Re: VeeamB&R and CSV

Veeam Logoby frankive » Wed Apr 29, 2015 9:20 am

Live migration of VM should not be a concern related to backup, it doesn't touch the CSV at all as far as I know, only the memory (RAM) during the migration.
If you are talking about store migrateion (csv to csv), I have never had any issued with this on my 2012 clusters. But I agree, I prefer to do storage migration AFTER a fresh backup, just in case.

I don't think there is another way to optimize Veeam backup to just use one snapshot if you are Hyper-V.

At least that is my conclusion based on the response from v. Eremin Fr 24.april 2015 3:00 p.m.
frankive
Service Provider
 
Posts: 719
Liked: 86 times
Joined: Tue May 14, 2013 8:35 pm
Location: Norway
Full Name: Frank Iversen

Re: VeeamB&R and CSV

Veeam Logoby jazzoberoi » Wed May 06, 2015 3:54 am

Hi Guys,

I'm having issues with backing up multiple VM's on the same Host & CSV using the 1 snapshot option.

Host 1 & CSV 1
VM: DC1001
VM: ERP1001

Host 2 & CSV 2
VM: FS1001
VM: PS1001
VM: SEC1001

EDIT: I've opened a support case as well and the case number is 00910583

Image

What can be the issue here ?
jazzoberoi
Enthusiast
 
Posts: 64
Liked: 13 times
Joined: Wed Oct 08, 2014 9:07 am
Full Name: Jazz Oberoi

Re: VeeamB&R and CSV

Veeam Logoby Lix » Wed May 06, 2015 9:21 am

Hi

Might not apply/be useful to all, but you can run this Powershell scrip to live migrate virtual machines to the host that currently owns a csv. As always, use at your own risk.

Works great on my 2-node 2012 R2 cluster containing 40x vm and 4x csv. Must be run on one of the cluster hosts.


Code: Select all
cls

$Cluster = Get-Cluster
$AllCSV = Get-ClusterSharedVolume -Cluster $Cluster

ForEach ($CSV in $AllCSV)

{
    write-output "$($CSV.Name) is owned by $($CSV.OWnernode.Name)"
   
    #We grab the friendly name of the CSV
    $CSVVolumeInfo = $CSV | Select -Expand SharedVolumeInfo
    $CSVPath = ($CSVVolumeInfo).FriendlyVolumeName

    #We deal with the \ being and escape character for string parsing.
    $FixedCSVPath = $CSVPath -replace '\\', '\\'

    #We grab all VMs that who's owner node is different from the CSV we're working with
    #From those we grab the ones that are located on the CSV we're working with
      $VMsToMove = Get-ClusterGroup | ? {($_.GroupType –eq 'VirtualMachine') -and ( $_.OwnerNode -ne $CSV.OWnernode.Name)} | Get-VM | Where-object {($_.path -match $FixedCSVPath)}
       
     
    ForEach ($VM in $VMsToMove)

    {
        write-output "`tThe VM $($VM.Name) located on $CSVPath is not running on host $($CSV.OwnerNode.Name) who owns that CSV"
        write-output "`tbut on $($VM.Computername). It will be live migrated."
        #Live migrate that VM off to the Node that owns the CSV it resides on
        Move-ClusterVirtualMachineRole -Name $VM.Name -MigrationType Live -Node $CSV.OWnernode.Name
    }
    }
Lix
Lurker
 
Posts: 1
Liked: never
Joined: Wed Jan 23, 2013 11:26 am
Full Name: Alexander Matre

Re: VeeamB&R and CSV

Veeam Logoby foggy » Wed May 06, 2015 11:35 am

Jazz, do you have the corresponding setting enabled? Is this a new job created in v8?
foggy
Veeam Software
 
Posts: 14742
Liked: 1079 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: VeeamB&R and CSV

Veeam Logoby jazzoberoi » Wed May 06, 2015 2:05 pm

Hi Foggy,

Not sure what happened there but in desperation to fix the issue i restarted both the Hosts in the Hyper-V Cluster.. and what do you know, it started working again :)

It seems to be making 1 snapshot on the SAN for all the VM's located on the same CSV as intended.. however, it's only making the snapshots 1 CSV at a time.

How can i make it create 1x snapshots for both the CSV's at the same time ?
jazzoberoi
Enthusiast
 
Posts: 64
Liked: 13 times
Joined: Wed Oct 08, 2014 9:07 am
Full Name: Jazz Oberoi

Re: VeeamB&R and CSV

Veeam Logoby jazzoberoi » Mon May 11, 2015 2:17 pm

Hi Foggy, Any clues ?

::
It seems to be making 1 snapshot on the SAN for all the VM's located on the same CSV as intended.. however, it's only making the snapshots 1 CSV at a time.

How can i make it create 1x snapshots for both the CSV's at the same time ?
jazzoberoi
Enthusiast
 
Posts: 64
Liked: 13 times
Joined: Wed Oct 08, 2014 9:07 am
Full Name: Jazz Oberoi

Re: VeeamB&R and CSV

Veeam Logoby RGijsen » Tue Oct 27, 2015 7:51 pm

jazzoberoi wrote:Hi Guys,

I'm having issues with backing up multiple VM's on the same Host & CSV using the 1 snapshot option.

Host 1 & CSV 1
VM: DC1001
VM: ERP1001

Host 2 & CSV 2
VM: FS1001
VM: PS1001
VM: SEC1001

EDIT: I've opened a support case as well and the case number is 00910583

What can be the issue here ?



Sorry for resurrecting this, but I'm having the exact same issue with out MSA2040 units. Exact same message about 95% of the times, then falling back to software CSV (as I noticed in the past it wouldn't work on the retry either and the backup would fail). What VSS / CAPI version do you have installed on your hosts? I'm running 3.2.0 build 16 of both VSS and CAPI drivers. The MSA2040 is running GL210R004 firmware, but I've had this issue with all older firmwares it ran. Also, when it DOES work, creating the hardware snapshot takes 2-3 minutes. Is that normal? The storage is done creating the snapshot in a few seconds, it seems Veeam is waiting for 3 minutes to 'see' it?
RGijsen
Enthusiast
 
Posts: 55
Liked: 4 times
Joined: Fri Oct 10, 2014 2:06 pm

Previous

Return to Microsoft Hyper-V



Who is online

Users browsing this forum: No registered users and 3 guests