在具有多个 Web 前端的 SharePoint 中创建 Web 应用程序
如何在具有多个 Web 前端(用于负载平衡的相同前端)的 Sharepoint 服务器场中创建 Web 应用程序,尤其是从命令行创建它时?当您在一台 Web 服务器上创建它时,它是否也会自动复制到其他服务器?或者您是否必须将应用程序扩展到其他服务器?
How do you go about creating a web application in a Sharepoint server farm that has multiple Web front ends(identical ones for load balancing), especially if you creating it from command line? When you create it on one web server does it get automatically copied to other servers as well? Or do you have to extend the app to other servers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只要您遵守 SharePoint 的规则,您就不必担心多个 Web 前端。
SharePoint 会自动对所有这些(包括将来的更改)进行更改
但是如果您在 IIS 管理器或文件系统(可能是 web.config)中进行修改,那么您必须进行这些修改所有 Web 前端(以及您将来要添加的前端)
因此始终通过 Cdentral Admin、STSADM 或对象模型进行所有修改。添加功能时始终使用 wsp 包
As long as you play by SharePoint's rules you don't have to worry about the multiple Web front ends.
SharePoint will automatically make the changes on all of them (including future ones)
BUT if you go and make modifications in IIS manager or the filesystem (could be web.config) then you have to make these modifications to all Web front ends (also the ones you'll add in the future)
So always do all your modifications through Cdentral Admin, STSADM or the object model. And always use wsp packages when adding functionality
这非常简单(理论上):
这将进入 更多细节。
当您将新代码/解决方案部署到任何一台服务器时,它将创建一个部署到所有服务器的计时器作业农场里的服务器。因此,为了回答您的问题,应用程序被部署到场,而不是服务器。
It's quite simple (in theory):
This goes into a little more detail.
When you deploy new code/solutions to any one server, it will create a timer job that deploys to all servers in the farm. So, to answer your question, applications are deployed to the farm, not to servers.