AppFabric Cache Cluster SCM Management

I am working on creating a standard set of configurations for our cache clusters in a Fabric application. My goal is to have a configuration of repeatable cache settings when loading a new environment (so server names are different, number of hosts and other environmental factors).

My initial pass was to use the XML available from Export-CacheClusterConfig and just change the names and attributes of the servers in <hosts>, but I'm not sure if it is still automatically registered with these values โ€‹โ€‹(for example, the hostId parameter).

My next approach, which I considered, is a PowerShell script, to simply create various caches with the correct parameters, which would be passed in that would simply be executed as a step after deployment.

Does anyone else have experience with deploying AppFabric repeatable cluster clusters ?

+3
source share
1 answer

. ( ) , (.. , " " ). ( XML , Export-CacheClusterConfig, ), , . ( ) .

, PowerShell. , . ( Cache), . ( ).

New-Cache -CacheName CRMTickets -Eviction None -Expirable false -NotificationsEnabled true
New-Cache -CacheName ConsultantCache -Eviction Lru -Expirable true -TimeToLive 60
New-Cache -CacheName WorkitemCache -Eviction None -Expirable true -TimeToLive 60
+1

Source: https://habr.com/ru/post/1764758/


All Articles