Skip to main content

How to Change the IP Address of an ESXi Host via ESX CLI

I recently had a colleague reach out with a need to change the IP address of an ESXi host without access to the GUI. I thought it might be useful to outline the steps here, in case it’s helpful for someone else.

Changing the IP address of a host is actually pretty straight forward with ESX CLI. Before you get started, list all of the VMkernel NICs using this command:

esxcli network ip interface ipv4 get

That will return a list of all of the VMkernel interfaces and their details. Now you can change the IP address of the VMKernel adapter:

esxcli network ip interface ipv4 set -i vmkX -I <IP_ADDRESS> -N <SUBNET_MASK> -t static

And that’s it, you’re all done. You’ll lose connection to the host and need to SSH back in, but the host will have the new IP address.…

Read More

How to Cleanly Uninstall the Nimble Connection Manager Before an ESXi Upgrade

If you’re using HPE Nimble storage arrays to back your VMware environment, there’s something that you should know. Lets start from the top. As of this writing, the Nimble Connection Manager (NCM) for ESXi comes in three different flavors. There’s a version available for use with ESXi 5.X, one available for use with ESXi 6.0, and one available for use with ESXi 6.5. Add the appropriate download source to VMware Update Manager (VUM), then create and attach a baseline for Nimble Connection Manager to your hosts. Doing so will ensure that Nimble Connection Manager is installed or updated during your normal VMware Update Manager update cycle which will keep Nimble Connection Manager updated across your infrastructure. For those that need them, here are the source URLs:

Nimble Connection Manager Download Sources for VMware Update Manager
ESX VersionDownload Source
ESXi 5.xhttps://update.nimblestorage.com/esx5/ncm/index.xml
ESXi 6.0https://update.nimblestorage.com/esx6/ncm/index.xml
ESXi 6.5https://update.nimblestorage.com/esx6.5/ncm/index.xml

I recently upgraded my entire VMware environment from vSphere 5.5 to 6.5. Because I had Nimble Connection Manager installed on the hosts, and the version installed was compatible with ESXi 5.X, I had to do a few things before I could upgrade the hosts. If you leave the older version of Nimble

Read More

vSphere Deployment: Deploying ESXi 6.5 to a Host

vSphere Deployment is a 6 part series that will walk you through deploying and configuring the components of vSphere 6.5.

Part 1: vSphere Deployment: Deploying ESXi 6.5 to a Host
Part 2: vSphere Deployment: Deploying the vCenter Server Appliance 6.5
Part 3: vSphere Deployment: Configuring an HA Cluster in vCenter 6.5
Part 4: vSphere Deployment: Configuring Traditional Storage in vCenter 6.5
Part 5: vSphere Deployment: Configuring a Datastore Cluster in vCenter 6.5
Part 6: vSphere Deployment: Configuring vSphere Update Manager (VUM) in vCenter 6.5

For those unfamiliar, VMware ESXi is VMwares purpose-built, bare metal hypervisor that installs directly onto a physical server.

There are a few requirements when deploying ESXi 6.5:

  1. You’ll need a host compatible with vSphere 6.5 (compatibility guide available here).
  2. You’ll need the ESXi 6.5 ISO image (available here). I also recommend that you check out the vendor-specific (Dell EMC, HPE) ESXi builds if you want to avoid installing drivers, etc.
  3. You’ll want to keep the vSphere Installation and Setup – VMware vSphere 6.5 documentation handy.
  4. Ensure that all shared storage is disconnected from the host when installing ESXi.

Step 1: Deploy ESXi to a Physical Machine

Once you have …

Read More