Place a vSphere Host into Maintenance Mode via PowerCLI

So, we had two different vSphere hosts, in two different environments, have hardware faults this week.  One had a bad memory module, and the other a bad FAN.  As I launched the VI client for each environment and placed the problem host into maintenance mode, I started to think… “I bet I can automate this!” Depending on how complex your…

Share This:
Read More

PowerCLI Script to list VMs not specifically set to Thick Eager Zeroed

First, I’ll start with a little back story. We recently deployed an EMC XTremIO All-Flash storage appliance.   The recommendation we got from EMC, for the best deduplication ratios, was to use the Thick-Eager Zeroed disk format.  No matter how many times I tell my coworkers to make sure to use this format when deploying VMs to the xTremIO LUNs, once…

Share This:
Read More

PowerCLI Script to change the DRS Slider

So, I have a cluster of hosts that makes up our QA Environment.  As with most QA environments, it’s tight on resources and very over-subscribed.  On a regular basis, I have to move our DRS Slider to be more aggressive, RUN DRS to refresh recommendations, and then move the slider back.  This allows DRS to rebalance the cluster.  Today, I…

Share This:
Read More

PowerCLI Script to migrate VMs from one vCenter to another

Hey everyone, this is another guest post from Ben Liebowitz, Matt’s brother. Before I get into the script, I’ll give you some background…  We are working on migrating VMs off of our vSphere 4.1 environment to our new vSphere 5.5 environment.  The 4.1 environment is using the Nexus 1000v Virtual Switch while the 5.5 environment is using a vDS switch.…

Share This:
Read More

Virtualizing Microsoft Lync 2013

It seems there is a bit of an uproar about a document Microsoft recently released called Planning a Lync Server 2013 Deployment on Virtual Servers. In that document, Microsoft makes some odd recommendations when virtualizing Lync, sync has disabling NUMA on physical servers and not using hyperthreading. To address these concerns, VMware has published a really nice blog post that…

Share This:
Read More

Thoughts on changes to TPS behavior in vSphere

This week VMware released a blog post and several knowledgebase articles about Transparent Page Sharing (TPS).  In the next patch for ESXi, TPS will be disabled by default between virtual machines.  TPS is the technology that allows virtual machines running on the same ESXi host to share identical memory pages, allowing ESXi to overcommit memory.  This technology has been part…

Share This:
Read More

Perception is Reality When Virtualizing Business Critical Apps

It’s been too long since I’ve blogged anything on a regular basis.  Sorry about that.  I would love to blame it on the three books I’ve written in the last year but that isn’t the only reason.  Hopefully I can turn it around and start writing on a regular basis again. I’ve been sitting on this one for a while…

Share This:
Read More

Virtualizing Exchange and Scaling Up

I have to admit – Exchange virtualization is one of my favorite topics.  I love talking about it with customers, colleagues, or anyone who will listen. It has a very well known workload profile which makes sizing consistent, it’s virtualization friendly in that it supports vSphere features like vMotion and HA, and I like talking about the challenges and creative…

Share This:
Read More

Deploying a VM with PowerCLI in a Semi-Complex Environment

The following is a guest blog post by my brother Ben Liebowitz.  I guess virtualization runs in the family!  Follow him on Twitter at @ben_liebowitz. ———————————————————————— Last year, while working at a previous employer, I wanted to make it easier for less-experienced team members to deploy VMs, while making sure little to no mistakes are made.  I decided to go…

Share This:
Read More

PVSCSI Bug Causing Exchange 2010 Jetstress to Crash

A few weeks back I was called in to help a customer who was experiencing problems completing Jetstress testing for an Exchange 2010 deployment. It wasn’t an issue of Jetstress reporting failed tests. Rather, they were unable to get through most of their tests without the Jetstress application actually crashing (JetstressWin.exe has stopped working). They would see the following after…

Share This:
Read More