A Look at Microsoft SQL Server Upgrade Advisor
Upgrade Advisor Report Viewer
Reports are generated for every component analyzed in the analysis wizard. A report provides details about known issues that affect an upgrade. The report also provides links to information and suggested actions for addressing the identified issues. The reports can be viewed using the Upgrade Advisor Report Viewer. It can be launched from the start page by clicking “Launch Upgrade Advisor Report Viewer.”
The user can select the components in the report and the corresponding upgrade issues are displayed. You can apply a filter from the “Filter By” box to see the following:
- All issues.
- All upgrade issues.
- Pre-upgrade issues.
- All migration issues.
- Resolved issues.
The report files are saved in XML format. They can be exported to CSV format.
Upgrade Advisor Command Line Utility
The UpgradeAdvisorWizardCmd utility can be used to run the upgrade advisor from the command line.
UpgradeAdvisorWizardCmd [ -? ] |
[ -ConfigFile filename | <server_info> ]
[ -SqlUser login_id -SqlPassword password ]
[ -NsSqlUser login_id -NsSqlPassword password ]
[ -CSV ]
where <server_info> is any combination of the following:
The following example shows how to run Upgrade Advisor from the command line by using default configuration settings and Windows Authentication. This command will analyze all components except Notification Services because the command does not specify a Notification Services instance name.
UpgradeAdvisorWizardCmd -Server SWATI -Instance SQL2000
The following example shows how to run Upgrade Advisor from the command line by using a configuration file and specifying a SQL Server user name and password for connecting to the instance of SQL Server.
The XML file template is as follows:
UpgradeAdvisorWizardCmd -ConfigFile “C:Config1.xml”
-SqlUser “sa” -SqlPassword “Infosys123″
The upgrade process consists of the following steps:
- Review the “Hardware and Software Requirements for Installing SQL Server 2005″ topic in SQL Server 2005 Books Online.
- Back up data and system settings.
- Run Upgrade Advisor.
Upgrade Advisor does not modify your data or change settings on your computer.
- Review the issues identified in the Upgrade Advisor report.
- Resolve any blocking issues, which will prevent you from upgrading to SQL Server 2005.
- Resolve any other pre-upgrade issues.
- Run Upgrade Advisor to verify that issues have been addressed.
- Run SQL Server 2005 Setup.
- Resolve any post-upgrade and migration issues.
We have now seen how upgrade advisor helps the user in the process of upgrading SQL Server 2000 (or 7.0) instances to SQL Server 2005.Developers and DBAs can use this tool as a guide to understanding the issues that will cause problems during and after the user upgrades or migrates to SQL Server 2005.