You are on page 1of 8



What is proper procedure to install Service Pack 4 on Active/Active SQL server 2005 Cluster. Also, What is the procedure for installing the Service Pack 2 on Active/Active SQL Server 2008 Cluster. Thanks Shiju

Patching a cluster entails you log onto a node and run the installer, but it's not quite as simple as that. SQL Server 2005 patching and SQL Server 2008 patching are entirely different processes, so let's tackle them separately.

SQL Sever 2005 patches all nodes for an instance across the cluster. To start this process fail the instance, cluster, and MSDTC groups to the node you will run the installer from. The installer attempts to patch passive nodes of an instance and then finally patches the active node (the node hosting the Cluster and MSDTC services as well as the node you're running the patch from). Patching will cause a brief service restart so plan for that when you patch. One important note on SQL 2005 patching is you must NOT be logged into any node other the node you're running the patch from. If you are, there's a high likelihood the patch will fail.

SQL Server 2008 patches only the node you are running the patch on. You do not need to have the Cluster or MSDTC services or even the instance services running on the node at the time of the patch. However, when you fail the instance over to the newly patched node some update scripts may be applied to the system databases which could cause a brief connection outage, so again, plan for that.

fail instance to NodeB rerun the script. run the script on instance one while hosted on NodeA. SERVERPROPERTY ('productlevel') AS [Service Pack]. etc. so you need to fool the patch installer into only patching those nodes which need Fail Instance. so to ensure this isn't the case. You may end up with patched binaries on only a subset of nodes in the cluster. To do so. but hopefully I covered the important stuff for you.g. a passive node operation will fail and will prevent you from moving forward with any further patching. After the patch installs successfully. and MSDTC groups to an unpatched node 2. Remove any successfully patched nodes from failover candidates of the SQL Server Service of the instance group (do this using Cluster Admin tool) 3.aspx Apply a service pack or hotfix SQL Server 2008 to a failover cluster instance . John http://blogs.technet. Good luck. Run the patch 4. you will have to perform the following steps: 1. I would recommend you run the following statement against each patched instance while it is hosted on each node in the cluster (e. There's a lot of idiosyncrasies with both.The headache with SQL 2005 patching happens when a node is not patched properly.): SELECT SERVERPROPERTY('productversion') AS Version. you will need to fool the 2005 patch installer into only patching the nodes that need updating. hence the steps above. SERVERPROPERTY ('edition') AS Edition If you find that the product level is not consistant across all the nodes. add the Nodes removed in Step 2 back to the SQL Server Service of the Instance group Why do you need to do this? Well when the patch installer determines that not all nodes in the cluster are at the same patch level. Cluster.

With SQL Server 2005. when you start installing cluster service pack (or hotfix).Rate This Degremont Michel 16 Jan 2010 3:40 PM  7 Apply a service pack or patch SQL Server 2008 in a clustered environment Step 1 : Validation wizard Step 2 : Pre-check Step 3 : Installation of the first node Step 4 : Add a new node Step 5: Apply a service pack or hotfix on a SQL cluster Installing Service Pack SQL Server 2008 in failover cluster is very different than the SQL Server 2005 cluster failover. With SQL Server 2008. 3. 4. it must be launched on the active node (node that hosts the instance). 5. Now if you want to apply a service pack (or hotfix). Apply the hotfix on pasive node N2 Reboot the passive node N2 Failover on SQL resource : the passive node become the active node Apply the hotfix on the passive node N1 Reboot the passive node N1 You can check the version of SQL server with the following query: SELECT . to reduce the downtime. Cumulative Update or Hotfix : 1. The passive nodes are updated before the active node. you must follow the scenario below for the application of Service Pack. Therefore. for your instance SQL Server 2008 in failover cluster. 2. we have revised the method of deployment. When installing the Setup will launch simultaneously "remote silence" on all passive nodes. All nodes in the cluster containing the SQL Server instance are updated in the same time. you must install in first on the passive nodes.

com/b/clustering/archive/2011/05/27/10169261.msdn.SERVERPROPERTY('IsClustered') as _1_Means_Clustered . SERVERPROPERTY('ComputerNamePhysicalNetBIOS') as ActiveNode http://blogs. SERVERPROPERTY('ProductVersion') as Version . SERVERPROPERTY('Edition') as Edition .aspx .


com Created: 2010-05-23 Modified: 2010-08-09 .microsoft.SQL Server 2008 failover cluster rolling patch and service pack process How to install Service Packs to SQL 2005 Cluster Author: How to update or slipstream an installation of SQL Server 2008

nor reboot them. More Information: If you are adding an additional (ie: 3rd) node to an existing cluster you will need to move all SQL Instances to the new node then restrict the possible owners for the various SQL Server cluster resources to that single node. Ignore locked files 8) Reboot current server a. Use a domain account with admin rights to all servers. and you can’t re-patch Existing Nodes because (the Service Pack won’t let you) various hotfixes have already been applied above the current service pack. You can check service pack installation logs here. RDP to the console is ok. 1) Login to the Console on the target node a. The service pack will update the passive nodes first.Information: Use the procedure below to avoid common issues when installing service packs to SQL 2005 clusters. b. You can only install on the Active Node. This will prevent a catch 22 situation where you can’t patch the New Node because the Existing Nodes are already patched. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix . You should not need to perform the install on any other nodes. 4) Move the Cluster Resource to the target node 5) Move the MSDTC Resource to the target node 6) Verify all users are logged out from all other nodes (RDP and Console sessions) 7) Start the Service Pack install a. but a standard RDP connection is not recommended. 2) Copy the Service Pack to a local drive on the target node 3) Move all instances to the target node a.

txt No passive nodes were successfully patched Exit Code Returned: 11009 Passive Node Summary.Common error messages encountered in this special situation Active Node Summary.txt Product instances were disqualified due to build version mismatch Exit Code Returned: 11203 .