question

Fatherjack avatar image
Fatherjack asked

Removing SQL Server after upgrade

There have been lots of questions about how to carry out upgrades from/to various versions and in general the response has been to install the new version beside the old and backup/restore the database from one instance to the other. This is what I have done and have met no real issues in that. I am now ready to remove the old versions. Is this simply a case of uninstalling the old version (SQL 2005 in my case) or are there 'gotchas' that I need to consider? Are there any risks of shared dlls being removed and causing SQL 2008 problems? Does it require a reboot? What experiences have you had that I might have to look out for? TIA
sql-server-2008sql-server-2005upgradeuninstall
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matt Whitfield avatar image
Matt Whitfield answered
Have you got a compelling reason to remove it aside from neatness? A service that's installed but not running will only take up disk space - so unless you're short on that... ? Basically I wouldn't like to say 'no it will be fine' because I'm sure there would be some DLL somewhere that would cause an issue. I remember trying to install / uninstall various versions on a dev box gave us quite a lot of grief (after uninstall of one, the management tools for the other wouldn't load) - but I have a feeling that was a fight between 2000 and 2005, rather than 2005 and 2008.
3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matt Whitfield avatar image Matt Whitfield ♦♦ commented ·
Also setting the service to 'disabled' can help - requires a conscious choice to enable it if you want to start it...
2 Likes 2 ·
Fatherjack avatar image Fatherjack ♦♦ commented ·
Thats the sort of thing that concerns me. I am also concerned that someone will turn the service back on and we'll end up with data on an un-monitored server (ie no backups, no security, no space used checks etc) and that could take over the 'real' servers! Guess I could set the service account and password to something unused and leave it at that...
0 Likes 0 ·
Blackhawk-17 avatar image Blackhawk-17 commented ·
Make sure it's disabled otherwise you may also run into licensing issues or un-patched vulnerabilities being potentially exploited.
0 Likes 0 ·
Grant Fritchey avatar image
Grant Fritchey answered
Also, if you're doing more migrations in the future, the best method is not to install the service on the same machine, side-by-side, but rather to install the service to a new machine and then migrate everything over. This is used for two reasons, one, the uninstall that you're running into could actually cause problems, so is best avoided, two, if there is a problem during the install or the migration, your original system is completely unaffected so that you can instantly recover it. This will help going forward. For where you are now, I'd take Matt's advice.
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Fatherjack avatar image Fatherjack ♦♦ commented ·
In previous upgrades (from 7.0 upwards) that has been our policy and my preferred option but this upgrade project doesn't have the funding to include new hardware, thus the side-by-side ...
0 Likes 0 ·
Grant Fritchey avatar image Grant Fritchey ♦♦ commented ·
Ah well, nothing you can do then. Like I said, Matt's advice is probably best.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.