Changing or disabling the UI session timeout for vCenter Operations Manager vApp

Symptoms

By default, the vCenter Operations UI sessions timeout after 30 minutes of inactivity.
This article provides steps to change or disable this setting.

Resolution

To change the session timeout period for Standard and Advanced versions, set the <session-timeout> parameter to the required value in minutes for the desired timeout.
To disable the session timeout, set the <session-timeout> parameter to -1.

To change or disable the session timeout:
  1. Log in to the vCenter Operations Manager vApp UI VM.

  2. Open this file using a text editor:

    • For the Standard UI �C /usr/lib/vmware-vcops/tomcat/webapps/vcops-vsphere/WEB-INF/web.xml

    • For the Enterprise Custom UI �C /usr/lib/vmware-vcops/tomcat-enterprise/webapps/vcops-custom/WEB-INF/web.xml


  3. Locate the <session-config> parameter and change this to:

    <session-config>

    <session-timeout>value</session-timeout>

    </session-config>

    Where value is any value in minutes after which you want the session to timeout.

    For example:

    • To set the session to time out after 60 minutes, change this parameter to:

      <session-config>

      <session-timeout>60</session-timeout>

      </session-config>


    • To disable session timeout, change this parameter to:

      <session-config>

      <session-timeout>-1</session-timeout>

      </session-config>


  4. Restart the web services:

    • /etc/init.d/vcopswebenterprise restart

    • /etc/init.d/vcopsweb restart



你可能感兴趣的:(session,vcops)