Showing posts with label vsphere web client. Show all posts
Showing posts with label vsphere web client. Show all posts

Friday, April 7, 2017

Stop logging me out of the vSphere Web Client!!

I know VMware has increase the default timeout value in vSphere 5.5 & higher to 120 minutes, but for me, slowly prying my cold dead fingers off the old .NET, C# Windows vSphere Client, it's not long enough ... so here's how to increase it.

I'm pulling the basic information from KB 2040626.  Click here.

Increasing the VMware vSphere Web Client session timeout period

Changes need to be performed on the server/VM hosting vCenter Server.

File locations depending on version:

     vCenter Server 5.x
     Windows 2003 – %ALLUSERSPROFILE%\Application Data\VMware\vSphere Web Client
     Windows 2008/2012 – %ALLUSERSPROFILE%\VMware\vSphere Web Client
     VMware vCenter Server Appliance (VCSA) – /var/lib/vmware/vsphere-client

     vCenter Server 6.x
     Windows 2008/2012 – C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client
     VMware vCenter Server Appliance (VCSA) – 
/etc/vmware/vsphere-client/

Add this line to the file:
          Note: If the line already exists, verify that the line does not contain a hash (#).

    session.timeout = value
          where value is the timeout value in minutes.

          For example, to set the timeout value to 300 minutes, add the line:

    session.timeout = 300
          Note: To set the client to never time out, specify a negative value or 0.

Restart the vSphere Web Client Services: 

  • In Windows operating systems, restart the VMware vSphere Web Client service.
  • In the VCSA (vCenter Server Appliance), restart the vsphere-client service.


Note: To restart the vSphere Web Client Service, run these commands:
In the vCenter Server Appliance 5.x:
/etc/init.d/vsphere-client restart
In vCenter Server Appliance 6.x:
service-control --stop vsphere-client
service-control --start vsphere-client


Friday, February 24, 2017

Fix that Damn Enhanced Authentication Plugin in Any Browser!

Enhanced Authentication Plugin Driving you Nuts?


Update May 2017:  To use with Chrome & Firefox, add a step.

Navigate to https://vmware-plugin:8094 and Advanced and then Proceed.

Note: For this who are interested, the reason your machine is able to resolve https://vmware-plugin is because during the installation of the plugin your hosts file is manipulated to point vmware-plugin to 127.0.0.1

Once you’ve done this, you’ll be able to check the Use Windows session authentication box and carry on as you had previously.


------------ End of May update

Well I have the answer for you here. 🙂

Now that you've finished installing or upgrading to vSphere 6.5, no matter what browser you use, IE, Firefox, Chrome, Edge, the damn checkbox for the Enhanced Authentication Plugin won't show up and the link to download it is still there.

The simple answer is that you need to TRUST the root CA certificates from YOUR vCenter server.

Uninstall the plugins from your workstation.  Some people claim to uninstall all old ones from previous versions, including the old Client Integration plugins, etc..  I'm not convinced that's necessary.  I just uninstalled the pair of programs related to the Enhanced Authentication plugin:

  • Open up your browser and point it to your vCenter server https://<VC or VCFQDN>/ 
  • Click on "Download trusted root CA certificates".  They are actually downloaded from YOUR VMCA (VMware Certificate Authority).
 
  • Download and Extract the ZIP file.
  • The certificates in the .\certs folder need to be installed as "Trusted Root Authorities".
  • If you extracted the download.zip file to the download folder, you will have a directory structure for Windows workstations like ".\download\certs\win".
In that folder you will see a series of files like these:

  • For each file that ends in .crt, Right click on it and Choose Install Certificate
  • Click Open if you receive a Security Warning
  • Choose "Local Machine" as the "Store Location"
  • Select "Place all certificates in the following store", Click Browse
  • Click "Trusted Root Certificate Authorities", Click OK, Click Next
  • Click Finish, Click OK on the "Import was Successful" popup
  • Repeat for each .crt file.
  • Reopen your browser pointing to the https://VC/vsphere-client, Download and install the "Enhanced Authentication Plugin"
  • Restart your workstation.
The plugin should now work in your browser of choice...

Happy Administering!





Wednesday, March 6, 2013

Webinar Announcement – Is vSphere® the Best Hypervisor out there?


Who will have bragging rights? vSphere® or Hyper-V?
VMTraining is launching a new webinar series sure to get some input from the many experts across the industry. Register today for the first of a series of three webinars pitting vSphere® and Hyper-V head to head! Who will come out on top?


In the ever expanding world of virtualization many companies claim the top spot! How can we be sure we are making a good business decision in the virtualization choice we are making? Some say Hyper-V some say Red Hat but we are saying vSphere®! Actually this month we will argue the point for vSphere® and in our next webinar we will attempt to prove that Hyper-V owns that top spot. This series will be fun and provide some great technical components that will help you understand the real difference between vSphere® and Hyper-V. We will also have a 3rd webinar in the series that will pit the presenters head to head on a no holds barred discussion of vSphere® vs. Hyper-V. Join in the excitement as we tackle this controversial issue.

Tuesday, March 5, 2013

vSphere® 5.1 UltimateBootcamp

vSphere® 5.1 UltimateBootcamp 
Prior to the release of vSphere® 5.1 the VMTraining team began work to update the course to include all the latest technologies that were released in August by VMware™. Even though these updates were considered minor the changes to what we as administrators have seen may be considered major! There are new additions that cannot be performed through the standard vSphere® Client! That was a sad day for me, now I am forced to use the vSphere® client and the new web client. Regardless our dedicated team has put together some great content and labs in the newly updated vSphere® 5.1 Ultimate Bootcamp. They have included the Single Sign-On Service and Inventory service we all need to deal with during an install. These components have both pros and cons, which have been addressed by our technical team! They have also added the improvements made to the storage interaction. And of course they have added labs using the vSphere® Web Client! Check out the new outline and feel free to ask our experts questions on the VMTraining Forum!