Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

The use case for Install-SPSolution -Local is not clear to me.

This TechNet article Deploy solution packages (SharePoint Server 2010) suggests that I can use -Local to install solutions manually 1 server at a time in the farm. Why would this be preferred to using the timer service which seems to deploy to all necessary servers automatically

Does any one have any real world usage of this command?

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

The Local parameter can be used, and exists, for two reasons as you and Anders describes.

1) Execute the deployment immediatley withouth the timer service - on single server farms. Most common approach.

2) Deploy the solution on one server at a time to maintain uptime for the farm while updating/deploying. It's not as easy as it sounds. First of all you need to take one server offline at a time and execute the command. Secondly you need to make sure that the solution you are deploying/features are being activated not makes any changes to the content dbs that affect the functionality of the WFE's not having the solution. It works - but it's not a walk in a park...

share|improve this answer
add comment

I only use Local for development environments, where i havent got multiple WFE's.

I would imagine however that you could use it if you only wanted the functionality on one farm, but im not sure this is a recommended approach for that.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.