Wednesday, April 28, 2021

Disable vSphere client session timeout for monitoring purposes

 One of the usual ways of monitoring network infrastructures is checking the environment via many web-based consoles, directly in a 24*7 real-time NOC unit. vSphere web client and its built-in Performance section inside the Monitor tab for the VI's components monitoring is one of the most beneficial tools however, you certainly know it will automatically log out and terminate the currently connected session after an idle period. So it's possible to modify the timeout duration via editing webclient.properties file in the VCSA Shell and change the value like the following way:

 

cd /etc/vmware/vsphere-client

vi webclient.properties   

Change the session.timeout value from 120 to 0 if you need to disable the idle timeout logout operation. Then type :wq to save and quit the vi editor.

 

Finally login to the VAMI console (vcsa:5480) and restart the "vsphere client web service", or do it with CLI by running:

service-control --stop vsphere-ui | service-control --start vsphere-ui

 

 

No comments:

Post a Comment

I will start a new journey soon ...