Net Assured

Net Assured

Network and Security Consultancy

T 07789 400408
Email: info@netassured.co.uk

Net Assured Limited
84 Goodacre, Orton Goldhay, Peterborough, PE2 5LZ

  • Home
  • Services
  • Blog
  • About
  • Contact
FREEQUOTE

Upgrade a VMware ESXi host that VCSA is running on

Sunday, 25 March 2018 / Published in Networking, Security

Upgrade a VMware ESXi host that VCSA is running on

How do you upgrade a VMware ESXi host that VCSA is running on? well, you can not use VCSA VUM (vCenter Server Appliance, VMware Update Manager). In this case we have a chicken and the egg problem. This is due to maintenance mode required on the host prior to patching but maintenance mode requires VCSA to be powered down.

My Google-Fu lead me to a few ways this problem is solved. Basically you have to play musical hosts with VCSA, kind of like a little puzzle.

Options

  1. Upgrade the host that’s running VCSA directly from the host using CLI (probably your only option if you only have a single host)
  2. Deploy VCSA to shared storage, upgrade a host then move the VCSA compute source only to the newly patched host. Then Patch the other hosts.
  3. Use VCSA to upgrade a host then clone VCSA to the newly upgraded host (you can clone VCSA itself whilst sill powered up)
  4. Don’t bother with upgrades and patching and risk getting owned

The option I use in my lab

Upgrading the host via the CLI seems horrible to me so option 1 was out. I do not have shared storage so option 2 is also out. Given I have 2 ESXi hosts in my lab I use option 3.

This is the process I follow to patch host1 and host 2

  1. Assuming VCSA is currently running on host1 upgrade host2 using VCSA VUM
  2. Once host2 is upgraded and back online clone VCSA from host1 to host2 (you can use VCSA to clone itself to another host)
  3. Shutdown the VCSA running on host1 that you just used to clone to host2
  4. Power up the cloned version of VCSA on host2
  5. Upgrade host1 using VCSA VUM

VCSA will then remain on host2 until the next round of VMware upgrades and patching is required. At which point VCSA will once again reside on host1 for a while. Like I said, musical hosts with VCSA.

If anyone can enlighten me on more efficient method I’m listening 🙂

 

Categories

  • Automation
  • Networking
  • Security
  • Starlink
  • Ubiquiti UniFi

NEWSLETTER SIGNUP

By subscribing to our mailing list you will always be updated with the latest news from us.

We never spam!

Menu

  • Home
  • Services
  • Blog
  • About
  • Contact
  • Privacy Policy
  • Cookie Policy

Get In Touch

T 07789 400408
Email: info@netassured.co.uk
NET ASSURED LIMITED
84 Goodacre | Orton Goldhay
Peterborough | PE2 5LZ
Company Registration: 9480811
VAT Registration: 207 5161 32
  • GET SOCIAL

© 2015 - 2026 Copyright by Net Assured Limited | All rights reserved

TOP
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behaviour or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}