VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
7 Replies Last post: Aug 10, 2009 6:23 AM by alelondon  

Application / network timeouts committing a snapshot posted: Aug 20, 2008 1:26 AM

Click to view mattjk's profile Enthusiast 80 posts since
Dec 19, 2007

Has anyone else experienced problems committing snapshots, where during the commit process the VM gets paused (I/O pause I would assume) for long enough to interrupt clients' communicating with the VM?

We just tried to commit a ~50GB snapshot (about a week old), and several times during the process the VM paused for long enough to disconnect file shares, disconnect client applications that rely on daemons running in the VM, etc.

Cheers.

Click to view boostedevo's profile Novice 14 posts since
May 24, 2006

^ In my experience that's caused due to a lack of service console memory. Try upping your SC memory to 768MB or something. Good luck!
Click to view mike.laspina's profile Virtuoso 2,271 posts since
May 26, 2006

Hello,

Short time outs are to be expected when initiating and commiting the snapshot.

The larger delta file is the longer the time out will be.

Snapshots should only be used for a very short time.

e.g

Backing the parent files and config and then commit the snapshot.

You do not want them to grow, they will significantly degrade performance.

Snapshots are not backups, they are deltas of disk change and will significantly increase the disk I/O load of the storage subsystem.


Click to view boostedevo's profile Novice 14 posts since
May 24, 2006

Correct snapshots are NOT backups - you don't want to run on your snaps for very long. The Virtual Center Console operation will likely timeout, just keep watching the Datastore for the snaps to go away, then you know your good.

I think the original poster is having other issues than just the command timing out though, he loses connectivity to his guest VMs which is not good. I still suggest upping the Console memory.

Click to view mike.laspina's profile Virtuoso 2,271 posts since
May 26, 2006

Hello,

The loss of connectivity is due to the temp delta file commit time. When the snapshot is commited it creates a temp disk and mem file that holds all the changes since the delta vmdk started writing out to the parent vmdk. When the temp files are commited the VM will not respond until it's complete.

You are correct in adding memory to the COS resource pool it will help speed up the process and reduce the negative impact.

Click to view petedr's profile Master 1,408 posts since
Mar 18, 2006

Increasing the service console memory as has been suggested is definitely one good recommendation. Also what version and build of ESX are you running. I know there has been a number of snapshot related patches released by VMware for all of the 3.x versions, including some that addressed VMs losing connectivity for large snapshot commits.

This is kb article for a 3.5 patch that was released in May

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1004169&sliceId=2&docTypeID=DT_KB_1_1&dialogID=24280760&stateId=1%200%2024276892

Click to view alelondon's profile Enthusiast 28 posts since
Apr 13, 2006

Just to add to the thread... I had the same issue. ESX 3.5 Update 4 with all patches up to 30/07/2009.

In our case, the network drop happens more often when creating snapshots for Virtual Citrix servers. Less busier servers don't seem to experience this.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities