Thursday, January 10, 2019

Modifying vSphere Web Client and HTML5 Client session timeout – VCSA 6.X

vSphere and HTML clients comes with a 120 minutes timeout.
For our Non-PROD infra we decided to set it to 24 hrs which is 1440 in minutes.
below are the steps
1) SSH to VCSA
If SSH is not enabled, you may do it from Appliance Management Page
Access it at VCSA-IP:5480
3) Below are the config file locations for vSphere 6.5 and 6.7
Web Client – /etc/vmware/vsphere-client/
HTML5 Client – /etc/vmware/vsphere-ui/
4) Config file name is “webclient.properties“. You need to open this file and look for “session.timeout” and change  value to your desired time out value in minuted. For me it’s 1440, which is 24 Hrs like I mentioned.
vi /etc/vmware/vsphere-client/webclient.properties
Do the same for  HTML5 client at
vi /etc/vmware/vsphere-ui/webclient.properties
5) Now it’s time to restart services for the change to take affect.
service-control –stop vspherewebclientsvc
service-control –stop vsphere-client
service-control –start vspherewebclientsvc
service-control –start vsphere-client
Done!