VMware {code} Community
deepakmits
Contributor
Contributor

What is default session timeout for VC ?

Please let me know what is the default session time out for a VC?

Thanks in advance

Reply
0 Kudos
6 Replies
dmn0211
Enthusiast
Enthusiast

In Virutal Center, Administration, Virtual Center Management Server Configuration, Timeout Settings.

Normal Operation is 60 Seconds.

Long Operation is 240 Minutes

Reply
0 Kudos
dmn0211
Enthusiast
Enthusiast

You might be looking for this.

http://communities.vmware.com/blogs/froboy/2008/03/27/session-keeper

Here's a script that will create a session, save it to a session file and keep it alive. If at any time the session is terminated, the script will create a new session and new session file.

Usage: SessionKeeper.pl --server <servername> --file <session_filename_to_be_saved>

Reply
0 Kudos
Steve_Jin
Expert
Expert

I assume you talked about the user session timeout. The default is 30 minutes.

Steve JIN, VMware Engineering

Creator of VI Java API: http://vijava.sf.net

Steve JIN Author of VMware VI and vSphere SDK; Creator of open source VI Java API (http://vijava.sf.net); Blogger at http://www.doublecloud.org
deepakmits
Contributor
Contributor

Yes I was Worried about the User Session timeout. thanks for the response.

how can we reconfigure it. Please let me know.

Reply
0 Kudos
Steve_Jin
Expert
Expert

Check the VC configuration file: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\vpxd.cfg

Add <soap>*** as follows:

<config>

<vmacore>

<threadpool>

<TaskMax> 10 </TaskMax>

</threadpool>

<soap><sessionTimeout>60</sessionTimeout></soap>

</vmacore>

</config>

NOTE: RESTART THE VC SERVER after the change.

Steve JIN, VMware Engineering

Creator of VI Java API:

Steve JIN Author of VMware VI and vSphere SDK; Creator of open source VI Java API (http://vijava.sf.net); Blogger at http://www.doublecloud.org
deepakmits
Contributor
Contributor

THanks a lot for the response.

Reply
0 Kudos