Tag Archives: VMware

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 »

EMC VNX – Self Help using “MyDocs”

      No Comments on 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 (MyDocs), which is targeted at VNX (1&2) users,  and for… 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 »

VMware NSX VCA-NV… So what ?

      2 Comments on VMware NSX VCA-NV… So what ?

There’s no doubt Software Defined  everything is big right now, and VMware NSX is probably King of the Hill. It’s a big focus of Vendor Roadshows and Tech Community events, and rightly so. As a customer, it’s not easy to get experience on such a platform. But as an influencer, architect and admin of my organization, when the CIO or… 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 »

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 »

EMC RecoverPoint- Standalone VM Recovery

RecoverPoint is one of my favourite products. It’s unique, reliable and has helped me out of trouble on more than one occasion. Whilst most VM admins associate it with SRM and thus Site/LUN/Datastore recovery, it can also fill in an often overlooked gap in data protection. Pre and Post backup coverage. The ability to recover a vm (or data) in… Read more »

Back to basics – Hot add new disk to Linux VM

I recently showed this to a colleague who is new to Linux. It should be part of your minimum capabilities as an admin. Manipulating disks/volumes on a guest VM is a task we all have to do. In this post I’m going to detail how to add a new disk to an Ubuntu VM, online. Call it a “back to basics”… 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 »