Category Archives: Fundamentals

CommVault – Software Updates via HTTP/HTTPS

This is an early release feature that was slipped in without much fanfare. If you installed your CommCell using or after Version 11 SP5, you’ll be quietly downloading CommVault updates over HTTPS. For many of us though, our CommCells have evolved over various upgrades and downloads would be using FTP. While this has generally been ok, I’ve found it tends… Read more »

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 DRS rule manipulation using PowerCLI (EMC VPLEX use case) Part 1.

VPLEX is another of my favourite products,  and for good reason. I currently run a Metro cluster underneath a VMware platform that has proven to be super reliable. One important design consideration for this is to ensure that VM’s are configured for site bias. Why ? Glad you asked. In a VPLEX Metro configuration, a VPLEX detach rule is defined… 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 PowerCLI – What are you waiting for ?

I still talk to people who are reluctant to jump in and learn some basic scripting techniques. Usually their response is that it’s easy in the gui or “scripting is hard” or the “I’m not a developer so why bother ?”. Meh, make it happen. The facts is, learning some basic scripting techniques will save you considerable time and open up… 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 »

Quick tip – EMC: Certificate issues after NavisecCLI upgrade

Quick tip….. I recently upgraded naviseccli to version 7.33.6.0.96  This is a really quick update so on my dual screen setup, I kicked off the installer in the left monitor while I worked on other tasks on the right. Cool, it’s just Next, next, next right ? Finished in a few minutes. Cue next morning when I noticed that, for only… 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 »

EMC VNX/VNX2 – Naviseccli & Powershell – Bulk config changes with ease

GUI’s are generally cool, but when you need to get many of the same/similar tasks done, you can’t beat the speed and ease of using scripts and CLI based tools. I recently had a situation with a EMC VNX2 array where someone (or something) had caused all the LUNs in a RAID Group to become FastCACHE enabled. All 32 of… Read more »