Configure load balancing for sandboxed solutions (SharePoint Server 2010)
Aplica-se a: SharePoint Foundation 2010, SharePoint Server 2010
Tópico modificado em: 2016-10-17
A sandbox is a restricted execution environment that enables programs to access only certain resources and keeps problems that occur in the sandbox from affecting the rest of the server environment. Solutions that you deploy into a sandbox, which are known as sandboxed solutions, cannot use certain computer and network resources and cannot access content outside the site collection they are deployed in.
You can select one of two load-balancing schemes for sandboxed solutions. Based on the load-balancing scheme, Microsoft SharePoint Server 2010 determines which server to run the solution on. If load balancing is local, the solution runs on the same server that is servicing the request. If load balancing is remote, the server that the solution runs on is selected based on the server that most recently ran the solution (this is known as solution affinity). In either case, the server must be running the sandboxed solutions service. By default, SharePoint Server uses remote load balancing.
The more you isolate sandboxed solutions, the better your ability to protect the main part of your SharePoint Server 2010 site from code that might consume too many resources. You can increase isolation by using remote load balancing and by running the sandboxed solution service only on specific servers.
For more information about sandboxed solutions, see Visão geral de soluções de área restrita (SharePoint Server 2010).
UNRESOLVED_TOKEN_VAL(SandboxSolutions)
Configure load balancing
Load balancing directly affects the response time of sandboxed solutions. To change the load balancing scheme that is used in your farm, use the following procedure.
To configure load balancing by using Central Administration
Verify that you have the following administrative credentials:
- You must be a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.
On the home page of the Central Administration Web site, click System Settings.
On the System Settings page, in the Farm Management section, click Manage user solutions.
On the Sandboxed Solution Management page, in the Load Balancing section, select one of the following options:
All sandboxed code runs on the same machine as a request. This load-balancing scheme runs sandboxed code on the same server that handles the rest of the request.
Requests to run sandboxed code are routed by solution affinity. This load-balancing scheme selects the server on which to run sandboxed code based on solution affinity.
Click OK.
See Also
Concepts
Visão geral de soluções de área restrita (SharePoint Server 2010)
Planejar soluções em área restrita (SharePoint Server 2010)
Block or unblock a sandboxed solution (SharePoint Server 2010)
Enable sandboxed solutions on the farm (SharePoint Server 2010)
Configurar as camadas do serviço de soluções de área restrita (SharePoint Server 2010)
Configurar os pontos de recurso para soluções de área restrita (SharePoint Server 2010)