VMware vRealize Operations UI sessions time out after 30 minutes of inactivity
search cancel

VMware vRealize Operations UI sessions time out after 30 minutes of inactivity

book

Article ID: 341368

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps to change the session timeout setting.

Symptoms:

  • By default, the vRealize Operations UI sessions timeout is 30 minutes.
  • vRealize Operations UI sessions time out after 30 minutes of inactivity.

Environment

VMware vRealize Operations Manager 6.1.x
VMware vRealize Operations Manager 6.3.x
VMware vRealize Operations Manager 6.2.x
VMware vRealize Operations Manager 6.4.x
VMware vRealize Operations Manager 6.0.x

Resolution

To resolve this issue, change the session timeout period for Standard and Advanced versions and set the session-timeout parameter to the required value in minutes for the desired timeout.

Notes
:
  • In vRealize Operations 5.8 and later, modifying the timeout value through the Admin Portal is not supported.
  • In vRealize Operations Manager 6.0.1 and later versions, to change the session timeout value go to Administration > Global Settings > Edit > Modify Session Timeout Value, enter the new value and click OK. The timeout value cannot be completely disabled in vRealize Operations Manager 6.x.
  • Disabling the session timeout setting is not supported in any version.
To modify the session timeout value:
  1. Log in to the vRealize Operations Manager vApp (formerly known as VMware vCenter Operations Manager vApp) UI VM.
  2. Ensure that a backup of the web.xml file is created prior to making these changes. Tomcat application does not load and the interface becomes inaccessible if an incorrect information is entered in the .xml file.
  3. Open this file using a text editor:

    • For the Standard UI – /usr/lib/vmware-vcops/tomcat/webapps/vcops-vsphere/WEB-INF/web.xml
    • For the Enterprise Custom UI – /usr/lib/vmware-vcops/tomcat-enterprise/webapps/vcops-custom/WEB-INF/web.xml
    • For the Admin Portal – /usr/lib/tomcat-ciqadmin/webapps/admin/WEB-INF/web.xml

    Note: In vRealize Operations Manager 6.0, there is only one UI and you have to edit this file:

    • /usr/lib/vmware-vcops/tomcat-web-app/webapps/vcops-web-ent/WEB-INF/web.xml

    Note: The file has to be edited on all Master/Master-Replica/Data nodes.

  4. 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 time out.

    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>


    Note: The /usr/lib/tomcat-ciqadmin/webapps/admin/WEB-INF/web.xml file does not have the session timeout tags by default. If the session timeout tag does not exist, add it manually in the web.xml file for the Admin Portal.


  5. Restart the web services:

    • /etc/init.d/vcopswebenterprise restart
    • /etc/init.d/vcopsweb restart
    • To restart the web services in VMware vRealize Operations Manager 6.0.x, run this command:

      /etc/init.d/vmware-vcops-web restart


Additional Information

The setting can be overwritten after a vRealize Operations Manager (formerly known as VMware vCenter Operations Manager) upgrade and may have to be reconfigured.