ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

How-to Change or disable vCenter Operations Manager default timeout session

By Vladan SEGET | Last Updated: June 16, 2014

Shares

I recently installed the latest VMware vCenter Operations Manager (VCOPS). Nice product but the quite anoying for me was the default timeout session limit which is by default fixed only to 30 min. It means that every time when you want to check VCOPS dashboard you basically have to log back in as you're logged out most of the time. Unless you don't quit the dashboard all the day long, which is not really realistic. There is a way How-to Change or disable vCenter Operations Manager default timeout.

The VCOPS vAPP has two VMs and the settings can be done on the UI VM which is the one which has a web server front end which manages the authentication. We will use Putty to SSH into that VM to modify a value.

How-to Change or disable vCenter Operations Manager default timeout

To change the session timeout period for Standard and Advanced versions, set the parameter to the required value in minutes for the desired timeout.

01. Do an SSH with putty to the UI VM of the vCOPS vAPP.

02. Open the web.xml file in putty, which is located on the path below (for a Standard version of VCOPS).

How-to Change or disable vCenter Operations Manager default timeout

Once you open the file you will have to scroll down for quite while to locate the line where you'll find the  <session-config> section. It's exactly this section which interest us.

To disable the session timeout, set the parameter to -1.

How-to Change or disable vCenter Operations Manager default timeout

There are two different versions of VCOPs and the changes has to be done at different paths:

For the Standard UI – /usr/lib/vmware-vcops/tomcat/webapps/vcops-vsphere/WEB-INF/web.xml
For the Enterprise Custom UI – /usr/lib/vmware-vcops/tomcat-enterprise/webapps/vcops-custom/WEB-INF/web.xml

Note: If you don't want to completely deactivate the timeout session, you can change the default value to some greater number. Where value is any value in minutes after which you want the session to timeout.

Example: to set the session to time out after 4 hours, you would change this parameter to 240

03. Restart the web services. Again, two versions of the command. In my case see below, if not see further down for the enterprise version.

How-to Change or disable vCenter Operations Manager default timeout

/etc/init.d/vcopswebenterprise restart

/etc/init.d/vcopsweb restart

Note that I usually CD into the folder before executing the command. Hope it helps -:).

Source: VMware KB 2015135

Update: You might want to check this – How-to Change or Disable Session Timeout in LogInsight

Shares
Vote !

| Filed Under: Server Virtualization Tagged With: How-to Change or disable vCenter Operations Manager default timeout session, VCOPS default timeout, vcops timeout

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Drew says

    May 30, 2014 at 7:39 pm

    Another great “feature” is that this value gets reset back to default each time you upgrade VCOPS.

    • Vladan SEGET says

      May 31, 2014 at 9:09 am

      True -:). One must keep this in mind when upgrading.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in