catalogauthorizationstore.xml不会在服务器场中的服务器之间保持同步 [英] catalogauthorizationstore.xml does not stay in sync between servers in farm

查看:57
本文介绍了catalogauthorizationstore.xml不会在服务器场中的服务器之间保持同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含三个单独服务器的Web服务器场,这些服务器上安装并配置了Commerce Server 2009。 当我在我的一个Web服务器上使用Catalog Manager创建目录时,一切正常,但如果我尝试在服务器场中的任何其他服务器上访问该目录
,我会收到错误。 错误指向azman,经过仔细检查,我确定服务器之间的CatalogAuthorizationStore.xml不同步。 手动同步这些文件修复了这些问题,但
每当我创建目录时都不应该这样做,对吗?

I have a web farm with three separate severs that have Commerce Server 2009 installed and configured on them.  When I go to create a catalog using the Catalog Manager on one of my web servers, everything works fine, but if I try to access that catalog on any other server in the farm, I get an error.  The error points to azman, and upon closer inspection, I have determined that CatalogAuthorizationStore.xml is out of sync between the servers.  Manually synching these files fixes these issues, but I should not have to do this whenever I create a catalog, right?

推荐答案

为了让文件同步,你实际上只需要一个文件。

In order to have the files synchronized, you actually need to have only one file.

解决方法是将.xml文件放入网络共享,并指向所有服务器上的Catalog WebService的位置(这在web.config中完成)。

The solution is to put the .xml file in a network share, and point to that location for Catalog WebService on all your servers (this is done in web.config).

实际上有一个替代方案;使用SQL Server存储授权文件。但我建议只将文件放到基于中央网络的位置并修改你的web.configs。

There is actually an alternative; to use SQL Server to store the Authorization File. But I would recommend just putting the file to a central network based location and modify your web.configs.

 

最好的问候,

Brian Holmgaard Kristensen

Brian Holmgaard Kristensen


这篇关于catalogauthorizationstore.xml不会在服务器场中的服务器之间保持同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆