Tag Archives: esxi

Upgrade vCenter Server Appliance (VCSA) and ESXi

Upgrade vCenter

Vcenter

Best practices is always to upgrade vCenter before your ESXi hosts. Download the ISO and upload to your Datastore.

Attach the ISO to the vCenter VM.

Mount ISO

Mount ISO

Use Putty to connect to your VCSA and run the following command:

software-packages install --iso --acceptEulas

step 3

4

reboot -r updates
exit

5
6

Update ESXi – Fast Method

This is the fastest way, but requires a decent internet connection.

Shut down all your running VM’s and enter Maintenance Mode.

Use Putty to connect to your ESXi host and run the following command:

esxcli network firewall ruleset set -e true -r httpClient
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
esxcli software profile update -p ESXi-6.0.0-20160104001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

updaet esxi

reboot
exit

Install PFX certificate on ESXi host

1. Install OpenSSL version 0.9.8 for windows, you can get it from below link:
http://slproweb.com/download/Win32OpenSSL_Light-0_9_8zb.exe
2. Install it on a windows machine. By default, OpenSSL will be installed to C:OpenSSL
3. Copy the pfx certificates into folder C:OpenSSLbin
4. Run command line as administrator, and go to folder C:OpenSSLBin
5. Use below command to covert the certificate:
a. Generate crypt key file for the certificate via below command:

openssl pkcs12 -in server.pfx -nocerts -out server_tmp.key 

During this step, it will ask for pfx certificate password and the pass phrase for the key. Use any word you like as the pass phrase, do not use blank pass phrase.
Then use below command to decrypt the key. In this step it will ask you the pass phase you used before.

openssl rsa -in server_tmp.key  -out server.key

b. Generate crt file for the certificate via below command:

openssl pkcs12 -in server.infau.wbcau.westpac.com.au.pfx -clcerts -nokeys -out server.crt 

6. Done. Now you can install the certificate for ESXi host

Update ESXi from version 3.5 to 4.0

This page documents the process to update ESXi from version 3.5 to 4.0 if you have a standalone host or do not use vCenter Update Manager. After you have completed the firmware upgrade, you should also upgrade the virtual hardware version of your VMs as shown at the bottom of the page and also upgrade VMware Tools. Upgrading the virtual hardware version will allow you to take advantage of new VM features like 10 virtual NICs per VM, IDE virtual hard drives and VMDirectPath.

This procedure to upgrade an ESXi host from version 3.5 to 4.0 requires version 4.0 of the VMware vSphere client. Typically the vSphere client is installed after your ESXi host is installed. if you don’t have an existing install of the vSphere client v 4.0 you can extract it from the ESXi 4.0 upgrade ZIP package (VMware-viclient.vibdata.tar.gzdata.tar.4.0.0clientVMware-viclient.exe) as shown in the below image.

upgrade1

Continue reading