Thursday, March 29, 2012

Modify Timeout in vC Ops vSphere UI

If you're using vC Ops 5 you may have noticed there's a timeout for the vSphere UI login.  Kind of a pain if you're wanting to display the "skittles" view at your NOC or on an extra monitor at your workstation.  While there's no way to configure this timeout in the UI, you can change the timeout or set it to unlimited by modification of an XML file on the UI VM.

On the UI VM the file /usr/lib/vmware-vcops/tomcat/webapps/vcops-vsphere/WEB-INF/web.xml contains the setting in the section (conveniently near the top of the file).  By default it is 30 minutes.  Setting it to -1 will make it unlimited.  From the web.xml file -

Session timeout is measured in minutes. Use '-1' to have infinite session.

Simply modify the file using vi or editor of your choice.  You'll need to restart your vC Ops service:

vcops-admin restart

1 comment:

  1. Thanks man, now I can use this on a big monitor as a dashboard :)

    ReplyDelete