Badges

gestaltitbadge

follow-me-twitter

Subscribe to me on FriendFeed

Comments / DISQUS
Feedjit.com

Archive for the ‘vmmemctl’ Category

Should Companies Repurpose Older Servers as Virtualization Hosts?

As IT budgets decline, old servers called to virtualization duty is an article written by Alex Barrett and Colin Steele on SeachVirtualization.com. Other then asking some pretty good virtualization sources their opinions ;) , I think the article does a great job explaining why the expense of buying modern hardware still makes sense even in today’s economy. Whether to buy new servers is a common decision being made today as more and more companies are conducting capacity planning studies for consolidation to virtual infrastructure analysis.

Read the entire article for several great points, but here is one quote as an example argument:

“The first thing to determine is whether installing virtualization on older hardware actually saves money. Today’s servers are equipped with quad- and six-core CPUs that can deliver much greater consolidation ratios that single- or dual-core models, he said. “VI3 [VMware Infrastructure 3] is licensed per socket, so you’re paying the same cost for older CPUs but you’re getting less bang for your buck.”

But if the budget for new hardware simply isn’t there, consider the age of a server and how much life it has left in it. When identifying a candidate for a virtualization host, identify a box that is three years or younger and has “had a relatively low runtime,” the systems administrator said.”

The process vmmemctl went crazy and made the machine unusable

I got an email today about a problem I had not seen in a while. This company was still using local storage only and has not migrated to shared storage. So, unfortunately they have not been able to leverage DRS yet!

Here’s a cut and paste from my customer’s original email.

The process vmmemctl went crazy today for 30 seconds or so and made the machine unusable; after that, kswapd went nuts for about 30 seconds. Then things were back to normal. What’s up with that stuff? It seems every VMware virtual machine we’ve seen these kinds of problems on. They’re pretty annoying on a development machine, and really problematic on a production machine.

 

Here’s my reply:

It’s been a while since I’ve seen that! This problem used to occur more often in ESX 2.X days before VI3 – before shared storage, vmotion, and DRS became the norm. Back then this always surfaced when an ESX host’s physical resources were over committed.

The reason is because your ESX servers guest VMs are battling over RAM, and how ESX manages that (without DRS in VI3 Enterprise) is to write out the RAM to a balloon driver on the VMFS LUN. Unfortunately that process zaps the VM(s) and spikes the ESX CPUs.

Here’s some quick links for more about this:

http://communities.vmware.com/thread/55488

http://communities.vmware.com/message/769479#769479

http://www.vmware.com/pdf/vi3_esx_resource_mgmt.pdf ( ! ! check out page 132 for vmmemctl info )

You can try to work around this by reserving RAM for each VM to 50% of the assigned VM memory. For example, if your VM has 1GB ram then create a memory reservation for at least 512 MB RAM. That was done by default back in ESX 2.X, but it is no longer done with VI3. This will quickly limit how many VMs you can host though! Maybe start with the VMs that seem to be affected the most? I would also look closely at all of your VMs and scale back virtual RAM where possible – do all of your VMs really need all the RAM they were created with?

Of course you can always add other ESX servers and spread the VMs out across more hosts. Finally, once you get to shared storage then DRS will auto manage contention for you by auto vmotion, but you will probably still need more ESX servers!

 

Get My Podcast On iTunes!
Support VM /ETC
Support VMETC.com

Support VMETC.com

Free Business and Tech Magazines and eBooks
@rbrambley tweets
VMTN Roundtable Podcasts
Subscribe



Add to Google Reader or Homepage
Subscribe in NewsGator Online
Add to netvibes
Add to Plusmo