VMware Cloud Community
mikejtucker
Contributor
Contributor

vrealize automation 7.5 session timeout

Author : pgilday

URL : http:////docs.vmware.com/en/vRealize-Automation/7.4/com.vmware.vra.install.upgrade.doc/GUID-E9C73169...

Topic Name : Set vRealize Automation appliance Session Timeout

Publication Name : Installing and Upgrading vRealize Automation

Product/Version : vRealize Automation/7.4

Question :

How do I change the sessions timeout for vrealize automation 7.5

0 Kudos
3 Replies
sk84
Expert
Expert

I have not tested it with 7.5, but with 7.4 it works like this:

Set vRealize Automation appliance Session Timeout

You can give it a try.

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.
0 Kudos
dzhelev
VMware Employee
VMware Employee

The procedure for changing the session timeout for vRA 7.5 is exactly the same as the one for 7.4, nothing was changed in that regard so you safely follow the guide for 7.4.

0 Kudos
kumar6384
Enthusiast
Enthusiast

Hi, check whether below code helps,

The vRealize Automation appliance default session timeout on user inactivity is 30 minutes. To adjust this timeout value to conform to your organization's security policy, edit the web.xml file on your vRealize Automation appliance host machine.

1. Open the /usr/lib/vcac/server/webapps/vcac/WEB-INF/web.xml file in a text editor.

2. Find session-config and set the session-timeout value. See the following code sample.

     <!-- 30 minutes session expiration time -->

     <session-config>

     <session-timeout>30</session-timeout>

     <tracking-mode>COOKIE</tracking-mode>

     <cookie-config>

     <path>/</path>

     </cookie-config>

     </session-config>

 

3. Restart the server by running the following command.

       service vcac-server restart

Enterprise Install of vRealize Automation

Web Services

Now we can do the vRealize Appliance URL. Edit the VIP and add an additional port of 8444 to the existing 443. Port 8444 is used for remote console access which is a useful access method that you might want. Change the persistence options to a source based method, with a timeout of 30 minutes just like we did for the web services. The load balancing method is going to be “Round Robin” like it has been for our other services, and then it’s time to do our health check again.

This time we want to look for a URL of /vcac/services/api/health with a GET method, and we’re only looking for a 200 or 204 response pattern back so nothing needs to be added in the “Reply Pattern” box.

0 Kudos