Answered by:
Branchcache not caching files

Question
-
Hi all
Hoping for some help with this.
I have a Windows Server 2012 Essential server set up. Branchcache has been turned on. Clients appear to be configured correctly, however they never cache data. I have tried using shares in the format of \\servername\share as well as \\servername.domain.local\share
I have made sure that the share has been enabled for Branch Cache as well
I have turned Branch cache on in the server essentials dashboard as well.
Any Ideas ?
Here is the output for the get-bcstatus command:
BranchCacheIsEnabled : True
BranchCacheServiceStatus : Running
BranchCacheServiceStartType : Automatic
ClientConfiguration:CurrentClientMode : DistributedCache
HostedCacheServerList :
HostedCacheDiscoveryEnabled : True
ContentServerConfiguration:ContentServerIsEnabled : True
HostedCacheServerConfiguration:HostedCacheServerIsEnabled : False
ClientAuthenticationMode : Domain
HostedCacheScpRegistrationEnabled : False
NetworkConfiguration:ContentRetrievalUrlReservationEnabled : True
HostedCacheHttpUrlReservationEnabled : True
HostedCacheHttpsUrlReservationEnabled : True
ContentRetrievalFirewallRulesEnabled : True
PeerDiscoveryFirewallRulesEnabled : True
HostedCacheServerFirewallRulesEnabled : False
HostedCacheClientFirewallRulesEnabled : True
HashCache:CacheFileDirectoryPath : Default
MaxCacheSizeAsPercentageOfDiskVolume : 1
MaxCacheSizeAsNumberOfBytes : 1179920588
CurrentSizeOnDiskAsNumberOfBytes : 0
CurrentActiveCacheSize : 0
DataCache:CacheFileDirectoryPath : Default
MaxCacheSizeAsPercentageOfDiskVolume : 5
MaxCacheSizeAsNumberOfBytes : 5899602940
CurrentSizeOnDiskAsNumberOfBytes : 0
CurrentActiveCacheSize : 0
DataCacheExtensions:and for the netsh branchcache show status ALL.
BranchCache Service Status:
-------------------------------------------------------------------------------
Service Mode = Distributed Caching (Set By Group Policy)
Serve peers on battery power = Disabled
Current Status = Running
Service Start Type = Automatic
This machine is not configured as a hosted cache client.Local Cache Status:
-------------------------------------------------------------------------------
Maximum Cache Size = 5% of hard disk
Active Current Cache Size = 0 Bytes
Local Cache Location = Default
Publication Cache Status:
-------------------------------------------------------------------------------
Maximum Cache Size = 1% of hard disk
Active Current Cache Size = 0 Bytes
Publication Cache Location = Default
Networking Status:
-------------------------------------------------------------------------------
Content Retrieval URL Reservation = Configured (Required)
Hosted Cache URL Reservation = Configured (Not Required)
Hosted Cache HTTP URL Reservation = Configured (Not Required)
SSL Certificate Bound To Hosted Cache Port = Not Configured (Not Required)
Content Retrieval Firewall Rules = Enabled (Required)
Peer Discovery Firewall Rules = Enabled (Required)
Hosted Cache Server Firewall Rules = Disabled (Not Required)
Hosted Cache Client Firewall Rules = Enabled (Not Required)Thanks
Thursday, December 4, 2014 3:17 AM
Answers
-
So you are after the BranchCache for SMB (Accessing files in explorer etc?), then you need to use Enterprise clients and you need to check the latency setting.
//Andreas
http://2pintsoftware.com- Marked as answer by Luke Duffy Monday, December 8, 2014 10:19 AM
Friday, December 5, 2014 9:03 PM -
Hi,
As there is no much information about this issue. I'd like to start from the configurations. First I would like to know the structure.
We should have the following devices:
1. Content server - which should be in the main office.
2. Client computers - should be Windows 7 (or 8) Enterprise/Ultimate version in branch office.
For content server, please refer to this article for the settings about "Hash Publication for BranchCache" as well as how to enable BranchCache.
http://social.technet.microsoft.com/wiki/contents/articles/2342.branchcache-settings-for-windows-server-2008-r2-windows-7-enterprise-and-windows-7-ultimate.aspx#z1
From your description, it is using "Distributed Caching", which means clients will cache the data on their own computer.
So after configuration, use a computer (such as a Windows 7 system) to access your content server for a shared folder in order to create a cache.
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
- Marked as answer by Luke Duffy Monday, December 8, 2014 10:19 AM
Monday, December 8, 2014 9:31 AM
All replies
-
So you are after the BranchCache for SMB (Accessing files in explorer etc?), then you need to use Enterprise clients and you need to check the latency setting.
//Andreas
http://2pintsoftware.com- Marked as answer by Luke Duffy Monday, December 8, 2014 10:19 AM
Friday, December 5, 2014 9:03 PM -
Hi,
As there is no much information about this issue. I'd like to start from the configurations. First I would like to know the structure.
We should have the following devices:
1. Content server - which should be in the main office.
2. Client computers - should be Windows 7 (or 8) Enterprise/Ultimate version in branch office.
For content server, please refer to this article for the settings about "Hash Publication for BranchCache" as well as how to enable BranchCache.
http://social.technet.microsoft.com/wiki/contents/articles/2342.branchcache-settings-for-windows-server-2008-r2-windows-7-enterprise-and-windows-7-ultimate.aspx#z1
From your description, it is using "Distributed Caching", which means clients will cache the data on their own computer.
So after configuration, use a computer (such as a Windows 7 system) to access your content server for a shared folder in order to create a cache.
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
- Marked as answer by Luke Duffy Monday, December 8, 2014 10:19 AM
Monday, December 8, 2014 9:31 AM -
Thanks for the help
I have rebuilt the server and had the exact same issue again. It looks like there is misleading information out there on the web, as I was under the impression that Branchcache would work with Windows 8.1 Pro.
I was looking for the page that told me that pro was supported, but cant find it at this stage.
http://technet.microsoft.com/en-us/library/hh831696.aspx tells me that only Enterprise edition is supported.
So looks like its upgrade for the new Surface Pro's that we just bought.
Thanks
Monday, December 8, 2014 10:29 AM -
Pro is supported for BITS integration, so anything that is related to WSUS or Configuration Manager is covered. But SMB is Enterprise only.
//Andreas
http://2pintsoftware.comMonday, December 8, 2014 6:49 PM