| title | Upgrade: Installation Wizard (Setup) | ||
|---|---|---|---|
| description | The SQL Server Installation Wizard provides a single feature tree for an in-place upgrade of SQL Server components to the latest version of SQL Server. | ||
| ms.custom | seo-lt-2019 | ||
| ms.date | 12/13/2019 | ||
| ms.prod | sql | ||
| ms.reviewer | |||
| ms.technology | install | ||
| ms.topic | conceptual | ||
| helpviewer_keywords |
|
||
| ms.assetid | cef118a5-a7ce-4bfa-8b9d-c81996284cfc | ||
| author | cawrites | ||
| ms.author | chadam | ||
| monikerRange | >=sql-server-2016||=sqlallproducts-allversions |
[!INCLUDE SQL Server -Windows Only]
The [!INCLUDEssNoVersion] Installation Wizard provides a single feature tree for an in-place upgrade of [!INCLUDEssNoVersion] components to the latest version of [!INCLUDEssNoVersion].
Warning
When you upgrade [!INCLUDEssNoVersion], the previous version of [!INCLUDEssNoVersion] will be overwritten and will no longer exist on your computer.
Before upgrading, back up SQL Server databases and other objects associated with the previous SQL Server instance.
Caution
For many production and some development environments, a new installation upgrade or a rolling upgrade is more appropriate than an in-place upgrade. For more information regarding upgrade methods, see:
You must run Setup as an administrator. If you install [!INCLUDEssNoVersion] from a remote share, you must use a domain account that has read and execute permissions on the remote share, and is a local administrator.
Warning
Be aware that you cannot change the features to be upgraded, and you cannot add features during the upgrade operation. For more information about how to add features to an upgraded instance of [!INCLUDEssnoversion] after the upgrade operation is complete, see Add Features to an Instance of SQL Server (Setup).
If you are upgrading the [!INCLUDEssDE], review Plan and Test the Database Engine Upgrade Plan and then perform the following tasks, as appropriate for your environment:
-
Back up all [!INCLUDEssNoVersion] database files from the instance to be upgraded, so that you can restore them, if it is required.
-
Run the appropriate Database Console Commands (DBCC) on databases to be upgraded to ensure that they are in a consistent state.
-
Estimate the disk space that is required to upgrade SQL Server components, in addition to user databases. For disk space that is required by SQL Server components, see Hardware and Software Requirements for Installing SQL Server.
-
Ensure that existing SQL Server system databases - master, model, msdb, and tempdb - are configured to autogrow, and ensure that they have sufficient hard disk space.
-
Ensure that all database servers have logon information in the master database. This is important for restoring a database, as system logon information resides in master.
-
Disable all startup stored procedures, as the upgrade process will stop and start services on the SQL Server instance being upgraded. Stored procedures processed at startup time might block the upgrade process.
-
When upgrading instances of [!INCLUDEssNoVersion] where [!INCLUDEssNoVersion] Agent is enlisted in MSX/TSX relationships, upgrade target servers before you upgrade master servers. If you upgrade master servers before target servers, [!INCLUDEssNoVersion] Agent will not be able to connect to master instances of [!INCLUDEssNoVersion].
-
Quit all applications, including all services that have SQL Server dependencies. Upgrade might fail if local applications are connected to the instance being upgraded.
-
Make sure that Replication is current and then stop Replication.
For detailed steps for performing a rolling upgrade in a replicated environment, see Upgrade Replicated Databases.
To upgrade [!INCLUDEssNoversion]
-
Insert the [!INCLUDEssNoVersion] installation media, and from the root folder, double-click Setup.exe. To install from a network share, move to the root folder on the share, and then double-click Setup.exe.
-
The Installation Wizard starts the [!INCLUDEssNoVersion] Installation Center. To upgrade an existing instance of [!INCLUDEssNoVersion], click Installation in the left-hand navigation area, and then click Upgrade from... previous versions of [!INCLUDEssNoVersion].
-
On the Product Key page, click an option to indicate whether you are upgrading to a free edition of [!INCLUDEssNoVersion], or whether you have a PID key for a production version of the product. For more information, see Editions and Components of SQL Server 2016 and Supported Version and Edition Upgrades.
-
On the License Terms page, review the license agreement and, if you agree, select the I accept the license terms check box, and then click Next. To help improve [!INCLUDEssNoVersion], you can also enable the feature usage option and send reports to [!INCLUDEmsCoName].
-
In the Global Rules window, the setup procedure will automatically advance to the Product Updates window if there are no rule errors.
-
The [!INCLUDEmsCoName] Update page will appear next if the [!INCLUDEmsCoName] Update check box in Control Panel\All Control Panel Items\Windows Update\Change settings is not checked. Putting a check in the [!INCLUDEmsCoName] Update page will change the computer settings to include the latest updates when you scan for Windows Update.
-
On the Product Updates page, the latest available [!INCLUDEssNoVersion] product updates are displayed. If you don't want to include the updates, clear the Include [!INCLUDEssNoVersion] product updates check box. If no product updates are discovered, [!INCLUDEssNoVersion] Setup does not display this page and auto advances to the Install Setup Files page.
-
On the Install Setup Files page, Setup provides the progress of downloading, extracting, and installing the Setup files. If an update for [!INCLUDEssNoVersion] Setup is found, and is specified to be included, that update will also be installed.
-
In the Upgrade Rules window, the setup procedure will automatically advance to the Select instance window if there are no rule errors.
-
On the Select Instance page, specify the instance of [!INCLUDEssNoVersion] to upgrade. To upgrade Management tools and shared features, select Upgrade shared features only.
-
On the Select Features page, the features to upgrade will be preselected. A description for each component group appears in the right pane after you select the feature name.
The prerequisites for the selected features are displayed on the right-hand pane. [!INCLUDEssNoVersion] Setup will install the prerequisite that are not already installed during the installation step described later in this procedure.
[!NOTE]
If you have opted to upgrade the shared features by selecting <Upgrade shared features only> on the Select Instance page, all the shared features are preselected on the Feature Selection page. All the shared components are upgraded at the same time. -
On the Instance Configuration page, specify the Instance ID for the instance of [!INCLUDEssNoVersion].
Instance ID - By default, the instance name is used as the Instance ID. This is used to identify installation directories and registry keys for your instance of [!INCLUDEssNoVersion]. This is the case for default instances and named instances. For a default instance, the instance name and instance ID would be MSSQLSERVER. To use a non-default instance ID, provide a value for the Instance ID textbox.
All [!INCLUDEssNoVersion] service packs and upgrades will apply to every component of an instance of [!INCLUDEssNoVersion].
Installed instances - The grid will show instances of [!INCLUDEssNoVersion] that are on the computer where Setup is running. If a default instance is already installed on the computer, you must install a named instance of [!INCLUDEssnoversion].
-
Work flow for the rest of this article depends on the features that you have specified for your installation. You might not see all the pages, depending on your selections.
-
On the Server Configuration - Service Accounts page, the default service accounts are displayed for [!INCLUDEssNoVersion] services. The actual services that are configured on this page depend on the features that you are upgrading.
Authentication and login information will be carried forward from the previous instance of [!INCLUDEssNoVersion]. You can assign the same login account to all [!INCLUDEssNoVersion] services, or you can configure each service account individually. You can also specify whether services start automatically, are started manually, or are disabled. [!INCLUDEmsCoName] recommends that you configure service accounts individually so that [!INCLUDEssNoVersion] services are granted the minimum permissions they have to have to complete their tasks. For more information, see Configure Windows Service Accounts and Permissions.
To specify the same login account for all service accounts in this instance of [!INCLUDEssNoVersion], provide credentials in the fields at the bottom of the page.
Security Note [!INCLUDEssNoteStrongPass]
When you are finished specifying login information for [!INCLUDEssNoVersion] services, click Next.
-
On the Full-Text Search Upgrade Options page, specify the upgrade options for the databases being upgraded. For more information, see Full-Text Search Upgrade Options.
-
The Feature Rules window will automatically advance if all rules pass.
-
The Ready to Upgrade page displays a tree view of installation options that were specified during Setup. To continue, click Install. [!INCLUDEssNoVersion] Setup will first install the required prerequisites for the selected features followed by the feature installation.
-
During installation, the progress page provides status so that you can monitor installation progress as Setup continues.
-
After installation, the Complete page provides a link to the summary log file for the installation and other important notes. To complete the [!INCLUDEssNoVersion] installation process, click Close.
-
If you are instructed to restart the computer, do so now. It is important to read the message from the Installation Wizard when you have finished with Setup. For more information about Setup log files, see View and Read SQL Server Setup Log Files.
After you upgrade to [!INCLUDEssNoVersion], complete the following tasks:
-
Register your servers - Upgrade removes registry settings for the previous instance of [!INCLUDEssNoVersion]. After you upgrade, you must reregister your servers.
-
Update statistics - To help optimize query performance, we recommend that you update statistics on all databases following upgrade. Use the sp_updatestats stored procedure to update statistics in user-defined tables in [!INCLUDEssNoVersion] databases.
-
Configure your new [!INCLUDEssNoVersion] installation - To reduce the attackable surface area of a system, [!INCLUDEssNoVersion] selectively installs and enables key services and features. For more information about surface area configuration, see the readme file for this release.