Modifying session timeout in vRealize Automation 7.x

The default timeout value for web sessions to the vRealize Automation console is 30 minutes, this can be a nuisance for anyone attempting to work in vRA as this is not measured based on inactive time, but rather on the time since the user logged in. If a user is in the middle of something when they reach the 30 minute mark after they’d logged in, they will be automatically logged out, this is not ideal.

The file /usr/lib/vcac/server/webapps/vcac/WEB-INF/web.xml  has an xml tag <session-timeout>  which can be modified to another value (in minutes).

Here are the steps for modifying that:

  1. SSH to the vRealize Automation  7.x appliance as root
  2. Make a copy of the web.xml configuration file previously mentioned
  3. Modify the value between the session-timeout xml tags. This can be done using a text editor like vi, or using the sed utility, which I will show below
  4. Reboot the appliance

Commands

Example Output

vRA Timeout Change

NOTE: You may need to clear your browser cache after rebooting vRA to pick up the new timeout value.

Share:

Leave a Reply

Your email address will not be published. Required fields are marked *