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 Continue Reading

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 Continue Reading

ESXi – Removing a stubborn Nexus 1000v VIB

Happened upon an unusual error while wrestling a Nexus 1000v out of a ESXi 5.1 host. All seemed to progress well, the host was removed from the dvs without issue.  The next step was to remove the Cisco vem VIB from the host in preparation for upgrade. esxcli software vib Continue Reading

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 Continue Reading

EMC VNX – Self Help using “MyDocs”

I’m a big believer in “helping yourself”. By researching and actually doing things, we learn, grow and become more self-sufficient. I’ve blogged before about what I sometimes refer to as hidden gems, in particular MiTrend. There are other tools from EMC that are very useful. The first is My Documents Continue Reading

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 Continue Reading

EMC-VNX 1/2 and ESXi: Potential Data Unavailability

Another ETA hit my inbox over the weekend, this time relating to VNX/VNX2 and ESXi where a condition that could result in data being unavailable exists. If you are running a VNX and have a code base  of 05.32.000.5.219 or earlier or a VNX2 with codebase lower than 05.33.006.5.102 and earlier Continue Reading

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 Continue Reading

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 Continue Reading