SPICE | vCenter & ESXi Patching Guide - UMCST/SPICE-user-info GitHub Wiki
Patching vCenter
-
patch vCenter via the management console found at:
https://[hostname].:5480
-
Once here select “Updates” from the left
-
Search for updates
-
Update with the latest patch
Patching ESXi hosts through vCenter
-
Power down all VMs safely
-
Enter maintenance mode
-
Menu > Lifecycle manager
-
Remediation process includes a REBOOT
Patching ESXi via SSH
Prerequisites
-
Power down VMs
-
Maintenance mode
-
Enable SSH(disable after use)
- Web UI > Manage > Services > TSM-SSH > Start
Option 1: Direct internet connection The following have commands generated for different patch releases:
When the use of a web proxy is needed:
web proxy config –proxy=http://<proxy-url:port>
- Ensure prerequisites are in place
Option 2: Offline bundle .zip
-
Ensure prerequisites are in place
-
Upload zip to local datastore on host
- scp or web interface
-
Verify path of uploaded zip from CLI
- Datastores are at /vmfs/volumes/ by UUID and display label
-
Run upgrade command
esxcli software vib update -d /vmfs/volumes/<DATASTORE-UUID>/VMware-ESXi*.zip
-
There is often no output from command when run
-
To check for success or error, monitor /var/log/esxupdate.log
-
Example complete message:
-
Reboot
- Depending on the host and hardware, can take several minutes
-
Verify upgrade success
-
CLI:
esxcli system version get
-
Web UI > Host > System Information
-
REF:
Patching ESXi via ISO
Prerequisites
-
Power down VMs
-
Maintenance mode
-
Power down host
Direct network connection to IPMI needed for supermicro servers with java virtual media
-
Open console via IPMI java viewer
-
Use virtual media function to “plug in” ISO file
-
Power on server, and wait for white supermicro screen
-
Continually press F11 until bottom left of screen reports “invoking boot menu” (often best to open the virtual media keyboard
-
In the blue menu, select the virtual media item
-
It may take a long time to boot the ISO
-
Follow the steps as if a new install. Select the drive with the existing VMware installation. When the drive is selected, it should provide an upgrade option
-
Reboot server once the process is complete. “Plug out” the ISO from the virtual media window before reobooting