To change the user session timeout in vCloud Availability, perform the following steps:
- SSH to the vApp Replication Manager as root.
- Navigate to the cloud service config directory:
cd /opt/vmware/h4/cloud/config/
- Take a backup of the application.properties file:
cp application.properties application.properties.YYYY-MM-DD.bak
- Edit the application.properties file with a text editor, such as vi.
- At the bottom of the file add the following lines:
# Custom timeout settings
session.timeout=1800000
session.maxage=86400000
Note: The timeout values are in milliseconds and the default idle and maximum session timeouts are 30 minutes and 24 hours respectively.
- Save the modified application.properties file.
- Log into the vCloud Availability Provider Portal.
- In the left pane, click System Monitoring.
- Under System health, click Restart Service.
Note: Some pages in the vCloud Availability Portal refresh regularly to ensure you have up-to-date information on the system health and replication statuses. These pages send HTTP requests in the background keeping the user session alive past the idle timeout, even if there is no direct interaction in the browser from the user.