VMWare Desktops under Virtual Desktop Infrastructure not recyling properly (Doc ID 1311636.1)

Last updated on DECEMBER 07, 2015

Applies to:

Oracle Virtual Desktop Infrastructure - Version 3.2.2 and later
Information in this document applies to any platform.
***Checked for relevance on 27-Jan-2014***

Symptoms

When using Virtual Desktop Infrastructure  (VDI) and users disconnect from a Desktop in a pool with a recycle policy of "snapshot", the  Virtual Machine should recycle to original snapshot.  This is not happening. Instead, a:

 Could not connect job

error is displayed.

To be sure that the Desktop in question is part of a Pool with a recycle policy of "snapshot" you can run this command on one of your VDI core servers as root.  (The final argument on the command line is the name of the pool in question.  The pool, 'test', below was used just as an example.  Please replace it in your testing with the name of the pool that is experiencing this problem.)


bash-3.00# /opt/SUNWvda/sbin/vda pool-getprops -p recycle-policy test
Recycle Policy: snapshot




Cacao logs may have messages similar to this:

Apr 5, 2011 1:51:15 PM com.sun.vda.service.core.SystemMonitorMgr$1PowerStateRetriever run
WARNING: Could not retrieve Desktop PowerStates for DesktopProvider[id=11].
com.sun.vda.service.api.ServiceException: Error executing remote command on host <VMWare server FQDN> at port 443.
at com.sun.vda.service.vmware.VCConnection.retrieveProperties(VCConnection.java:247)
at com.sun.vda.service.vmware.VCConnection.retrievePropertiesAndMissingObjects(VCConnection.java:259)
at com.sun.vda.service.vmware.VCDesktopProvider.getPowerStates(VCDesktopProvider.java:1762)
at com.sun.vda.service.core.SystemMonitorMgr$1PowerStateRetriever.run(SystemMonitorMgr.java:917)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.net.SocketException: Connection reset



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms