Geekzone.co.nz is one of the busiest IT websites in New Zealand, and Mauricio is finalizing the upgrade of SQL Server 2008 (from SQL Server 2005) on a new Windows Server 2008 based Hyper-V server. Mauricio was happy to do a Q&A with me to cover off why he moved to SQL Server 2008, how he'd deployed his server and approached the migration, and I thought I'd post his responses here.
Features
What are the key benefits you’ve seen for Geekzone by upgrading from SQL Server 2005 to 2008?
Overall performance increase, security and resiliency are the main benefits we’ve noticed since upgrading to Microsoft SQL Server 2008.
What features of SQL Server 2008 are you taking advantage of?
At the moment we are in the last steps of working in the implementation of a mirroring strategy and improving security by applying encryption to the entire database.
What is your favourite feature of SQL Server 2008?
I really like the database encryption, which is transparent for my application – no code changes are required to take advantage of this feature. And it instantly improves database security with only a few simple steps.
Virtualization
What is the deployment configuration you used for Geekzone?
We have recently received a new HP DL360 G5 server to be used as a host, replacing an aging server. On the old server we had Geekzone running as a single instance with both the database and IIS 7 server in the Windows Server 2008 environment.
We decided to maximise the use of the new hardware by deploying Geekzone as a virtual machine, keeping the number of roles on the host hardware to a minimum – in this case the new server is running Windows Server 2008 Enterprise Edition with the Hyper-V role only.
Even though we deployed the new Geekzone virtual machine with an increased 4GB RAM, we still had enough spare memory on the host to deploy a couple of other servers that much needed a new home.
Why did you choose to virtualize your database server?
The ease of administration, single point for backup, maximum use of the available memory, disk and processor resources all played a role in this decision.
What has the performance of SQL Server been like in a virtual environment?
It exceeded all our expectations. The virtual machine running Geekzone outperforms the dedicated hardware we have used until recently, even though it is sharing the same host with another three servers playing different roles in our organisation.
We current serve about 1.5 million pages a month, plus a much bigger number of RSS feeds, and moving servers allowed us to immediately deploy new services to our users, such a Geekzone to Twitter integration that we had planned for a while.
Migration
What was your migration strategy?
I had a new virtual machine created from scratch that completely replicated the features used on the Geekzone servers, including a copy of the IIS 7 configuration file and database. We had this virtual machine running on a test server in our offices for about three weeks, while the new HP server was being deployed.
Once the new hardware was in place, I used the Lights Out administration module to configure Windows Server 2008 Enterprise edition and load the Hyper-V role.
With all the tests completed I just had to export the virtual machine to an external HDD and ship it to the datacentre. The virtual machine was then copied to the new hardware and imported through the Hyper-V management console.
On the date we had set for the migration it was just the case of briefly stopping the SQL Server at a quiet time of the day, move the files to the virtual machine, swap the IP addresses and let the world connect to the new server. It all took less than five minutes.
Why did you choose this migration strategy?
Even though it involved a brief interruption of the service we thought it would be adequate since our more hardcore users were informed beforehand . The testing period before the deployment gave us time to learn new features of Hyper-V, what we could expect in terms of administration, backup routines, etc.
How did the migration go? What issues did you have to deal with along the way?
The migration happened as planned, on a Tuesday at 2am which is our easiest time of the week. Many of our readers contacted me to comment how much faster they felt Geekzone was in the days after the migration.
Summary
How would you summarize your overall experience with SQL Server 2008?
Microsoft SQL Server 2008 exceeded my expectations when it comes to ease of migration, performance and administration. Although you expect some work to be done when migrating existing databases, the impact of those changes was minimal.
A big thanks to Mauricio for taking the time to answer these questions!
If you have deployed SQL Server 2008 and have a story to share, contact me!