Thomas's profileWindows Live spacePhotosBlogGuestbook Tools Help

Blog


    July 01

    The DBA equivalent of a plane crash

    Yesterday at work I was working on a project to migrate an elderly physical SQL Server (v. 2000) to a new VMWare virtual offering better performance and availability.

    I installed the new server instance, and tasked my offshore colleagues in India (who are absolutely excellent) with the actual migration, as they can do it at 3am our time during their regular working day.

    This is a simple server running a database which supports a Communities-based forum used by the company I work for in supporting their customers. However, it has previously hosted a range of other databases, supporting various website shops used by subsidiaries of my company. Several weeks ago the databases that serve these commercial sites had been moved onto a SQL Server 2005 clustered instance.

    At the time of that migration, I noticed that the database used for Session State on these sites was still using the old server in error, and pointed this out. Unfortunately this was at a time of a big fire fight over related web server issues on the same project, and I was told this was a low priority, since the sites were still working (they didn’t mind where they were storing their session state!) This issue was never addressed, and I certainly forgot about it.

    Then during this migration, a series of errors occurred in sequence, much in the same way that several unusual events usually chain together to cause plane crashes.

    First, application logins could not connect to the new server. After lots of troubleshooting, we realised I had installed the wrong collation! What a terrible, basic, embarrassing mistake for a DBA! So – we needed to invoke roll back, simply switch the old server back in, and reinstall SQL Server on the new virtual server, and redo the migration at a later date, yeah?

    Problem. One of my colleagues in India, while renaming the old server and changing its IP address, had clicked ‘disable’ on its network card, instead of ‘properties’. Disconnected. No RDP. No ‘lights out’ card. No one on site in the server room , it was still 7am. Alarm raised.

    Also, it now became apparent that all the websites mentioned above were no longer working, because they were still incorrectly using the old server for their Session State database: no one had got round to changing the relevant IIS connection configs. Big problem. commercial sales sites unavailable, rollback position lost. Red faces all round.

    By 9.09am UK time we had recovered the situation, someone had arrived and was able to re-enable the network card at the console in the server room. IP and Netbios name changes complete, the old server was back online, websites up once more.

    Lessons learned – get your collation right. SQL_1xCompat_CP850_CI_AS really does look very much like SQL_1xCompat_CP850_CS_AS when you give it a cursory glance instead of a proper check. Get your setups thoroughly peer reviewed. Never jeopardise your fallback position – ensure you have Lights Out connectivity if possible. And make sure you know how to use it if you do!

    The inevitable inquest, mud-flinging, finger-pointing, blame-apportioning, I-told-you-so accusations have not been at all pleasant, and have made this into a really bad week for me which is barely half way through.

    Comments (1)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    No namewrote:
    http://www.salesid.com
    http://belts.salesid.com Belts
    http://caps.salesid.com Caps
    http://clothing.salesid.com Clothing
    http://glasses.salesid.com Glasses
    http://handbags.salesid.com Handbags
    http://shoes.salesid.com Shoes
    http://wallets.salesid.com Wallets
    http://watches.salesid.com Watches
    http://www.salesid.com/adidas/ Adidas
    http://www.salesid.com/shoes/asics/ Asics
    http://www.salesid.com/shoes/bape-stars/ Bape Stars
    http://www.salesid.com/shoes/christian-louboutin/ Christian Louboutin
    http://www.salesid.com/shoes/clarks-sandal/ Clarks Sandal
    http://www.salesid.com/shoes/converse/ Converse
    http://www.salesid.com/shoes/dolce-gabbana/ Dolce Gabbana
    http://www.salesid.com/shoes/dsquared-2/ Dsquared 2
    http://www.salesid.com/shoes/gucci/ Gucci
    http://www.salesid.com/shoes/ice-cream/ Ice Cream
    http://www.salesid.com/shoes/lacoste/ Lacoste
    http://www.salesid.com/shoes/louis-vuitton/ Louis Vuitton
    http://www.salesid.com/shoes/new-balance/ New Balance
    http://www.salesid.com/shoes/nike/ Nike
    http://www.salesid.com/shoes/prada/ Prada
    http://www.salesid.com/shoes/puma/ Puma
    http://www.salesid.com/shoes/supra/ Supra
    http://www.salesid.com/shoes/timberland-boots/ Timberland Boots
    http://www.salesid.com/shoes/ugg-boots/ UGG Boots
    http://www.salesid.com/belts/ Belts Catalog
    http://www.salesid.com/caps/ Caps Factory
    http://www.salesid.com/clothing/ Clothing Shop
    http://www.salesid.com/glasses/ Glasses Wholesale
    http://www.salesid.com/handbags/ Handbags Supplier
    http://www.salesid.com/shoes/ Shoes Catalogue
    http://www.salesid.com/wallets/ Wallets Discount
    http://www.salesid.com/watches/ Watches Original
    ------------------------------------------------------------------
    http://www.saletoo.com
    http://belts.saletoo.com Belts
    http://caps.saletoo.com Caps
    http://clothing.saletoo.com Clothing
    http://glasses.saletoo.com Glasses
    http://handbags.saletoo.com Handbags
    http://shoes.saletoo.com Shoes
    http://wallets.saletoo.com Wallets
    http://watches.saletoo.com Watches
    http://www.saletoo.com/adidas/ Adidas
    http://www.saletoo.com/shoes/asics/ Asics
    http://www.saletoo.com/shoes/bape-stars/ Bape Stars
    http://www.saletoo.com/shoes/christian-louboutin/ Christian Louboutin
    http://www.saletoo.com/shoes/clarks-sandal/ Clarks Sandal
    http://www.saletoo.com/shoes/converse/ Converse
    http://www.saletoo.com/shoes/dolce-gabbana/ Dolce Gabbana
    http://www.saletoo.com/shoes/dsquared-2/ Dsquared 2
    http://www.saletoo.com/shoes/gucci/ Gucci
    http://www.saletoo.com/shoes/ice-cream/ Ice Cream
    http://www.saletoo.com/shoes/lacoste/ Lacoste
    http://www.saletoo.com/shoes/louis-vuitton/ Louis Vuitton
    http://www.saletoo.com/shoes/new-balance/ New Balance
    http://www.saletoo.com/shoes/nike/ Nike
    http://www.saletoo.com/shoes/prada/ Prada
    http://www.saletoo.com/shoes/puma/ Puma
    http://www.saletoo.com/shoes/supra/ Supra
    http://www.saletoo.com/shoes/timberland-boots/ Timberland Boots
    http://www.saletoo.com/shoes/ugg-boots/ UGG Boots
    http://www.saletoo.com/belts/ Belts Distributor
    http://www.saletoo.com/caps/ Caps Outlet
    http://www.saletoo.com/clothing/ Clothing Cheap
    http://www.saletoo.com/glasses/ Glasses Wholesaler
    http://www.saletoo.com/handbags/ Handbags Business
    http://www.saletoo.com/shoes/ Shoes Custom
    http://www.saletoo.com/wallets/ Wallets Selection
    http://www.saletoo.com/watches/ Watches Manufacturer
    Dec. 19

    Trackbacks

    The trackback URL for this entry is:
    http://thomaspullen.spaces.live.com/blog/cns!FF9655940F0F8655!276.trak
    Weblogs that reference this entry
    • None