两台服务器,都安装appfabric,作为缓存服务器

其中一台做cluster,另一个join

做cluster的机器选择xml配置文件路径时,选择本机的一个共享目录

join的机器做配置时,选择的xml路径要选择第一台cluster机器的那个共享目录

 

第三台机器做web

 

在3台机器上建立同名,名密码的用户

给cluster grant此用户

在web服务的iis里,进程池用户改为此用户,对iis6,需要把此用户加入iis_wam组

 

相关web.config

<section name="dataCacheClient"
type="Microsoft.ApplicationServer.Caching.DataCacheClientSection,
Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
<dataCacheClient>
    <hosts>
      <host name="192.168.0.123" cachePort="22233" />      
    </hosts>
    
  </dataCacheClient>
可能需要加入
<identity impersonate="true" userName="username" password="passwd" />

此3台机器并不是域。

很奇怪的是,我使用默认的network service账户,并且给cache授权此账户竟然不行,但是自己建立一个账户就可以了,不解为什么。

相关文章:

  • 2021-08-07
  • 2022-01-31
  • 2021-07-13
  • 2022-12-23
  • 2021-05-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-19
  • 2022-01-22
  • 2022-12-23
  • 2021-05-16
  • 2022-03-13
  • 2021-07-15
相关资源
相似解决方案