Virtualise your servers: pitfalls and planning
Posted on 7 Dec 2009 at 14:59
Jon Honeyball emphasises the need for careful planning before attempting to virtualise a server
In the first part of our guide to virtualising your servers, we’d arrived at the stage of being ready to create our first virtual machine on our shiny server.
At this point it’s tempting to fumble for the installation DVDs and try to do everything in an afternoon. The sober reality is that it’s rarely a good idea.
We need more planning, however boring that might seem, because the fact is that what we’re trying to virtualise has no idea what we’re trying to do to it: our trusty operating systems Windows Server 2003 and 2008 really don’t understand what it means to be virtualised.
Let me give you a few examples of the sort of “gotchas” you can run into. First up is resources. With a modern virtualisation solution you can add resources as necessary, so if a particular VM might benefit from more RAM, it isn’t difficult to give it some from the global heap of RAM on that machine.
Need more processing grunt? Add another CPU core (or three). More disk storage? No problem, just extend the virtual machine partition size. All of which sounds great, until you realise that most of your system software isn’t capable of hot-adding anything at all.
Pop more CPUs into your VM and Windows Server 2003 will just ignore them, as will all your applications. You’ll need to shut down and reboot the VM for the new processor cores to be seen by the OS, which might sound daft, but remember that no-one had variable-sized hardware back in 2003.If a company the size of Adobe can screw up over printer drivers, just how many of your other applications do you think will cope with extra CPUs magically appearing?
Another concerns increasing the size of your disk partition. Windows can certainly enlarge an NTFS partition into newly created space, except if it’s on the boot drive. There’s no way to do that other than to download some hack-o-matic utility to stretch the partition into the newly available space, a utility that probably won’t run on server OS installations anyway.
Worse still, think about the applications. In an earlier column I wrote about how Adobe Photoshop Essentials couldn’t cope with me removing a printer driver while it was running – try it; the app exploded.
Try adding a printer driver while Photoshop Essentials is running and it, too, blows up. Why? Because its authors made all sorts of assumptions when the application starts up, and didn’t check that those assumptions would remain correct throughout the lifetime of running the application.
Now, if a company the size of Adobe can screw up so badly over printer drivers, just how many of your other applications do you think will cope with extra CPUs magically appearing while they’re running? Or more RAM?
You might expect, with some justification, that any app that follows the guidelines and lets Windows handle all such matters should have no problem, and in Alice’s Wonderland you’d be right. However, applications make all sorts of assumptions about the amount of space they’re occupying, and many of them go behind, around and under Windows in the process.
Download a year of Jon Honeyball's Advanced Windows columns by heading to our Free Downloads site
From around the web
Jon Honeyball
Jon is one of the UK's most respected IT journalists and a contributing editor to PC Pro since it launched in 1994. He specialises in Microsoft technologies, including client/server and office automation applications.
advertisement
- Why you have to be left in the dark on OS patches
- Is Microsoft mismanaging Windows on ARM?
- Dealing with spam surrogates
- Why 3G broadband can be better and cheaper than ADSL
- Is Twitter bad for business?
- Publishing your email address isn't a security disaster
- Why you'll need a fax machine to develop iOS apps
- Learning to adapt to the mobile web
- Why you shouldn't use WPS on your Wi-Fi network
- Disabled users suffer when software breaks the rules
- Laptop bag reviews: nine tested
- Sony VAIO T Series Ultrabook review: first look
- Revealed: the military standards and robots HP uses to test its laptops
- Windows 8: multi-monitors and double standards?
- Why is TalkTalk's year-old porn filter suddenly big news?
- Why are laptop screens so far behind mobiles?
- HP EliteBook Folio review: first look
- The shoebox-sized all-in-one printer
- Forget the Ultrabook: here comes the HP Sleekbook
- HP Spectre XT review: first look
- Autonomy's Lynch joins 27,000 on way out of HP
- ICO: no fines for breaking cookie rules
- HP set to slash up to 30,000 jobs
- Government sites to miss cookie deadline
- Microsoft tweaks multi-monitor support in Windows 8
- Apple patches Leopard, despite ending support last year
- Defra opens rural broadband funding applications
- BT's broadband sales surpass calls revenue
- Apple patches multiple security issues
- FBI warns travellers to beware attacks via hotel Wi-Fi
advertisement

