Tag Archives: ESXi

ESXi 5.5 – Automating VMFS UNMAP w/ PowerCLI and PowerShell

With vSphere 6.5 recently released, a nice feature was the automated execution of the UNMAP command against thin provisioned datastores to reclaim space. This requires no user interaction, it’s fully automated for you and can free up significant amounts of space from your datastores. There’s some good information regarding the v6.5 release  on these blogs; ESX Virtualization Vladan Seget VirtualizationIsLife  Anthony… Read more »

VMware ESXi – Get VM’s by VLAN ID with PowerCLI

Often when when working in large environments you’ll get interesting requests. These may be to assist in troubleshooting, auditing, reporting or any other reason. I was recently requested to provide a list of mac addresses for every VM with a vNIC in a specific vlan. I had a feeling this was going to be a repeated request (for various vlans) so presented… Read more »

VMware ESXi,Nexus 1000v: Add New vDS Port-Group + error “spec.numPorts exceeds the limit..”

If you’re familiar with Cisco IOS and networking in general, creating a new PortGroup on a Nexus1000v is pretty straightforward. Here I’m going to add a new Port-Profile, of type ‘vmware port-group‘ called “VM_Prod_29” with VLAN ID “29 “. Login to the active VSM and first create the VLAN;

Then create the Access PortGroup and assign VLAN 29 to it…. Read more »

ESXi – An oldie but a goodie – CDP info via PowerCLI and Host CLI

When you don’t use something for a while, you tend to forget how valuable it can be. Even from its very early iterations, ESXi has been able to display CDP information so you can quickly establish “what’s patched where “.  Easy to get from the gui, but far more useful from the shell or cli. This has been valuable to… Read more »

EMC VPLEX Metro: Cluster Witness Server Maintenance

Although it’s not mandatory, the Cluster Witness Server (CWS) in a  VPLEX Metro Cluster serves a very important purpose as the arbitrator between inter-cluster network partition failures and actual cluster/site failures. It’s a lightweight (<3GB) VMware vm deployed from an OVA that establishes itself in a 3 way VPN between both VPLEX clusters and monitors heartbeats between them.  It’s capable of… Read more »

vSphere/ESXi: When good tasks go bad – Fix with ESXCLI via PowerCLI

Most of the time, tasks we start in vSphere just work. That’s why we love it. Queue ’em up, and move onto something else. Sometimes though, they go bad. They freeze, stick, die or just plain error out. This happened to me last week. After changing the scratch location for hosts in a dev cluster, I planned to reboot them… Read more »

ESXi/vSphere 5.5 U2: old NFS/vMotion issue reincarnated “remote host IP_Address failed with status Busy”

Uh oh, an old issue seems to have been reincarnated in vSphere 5.5 U2 which may cause vMotions of guests on NFS storage to fail with the error: remote host IP_Address failed with status Busy This issue was first evident some time ago where it affected V4.1 and was subsequently fixed (albeit temporarily) with ESXi 4.1 u2 +. See the original… Read more »

Heads up ! – EMC PowerPath/VE 5.9.1 & VMware ESXi 5.x potential disruption

It’s HEADS UP! time again, as usual courtesy of an EMC TA bulletin. ‘VMware ESXI hosts may become unresponsive after adding or removing LUNs when running PowerPath/VE 5.9.1’ This doesn’t sound like a particulalry fun way to start or end your day so read on if you want to avoid it; Affected Versions; ESXI 5.1 & ESXi 5.5 Powerpath/VE 5.9.1  … Read more »

VMware ESXi CBT bug PT3 — ESXi 5.5 now fixed.

This now becomes the 3rd post regarding the infamous Changed Block Tracking bug that was/is evident in all versions of ESXi 4+. If you missed them, Part 1  &  Part 2 Finally today we see the bug squashed in ESXi 5.5 with the release of Patch ESXi-5.5.0-20150104001-standard (2099271). This still leaves 4.x susceptible though so I urge any good folk using… Read more »

ESXi – Driver VIB update using ESXCLI

      1 Comment on ESXi – Driver VIB update using ESXCLI

Nothing groundbreaking here folks, but this is a quick and easy way to upgrade the drivers (in this case Network Intel & Broadcom) on your host(s) I’ve done this many times for various reasons: Misbehaving drivers after upgrades, Version control, “’cause I wanna’”. etc Login to your host with the ssh client of choice (putty of course!) and put it… Read more »