Solution 1:

You mentioned:

I have been unable to find a 30 minute session timeout which I can tweak in the script. I attempted to remove or increase the Web Session Timeout in PowerCLI without success:>

Please try this, as it looks like the timeout from the vcenter host itself.

vpxd.cfg file

To configure the timeout and maximum number of sessions:

Open the vpxd.cfg file using a text editor.

The vpxd.cfg file is located at: Windows XP: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\vpxd.cfg Windows Server 2003: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\vpxd.cfg Windows Server 2008: C:\ProgramData\VMware\VMware VirtualCenter\vpxd.cfg

Locate the tag within the file. Set the maxSessionCount and sessionTimeout parameters.

For example:

... 500 30

Note: The session timeout value is specified in minutes. In vCenter Server 2.5.x, the default values are 30 minutes and 100 sessions. You also may need to restart the VMware VirtualCenter Server service after making this change.

  • vCenter Server logs report the error: SOAP session count limit reached (2004663)