In the second part of series about upgrading VMware ESXi 5.* to 6.0 I will cover esxcli upgrade.
In order to upgrade ESXi Server using esxcli we must download ESXi image from VMware website.
- You can easily find it by going to VMware website and selecting Download section. Then choose vSphere and click Download.
- Select Go to downloads
- Choose download method and login to your account.
- Accept VMware End User License Agreement and click Accept.
- Download will start.
Upload offline bundle to ESXi host
After we successfully downloaded VMware ESXi offline bundle we need to upload it to our ESXi host.
- Before we will do it you need to enable SSH in Security Profile of ESXi server.
- Use your favorite SCP client to upload offline bundle zip file. I use WinSCP.
VMware ESXi upgrade via esxcli
Once we have ESXi offline bundle on local disk we can start upgrade.
- Enter maintenance mode on Server you will upgrade. It can be done via GUI or command line. Since we will do command line upgrade let’s enter maintenance via ssh.
Shell1esxcli system maintenanceMode set --enable on
- You can verify if maintenance mode is enabled by executing following command.
Shell1esxcli system maintenanceMode get
- We can now proceed with upgrade. Execute following command to upgrade your ESXi Server.
Shell1esxcli software vib update --depot=/vmfs/volumes/datastore/ESXi600-201507001.zip
- After a minute your ESXi Server will be upgraded – we just need to reboot it.
- Server is rebooting.
- And we successfully upgraded ESXi 5.5 to ESXi 6.0.
As you see upgrade of VMware ESXi from version 5.* to version 6.0 without so much effort.
My experience and skills have been proven by leading vendor certifications like AWS, Alibaba Cloud, VMware, and Microsoft. I contribute to the IT community and I received VMware vExpert 2014 - 2019, vExpert Pro and VMware vExpert NSX 2017 Award.
My blog wojcieh.net - was voted #76 in Top vBlog 2018 contest!
Do what you love, and you’ll never work another day in your life.
Latest posts by Wojciech Marusiak (see all)
- Top vBlog 2018 is there! - 20 November, 2018
- Zentyal – my new Homelab Swiss Army Knife - 10 October, 2018
- Send VMware backups to the cloud – Altaro Offsite Copies to an Azure Cloud Storage - 18 September, 2018