How to Install SQL Server 2016 Service Pack 2 (SP2) and Cumulative Update 15 (CU15) Builds.

Summary: This Blog describes the most feasible and the easiest way to Install SQL Server 2016 Service Pack 2 (SP2) and Cumulative Update 15 (CU15) Builds.

 

Pre Installation:

 

  • Stop all application/services that connect to the SQL Server instance
  • Backup server (OS)
  • Backup all user databases
  • Backup the system databases: master, model, MSDB
  • Backup the resource database via file system – copy files to a safe location (use the query in the appendix below to find resource database’s files location)

Install Cumulative Update 15:

  1. Download SQL Server 2016 Cumulative Update15 from Microsoft website.
  2. Right-click exe and ‘Run as administrator’.

 

 

3. In the License Terms screen, read the license agreement and then select the check box at the bottom of the page to accept the licensing terms and conditions of the product. Click Next to continue with the installation.

 

4. In the Select Features screen, select the SQL Server Instance and select the features of SQL Server 2016 which need to be upgraded. Once all the features are selected click Next to continue with the SQL Server 2016 Service Pack 2 (SP2)

 

5. In the Check Files In Use screen, the setup will check for SQL Server related files which are currently being used. If there are any such files, then they need to be released before performing the Service Pack installation. Click Next to continue with the installation.

 

6. In the Ready to Upgrade screen, you can verify the list of features which will be upgraded during the installation. If you are fine with the list of features, then click Upgrade to perform the actual Service Pack 2.

 

7. In the Upgrade Progress screen, you will be able to see the installation progress. The installation time varies depending upon the hardware configuration.

8. Once the Service Pack installation is successful you will be able to see the Success.

9. Your SQL Server 2016 update operation has completed successfully, click Close to end the installation setup

 

Post-installation:

  • Reboot server
  • Make sure that SQL Server and related services are started.
  • Start application/services that connect to the SQL Server instance
  • Certify that everything works well on the Test server after the installation of patches is completed.
    • You need to get acceptance by all affected parties (i.e., IT users, application owners, etc.).
    • If there is a problem, you will have to troubleshoot in order to resolve it.

Rollback Plan:

  • In the unfortunate case where you cannot resolve the problem, as a last resort, you can follow a rollback procedure which involves the following but is not limited to:
    • Uninstall the patch(es) previously installed.
    • Restore the system databases as well as the resource database (both data and log files)
    • Reboot the server.
    • Check if everything is back to normal, that is the state of SQL Server just before the patching started
    • If there is still a problem, restore the server (OS) from the backup taken prior to starting the process.
    • Check if all user databases are OK. If not, restore them from the backup taken prior to starting the patching process.
    • Check again if everything OK.


This website uses cookies and asks your personal data to enhance your browsing experience.