2025年AppFabric_fabric安装

AppFabric_fabric安装安装后 两种方式存储 XML sqlserver 建立缓存集 New CacheCluster Provider System Data SqlClient ConnectionSt Data Source ServerName Initial Catalog DBName Integrated Security True Size Small

安装后,两种方式存储:XML,sqlserver

建立缓存集

New-CacheCluster -Provider System.Data.SqlClient -ConnectionString “Data Source=[ServerName];Initial Catalog=[DBName];Integrated Security=True” -Size Small

Register-CacheHost -Provider System.Data.SqlClient -ConnectionString “Data Source=[ServerName];Initial Catalog=[DBName];Integrated Security=True” -Account “NT Authority\Network Service” -CachePort 22233 -ClusterPort 22234 -ArbitrationPort 22235 -ReplicationPort 22236 -HostName [CacheHostName]

Add-CacheHost -Provider System.Data.SqlClient -ConnectionString “Data Source=[ServerName];Initial Catalog=[DBName];Integrated Security=True” -Account “NT Authority\Network Service”

Add-CacheAdmin -Provider System.Data.SqlClient -ConnectionString “Data Source=[ServerName];Initial Catalog=[DBName];Integrated Security=True”

添加防火墙in/out端口配置

Use-CacheCluster
Get-CacheHost

Start-CacheCluster

Start-CacheHost hostname:22233

Stop-CacheCluster

Stop-CacheHost hostname:22233

Get-CacheAllowedClientAccounts

Grant-CacheAllowedClientAccount NetworkServic

Get-CacheStatistics default

Get-CacheConnectionString

编程小号
上一篇 2025-06-28 11:27
下一篇 2025-08-23 12:30

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/hz/114770.html