Availability for the Always-On Enterprise
vmniels
Veeam Software
Posts: 1971
Liked: 431 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Snapshot Hunter

Post by vmniels » 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

baber
Expert
Posts: 452
Liked: never
Joined: Nov 21, 2013 12:02 pm
Full Name: Babak Seyedi nejad
Contact:

Re: Snapshot Hunter

Post by baber » 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

tdewin
Veeam Software
Posts: 1307
Liked: 427 times
Joined: Mar 02, 2012 1:40 pm
Full Name: Timothy Dewin
Contact:

Re: Snapshot Hunter

Post by tdewin » 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

baber
Expert
Posts: 452
Liked: never
Joined: Nov 21, 2013 12:02 pm
Full Name: Babak Seyedi nejad
Contact:

Re: Snapshot Hunter

Post by baber » 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

tdewin
Veeam Software
Posts: 1307
Liked: 427 times
Joined: Mar 02, 2012 1:40 pm
Full Name: Timothy Dewin
Contact:

Re: Snapshot Hunter

Post by tdewin » 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

baber
Expert
Posts: 452
Liked: never
Joined: Nov 21, 2013 12:02 pm
Full Name: Babak Seyedi nejad
Contact:

Re: Snapshot Hunter

Post by baber » 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

foggy
Veeam Software
Posts: 16711
Liked: 1346 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Snapshot Hunter

Post by foggy » Dec 31, 2017 4:28 pm

It will perform 4 attempts with 4 hours periods.

baber
Expert
Posts: 452
Liked: never
Joined: Nov 21, 2013 12:02 pm
Full Name: Babak Seyedi nejad
Contact:

Re: Snapshot Hunter

Post by baber » 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

foggy
Veeam Software
Posts: 16711
Liked: 1346 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Snapshot Hunter

Post by foggy » 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.

baber
Expert
Posts: 452
Liked: never
Joined: Nov 21, 2013 12:02 pm
Full Name: Babak Seyedi nejad
Contact:

Re: Snapshot Hunter

Post by baber » 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

vmniels
Veeam Software
Posts: 1971
Liked: 431 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Snapshot Hunter

Post by vmniels » 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

tsightler
Veeam Software
Posts: 5168
Liked: 2057 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Snapshot Hunter

Post by tsightler » 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.

baber
Expert
Posts: 452
Liked: never
Joined: Nov 21, 2013 12:02 pm
Full Name: Babak Seyedi nejad
Contact:

Re: Snapshot Hunter

Post by baber » 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

Shestakov
Veeam Software
Posts: 5932
Liked: 514 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Snapshot Hunter

Post by Shestakov » 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.

vmniels
Veeam Software
Posts: 1971
Liked: 431 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Snapshot Hunter

Post by vmniels » 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

Post Reply

Who is online

Users browsing this forum: JimmyO and 57 guests