• Call Toll Free: 1-855-909-3300

ESXi 5.x/6.x host: Installing patches from the command line

The command line, also known as the command screen or a text interface is a user interface that is directed by typing commands at prompts, instead of using the mouse. As a command line interface involves unique commands, this interface is often more challenging to learn because of the necessity to remember lots of different commands. However, a command line operating system can be a very useful resource. Let’s have a look at the below mentioned steps for ESXi 5.x/6.x host installation from the command line.

  1. Firstly, download the patches applicable for our ESX/ESXi version manually.
  2. Users can also install patches using esxcli command, SSH connection or via ESXi shell using remote console connections such as ILO and DRAC.
  3. Now the downloaded patches require to be moved to the data store of ESX/ESXi hosts. This can be done either by directly uploading the patches via data store browser or move the files via winscp.
  4. Once file is transferred. Ensure that the Owner and Group have been allocated with execute permission. Right click on the transferred patch zip file in winscp and click properties. Additionally make sure that Owner and Group have been allocated with Read (R), Write (W) and execute (X) selected and then click on OK.

Now, let’s learn how to install Patches on ESXi host using esxcli commands.

 

  1. Login to your ESXi host using SSH or ESXi shell with your root identifications.
  2. Browse towards the Patch location in your data store and authenticate the downloaded patches are already in and note down the entire path for the patch.
  3. Before installing patches, assigning your ESXi host in maintenance mode is very significant.
  4. Accomplish the below command to install the patch “ESXi510-201210001.zip”. Reboot your ESXi host for the variations to take effect and exit your host from the maintenance mode.

You can run the ESXi 6.0 installer from a CD/DVD or USB flash drive to do a communicating upgrade or relocation. This method is suitable for deployments with a small number of hosts. The installer works the same way for a new installation, but if you select a target disk that already comprises an ESXi 5.x installation, the installer upgrades the host to ESXi 6.0 and offers you the option to transfer some existing host settings and configuration files and preserve the current VMFS data store.

Leave a Reply

Techarex NetWorks Products