Showing posts with label VMware. Show all posts
Showing posts with label VMware. Show all posts

Monday, June 1, 2015

VMware, let's talk about Exchange and best practices

Apologies for the weird spacing, apparently Google changed something so Windows Live Writer can't post to Blogger currently. Posted this via a very weird work-around.

This week I was made aware of some VMware articles and whitepapers about running Microsoft Exchange on VMware VSAN. VMware VSAN is a 'virtual SAN' solution that employs local server storage and presents this to the hypervisor as a pool of shared storage, similar to the approach of Nutanix.

What surprised me, besides the mud slinging between VMware and their partner Nutanix, is the Exchange environment VMware built to execute their performance testing with.
I won't go into the details of the VSAN storage technology in this blog post, nor cover all aspects of the Exchange architecture design process. Today I want to focus on the high-level Exchange architecture used in the whitepapers.

The Exchange 2010 on VSAN whitepaper

First let's take a look at the 2014 whitepaper Microsoft® Exchange Server Performance on VMware Virtual SAN™.



Wait what? Exchange 2010 was used to perform the tests while Exchange 2013 was released almost two years earlier. Exchange 2010 was installed on Windows Server 2008 R2 while Server 2012 was available. Using older software to demonstrate your platforms capabilities may be done for very good reasons, however they were not explained in the whitepaper.


Microsoft introduced server roles in Exchange 2007 and soon discovered the new roles confused the crap out of their customers. So in the Exchange 2010 time-frame the Exchange team started to emphasize why combining the Mailbox, Client Access and Hub Transport roles on a single server was the preferred way to deploy Exchange. Most important reason: less complexity. And with that of course comes a decrease in costs, better reliability and more good things.

There have been situations where multi-role was not the most efficient option. Back when Exchange 2010 was released the most dominant hypervisor vendor was not able to assign more than 4 vCPU to a VM and when they were, they charged extra for that capability. As far as I know none of these limitations apply today so it's unclear why VMware did not deploy Exchange as recommended.


The Exchange 2013 on VSAN 6.0 whitepaper

The updated version of this whitepaper can be found here: Virtualizing Microsoft Applications on VMware Virtual SAN, Reference Architecture. In this whitepaper VMware explains how to deploy a HA Exchange 2013 environment while using the VSAN solution as the storage back-end.

Now starting with Exchange 2013 the Exchange team went a step further and consolidated their recommendations in the Preferred Architecture. This architecture was presented on industry conferences as MEC, TechEd and recently Ignite. In fact, the first article Microsoft released about Exchange 2016 contains a section called Preferred Architecture where the team explains the Exchange 2013 PA remains valid, with some minor updates.

Now let's compared the PA with the architecture VMware describes in this whitepaper.


First of all VMware did not deploy multi-role servers, they deployed 8 Exchange 2013 server where 4 could've done the trick. More servers equals an increase in complexity and costs.
The placement of the "DAG File Cluster" is a bit confusing too, especially because the Exchange Mailbox servers and the FSW are connected by a blue line. I wonder if the author understands the role of the FSW for the cluster.


Database and log files are isolated, this isn't required. And 80 GB is not sufficient for the OS (32 GB), page file (32 GB + 10 MB) and Exchange (30 GB).


VMware uses two network adapters, which nowadays is no longer the best practice.


Not just VMware, Citrix too

Recently I commented on some Exchange whitepapers by Citrix and today I looked at two whitepapers by VMware. Both vendors demonstrate they have limited understanding of Microsoft Exchange and the best practices Microsoft wrote.

Let me be honest. IT has been never more challenging as today. Customer's environments are growing in size and complexity. Trends like virtualization (server, network, storage, application, etcetera), BYOD, consumerization of IT, cloud computing and increasing demands from the business can drive an IT person crazy. This is why it has never been so important for vendors to reduce complexity, make sure recommendations are in line with other vendors and that customers receive all the help they need to implement the solutions in the best way possible.

As an Exchange consultant I often sat with customers discussing Microsoft best practices for Exchange and the storage or virtualization guy showing up with an outdated or slightly inaccurate document instructing the exact opposite. Customers expect the vendors to help them clarify stuff, not to cause even more confusion.

So Citrix, VMware and other vendors too, time to step up your game. Make sure you read and understand every article on the official Exchange Team Blog. Update your whitepapers during their lifetime when progressive insight or updated best practices require it. Ask Microsoft for feedback or involve Subject Matter Experts to review your document and provide some feedback from their perspective. I'm sure that with a little extra effort the quality of the whitepapers can improve a lot.

Monday, September 9, 2013

VMware vCenter installeren? Vervang de default certificaten!

VMware vCenter is de centrale beheerconsole voor een VMware ESX/ESXi/vSphere-omgeving. Met deze console kunnen beheerders virtuele servers aanmaken, aanzetten of uitschakelen, configureren en ook weer verwijderen.
 
Beheerders maken verbinding met de vSphere Client. Het spreekt voor zich dat deze communicatie versleuteld wordt, je wilt niet dat dit soort gevoelig verkeer afgeluisterd, vervalst of gemanipuleerd kan worden. En om zeker te weten dat je daadwerkelijk contact maakt met de vCenter server gebruiken we een SSL certificaat. Dat wil zeggen, dat is de bedoeling. Maar meestal als ik verbinding maak met een vCenter server krijg ik dit:
 
 
Natuurlijk is dit "probleem" makkelijk te omzeilen door het vinje te zetten of op Ignore te klikken. Maar wat gebeurt er dan eigenlijk? Deze meldingen kunnen je informeren over het feit dat er een man-in-the-middle aanval plaatsvindt. Of dat je je credentials aan een hele andere applicatie geeft in plaats van je vertrouwde vCenter server. Maar het grootste issue wat ik zie is dat je beheerders aanleert om certificaatmeldingen te negeren of te omzeilen. Dat staat haaks op het doel van SSL en certificaten, juist het controleren van het certificaat moet je extra zekerheid bieden.
 
Neem daarom als VMware specialist even de tijd om na te denken over PKI. Certificaten zijn al lang niet ingewikkeld meer en als je de taak hebt om een hypvervisorplatform uit te rollen dan zou je ook in staat moeten zijn om een certificaat aan te vragen en deze te installeren. Zo niet, lees je in in de materie. Als je de basics van een SSL verbinding snapt dan is de rest simpelweg het uitvoeren van een paar eenvoudige handelingen.
 
Zie voor meer informatie:
 

Wednesday, September 14, 2011

Windows 8 Preview op VMware Workstation of ESX? No can do, sir.

Wie probeert om de Windows Developer Preview, ofwel Windows 8, te installeren op VMware Workstation 7, VMware Player, VMware ESXi of Microsoft Virtual PC ontdekt als snel dat dit niet gaat werken. Onder andere de volgende foutmeldingen komen voor:

*** VMware Player internal monitor error ***
vcpu-0:NOT_IMPLEMENTED vmcore/vmm/intr/apic.c:1903

HAL_INITIALIZATION_FAILED

De reden is dat Windows 8 een aantal ACPI 2.0 feature gebruikt welke niet beschikbaar zijn in deze producten. Wel werkt het prima in VMware Workstation 8, Fusion 4 of in de gratis producten Hyper-V en VirtualBox.

Monday, March 14, 2011

Exchange 2010 en Dynamic Memory

Dynamic Memory is een nieuwe feature van Hyper-V, nieuw sinds Service Pack 1 voor Windows Server 2008 R2. Dynamic Memory zorgt er voor dat je een virtuele machine een kleinere hoeveelheid startgeheugen kunt geven, waarna Hyper-V er voor zorgt dat een VM die het nodig heeft wat meer geheugen toegewezen krijgt. Door het beheer verder aan Hyper-V over te laten kan het geheugen efficiĆ«nter verdeeld worden waardoor je meer VM’s op de server kunt draaien.

Klinkt goed, of niet? Als je het aan mij vraagt wel, ik zie dat het voor veel workloads mogelijk is om (veel) minder geheugen te gebruiken. Maar werkt het ook voor Exchange? Het werkt wel, al zul je bij de mailbox rol al snel zien dat hij graag de maximale hoeveelheid geheugen zal willen gebruiken om gegevens in te cachen. Maar belangrijker is dat het niet aanbevolen wordt door Microsoft. Zie voor meer informatie de Exchange 2010 System Requirements onder het kopje Hardware Virtualization:

Exchange Server Memory Requirements and Recommendations

Some hypervisors have the ability to oversubscribe or dynamically adjust the amount of memory available to a specific guest machine based on the perceived utilization of memory in the guest machine as compared to the needs of other guest machines managed by the same hypervisor. This technology makes sense for workloads in which memory is needed for brief periods of time and then can be surrendered for other uses. However, it doesn't make sense for workloads that are designed to use memory on an ongoing basis. Exchange, like many server applications with optimizations for performance that involve caching of data in memory, is susceptible to poor system performance and an unacceptable client experience if it doesn't have full control over the memory allocated to the physical or virtual machine on which it is running.

Many of the performance gains in recent versions of Exchange, especially those related to reduction in I/O, are based on highly efficient usage of large amounts of memory. When that memory is no longer available, the expected performance of the system can't be achieved. For this reason, memory oversubscription or dynamic adjustment of virtual machine memory should be disabled for production Exchange servers.

En passant wordt ook nog even ‘die andere hypervisor’ aangestipt, ook VMware heeft een aantal technieken in huis om geheugen weg te halen bij VM’s die het even niet nodig heeft. Ook die moet je dus niet inschakelen voor een VM met Exchange Server.

Friday, August 28, 2009

Server 2008 R2 loopt vast in VMware ESX

Verschillende mensen melden vastlopers wanneer ze Windows Server 2008 R2 draaien onder VMWare ESX 3.5 en 4. De oorzaak hiervan zou de videdriver zijn die geĆÆnstalleerd wordt met de VMware Tools. Een tijdelijke oplossing is om ofwel geen VMware Tools te installeren, ofwel de VMware videodriver te verwijderen. Een definitiefe oplossing in de vorm van een nieuwe driver is helaas nog niet voor handen.