Virtualise Microsoft Exchange: Can you really?
As Microsoft Exchange server is one of my area’s of expertise (or so they keep telling me :) ) I have had numerous discussions in the past whether you should virtualize Exchange or not. For ages Microsoft has claimed it cannot be done, performance would suffer severely, you would not receive support in a virtual environment etcetera.
To be honest, I didn’t really care about it. We’ve designed perfectly working Exchange organizations on VMware when MS was still refusing support. There are some rules you need to respect when you design your messaging environment, but generally it is no problem if you have the required resources available!
Now, a colleague of mine (Thanks Ruben!) pointed me at a specific page within the Microsoft Technet network which has recently been updated. And guess what, suddenly all roles in Exchange 2007 except the UM role are supported on a virtual platform. Now, they do speak of Hyper-V on this page only, but if you follow the link to “Validated Third Party Hypervisor“, you’ll see almost all VMware products are validated for Windows 2008 (and Exchange).
Now, what are the key things to look at when you design a virtual messaging infrastructure? Well, I always use the following list:
- How many users do I need to host tops? (try to anticipate on coming changes i.e. takeovers or resignations etc)
- How does the average user use the collaboration environment? (device them into 3 groups: light, medium, heavy)
- Do I have mobile users?
- Do I need clustering/High Availability within Exchange?
- How much storage will I need within approximately 2-3 years?
- And after all of the above questions are answered, how many IOPS does this environment require to perform within parameters?
Now, I will not give it all away (I have to keep my job too, you know ;) ) but there are some tips I’d like to give you all out there.
- First of all, do not underestimate the amount of IOPS your messaging environment requires. Most VMs use a 80/20 ratio. 80% of the actions on storage are read actions, 20% of the actions are write actions. Exchange is not like that. The average usage of Exchange will be 45/55. This means that your storage will experience a different kind of load on the LUNs where the databases and log files are hosted. You have to take this into account when designing your storage requirements because hard disks read information faster than they write it.
- Second, make sure that your networking infrastructure is in order. Your users, when using the full Outlook client, will experience delays and get error messages if the latency to your mailbox server is too high. On average, the latency should be about 20 milliseconds (you can check this by ctrl+rightclick on your Outlook icon in the Windows tray and choose “Server Connections”)
- Third, do not forget your mobile users. Windows Mobile and Blackberry users claim extra performance because they are constantly connected to your collaboration infrastructure. Calculate at least 0.10 IOPS/mobile user on top of the normal mailbox usages.
- Fourth, there are some places you can get help :) Microsoft itself offers you several design aids for your collaboration environment. There is the general mailbox storage design page @ Technet here. Also, there is a great calculation sheet (excel format) made by the Exchange Design team which is a real help when designing your storage. It can be found here. There are loads of other useful documents at that site too.
- Fifth, try to keep your design as straight forward as possible. Don’t go wandering off into clustering techniques if you do not really require them. Remember that up to 5000 users can be hosted on one virtual mailbox server without performance issues, IF you design it correctly. Also, Exchange 2010, which will be coming soon, promotes the simplicity in your collaboration design. Single server, single disk rather than complex cluster designs. Simple design makes simple administration and simple administration save money.
- Sixth, never forget your backup design. You can use mailbox retention settings to enable your users to recover (accidentally) deleted items and might replace your brick level backup, but this does not replace a proper database backup. Snapshotting helps a lot too, but in most storage environments it comes with a performance penalty. Take this into account when you design your backup infrastructure.
- Seventh, if you need to use clustering, consider your licensing. Clustering requires the enterprise edition of Exchange, but when you use several VMs to host your roles (and you probably will) you only need the enterprise version for the mailbox servers that you need to cluster. The other servers can use the standard edition! This might save you some money that you can later on spend on your storage ;)
- Eighth, do not virtualize the UM role. This will have very strange effects. Voice messages what are played from within Outlook will sound odd or will not play at all. This also is valid for the Office Communication Server or OCS from Microsoft. Many companies are looking at this technique at the moment for presenting presence information and enabling Instant Messaging within the company. The current versions of OCS and the Exchange UM role are not suited for visualization.
- Ninth and finally, use Exchange 2007 or 2010 when you virtualise your collaboration environment. Ofcourse you can use Exchange 2003 too, but it is far from optimized for virtualisation. Exchange 2007 uses far less IOPS than Exchange 2003. Exchange 2010 will probably use even less then Exchange 2007! And since performance and IOPS are your key values, this is good news for the future.
If you design carefully, Exchange can be extremely flexible (more flexible then it ever was) on your virtual environment, IF you keep the above facts and tips in mind. There still are other things to keep an eye out for, too. Mailbox and database recovery, for example, put a different load on your storage than normal usage does (the pagesize is much different). Also, the new version of Exchange, Exchange 2010, makes it even more appealing to virtualise. Remember that with a simple and straight forward design, you will benefit in the future. Unneeded complex designs might be a bigger challenge, but are hard to govern and maintain and will always hunt you in the end.
The bottomline and conclusion of this piece is: Virtualise Microsoft Exchange: Can you really? Yes you can! And if you ask me: yes, you should, too! :)
I hope this piece helps when you put Exchange on your VMware farm Virtual Infrastructure. Let me know if it does or doesn’t. I appreciate any comments :)
Tags In
Related Posts
18 Comments
Leave a Reply Cancel reply
You must be logged in to post a comment.
like I said before, it’s not a VMware Farm… We aren’t farmers we are builders. we build virtual infrastructures.
like I said before, it’s not a VMware Farm… We aren’t farmers we are builders. we build virtual infrastructures.
@Alex: Great post!
@Duncan: I fixed it. You can’t blame him, he is from the east of NL. Nothing but farms there ;)
@Alex: Great post!
@Duncan: I fixed it. You can’t blame him, he is from the east of NL. Nothing but farms there ;)
@ Tazz: Says the man who just moved to a village of farmers.. :P
@ Duncan: modified it ;) soz m8
@ Tazz: Says the man who just moved to a village of farmers.. :P
@ Duncan: modified it ;) soz m8
@duncan: the region the four of them live in, mostly consists of farmers. So they really cant be blaimed ;-)
@duncan: the region the four of them live in, mostly consists of farmers. So they really cant be blaimed ;-)
Great article. When I was reading the title I was thinking “here comes a list with tweaks and tips while creating the VM”, but I guess VMware does a great job and performance is okay for default VM creation and put Exchange in. And I love the “(you can check this by ctrl+rightclick on your Outlook icon in the Windows tray and choose “Server Connections”)” part. Our servers (physical) have latencies around 3500ms… :-)
Great article. When I was reading the title I was thinking “here comes a list with tweaks and tips while creating the VM”, but I guess VMware does a great job and performance is okay for default VM creation and put Exchange in. And I love the “(you can check this by ctrl+rightclick on your Outlook icon in the Windows tray and choose “Server Connections”)” part. Our servers (physical) have latencies around 3500ms… :-)
@Alex great post and ohhh boy I see more work inbound when will he stop pushing …. ;-)
@Alex great post and ohhh boy I see more work inbound when will he stop pushing …. ;-)
I still don’t understand why anyone would virtualize Exchange. What are the benefits?
I would much rather have dedicated hardware for each role, more stability, easier maintenance, more density..
What’s the great appeal of virtualizing Exchange? I just don’t get it..
I still don’t understand why anyone would virtualize Exchange. What are the benefits?
I would much rather have dedicated hardware for each role, more stability, easier maintenance, more density..
What’s the great appeal of virtualizing Exchange? I just don’t get it..
@Peter
If you ask that question, I guess you challenge the use of virtualisation in general. Why would you virtualise at all?
Well, there are several reasons why you should.
– It saves hardware costs
– It saves cooling capacity in your datacenter
– It saves electricity in your datacenter
– It releaves you from hardwaredependent installations
– It saves hardware maintenance costs (ie support contracts)
– It saves license fees (you can install a Windows Enterprise server 4(!) times in a virtual environment versus once in a physical environment)
– You add flexibility to your infrastructure: where you normally would buy a server (takes time) and install it (takes more time) and then you still have limited enhancements versus a few clicks for a new server and a few clicks for a new installation etcetera.
Those are just a few reasons why you should :)
@Peter
If you ask that question, I guess you challenge the use of virtualisation in general. Why would you virtualise at all?
Well, there are several reasons why you should.
– It saves hardware costs
– It saves cooling capacity in your datacenter
– It saves electricity in your datacenter
– It releaves you from hardwaredependent installations
– It saves hardware maintenance costs (ie support contracts)
– It saves license fees (you can install a Windows Enterprise server 4(!) times in a virtual environment versus once in a physical environment)
– You add flexibility to your infrastructure: where you normally would buy a server (takes time) and install it (takes more time) and then you still have limited enhancements versus a few clicks for a new server and a few clicks for a new installation etcetera.
Those are just a few reasons why you should :)
Hello. Thank you for this great info! Keep up the good job!
Hello. Thank you for this great info! Keep up the good job!