WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple

A Pretty Cool Method of Upgrading to ESXi 5.1

09.18.2012 by William Lam // 44 Comments

I recently came across an interesting article by Andreas Peetz which shows you how to patch an ESXi host using an image profile that is directly available on VMware's online depot within the ESXi shell. I knew that VMware had online depots for use with VUM and Auto Deploy but I was not aware of this particular method, especially directly from the host.

Disclaimer: This method assumes you can install the default ESXi Image Profile with no additional drivers or packages, else you may have connectivity issue after the upgrade. If you still need to customize the ESXi Image Profile before installation, you will still need to use something like Image Builder and then upload that to your online depot.

Note: There are many ways that you can patch/upgrade your ESXi hosts, here is another article that provides more details for command-line only methods.

Before you get started, you will need to make sure that your ESXi host has the httpClient firewall rule enabled, else you will not be able to connect to VMware's online depot. To enable this, run the following ESXCLI command:

esxcli network firewall ruleset set -e true -r httpClient

Also make sure that your ESXi host can reach the following URL (you can specify a proxy if needed):

https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

To view the available ESXi Image Profiles, run the following ESXCLI command (use the --proxy if you need to specify a proxy to reach VMware's online depot):

esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

If you are able to successfully connect to the online depot, you see a list of all the ESXi Image Profiles that are available to you. You will see two ESXi 5.1 Image Profiles (these were recently published), one with VMware Tools and one without VMware Tools.

Note: Before you begin, make sure you do not have any running VMs and put your host into maintenance mode.

Let's go ahead and upgrade our ESXi 5.0 Update 1 host to latest ESXi 5.1. To install the new Image Profile, run the following command:

esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.1.0-799733-standard

This can take a few minutes to complete depending on how fast you can pull down the Image Profile. Once it is done, you will see all the new VIBs that have been updated and you will be asked to reboot for the changes to go into effect and then you will be running ESXi 5.1! Pretty cool IMO!

Categories // ESXi, vSphere Tags // esxcli, ESXi 5.1, firewall, image profile, upgrade, vSphere 5.1, vSphere 5.5

vCloud Director 5.1 Introduces "Open in vSphere Web Client" & Task Correlation ... Awesomeness!

09.13.2012 by William Lam // Leave a Comment

Have you ever had to troubleshoot something in vCloud Director such as looking into a particular vApp and then realizing you needed to jump over to the vSphere environment to continue troubleshooting? This meant you had to perform a separate login to your vSphere environment and most likely using a different set of credentials and then find the set of Virtual Machines that made up that vCloud Director vApp ... painful and annoying right? Wish you could just right click and jump straight to that vApp construct in vSphere?

Well, now you can with the latest release of vCloud Director 5.1 which introduces a new option called "Open in vSphere Web Client".

In the screenshot above, I have a vCloud Director vApp which contains 3 Virtual Machines and I want to jump straight to that object in the vSphere Web Client. To do so, simply right click on the object and select "Open in vSphere Web Client".

This will open up a new browser to the vSphere Web Client and locate the object in the appropriate vCenter Server and automatically log you in using the new vCenter SSO. Pretty cool huh!? This new option is not just limited to vCloud Director vApps and VMs, but applies to any vSphere object found within vCloud Director.

Note: You will need to be a System Administrator in vCloud Director to perform this operation as you will need access to the vSphere infrastructure.

Another challenge that you might have faced while troubleshooting in vCloud Director is to be able to correlate the tasks generated from vCloud Director and map those back to vSphere tasks in vCenter Server. This is not a trivial thing to do and required you to jump between vCloud Director and vCenter Server manually correlating the tasks. In vCloud Director 5.1, this has been enhanced by providing users with a single view for a given vCloud Director task and all the associated vSphere tasks that were created.

When you open a given vCloud Director task, you will be defaulted to the vCloud Director task details as you would expect. In the same view, there is also a new tab called vSphere Tasks which contains all the vCenter Server tasks generated from that given vCloud Director task.
As you can see from these two enhancements, you will be able to quickly and easily view all tasks that have taken place between vCloud Director and vCenter Server, all from a single location. If you need to drill down further into the vSphere layer, it is simply a right click and you will be taken directly to the vSphere object in the vSphere Web Client without having to provide additional credentials.

Categories // vSphere Tags // sso, vcloud director 5.1, vSphere 5.1, vsphere web client

Configuring New vSphere Web Client Session Timeout

09.10.2012 by William Lam // 5 Comments

Just like you could in the old vSphere C# Client, users can also configure a session timeout for the new vSphere Web Client in the latest release of vSphere 5.1. This not only ensures that idle sessions automatically disconnect after a certain period of time but also helps reduce the resources consumed on the vCenter Server as each session allocates a certain amount of resources.

To configure the session timeout, you will need to login to the server running the vSphere Web Client service (which is usually your vCenter Server) and find the webclient.properties file and change the default timeout and then restart the vSphere Web Client service. For the VCSA, the default timeout value is 120 minutes and I assume it is the same default for the Windows vCenter Server.

Step 1 - Locate the webclient.properties file:

    VCSA 5.x

/var/lib/vmware/vsphere-client/webclient.properties

    VCSA 6.x

/etc/vmware/vsphere-client/webclient.properties

    Windows vCenter Server 5.x

%ALLUSERPROFILE%\VMware\vCenterServer\cfg\vsphere-client\webclient.properties

    Windows vCenter Server 6.x

%ALLUSERPROFILE%\VMware\vSphere Web Client\webclient.properties

Step 2 - Un-comment and change session.timeout value to desired value:

session.timeout = 120

Step 3 - Restart the vSphere Web Client Service:

/etc/init.d/vsphere-client restart

You will need to restart the vSphere Web Client service for the changes to go into effect. For the Windows vCenter Server, just restart the vSphere Web Client service and for the VCSA, run the above command.

In my lab, I configured the time out to be 1 minute, once the session has gone idle for the configured period, you will automatically be logged out and brought back to login page with the following message:

 

Categories // vSphere Tags // session, sso, timeout, vSphere 5.1, vSphere 5.5, vsphere web client

  • « Previous Page
  • 1
  • …
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VCF 9.0 Fleet Latency Diagram 12/11/2025
  • Quick Tip - Downloading VMware Cloud Foundation (VCF) Consumption CLI for Air-Gapped Environments 12/10/2025
  • Automating VCF Operations Objects & Metrics Reporting 12/08/2025
  • Quick Tip - Using VCF CLI to login to vSphere Supervisor when configured with VCF Automation 12/05/2025
  • Automating the Reporting of VCF Workload Domain Import Pre-Check Validations 12/04/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025