sitecore CM和CD环境IIS工作进程回收问题
我们有两台用于 Sitecore 的生产服务器,一台是 CM(即内容管理),另一台是 CD(即内容交付)。 CM指的是WEB、Core、Master。 CD指的是Core和Web。当我们创建一个新内容并将其发布到Web数据库时,它并不能立即供CD服务器使用。为了立即在 CD 服务器上提供该内容,我们需要通过在 web.config 中添加和删除空间来回收应用程序池。
有什么方法可以让内容立即可供 CD 服务器使用,而无需回收我们的应用程序池?
We have two production servers for Sitecore, one CM i.e. Content Management and another is CD i.e. Content Delivery. CM is refering to WEB, Core and Master. CD is refering to Core and Web. When we create a new content and publlish it to Web database, it is not available to CD server right away. To have that content available on CD server right away, we need to recyle application pool by adding and removing space in web.config.
Is there any way we can make a content available to CD server right away without recycling our application pool?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您描述的症状,我想说前端(CD)服务器上的缓存在发布时没有被清除,因此您看到的是旧内容。当您使用 6.4 时,您需要启用“事件队列”。这意味着当您发布时,系统会向前端 Web 框发送一个事件,告诉它清除缓存并刷新您的内容。
简短的答案是在 CD 和 CM 服务器上启用
/App_Config/Include/ScalabilitySettings.config
(从 .example 重命名)中找到的包含内容,但值得了解正在发生的情况以及这种机制的原理以防您需要进一步诊断。此处介绍:http://www.sitecore.net/Community/Technical-Blogs/Getting-to-Know-Sitecore/Posts/2010/07/Introducing-the-Sitecore-Event-Queue.aspx
可以在此处找到相关文档:http://sdn.sitecore.net/Reference/Sitecore%206/Scaling%20Guide.aspx
希望这有帮助:)
From the symptoms you describe I would say the the caches on the front-end (CD) server are not being cleared on publish and so you are seeing old content. As you are using 6.4 you will need to enable 'Event Queues'. This means that when you publish, an event is sent to the front-end web boxes telling it to clear the caches and refresh your content.
The short answer is to enable the include found in
/App_Config/Include/ScalabilitySettings.config
(rename from .example) on the CD and CM servers but it is worth understanding what is going on and how this mechanism works in case you have to diagnose further.Intro here : http://www.sitecore.net/Community/Technical-Blogs/Getting-to-Know-Sitecore/Posts/2010/07/Introducing-the-Sitecore-Event-Queue.aspx
The documentation for this can be found here : http://sdn.sitecore.net/Reference/Sitecore%206/Scaling%20Guide.aspx
Hope this helps :)