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:
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.
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.
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.
You do not need to upgrade Microsoft 2003 cals to 2008 cals anymore to run 2003 server on Hyper-V.
Hyper-V does not allow memory to be over committed (over-subscribed in VMware talk).
VHD file is like a VMDK and AVHD is the snapshot.
Hyper-V snapshot location is configurable.
RTM is similar to vMotion but crashed when it was demoed.
Microsoft Windows Server 2008 R2 will have “Live state migration” which will work more like vMotion and hopefully won’t crash.
Letting Windows manage the virtual servers SWAP file is the best practice in Hyper-V.
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
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
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 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.)
PowerShell Script for Snapshot Backup of Hyper-V >>>Download Off-line <<<
How are you backing up your Hyper-V VMs? Agent backups with a legacy backup software like NetBackup. This is good for file by file backups but is a real pain if you need to do a full system with system state restore. Too often system admins get hung up trying to do a full system restore from a legacy backup and loose the system state in the process.
I found a PowerShell script that was written to do SnapShots of Hyper-V VMs and export them somewhere where you can do a regular backup of the VM folder and files, offline. Tore Lervik who blogs at Mindre.net is the author of the script. After reading the many comments Tore has received on his script, it looks like the Hyper-V VM Backup Script is a success, good going Tore!
Originally posted 2009-04-05 08:37:33. Republished by Blog Post Promoter
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 >>> 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.
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
Today I did a Google search to see how many people like myself have started a blog or website to discuss or support virtualization (VMware, Hyper-V, Virtual Iron, etc). I was surprised to find so many cool websites with catchy names.
Take this name for example: www.vmwarewolf.com. Visiting the site I found quite a few posts on troubleshooting VMware, especially ESX. Lots of information on the old “ESX random disconnect from VirtualCenter” issue.
At the top of the Google search list was VMware’s own support community. If you support VMware Virtual Infrastructure and you haven’t visited the community yet, you are missing out. Here’s the link, go there now! Then come back and finish reading this post. http://communities.vmware.com/community/vmtn/suggest/support
One of my old favorites is www.VMGuru.com. I remember when this site was just taking off. The owner, Scott Herold, even wrote one of the first ‘worth a darn books” on Virtual Infrastructure. I must have downloaded the free chapters 10 times. Now you can download the whole book, but don’t be a cheap-skate, buy Scott, Ron and Mike book. VMguru.com has quite a few posting on every subject relating to VMware VI, such as platform, networking, storage, management and monitoring, VDI and scripting. Don’t just take my word for it go and visit www.VMGuru.com now then come back and finish reading my post.
OK, one site that I have really found useful over the years has been http://blog.scottlowe.org. I have watched this site grow in popularity and mature with every new version of ESX server. I think I might have run into Scott once at VMWorld 2007 in San Francisco, he was standing along the side where the computers for folks to check their email are and blogging away about what was going on at VMWorld. I think that was right after he got a new gig writing articles. If you can’t find what you are looking for on VMware support site, make sure you visit http://blog.scottlowe.org. Scott keeps up with almost every trend and product VMware related, or you will find a link to where you can find help. You go Scott! BTW, Don’t go visit Scott’s blog yet, or you will never finish reading my post.
This website, www.vminstall.comhas been around since 2007. During that time I was supporting a new VMware Virtual Infrastructure deployment for Arizona State University. One day I happened to visit Godaddy.com and did a name search and lucky me, www.vminstall.comwas available. VM Install has been through some changes over its existence as I’ve tried to keep it going with various types content. The original site was done in Drupal, and then last year I got rid of Drupal and the crazy job posting and re-did the site in WordPress with a clean professional template. I know some of my posts are old but they keep visitors coming for now. Heck, I’ve given up on trying to keep up with all the “techies” and now I just blog about niche things I figure will make system administrator or IT Managers think before making a mess of their virtual environment. Okay, I’m done talking about my website, VM Install.
A relatively new website that I have found while searching VMware problems is VMETC.com. It has a green and white template and a big presence on the web because so many people are linking to the RSS feeds. Don’t get me wrong, the owner of this site, Rich Brambley, whom I’ve never met, really knows his stuff. You go Rich, and by the way, the picture of you and your kids at the Falcon game is great. Too bad the Cards had to take them out in the play-offs, maybe next season, eh? VMECT.com is packed with posts with command line examples and solutions for all kinds of technical stuff, take this link title for instance: http://vmetc.com/2009/01/19/esxiesx-35-update-3-iscsi-and-fc-alert-queue-for-device-has-been-blocked/. Didn’t I tell you Rich knows his stuff?
There are plenty more good websites, but two final sites I want to mention are www.wmware-land.com and www.VMtoday.com. VMware-Land is the place to go to find out who the “who’s” are in VMware blogging, plus there also hundreds of links to help you find what you’re looking for. Unfortunately, VMinstall.com hasn’t made it to his top ten list yet but that’s okay, just do a search on Google for “VM install”. Here’s the list borrowed from VMware-Land:
The other site is www.VMToday.com. VMtoday is a clean VMware News, Views, and How-To’s website, which for a moment I thought I was looking at my own site because the site has so much in-common with VMinstall.com. Jashua Townsend the site owner has good taste and you will find VMtoday informative.
Summing up this blog post about some of the fantastic websites and blogs for VMware support and virtualization, I just want to ask all the webmasters mentioned above to keep up the great work. I’m just one of thousands who visit your site regularly for help and I don’t know what I’d do without you. Now can someone please tell me how to join my VMware VirtualCenter 2.5 to Microsoft Virtual Machine Manager (VMM), just kidding!
Originally posted 2009-02-07 09:29:44. Republished by Blog Post Promoter
I wish this information was available 10 years ago when I started working with virtualization, but then again, like many reading this, I thought I was an expert and didn’t need it. Now I see myself as a student because of how fast virtualization is changing.
1. First and most important, look at the big picture for why you are implementing virtualization. Most managers look solely at VMware, XenServer, Hyper-V or any other virtual server product for ROI (return on investment). Bad way to make IT decisions! Look at the big picture. How will virtualization affect everything and everyone it makes contact with? For example: How will your storage be affected when you start sharing it with hungry VMs, will the I/O hold up? Or, how will your system administrator handle the new responsibilities? How will you handle the users when they start complaining that everything is slow because you didn’t consider I/O and new responsibilities?
2. Once you have a big picture view of what you want to do with virtualization then consider that you’re still probably missing a few things that you will learn along the way. Just look at these challenges as growing pains, and unavoidable. Virtualization dynamically changes as the environments grow and upgrade. First there’s the experimental ESX or free ESXi, Hyper-V and XenServer host that gets you started. Then when the experimental host(s) get filled up there’s the small farm of host servers that get landed when you actually start purchasing new hardware and the full infrastructure licenses. Beware! of the “wow we can virtualize everything” period that happens from 50 – 200 virtual servers. At this point everything seems to work fine because you haven’t saturated your SAN I/O, or host memory and CPUs. But then there’s that point that happens at VM number 201 (201 is a relative number, it could be more or less depending on a number of factors) where panic is unavoidable if you haven’t prepared properly. That’s why you need to read the rest of this post.
3. Now that consideration 1 and 2 are out of the way, which are mainly to make IT managers think, I’ll get to the good stuff. Have a backup strategy in the beginning that is made for backing up the VM images. Don’t rely on your legacy backup software for physical servers. Yes NetBackup or whatever can still do agent backups of files of a VM, this is a no brainer. However, how are you going to do a full system restore? Unless it’s just data, 5 hours after your backup administrator begins the system restore he is still going to be trying to solve this riddle. You want a good solution that makes an image backup. Solutions: VCB, vRanger Pro, Veeam Backup, Avamar. These are all specific backup tools for virtualization. Avamar can work on any type of virtual environment including Sun containers.
4. Know your storage limits. Capacity is just one part of the storage requirement. The other part is I/O or OIPS (Input/Output Per Second). VMs have different I/O needs. One hungry database or SharePoint VM on a LUN that shares it’s disk parity with multiple LUNs can cause performance problem across all the LUNs in the disk parity group. The best way I have found to avoid this is to design your storage with the biggest I/O pool available. I/O begins at the disk and 15K disks have roughly 200 IOPS where 10K disks have 150 IOPS (SATA have 30 – 50 IOPS). Do the math, which is better? After capacity and I/O is considered, then there is the pathing, which needs to be manually configure to split I/O down multiple paths to the SAN/NAS cache. I’ve seen million dollar equipment brought to its knees because this stuff was overlooked. It’s usually not the equipment (HP, NetApp, EMC) that is causing the problem, its configuration. Whether you plan to use FC, NFS or iSCSI, this is important for your storage administrator to consider. Otherwise, you will be playing VM storage Tetris and I guarantee you will lose.
5. This is in conjunction with 4, VM template configuration. If you’re planning to have a huge pool of I/O then you will never know your template configuration is poor. VM configuration is important and is easy to overlook. Most will find out how important when I/O runs out… I’ve read this best practice on many blogs – “put data and OS, and even swap files on separate LUNs.” I agree this is a good best practice, but I am taking it even further and adding a criteria. “Separate LUN on separate disk parity groups.” Here’s why, ten – 15K disks will give you roughly 1500 IOPS across each LUN it is carved into. Depending on the size of the drive you may have various LUN sizes of 200 to 500 GB (each with 10 – 20 I/O hungry VMs) sharing the same IOPS. Splitting data, OS and swap onto more spindles will give you more IOPS and possibly an alternate path to the 2nd storage processor (active/active), or more cache that is assigned to another FC or NIC port. Make sure data store names include what the LUN is for (Data, OS or swap) and odd even disk parity (data goes on odd, OS go on even).
6. Clean up your messes. Don’t leave old proof of concept (POC) VMs or equipment running after the POC is done. Nothing is harder to do then to clean up a VM environment 2 years after everyone who was on the original project team has left and your VM inventory now has 500 VMs in it. The first place you need to look when you hit your host and storage limits is here. Out of 500 VMs you can bet there are at least 50 VM zombies that are idly running and using up precious resources. Then there’s the clean up of zombie VM folders that are from VMs that were improperly deleted and the files were left on the data store (you know the VM you said you’d delete later – that was 2 years ago). Clean up also helps control “Sprawl”. Sprawl is a fancy word for out of control.
7. You probably didn’t hear me the first time so I’m saying “Backups” again. I’m putting this down again to make sure you have a backup solution that backs up the complete VM image. It’s no easy task to change backup process 2 years and 500 VMs later so make sure you do this right from the start.
8. Establish standards for your environment. All hosts will be on the certified version of ESX or whatever hypervisor you use. Once you allow old hosts to say around after you have decided to build new host on the current ESX version, it won’t be long before your virtual infrastructure is fragmented. Remember, virtualization is evolving almost daily and new features are on each new version of ESX and Hyper-V. Live migration didn’t work on the old Hyper-V version but it work on R2, but it doesn’t work across R1 to R2 or R2 to R1. Get all those R1 upgraded to R2 so all are the same and live migration works. Keeping the standard isn’t easy because VM administrator are also system administrators, they have to land the servers, configure the host, as well as deploy the VM and configure the VM. It’s the same people doing both jobs and in some cases they are storage and network administrators too. Make sure you have enough staff to maintain your standards. I’ve known more than a few overworked, underpaid and miss-understood VM administrators in my time.
9. I hate this one as much as any true IT professional but someone has to keep doing the job if you leave and take a better paying job somewhere else. Make sure you keep good documentation. If it’s required, cool Visio’s of everything is nice for management, but even more important for day to day support staff are “How To” documents. How to land and provision a host (hardware and hypervisor). How to deploy a VM. How to add additional disk space to the “C” drive of a VM. How to P2V a system. How to properly request more storage. How to decommission a VM. How to schedule a VM backup. How to recover a VM from a backup. Also keep the “How To” documents up-to-date. You need a new “How To” for each version of ESX because they are not the same; customization to the SWAP volume for example is different on 2.5, 3.0 and 3.5. Hyper-V and XENserver have their own little tweaks as well.
10. Don’t buy every tool out there thinking its going to fix everything I have spent the last 2 hours writing about. Listen to what I am saying. Listen to your support staff. Carefully listen to vendors who want to sell you something because there is no silver bullet for poor planning. And, while on the subject of vendor, any consult recommendation with direct connection with equipment vendors should also be scrutinized. I’ve seen the best SAN money can buy collapse under 25 VMs because it was haphazardly used (VM storage Tetris). Many of the problems I have warned you about can be avoided if you plan. Read number 1 and 2 again until this makes sense. To the VM administrators who are fighting the daily battles because most of what I have written about is already occurring in your virtual environment, I feel your pain. To all the new bright-eyed IT managers and system administrator who are licking their chops because they are finally getting a budget to start virtualizing, I warn you and say, “Consider the big picture and plan, plan, plan!”
Hopefully this post has been helpful. Other items that were not covered are: How to monitor VM and host servers, disaster recovery DR of virtual environments, capacity planning, forecasting and hardware (servers, network and storage) brands and types. These can be topics for the next 10 biggie list. My final note is “Backups” will challenge traditional thinking so heed my warnings.
Originally posted 2009-03-29 10:38:28. Republished by Blog Post Promoter
Recent Comments