Squeezing Virtual Machines out CPU Cores

images Are you trying to squeeze every CPU cycle out of your dual or quad core processors? Unfortunately for those who like to over-clock CPUs for gaming, over utilizing CPU doesn’t quite work the same on virtual hosts (ESX or Hyper-V).

From my experience, I know you can get anywhere from 8 – 10 vCPUs per core, but I have found a sweet spot of 4 VMs per core will provide decent performance for the user. Remember, you don’t want users waiting 30 seconds for a logon or screen refresh… Over utilizing memory will cause user frustration too.

Eric Siebert has written an excellent article on SearchNetworking.com called “Sizing server hardware” which goes into “nuts and bolts” details for sizing virtual host server hardware.

My opinion is to “Always! Always!” think of the users experience when considering your best practices. Sure 100 VMs on a host sounds good but what kind of performance will users have? I’ve had my share of complaints over slow virtual servers and believe me you don’t want users to start complaining that your (that’s right, your!) virtual servers are slow.

Rule of thumb: Keep it simple, 4 VMs per CPU core. Don’t use more than one vCPU per VM unless the application running on the virtual server requires two or unless the developer demands two and calls your boss. VMs with one vCPU run more efficient and from my experience nobody seems to notice, except for – maybe, over-clockers!

Here’s something I wrote a while back:

The measurement of a successful virtual infrastructure deployment is not how many VMs can be hosted per host, it’s how many users can be satisfactorily serviced without them knowing they are using virtual technology. Virtualization should be invisible. Once users start noticing foot prints in the snow, it’s over…”

Originally posted 2009-02-12 16:30:14. Republished by Blog Post Promoter

Best Fit Virtualization Criteria Checklist

Finding servers which are the “Best Fit” canadates for virtualization can be tricky. I have put together the following criteria checklist to help determine whether a new server provision or a P2V should use virtualization.

The Best Fit checklist uses my own criteria and weight recommendations but it can be modified with more liberal values.  However, remeber the “Best Fit” for virtualizing a server should always consider the user’s experience, too liberal will produce poor performance and complaining users.

The “Best Fit” file has been attached for you to use it as-is or you can make your own.  Open file: best-fit-virtualization-criteria-checklist-vminstall

Best Fit Virtualization Criteria Checklist

Requestor: ____________________________________________ Date: ___________________

Server Name: __________________________ Server Role: ______________________________

Primary Application: ______________________________ Database: ______________________

Purpose:

The purpose of this checklist is to evaluate new server provisions for server virtualization. The checklist criteria are designed to only allow “Best Fit” usage for virtualization. A weight of 3 or more will waive the server’s provision for virtualization.

Instructions:

Each item has a weight assigned. While going down the checklist place the weight value on the line to the left of the items that apply. Once you are complete, total the weights.

Checklist:

  ____ 1. Is the primary application supported when hosted on a VMware VM? Yes/No (If no add 3 Pt.) Self explanatory.
  ____ 2. If this is a database server will clustering be required? Yes/No (If yes add 3 Pt.) Caveat: If clustering is required, high availability is hindered on the host server.
  ____ 3. Is this server considered a fail-over for a physical server? Yes/No (If yes add 3 Pt.)    Caveat: Fail-over servers should be provisioned on an equivalent platform.
  ____ 4. Can recommended system requirements be scaled back (CPU/Memory)? Yes/No     (If no then use items 5 and 6 to calculate weight.
  ____ 5. Will memory requirement be greater than 2 GB? Yes/No (If yes add 1 and .5 for each additional 512 MB)
  ____ 6. Will disk requirements grow beyond a 20 GB (C: or Root disk) and 50 GB of combined additional disk space. Yes/No   (If yes add 1 and .5 for each additional 50 GB) How much? _____GB
  ____ 7. Will this be a temporary installation/deployment?  Yes/No    How many months? _____ (If yes can Lab Manager be used?) (0 Pt.)
  ____ 8. Will a database be hosted on the server (SQL/MySQL/Oracle)? Yes/No   Other ___________ (If yes add 1 Pt.)
  ____ 9. _______________________________________________________
  ____ 10. ______________________________________________________

(           )  A server with a total 3 and greater should not be virtualized.

Evaluation Summary: _______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________

Originally posted 2009-02-21 09:54:36. Republished by Blog Post Promoter

Useful YouTube Video: Windows Server 2008 Hyper-V Demo on Quad-Core Intel Xeon

If you’re interested in Microsoft Hype-V Technology, I’ve found viewing the following YouTube video worth the 4-1/2 minutes: Windows Server 2008 Hyper-V Demo on Quad-Core Intel Xeon

Originally posted 2009-02-15 07:53:11. Republished by Blog Post Promoter

Free VM Tool – ToutVirtual VirtualIQ Pro – Citrix, Microsoft, Novell, Oracle and/or VMware

Free VM Tool – ToutVirtual VirtualIQ Pro – Citrix, Microsoft, Novell, Oracle and/or VMware >>> Download <<<

Last week I wrote about Trilead VM Explorer for managing VMware ESX and 3i hosts without vCenter, today I am writing about VirtualIQ Pro which looks like a similar product except VirtualIQ Pro is hypervisor-agnostic supporting both Type I and Type II hypervisors.virtualiq

Here’s what ToutVirtual says about their VirtualIQ Pro:

Enterprise Benefits

  • Compare and choose the right Hypervisor
  • Compare and choose the right Hardware platform
  • Plan for Host Capacity
  • Plan for Virtual Machine Capacity
  • Plan for Virtual Machine Density
  • Understand the Impact of Hypervisor
  • Get Visibility into Inter-VM, Intra-VM Resouce Dynamics
  • Manage Physical and Virtual Servers
  • Works without VMware VirtualCenter, Microsoft Virtual Machine Manager or System Center
  • Manage 5 CPUs and 25 VMs for FREE

Of course the free version has its limitations but there’s plenty going on in VirtualIQ Pro that makes it worth an evaluation, especially if you use more than one virtual platform: 

  • VMware ESX
  • VMware ESXi
  • VMware Server on Windows
  • VMware Server on Linux
  • VMware GSX Server on Windows
  • VMware GSX Server on Linux
  • Microsoft Windows Server 2008 Hyper-V
  • Microsoft Virtual Server 2005 R2
  • Xen running on Novell SUSE Enterprise 10
  • Oracle VM
  • Citrix XenServer

Wow!

Originally posted 2009-04-05 17:57:18. Republished by Blog Post Promoter

My Microsoft Hyper-V and Virtual Machine Manager Event Key Notes

Today I spent 4 hours listening to Microsoft technicians talk about Hyper-V, Virtual Machine Manager (VMM) and System Center. Here are some of the key notes I took about Hyper-V:

 

  1. Licensing for Microsoft Server 2008 includes (1P + 1V) – This mean you can have 1 physical Microsoft Server 2008 running Hyper-V and 1 virtual Microsoft Server 2008 running on the same hardware.
  2. Licensing for Microsoft Server 2008 Enterprise includes (1P + 4V) – This mean you can have 1 physical Microsoft 2008 running Hyper-V and 4 virtual Microsoft Server 2008 running on the same hardware.
  3. Licensing for Microsoft Server 2008 Data Center includes (1P + unlimited V) – This means you can have 1 physical Microsoft 2008 running Hyper-V and unlimited virtual Microsoft Server 2008 running on the same hardware. The virtual server limit will be when memory and CPU resources run out.
  4. You do not need to upgrade Microsoft 2003 cals to 2008 cals anymore to run 2003 server on Hyper-V.
  5. Hyper-V does not allow memory to be over committed (over-subscribed in VMware talk).
  6. VHD file is like a VMDK and AVHD is the snapshot.
  7. Hyper-V snapshot location is configurable.
  8. RTM is similar to vMotion but crashed when it was demoed.
  9. Microsoft Windows Server 2008 R2 will have “Live state migration” which will work more like vMotion and hopefully won’t crash.
  10. Letting Windows manage the virtual servers SWAP file is the best practice in Hyper-V.
  11. A free version of Microsoft Hyper-V Server is available for download. It does not include a Windows GUI interface and does not allow clustering. (Download)

Originally posted 2009-01-27 18:17:57. Republished by Blog Post Promoter

To V or Not to V is the Question?

Buzz Word

 

Has virtualization become a buzz word in your strategic plan? Take the advice from someone who has spent years supporting VMware in three different enterprise environments – think before you V.

 

If all you plan is a small experimental cluster of virtual servers, it’s no big deal. The software is even free. VMware ESXi is the best way to go. But, remember, it’s only a seed for future growth. Growth which will evolve into a nest of unexpected problems if you don’t think before you start to roll out ESXi hosts for your DEV, QA and PROD environments.

 

V is not for Vendetta

 

Cynical as this may sound, it’s more truth than fiction! Five months from the day the first ESXi host is deployed in your datacenter you will have users complaining about poor performance, and your smartest system administrators will begin many long hours of research to solve riddles for virtualization backups, migrations, storage and other strange unknown glitches that are attributed to the “V” word.

 

Fix for SCSI Errors Filling Up Logs

 

If you are dabbling, like I said earlier go for it. Virtual servers are fun to work with – that is – until you get too many on one host and you need to reboot the host but you can’t because there is a DEV server that somehow has become a production server and is running a business critical application that absolutely cannot be bounced! Now your are caught between complaining users, worried managers and not knowing for sure if the fix applied by your system administrator will be the solution for the SCSI errors that are filling up the logs and killing performance. All you need to do is bounce the host to see if changing the queue depth does the job. It should because the ESX command was found by your system administrator when Googling “Fix for SCSI Errors Filling Up Logs”

 and reading through 50,000 threads about SCSI errors and VMware.

 

I am not trying to be sarcastic; I am trying to make you think! The incident about the SCSI error is a real situation that has played out in two of the three VMware virtual environments I have worked in. Google “SCSI error” + VMware and see for yourself.

 

Ignorance and Arrogance

 

The two biggest problems I have noticed since I started supporting VMware are ignorance and arrogance. Here’s what I mean.

 

“I” is for Ignorance

 

First, just about every virtual environment starts off with ignorant managers who do not understand what’s required to build a successful virtual environment. They just know everyone else is doing it and it’s supposed to save a lot of money. Unfortunately, all the future saving will go out the windows with support and license costs and lost labor. Support and license costs are easy enough to understand, but what do I mean by lost labor? Well, lost labor is the many hours, days and weeks that your top system administrators spend trying to solve VM riddles. Even when you purchase expensive support the problems don’t go away. In most cases someone just finds a work-around because the solution for the root cause is purchasing a new SAN or more powerful hardware because someone didn’t bother to check the HCL (hard compatibility list).

 

“A” is for Arrogance

 

Oh, then there’s the problems associated with arrogance. Here’s how this one plays out. You and the stakeholders decide to deploy a virtual infrastructure to save money, right? You start with the basic package of three hosts and a virtual center which quickly grows to 16 and 32 hosts (whistles and bells included are: vMotion, HA, DRS). Then you schedule a 30 minute meeting with your systems team and pick your best system administrator to lead the “Virtualization Project” (maybe even send him to training). He/she has built a ton of servers and even has a MCSE or RHCE. VMware is easy to setup. Just load the hosts, install the virtual center, and start building and P2Ving servers into the environment. It’s so easy, anybody can do it, right?

 

A week later, Wow! Everyone thinks you have the VMware god working for you. Pretty soon the VMware god gets vMotion running and HA to work. Next, scripts are running to reboot and auto-config VMs. Another 30 minute meeting is scheduled to plan out migrating servers into the virtual infrastructure; this plan is called the “Server Consolidation” Project. The system administrator has become a VMware expert in two months and this is his/her virtual environment…. Quoting from the good book, “Pride comes before the fall” .

 

I am a firm believer that history repeats itself so here’s what I am predicting happens next. Beneath the surface of your virtual world trouble is brewing. First the problems are small and your VMware expert can figure them out, then the problems get bigger and like any normal person would do, the expert doesn’t tell anyone because they’ve gotten used to being called the VMware god and they don’t want anyone to know they are really mortal. Soon emails starting trickling into your inbox and you are the CC:. The subject states “why is my VM so slow logging in?”. Soon it’s no longer a trickle and you are now the “To:” from all the users and the VMware god is at the end of the list which includes everyone in the GAL and your boss. The cat’s out of the bag, there’s a problem with  VMware and everyone now knows the VMware god is mortal and they come looking for you. No this is not a Steven Spielberg novel it’s real world stuff…

 

How Do You Measure Success – Invisible

 

The worst thing that could’ve happened to your virtual infrastructure has happened. Technically things are fixable but what will not be fixed any time soon is the bad user experience that has affected hundreds or even thousands of users who work on servers that were virtualized. All your effort to sell virtualization to the business units has just been destroyed and users don’t want virtual servers any more. Managers even demand that all their applications are moved off your virtual infrastructure because they can’t handle bad performance and complaining workers any longer.

 

Rule of thumb: The measurement of a successful VMware deployment is not how many VMs can be hosted per ESX host, its how many users can be satisfactorily serviced without them knowing they are using virtual technology. Virtualization should be invisible. Once users start noticing foot prints in the snow, it’s over before a shot is fired.

 

Do It Right the First Time

 

If to V or not to V is still the question then here’s my recommendations? Don’t even setup a single host, even with the free version ESXi if you don’t plan to do it right. It will just snowball from there into a monster with unexpected results and in the end users will think all virtual environments are the same – crap!

 

If I haven’t deterred you and you still want to virtualize, then here’s the right way to do it. (Pardon my arrogance).

 

First, work closely with vendors. Listen to them and let them guide you. Yes, they will try to sell you better equipment, but not because they want to take advantage of you. They can’t tell you this but they know you will have problems if you buy the cheapest equipment. My guess is you will still be tempted to buy the cheap stuff then later you will blame the vendor when the users start emailing you about their bad experience. As I stated earlier, it will be too late and you are to blame.

 

For those who do listen to their vendor’s advice, the next item is more important. Hire an experienced VMware administrator. Don’t try to turn a system or network administrator into a VMware administrator. VMware administrators are specialists just like a DBA. Here’s why, VMware is an infrastructure technology, not a server technology. Sure a system administrator can become a skilled VMware administrator, I did. Here’s why you need someone from the outside, they will be objective about things like storage, networking, and quality. Existing internal staff will cut corners because they always do, you just don’t know about it. And, chances are likely that you will trust an outsider’s discretion more than a buddy or subordinate. If it’s done right the users will never know the difference, if it’s done wrong, everyone all the way up to the CEO will be sending you an email.

 

Third, virtualization requires total collaboration with storage, networking, developers, operations and business unit managers. If you can’t enlist them to work together as the “Virtualization Team” forget it. There’s nothing more frustrating than trying to figure out a problem when storage administrators will not let you verify they are using “Best Practices” for zoning your ESX host server storage fabric, or when a network administrator will not do what you ask when you tell them why curtain VLANs need to be trucked on all four data ports for the same host. The list of people hassles goes on…

 

Forth, this is more important than food and water. Please, heed my warning. After everyone has done the best they can do to make sure your virtual infrastructure will work and be a success. Do not come out of left field with your own ideas and change everything after weeks and months of planning. Don’t change the SAN from tier 2 to tier 3. Don’t buy a cheaper model of server. Don’t redo how the servers will be backed up. Don’t change anything… The time for making changes is during the planning process or when an unexpected problem surfaces. The problem should not be you at the last minute throwing a wrench into the mix. Please!

 

Finally, virtualization is a great technology that will eventually find it’s way into your datacenter whether you want it or not. The way you choose to go is simple: let it evolve into a monster that everyone will hate or, plan and architect its deployment into something nobody knows exists. Remember, virtualization should be transparent to the users. When they know it’s there, someone hasn’t done their job right.

 

Conclusion!

 

To virtualize or not to virtualize is the question? My answer to this question is in the form of a question, “How important are people to you?” If their satisfaction is the most important thing on your list and if happy people pecking away on the keyboard is your top priority then make sure when you begin to assemble your virtualization team and you start scheduling 30 minute meetings, everyone knows from the first day until the project is completed that the objective is “virtualization should be invisible to the user”.

 

Originally posted 2008-11-11 13:04:10. Republished by Blog Post Promoter

Free Microsoft Hyper-V Server 2008

Overview

Microsoft® Hyper-V™ Server 2008 is a stand-alone product that provides a simplified, reliable, cost-effective and optimized virtualization solution enabling organizations to improve server utilization and reduce costs. It allows organizations to consolidate workloads onto a single physical server and is a good solution for organizations who want a basic and simplified virtualization solution for consolidating servers as well as for development and test environments. Low utilization infrastructure workloads, departmental applications and simple branch office workloads are also candidates to virtualize using Hyper-V Server 2008.

System Requirements

  • Supported Operating Systems: Windows Server 2008
  • Note: Hyper-V Server 2008 is a 64-bit only technology and requires a 64-bit capable hardware with Intel VT or AMD-V technology enabled.
  • Processor : Intel Pentium 4, Xeon, Core 2 DUO processor; AMD Opteron, Athlon 64, Athlon X2, . Hardware Data Execution Protection (DEP) must be available and be enabled. Specifically, you must enable Intel XD bit (execute disable bit) or AMD NX bit (no execute bit).
  • Minimum CPU speed : 1 GHz; Recommended: 2 GHz or faster
  • RAM : Minimum: 1 GB RAM; Recommended: 2+ GB RAM; Maximum 32 GB
  • Required Available disk space: 2GB of available hard disk space (additional disk space needed for each guest operating system)

Download Link -> http://www.microsoft.com/downloads/details.aspx?FamilyId=6067CB24-06CC-483A-AF92-B919F699C3A0&displaylang=en

 

 

Hyper-V Server 2008 is a cost-effective solution that is convenient because it plugs into existing IT infrastructures enabling companies to reduce costs, improve utilization and provision new servers. It allows IT professionals to leverage existing patching, provisioning, management and support tools and processes. IT Professionals can continue to leverage their individual skills and the collective knowledge of Microsoft tools, minimizing the learning curve to manage Microsoft Hyper-V Server 2008. In addition, with Microsoft providing comprehensive support for Microsoft applications and heterogeneous guest operating systems support, customers can virtualize with confidence and peace of mind.

To obtain a license for Microsoft Hyper-V Server, you must:

  1. Review the Microsoft Hyper-V Server license terms .
  2. Print and retain a copy of the Microsoft Hyper-V Server license terms for your records.
  3. Accept the license terms. By downloading, installing, or using Microsoft Hyper-V Server, you agree to accept the license terms. If you do not agree to the license terms, do not use the software.THESE LICENSE TERMS SUPERSEDE ANY OTHER LICENSE TERMS PRESENTED DURING INSTALLATION OF MICROSOFT HYPER-V SERVER

Originally posted 2009-01-27 18:40:24. Republished by Blog Post Promoter