patternsqlMinor
Uninstall SQL Patch with SkipRules
Viewed 0 times
withsqlpatchuninstallskiprules
Problem
I've recently installed Cumulative Update 6 for SQL Server 2014 SP2. I installed it on the passive node of a 2 node cluster. To install the patches I paused the role in cluster manager and ran the setup from command line with:
I now need to uninstall CU6 as we've come across some issues we need to resolve. However, I am unable to uninstall the patch as I cannot get past the rule checks. If I run the same command to start setup the UI does not give me the uninstall/maintenance options.
Is there anyway to skip rules to uninstall a patch, or am I going to have to remove this node from the cluster before I can proceed?
/SkipRules=Cluster_IsOnlineIfClustered /action=patchI now need to uninstall CU6 as we've come across some issues we need to resolve. However, I am unable to uninstall the patch as I cannot get past the rule checks. If I run the same command to start setup the UI does not give me the uninstall/maintenance options.
Is there anyway to skip rules to uninstall a patch, or am I going to have to remove this node from the cluster before I can proceed?
Solution
With confirmation from Pix(from Chat) the correct way to remove cumulative update is to use
The script would be
/RemovePatch instead of using /uninstall. The way to remove updates is documented in Installing Updates from Command Prompt.The script would be
"sqlserver2014-kb4032541-x86_080a5c3a38b721a9587c2072375921161896e19d.exe" /qs /Action=RemovePatch /InstanceName=InstanceName /SkipRules=Cluster_IsOnlineIfClusteredCode Snippets
"sqlserver2014-kb4032541-x86_080a5c3a38b721a9587c2072375921161896e19d.exe" /qs /Action=RemovePatch /InstanceName=InstanceName /SkipRules=Cluster_IsOnlineIfClusteredContext
StackExchange Database Administrators Q#187030, answer score: 3
Revisions (0)
No revisions yet.