Hi Guys,
I am deploying an environment with 3 VMs running Windows Server 2012 R2 to BranchCache POC porpouse.
My Environment:
VM01 on the Physical site 01 (Content Server).
VM02 and VM03 on the Physical site 02 (Hosted Server and Client).
Initially I follow the steps in this link bellow:
https://technet.microsoft.com/library/jj573005
But the process the client to access a shared folder in Content Server was not caching data in the Hosted Server, so I tried a deeper search and found some people using different policies, some people have configured Firewall Rules and other not, so a thing that should be simple became complicated.
My Config VM1, VM2, VM3:
Computer Configuration > Administrative Templates > Network > BranchCache > Turn on BranchCache
Computer Configuration > Administrative Templates > Network > BranchCache > Set BranchCache Hosted Cache mode (Pointing to VM2 FQDN)
My Config VM3:
Computer Configuration > Administrative Templates > Network > BranchCache > Enable Automatic Hosted Cache Discovery by Service Connection Point
Computer Configuration > Administrative Templates > Network > BranchCache > Configure Hosted Cache Servers (Pointing to VM2 FQDN)
My Config VM1, VM2:
Computer Configuration > Administrative Templates > Network > Lanman Server > Hash Publication for BranchCache
My Config VM1:
One Folder shared and the option Enable BrachCache checked.
My Config VM2:
BranchCacheIsEnabled : True
BranchCacheServiceStatus : Running
BranchCacheServiceStartType : Automatic
ClientConfiguration:
CurrentClientMode : LocalCache
HostedCacheServerList : {CNHICUR01CLFS01.fs.cnhi.com.br}
HostedCacheDiscoveryEnabled : False
ContentServerConfiguration:
ContentServerIsEnabled : True
HostedCacheServerIsEnabled : True
ClientAuthenticationMode : Domain
HostedCacheScpRegistrationEnabled : True NetworkConfiguration:
ContentRetrievalUrlReservationEnabled : True
HostedCacheHttpUrlReservationEnabled : True
HostedCacheHttpsUrlReservationEnabled : True
ContentRetrievalFirewallRulesEnabled : True
PeerDiscoveryFirewallRulesEnabled : True
HostedCacheServerFirewallRulesEnabled : True
HostedCacheClientFirewallRulesEnabled : True HashCache:
CacheFileDirectoryPath : C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistPub
MaxCacheSizeAsPercentageOfDiskVolume : 1
MaxCacheSizeAsNumberOfBytes : 326232924
CurrentSizeOnDiskAsNumberOfBytes : 29433856
CurrentActiveCacheSize : 0
DataCache:
CacheFileDirectoryPath : R:\CACHE
MaxCacheSizeAsPercentageOfDiskVolume : 95
MaxCacheSizeAsNumberOfBytes : 15300817040
CurrentSizeOnDiskAsNumberOfBytes : 29433874
CurrentActiveCacheSize : 0
DataCacheExtensions:
After have done all this configuration, I tried from VM3 to access the file share in VM1, I accessed, changed files, created new files, copied files, and the CurrentActiveCacheSize in the VM2 still "0".
Someone could indicate where is error? What else need to do?