禁用 sessionState 提供程序的安全性时出现 AppFabric 错误

发布于 2024-09-11 22:20:57 字数 806 浏览 1 评论 0原文

我完全被这个版本 1.0.0.0 产品所困扰。

我在域环境中运行,但对于我正在使用的特定应用程序,我想禁用安全性以减少访问缓存时服务器上的工作负载。

我有一堆 Web 服务器,其中有一个使用 SQL 会话状态的现有应用程序,我的想法是推出 AppFabric 并使用会话状态提供程序和快速解决方案来加快速度。目前有一个单独的服务器运行 appFabric Host。

所有服务器都在同一个域中。

我已经在主机上使用此模式运行 AppFabric

Set-CacheClusterSecurity -ProtectionLevel EncryptAndSign -SecurityMode Transport

Web 服务器上的本地应用程序池正在使用 NETWORK SERVICE 帐户,并且我已授予计算机帐户权限,一切正常。

但然后在服务器上我设置了此

Set-CacheClusterSecurity -ProtectionLevel None -SecurityMode None

(停止和启动集群)。

然后我得到这个错误。

错误代码:子状态:出现临时故障。请稍后重试。 (一台或多台指定的缓存服务器不可用,这可能是由繁忙的网络或服务器引起的。请确保已在集群上为该客户端帐户授予安全权限,并且允许 AppFabric 缓存服务通过所有缓存主机上的防火墙。稍后重试。)

我的假设是客户端(会话状态提供程序)默认设置为使用安全性,并且不需要设置太多,但找不到任何有关如何更改此设置的文档,否则我可能会咆哮选错了树。

任何帮助将不胜感激。

谢谢,

乔尔

I'm completely stuck with this version 1.0.0.0 product.

I'm running in a domain environment but for the specific application i'm using I want to disable security to reduce the workload on the servers when accessing the cache.

I've got a bunch of web servers with an existing application using SQL sessions state, and the idea was to roll out AppFabric and use the session state provider and a fast solution to speed things up. Currently have a single separate server running appFabric Host.

All Servers are on the same domain.

I've got AppFabric Running using this mode on the host

Set-CacheClusterSecurity -ProtectionLevel EncryptAndSign -SecurityMode Transport

Local App Pool on the web servers is using NETWORK SERVICE account, and i've grantedthe machine accounts permissions and it all works fine.

But then on the server i set this

Set-CacheClusterSecurity -ProtectionLevel None -SecurityMode None

(Stopping and Starting the cluster).

Then after that I get this error.

ErrorCode:SubStatus:There is a temporary failure. Please retry later. (One or more specified Cache servers are unavailable, which could be caused by busy network or servers. Ensure that security permission has been granted for this client account on the cluster and that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Retry later.)

My assumption is that the client (session state provider), is set by default to use security and need to be set not too, but can't find any doco on how to change this, or i could be barking up the wrong tree.

Any help would be appreciated.

Thanks,

Joel

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月棠 2024-09-18 22:20:57

您可以通过在 dataCacheClient 元素下添加 securityProperties 元素来配置 web.config 中的客户端安全设置,例如,

<dataCacheClient>
    <hosts>
        ...
    </hosts>

    <securityProperties mode="None" protectionLevel="None" />
</dataCacheClient>

有客户端配置设置的完整参考 此处

You can configure the client security setup in your web.config by adding a securityProperties element under the dataCacheClient element e.g.

<dataCacheClient>
    <hosts>
        ...
    </hosts>

    <securityProperties mode="None" protectionLevel="None" />
</dataCacheClient>

There's a complete reference for the client configuration settings here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文