Host-based backup of VMware vSphere VMs.
Post Reply
Vasko
Influencer
Posts: 11
Liked: 1 time
Joined: Oct 31, 2013 12:11 pm
Full Name: Felix Geschwindner
Contact:

vCenter Linux Guest Pre-Freeze Snapshot Timeout

Post by Vasko »

Hi Guys,

I searched google and these very forums. But nothing I found was related to linux quiesce:

I'm using Veeam B&R for backing up a debian linux guest which has several databases on it. In order to create a dump of the database, I'm making use of the pre-freeze/post-thaw scripts. Now the Problem is, that the script takes about 30mins. However the snapshot get's a timeout after 15mins (See vmware.log of said machine).

Is there a way to increase the timout to 30+min? Or am I mistaken and the timeout is not the cause?

vmware.log:

Code: Select all

2013-11-06T09:27:22.670Z| vmx| I120: SnapshotVMX_TakeSnapshot start: 'VEEAM BACKUP TEMPORARY SNAPSHOT', deviceState=0, lazy=0, logging=0, quiesced=1, forceNative=0, tryNative=1, sibling=0 saveAllocMaps=0 cb=11155540, cbData=326030D0
2013-11-06T09:27:22.772Z| vcpu-1| I120: ToolsBackup: changing quiesce state: IDLE -> STARTED
2013-11-06T09:28:00.931Z| vmx| I120: GuestRpcSendTimedOut: message to toolbox-dnd timed out.
2013-11-06T09:28:00.987Z| vmx| I120: GuestRpcSendTimedOut: message to toolbox-dnd timed out.
2013-11-06T09:28:01.051Z| vmx| I120: GuestRpcSendTimedOut: message to toolbox-dnd timed out.
2013-11-06T09:42:22.679Z| vmx| I120: Msg_Post: Warning
2013-11-06T09:42:22.679Z| vmx| I120: [msg.snapshot.quiesce.timeout] Timed out while quiescing the virtual machine.
2013-11-06T09:42:22.679Z| vmx| I120: ----------------------------------------
2013-11-06T09:42:22.684Z| vmx| I120: ToolsBackup: changing quiesce state: STARTED -> DONE
2013-11-06T09:42:22.684Z| vmx| I120: SnapshotVMXTakeSnapshotComplete: Done with snapshot 'VEEAM BACKUP TEMPORARY SNAPSHOT': 0
2013-11-06T09:42:22.684Z| vmx| I120: SnapshotVMXTakeSnapshotComplete: Snapshot 0 failed: Failed to quiesce the virtual machine (40).
Thanks in advance,
Vasko
dellock6
VeeaMVP
Posts: 6165
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: vCenter Linux Guest Pre-Freeze Snapshot Timeout

Post by dellock6 » 1 person likes this post

The snapshot creation timeout happens in vCenter, but have you checked if maybe the snapshot itself is beeing made in the ESXi holding that VM? It's a known problem on vCenter, look here:
http://kb.vmware.com/selfservice/micros ... Id=1004790

A super quick workaround so would be to point Veeam directly to the single ESXi server, and create the snapshot from there.

For extending vCenter default timeouts, look here:
http://kb.vmware.com/selfservice/micros ... Id=1017253

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Vasko
Influencer
Posts: 11
Liked: 1 time
Joined: Oct 31, 2013 12:11 pm
Full Name: Felix Geschwindner
Contact:

Re: vCenter Linux Guest Pre-Freeze Snapshot Timeout

Post by Vasko »

dellock6 wrote:A super quick workaround so would be to point Veeam directly to the single ESXi server, and create the snapshot from there.

For extending vCenter default timeouts, look here:
http://kb.vmware.com/selfservice/micros ... Id=1017253
That was exactly what I was looking for. Thank you! I will try it later.

Greetings,
Vasko
Vasko
Influencer
Posts: 11
Liked: 1 time
Joined: Oct 31, 2013 12:11 pm
Full Name: Felix Geschwindner
Contact:

Re: vCenter Linux Guest Pre-Freeze Snapshot Timeout

Post by Vasko »

So, I changed the timeout values exactly as described here in both, the vCenter Server and the ESXi Host and restarted them afterwards.

But nothing changed. The Backup fails exactly after 15 Minutes and the vmware.log shows the "Timed out while quiescing the virtual machine." error.

Any suggestions?
DominikM
Influencer
Posts: 19
Liked: 4 times
Joined: Nov 19, 2014 12:44 pm
Full Name: Dominik Meier
Location: Switzerland
Contact:

Re: vCenter Linux Guest Pre-Freeze Snapshot Timeout

Post by DominikM »

Hi Vasko

Do you solved the Problem? I'm having the exact same issue here.
I applied everything discribed in this VMware KB: kb.vmware.com/kb/1017253

Let me know..
foggy
Veeam Software
Posts: 21138
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: vCenter Linux Guest Pre-Freeze Snapshot Timeout

Post by foggy »

Dominik, I would consult VMware on why timeout values do not take any effect and how to configure them properly.
mdaleyccri
Lurker
Posts: 1
Liked: 1 time
Joined: Aug 18, 2020 2:55 pm
Full Name: Michael Daley
Contact:

Re: vCenter Linux Guest Pre-Freeze Snapshot Timeout

Post by mdaleyccri » 1 person likes this post

Just got a resolution to this issue on our site.
Add the following to the vmx configuration. 1200 is the number of seconds to wait.
"snapshot.quiesce.timeout"= "1200"

I believe you still need to extend the vpxd timeout in vcenter for this to work, but have not confirmed that.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Salzi and 52 guests