Thursday, March 5, 2015

Apply Service Pack Pre and Post steps


Implementation Plan
1.
Take backup of system registry
2.
Take backup of system databases and user databases
3.
Take backup of settings at SQL Server level
4.
Script out logins and jobs
5.
Take backup of resource database
6.
Make sure that we have the existing level (services packs and cumulative updates readily available). Useful incase of rollback
7.
Make a note of existing SP and patches and resource db version
8.
Install SQL Server service pack
9
Verify the installation logs
10.
Verify that all components and resource database are upgraded to the latest service pack level
11.
Reboot the server
12.
Check connectivity from within the server and outside the server also
13.
Ask the application teams to check connectivity with SQL Server
Roll back plan
1.
Uninstall the SQL Server
2.
Reboot the server
3.
Re-install SQL Server and apply all the previous service packs and cumulative updates to make the versions match
4.
Reboot the server
5.
Verify the installation logs
6.
Take the sql server in single user mode and restore master database
7.
Restore system databases and user databases
8.
Check consistency of databases
9.
In case of any issues reapply the login script and jobs scripts and restore sql server settings
10.
Check connectivity from within the server and outside the server also
11.
Ask the application teams to check connectivity with SQL Server

1 comment:

Rakesh Kumar said...

i came to know about this from one of my friend. Really good piece of work