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.

Spread the love!

Read More

VMware Mangle – Chaos Engineering Made Easy

In any enterprise organization there’s an immediate need to test and validate fault-tolerance and recoverability. If you have a VMware virtual environment, testing just got a lot easier. Meet VMware Mangle.Mangle enables folks like us to run chaos engineering experiments against applications and infrastructure components, and allows us to quickly assess resiliency and fault tolerance. It was designed to introduce faults with minimal pre-configuration and can support any infrastructure that you might have including K8S, Docker, vCenter or any Remote Machine with SSH enabled. Included in Mangle is a pretty powerful plugin model that allows the engineer to define a custom fault of their choice based on a template and run it against the environment without building code from scratch.

For those of us that want a quick and easy way to install Mangle just about anywhere, grab the container images.

If you’re not that fancy yet, or prefer to deploy a virtual appliance on vSphere that is pre-packaged with Mangle, you can grab the .ova files.

In either case, refer to the VMware Mangle website for detailed instructions on deployment and configuration.

Spread the love!

Read More

How to Install, Update, and Remove the Nimble Connection Manager on ESXi

There are a few ways to install Nimble Connection Manager (NCM) on your ESXi hosts. The easiest way is to add the appropriate download source to VMware Update Manager (VUM) in your vCenter, then create and attach a baseline for Nimble Connection Manager to each of your ESXi hosts attached to the HPE Nimble array. 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

Now that you have the download sources, what do you do with them? For starters, add them to VMware Update Manager (VUM). For detailed instructions on how to do that, check out my blog post on the subject, or VMware Docs.

Another option is to install Nimble Connection Manager directly to the host. There are a few prerequisites for this method:

  1. Enable SSH on the host.
    1. Select the host, click Manage, and keep Settings selected.
    2. Click Security Profile.
    3. In the

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

How to Cleanly Uninstall Legacy NSX and Trend Micro from ESXi

So I recently migrated from a vSphere 5.5 environment to 6.5 using the migration utility. Overall, I had a great experience with a few exceptions, both of which were my fault. We’ll cover one of them in this post.

We were running Trend Micro Deep Security, which means we had NSX deployed in support of that product throughout our environment. My thinking, incorrectly, was that after the vCenter upgrade, I could upgrade the existing NSX components of the environment and I would be off to the races!

That was a mistake, and I thought it might be worth it for me to share what I saw unfolding, and how I resolved the issues. So here goes…

After the vCenter upgrade was successful, I noticed that I no longer had an NSX manager registered, which was odd. I was seeing issues with DRS, and the only way to get around the virtual machines hanging and eventually erroring out during DRS triggered vMotions was to manually migrate the virtual machines to other hosts and place the affected host in Maintenance Mode while I took steps to remove all things NSX, Guest Introspection and Trend Micro.

Here’s a step-by-step walkthrough of how I …

Read More

Configure Data Deduplication on Windows Server 2016 File Servers

If you manage a Windows Server 2016 file server and your company won’t allow Quotas or File Screening for your file server, or even worse hasn’t bothered defining data retention policies, you’ve probably found yourself running low on storage. A new feature in Windows Server 2016, Data Deduplication, can help you address the pesky problem of running low on space by, well, deduplicating your data.

What does that mean? Read the Data Deduplication Overview from Microsoft to find out what the Data Deduplication feature is, and how it can help you reclaim your sanity.

Step 1: Install the Data Deduplication Feature

In Windows Server 2016, Data Deduplication is a role that can be installed. You’ll find the role under File and Storage Services, File and iSCSI Services.

  1. In the Add Roles and Features wizard, select Server Roles.
  2. Expand File and Storage Services.
  3. Expand File and iSCSI Services.
  4. Select the Data Deduplication role.
  5. Click Next until the Install button is active, and then click Install.

Of course, you can also use PowerShell. If you’re logged into the server you want to install the Data Deduplication role on, use this command to install the role:

Install-WindowsFeature 

Read More

VMware Certification and You: 2018 Edition

Well, some of you might have seen my original VMware Certification and You post back in March. VMware is in the process of changing the way their certifications work, and for the better I think. With those changes comes a short eBook: VMware Training Value.

For anyone looking to get VMware training or certification in 2018, I’d recommend reading the above eBook. It outlines ways to maximise your value, and gives figures to support them. You’ll be able to see where you stand now, and what path to take to reach the next level in your career. Each certification track is outlined and each step explained. Check it out, and plan your career today. You won’t regret it.

Spread the love!

Read More

Homelab Considerations: Storage Simulators for Your Homelab

Part 1: Homelab Considerations: Software Licensing for Your Homelab
Part 2: Homelab Considerations: Storage Simulators for Your Homelab

In Part 2 of the Homelab Considerations series, we’ll be talking about storage simulators. Storage simulators will help you familiarize yourself with various enterprise storage offerings that you would typically see attached to a vSphere environment. We’re going to cover each Virtual Storage Appliance (VSA) I’ve been able to find, where and how to download those VSAs, and how to set them up in an environment.

In any virtual environment, you need a few key things:

  • Servers, or compute
  • Networking, or routers and switching
  • Storage, or a centralized box of hard disks to store all of the infrastructure on

If you’re testing an application, OS or the network infrastructure in your environment, you’re probably fine putting the infrastructure on local storage if you have a decently sized hard drive and can thin provision the disk. If you’re in the market to learn how enterprise data centers and cloud technologies work, especially with VMware vSphere, you will need dedicated shared storage for your homelab infrastructure in order to use most of those enterprise features. Not all of us can build out a homelab …

Read More

Achievement Unlocked: vExpert 2018

While on vacation with my wife in Las Vegas, I got some pretty exciting news. I’m proud and honored to be named as a VMware vExpert in 2018, and humbled to be among the talent and dedication that exists within the vExpert community. My only regret is that I didn’t make more of an effort earlier on. I encourage anyone with an interest in virtualization, or networking with people in the industry to make an effort to become a part of this community.

If you’re interested in joining, head over to the vExpert Portal. You’ll be able to apply there once applications are open, which happens in June and December of each year for a 30 day period. If you’re looking for a vExpert, check out the vExpert Directory. A big thank you to VMware and the vExpert community for welcoming me to the fold.

Spread the love!

Read More

Homelab Considerations: Software Licensing for Your Homelab

Part 1: Homelab Considerations: Software Licensing for Your Homelab
Part 2: Homelab Considerations: Storage Simulators for Your Homelab

So I’ve been digging into how to license enterprise software for my homelab, and I thought I’d share some of what I’ve found. Some people choose to go the route of getting below-board licensing for enterprise software, but I’m not one of those people. For those of us who want a legitimate software footprint on their network, this post is for you. We are not going to cover how to build your homelab, or what storage you should use. We are going to cover how to license your  homelab at little or no cost to you, including your choices for legally licensing products from VMware, Microsoft, Veeam and more.

VMware Licensing

Let’s start the conversation by talking about VMware, since virtualization is the main focus of this blog. While VMware does offer their ESXi hypervisor for free, that doesn’t include some of the enterprise features like access to APIs, and the rest of the vSphere suite. In terms of licensing, the cheapest way to get a production copy of VMware for an enterprise is vSphere Essentials, which costs $560 at the …

Read More

vSphere 5.5 and vSAN 5.5 End of General Support Reminder

I thought I’d take a moment to remind everyone that the End of General Support (EOGS) for vSphere 5.5 and vSAN 5.5 is September 19, 2018.

VMware recommends that anyone still running those versions of the software upgrade to vSphere 6.5 or vSphere 6.7 as soon as possible to maintain your full level of Support and Subscription Services. Upgrading to vSphere 6.5 or 6.7 will put you in a good spot, and give you all of the latest capabilities of vSphere and vSAN. VMware has announced that vSphere 6.5 and vSphere 6.7 general support has been extended to five years from it’s release date, which will end on November 15, 2021.

Note: vCloud Suite 5 and vSphere with Operations Management (vSOM) customers running vSphere 5.5 are also recommended to upgrade to vSphere 6.5 or vSphere 6.7.

Visit the VMware vSphere Upgrade Center for more information on the benefits of upgrading and how to upgrade from vSphere 5.5 to vSphere 6.5 or vSphere 6.7. If you’re looking for detailed technical guidance, visit vSphere Central and the vSphere 6.5 Topology and Upgrade Planning Tool.

If you need a little bit of help upgrading to a newer version of vSphere, VMware …

Read More

VMware Product Walkthroughs Tool

The VMware product line can be a little overwhelming. With VMware announcing new features, products and services regularly, it can be hard to keep up. That said, VMware offers a tool to help you digest and retain all of that information, and they’ve been keeping it up to date. It’s been around for a while now, since about 2014 I think, but if you haven’t seen it…

Allow me to introduce the VMware Product Walkthrough website. The site is mobile friendly, and pretty intuitive.

This tool provides technical overviews and step-by-step guides for installing, configuring and managing VMware products and services. Every single walkthrough includes screenshots and detailed explainations.

You can also use the site as a self-paced demo of VMware products and features. Get familiar with the basic features of VMware products before you dive into the VMware Hands-on Labs for those products.

Spread the love!

Read More

Veeam 9.5 Update 3a Available Now

As of yesterday, Veeam has officially released a new version of Veeam Backup & Replication. The update includes support for new platforms, a large number of ecosystem changes in support of the upcoming set of Veeam capabilities due later in 2018 that were showcased at the VeeamON conference, some optimization for technologies like direct SAN access and virtual appliance modes, and some bug fixes. Veeam is planning a larger update coming soon, which will carry the Update 4 mantle.

So what does Update 3a get you? Well…

Additional Platform Support

  • VMware vSphere 6.7
  • VMware vCloud Director 9.1
  • Preliminary support for VMware vSphere 6.5 U2 (See more below)
  • Microsoft Windows Server 1803
  • Microsoft Windows Hyper-V Server 1803
  • Microsoft Windows 10 April 2018 Update
  • VMware Cloud on AWS version 1.3
  • Microsoft System Center Virtual Machine Manager 1801

Support for these platforms means that Veeam Backup & Replication will now do the following:

  1. Install Veeam Backup & Replication 9.5 Update 3a on the new Windows operating systems.
  2. Install components (such as proxies, repositories, etc.) on the new Windows operating systems.
  3. Perform backup and replication jobs from the new vSphere platforms and the Hyper-V roles in the Microsoft Windows Server 1803 operating system.

You …

Read More

vSphere Deployment: Configuring an HA Cluster in vCenter 6.5

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

vSphere HA clusters allow ESXi hosts to work together as a group and provide performance assurance and higher levels of availability for hosted virtual machines. Before we get into building vSphere HA clusters, let’s go over how vSphere HA works. vSphere HA provides high availability for virtual machines by pooling the virtual machines and the hosts they reside on into a cluster of ESXi hosts. Hosts in the cluster are actively monitored through a network and datastore heartbeating and if a failure occurs, the virtual machines on failed hosts are automatically restarted on alternate hosts.

Note the distinction between vSphere HA (High Availability) and vSphere FT (Fault Tolerance). vSphere FT allows for no service interruption, …

Read More

vSphere Deployment: Deploying the vCenter Server Appliance 6.5

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 vCenter is a management suite for your VMware vSphere environment. It allows you to manage your VMware infrastructure from a single pane of glass. With vCenter 6.5 you can choose one of two ways to deploy the software:

  • Install the vCenter software on a Windows server (physical or virtual)
  • Deploy the vCenter Server Appliance (vCSA)

Though VMware still allows you to deploy vCenter on a Windows server, we’re not going to cover that here. Not only is that installation fairly straight-forward being that it’s a Windows application, but 6.5 is the last version of vCenter that VMware will make available for Windows. Going forward you will have to deploy vCenter as a …

Read More