By default, the UI session for VRealize Operations is timed out to 30 minutes.
The UI session time-out occurs after the VRealize Operations is idle for 30 minutes.
To resolve this issue, change the session time-out period for standard and advanced versions, and set the Session-timeout parameter to the desired time-out minute value.
Attention:
In VRealize Operations 5.8 and later versions, modifying the timeout value through the management portal is not supported.
From VRealize Operations Manager 6.0.1, you can use the UI to change the session time-out value from the Administration > Global Settings page. In VRealize Operations Manager 6.0.x, the timeout value cannot be completely disabled.
Disabling session timeout settings is not supported for any version.
To modify the session timeout value, do the following:
1. Log in to the VRealize Operations Manager Vapp (formerly known as the VMware vCenter Operations manager vapp) UI virtual machine.
2. Make sure to create a backup of the Web. xml file before making these changes. If the information entered in the. xml file is incorrect, the TOMCAT application does not load and the interface is inaccessible.
3. Open the following file using a text editor:
For standard Ui–/usr/lib/vmware-vcops/tomcat/webapps/vcops-vsphere/web-inf/web.xml
For enterprise Custom Ui–/usr/lib/vmware-vcops/tomcat-enterprise/webapps/vcops-custom/web-inf/web.xml
For the management 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 need to edit the following files:
/usr/lib/vmware-vcops/tomcat-web-app/webapps/vcops-web-ent/web-inf/web.xml #Operations manager6.x Environment
/usr/lib/vmware-vcops/tomcat/webapps/vcops-vsphere/web-inf/web.xml #Operations manager5.x Environment
Note: This file must be edited on all master/master replica nodes/data nodes.
4. Locate the Session-config parameter and change it to :
<session-config>
<session-timeout>value</session-timeout>
</session-config>
Where value is the minute value and the session will time out after that length.
For example, to set the session to timeout after 60 minutes, change this parameter to:
<session-config>
<session-timeout>60</session-timeout>
</session-config>
Note: By default, the/usr/lib/tomcat-ciqadmin/webapps/admin/web-inf/web.xml file does not have a session timeout token. If the session timeout token does not exist, manually add the tag to the Web. xml file in the management portal.
5. Restart the WEB service:
/etc/init.d/vcopswebenterprise Restart
/etc/init.d/vcopsweb restart
To restart the Web service in VMware vRealize Operations Manager 6.0.x, run the following command:
/etc/init.d/vmware-vcops-web restart
UI Session timeout occurs after 30 minutes of inactivity in VMware vRealize Operations