Sunday, June 21, 2009

STSADM solution sync issue

We have a big farm and commonly found a problem of solutions not getting sync on all servers, what i meant was we can feature features and other files not getting copied on all the servers and so causing issues.

Few things to note before I talk about solution

-- Dont rush while installing solution on multi-server farm because timer jobs runs at different timings and can take some time before you see all the deployed files.So make sure to give your solution atleast 5 minutes before you declare its an issue.

-- If your deployment is stuck then you can run following command to force stuck solution deployment.

STSADM -o execadmsvcjobs
-- Still you see issues with solution files, then you can run
STSADM -o syncSolution -name mysolution.wsp
-- Also I recommend using Solution Installer as this has robust installation mechanism and can rollback in case of some issues.


Follow me on Twitter