Friday, 12 October 2012

What really happens during SharePoint 2010 Solution Deployment/Retraction and Feature Activation/Deactivation Process?


Have you ever wondered what really happens when you deploy/retract SharePoint WSPs and Activate/Deactivate site collection or sub site level features at the farm level? As you execute different PowerShell commands or activate/deactivate features from browser interface, SharePoint 2010 makes several changes at the different places on the servers and databases.

This article provides high level overview of what really happens when you execute different farm level PowerShell commands. Hopefully it will be helpful. 
 Central AdminSite/Web Level FeaturesGACWeb.Config14-RootFeaturesSharePoint Config DB, Objects Table – SolutionsSharePoint Config DB, Objects Table – FeaturesWeb App Content DB, Features Table
Add-SPSolutionSolution Added but Not DeployedN/AN/AN/AN/AYes – Solution Definition AddedN/AN/A
Install-SPSolutionDeployed to Web AppInstalled FeatureYes – DLLs AddedYes – Safe Control Entries AddedYes – Features AddedYes – Solution Definition Still ExistsYes – Feature Definition AddedN/A
Enable-SPFeatureSolution Still DeployedActivated feature to Site/WebYes – Still ExistsYes – Still ExistsYes – Still ExistsYes – Solution Definition Still ExistsYes – Feature Definition Still ExistsYES – Feature Activation Link Added
Disable-SPFeatureSolution Still DeployedDeactivated feature from Site/WebYes – Still ExistsYes – Still ExistsYes – Still ExistsYes – Solution Definition Still ExistsYes – Feature Definition Still ExistsNO – Feature Activation Link Deleted
UnInstall-SPFeatureSolution Still DeployedUninstalled featureYes – Still ExistsYes – Still ExistsYes – Still ExistsYes – Solution Definition Still ExistsNo – Feature Definition DeletedN/A
UnInstall-SPSolutionRetracted from Web AppUninstalled featureNo – DLLs DeletedNo – Safe Control Entries DeletedNo – Features DeletedYes – Solution Definition Still ExistsNo – Feature Definition DeletedN/A
Remove-SPSolutionSolution DeletedN/AN/AN/AN/AYes – Solution Definition DeletedN/AN/A
 

No comments:

Post a Comment