Snapshot Hunter

Availability for the Always-On Enterprise

Re: Snapshot Hunter

Veeam Logoby vmniels » Mon Dec 18, 2017 3:18 pm

Snapshot hunter will try to remove leftover snapshot. However consolidation issues/errors may still occur and this means you have another problem ongoing which needs to be resolved via VMware.

Snapshot hunter won't resolve the consolidation issue.
VCP-DCV
Veeam Certified Architect (VMCA)
http://foonet.be
vmniels
Veeam Software
 
Posts: 1880
Liked: 405 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Snapshot Hunter

Veeam Logoby baber » Sat Dec 30, 2017 2:08 pm

DGrinev wrote:Snapshot hunter retries to solve the issue with the orphaned snapshots every 4 hours, if the first try failed. So, 4 hour interval is set to wait for conditions to be changed before another try.
If all 4 retries failed, it will notify you by email and propose to solve the issue manually. Thanks!


realy confused
now want to know if start a job and after job finished the snapshot not deleted it will take 4 hours for delete that ?

BR
baber
Expert
 
Posts: 414
Liked: never
Joined: Thu Nov 21, 2013 12:02 pm
Full Name: Babak Saedi nejad

Re: Snapshot Hunter

Veeam Logoby tdewin » Sat Dec 30, 2017 6:17 pm

Snapshot hunter is only a rescue mechanism. Normally the snapshot is instantly removed as part of the backup job
tdewin
Veeam Software
 
Posts: 1270
Liked: 417 times
Joined: Fri Mar 02, 2012 1:40 pm
Full Name: Timothy Dewin

Re: Snapshot Hunter

Veeam Logoby baber » Sun Dec 31, 2017 4:50 am

So Thanks
I understand Snapshot Hunter will be start as part of backup - replication job but could not understand your means about this
" Snapshot hunter retries to solve the issue with the orphaned snapshots every 4 hours, if the first try failed. So, 4 hour interval is set to wait for conditions to be changed before another try "

my backup job will be start at 04:00 and will be finished at 05:00 maybe in this backup job appear with consolidate snapshots now backup time will be take 4 hours to solve conslidate or delete snapshot ?

BR
baber
Expert
 
Posts: 414
Liked: never
Joined: Thu Nov 21, 2013 12:02 pm
Full Name: Babak Saedi nejad

Re: Snapshot Hunter

Veeam Logoby tdewin » Sun Dec 31, 2017 10:21 am

No this is not how it works. In normal cases this is what happens:
1. Backup job makes snapshots
2. Backup job reads data for the backup
3. Backup job removes snapshots

However in some case the snapshot is not removed successfully. This is actually more of a VMware issue tbh. However to help our customers and to remove a burden from our support, we build snapshot hunter which will try to remove snapshots that are orphaned after the backup job has run. It is true Green Magic!

But if you don't feel confident about Snapshot hunter, and you don't want it, you can always disable it:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication
Value name: DisableAutoSnapshotConsolidation
Value type: DWORD
Value: 1 = disable consolidation, 0 = enable consolidation
tdewin
Veeam Software
 
Posts: 1270
Liked: 417 times
Joined: Fri Mar 02, 2012 1:40 pm
Full Name: Timothy Dewin

Re: Snapshot Hunter

Veeam Logoby baber » Sun Dec 31, 2017 3:29 pm

Dear friend
I understand your means i know snapshot hunter by default is enabled i don't want disable that but just i want to know if appear snapshot consolidate during backup job what does this means
" Snapshot hunter retries to solve the issue with the orphaned snapshots every 4 hours " when backup job finished and could not delete snapshot , snapshot hunter will be try to delete snapshot for 4 hours?

BR
baber
Expert
 
Posts: 414
Liked: never
Joined: Thu Nov 21, 2013 12:02 pm
Full Name: Babak Saedi nejad

Re: Snapshot Hunter

Veeam Logoby foggy » Sun Dec 31, 2017 4:28 pm

It will perform 4 attempts with 4 hours periods.
foggy
Veeam Software
 
Posts: 16225
Liked: 1296 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Snapshot Hunter

Veeam Logoby baber » Sun Dec 31, 2017 4:50 pm

is that your means if my backup job finished with consolidate snapshot at 04:00 oclock
snapshot hunter will be start automatically at 08:00 oclock ?

BR
baber
Expert
 
Posts: 414
Liked: never
Joined: Thu Nov 21, 2013 12:02 pm
Full Name: Babak Saedi nejad

Re: Snapshot Hunter

Veeam Logoby foggy » Sun Dec 31, 2017 5:07 pm

I believe that the first consolidation attempt is performed right after the job and, in case it fails, the next one is scheduled in 4 hours.
foggy
Veeam Software
 
Posts: 16225
Liked: 1296 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Snapshot Hunter

Veeam Logoby baber » Sun Dec 31, 2017 6:19 pm

foggy wrote:I believe that the first consolidation attempt is performed right after the job and, in case it fails, the next one is scheduled in 4 hours.


how can i change that interval time for example check after 1 hours instead of 4 hours?

BR
Babak
baber
Expert
 
Posts: 414
Liked: never
Joined: Thu Nov 21, 2013 12:02 pm
Full Name: Babak Saedi nejad

Re: Snapshot Hunter

Veeam Logoby vmniels » Mon Jan 01, 2018 4:24 pm

It is not possible to change this interval. If there is a leftover snapshot which can’t be deleted after 4 tries (16 hours total, 4x4) it means something is blocking it and this should be resolved via VMware support.
VCP-DCV
Veeam Certified Architect (VMCA)
http://foonet.be
vmniels
Veeam Software
 
Posts: 1880
Liked: 405 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

Re: Snapshot Hunter

Veeam Logoby tsightler » Tue Jan 02, 2018 3:09 am

Actually, I'm pretty sure it's possible to change the interval with the ViSnapshotConsolidationRetryIntervalMinutes registry key. The default for this is 240 minutes, which represents the 4 hour interval. I will admit I haven't tested this though.
tsightler
Veeam Software
 
Posts: 5064
Liked: 1991 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler

Re: Snapshot Hunter

Veeam Logoby baber » Tue Jan 02, 2018 5:36 am

foggy wrote:I believe that the first consolidation attempt is performed right after the job and, in case it fails, the next one is scheduled in 4 hours.


is that your means after 4 hours it will be show such as a job in veeam?

BR
baber
Expert
 
Posts: 414
Liked: never
Joined: Thu Nov 21, 2013 12:02 pm
Full Name: Babak Saedi nejad

Re: Snapshot Hunter

Veeam Logoby Shestakov » Tue Jan 02, 2018 10:00 am

The snapshot consolidation procedure will be started 4 times with a 4-hour interval.
If all attempts fail, VBR sends an e-mail notification informing that you need to manually troubleshoot the problem. Note that you need to have the global email notifications option enabled.
Shestakov
Veeam Software
 
Posts: 5758
Liked: 493 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Snapshot Hunter

Veeam Logoby vmniels » Tue Jan 02, 2018 2:32 pm

Snapshot hunter is not a seperate job, it runs together in a backup job.
VCP-DCV
Veeam Certified Architect (VMCA)
http://foonet.be
vmniels
Veeam Software
 
Posts: 1880
Liked: 405 times
Joined: Mon Jul 15, 2013 11:09 am
Full Name: Niels Engelen

PreviousNext

Return to Veeam Backup & Replication



Who is online

Users browsing this forum: daniel.triplehorn, davidwatts71, Giacomo_N, jhoughes, tdamon74 and 79 guests

cron