locked
Cannot get Branchcache in hosted mode working RRS feed

  • Question

  • Hi,

    Can anyone help I'm at my wits end I have followed the step by step guide and other guides but cannot get Branccache to work.  When I copy a file from the share which is configured for branchcache from computer 005 I don't see any of the performance counters increase on the client or the cache server. Below are the results of the show status all:-

    ClientA

    BranchCache Service Status:
    -------------------------------------------------------------------------------
    Service Mode          = Hosted Cache Client (Set By Group Policy)
    Current Status        = Running
    Service Start Type    = Automatic
    Hosted Cache Location = cache01.domain.local (Set By Group Policy)


    Local Cache Status:
    -------------------------------------------------------------------------------
    Maximum Cache Size        = 5% of hard disk
    Active Current Cache Size = 0 Bytes
    Local Cache Location      = C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistRepub (Default)


    Publication Cache Status:
    -------------------------------------------------------------------------------
    Maximum Cache Size         = 1% of hard disk
    Active Current Cache Size  = 0 Bytes
    Publication Cache Location = C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistPub (Default)


    Networking Status:
    -------------------------------------------------------------------------------
    Content Retrieval URL Reservation          = Configured     (Required)
    Hosted Cache 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        (Not Required)
    Hosted Cache Server Firewall Rules         = Enabled        (Not Required)
    Hosted Cache Client Firewall Rules         = Enabled        (Required)


    ***********************************************************************************************************
    ClientB

    BranchCache Service Status:
    -------------------------------------------------------------------------------
    Service Mode          = Hosted Cache Client (Set By Group Policy)
    Current Status        = Running
    Service Start Type    = Automatic
    Hosted Cache Location = cache01.domain.local (Set By Group Policy)


    Local Cache Status:
    -------------------------------------------------------------------------------
    Maximum Cache Size        = 5% of hard disk
    Active Current Cache Size = 0 Bytes
    Local Cache Location      = C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistRepub (Default)


    Publication Cache Status:
    -------------------------------------------------------------------------------
    Maximum Cache Size         = 1% of hard disk
    Active Current Cache Size  = 0 Bytes
    Publication Cache Location = C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistPub (Default)


    Networking Status:
    -------------------------------------------------------------------------------
    Content Retrieval URL Reservation          = Configured     (Required)
    Hosted Cache 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        (Not Required)
    Hosted Cache Server Firewall Rules         = Enabled        (Not Required)
    Hosted Cache Client Firewall Rules         = Enabled        (Required)


    *****************************************************************************************************************

    Cache server

    BranchCache Service Status:
    -------------------------------------------------------------------------------
    Service Mode          = Hosted Cache Server
    Client Authentication = Domain Authentication
    Current Status        = Running
    Service Start Type    = Automatic
    This machine is currently configured as a hosted cache server.

    Local Cache Status:
    -------------------------------------------------------------------------------
    Maximum Cache Size        = 5% of hard disk
    Active Current Cache Size = 0 Bytes
    Local Cache Location      = C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistRepub (Default)


    Publication Cache Status:
    -------------------------------------------------------------------------------
    Maximum Cache Size         = 40% of hard disk
    Active Current Cache Size  = 0 Bytes
    Publication Cache Location = C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistPub (Default)


    Networking Status:
    -------------------------------------------------------------------------------
    Content Retrieval URL Reservation          = Configured (Required)
    Hosted Cache URL Reservation               = Configured (Required)
    SSL Certificate Bound To Hosted Cache Port = Configured (Required)
    Content Retrieval Firewall Rules           = Enabled    (Required)
    Peer Discovery Firewall Rules              = Enabled    (Not Required)
    Hosted Cache Server Firewall Rules         = Enabled    (Required)
    Hosted Cache Client Firewall Rules         = Enabled    (Not Required)

    Warning: The Windows Firewall is Currently Disabled.

    ************************************************************************************************

    Content server

    BranchCache Service Status:
    -------------------------------------------------------------------------------
    Service Mode       = Local Caching
    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      = C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistRepub (Default)


    Publication Cache Status:
    -------------------------------------------------------------------------------
    Maximum Cache Size         = 1% of hard disk
    Active Current Cache Size  = 0 Bytes
    Publication Cache Location = C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistPub (Default)


    Networking Status:
    -------------------------------------------------------------------------------
    Content Retrieval URL Reservation          = Configured     (Required)
    Hosted Cache URL Reservation               = Configured     (Not Required)
    SSL Certificate Bound To Hosted Cache Port = Not Configured (Not Required)
    Content Retrieval Firewall Rules           = Enabled        (Not Required)
    Peer Discovery Firewall Rules              = Enabled        (Not Required)
    Hosted Cache Server Firewall Rules         = Enabled        (Not Required)
    Hosted Cache Client Firewall Rules         = Enabled        (Not Required)

    Warning: The Windows Firewall is Currently Disabled.

    Does branccache require the sync centre in any way

    Any help greatly appreciated

    Wednesday, June 29, 2011 12:40 PM

Answers

  • Ok it seems to be working I can see the Retrievel:Bytes from Cache  on the cache server increase as a file is copied.  If I'm correct Offline folders need to be working so the files are cached locally and copied to the cache server.  What happens when the local cache size of a client meets the threshold?
    Wednesday, June 29, 2011 2:27 PM
  • Hi there -

    Glad you got it working.

    When the cache is filled, the least recently used content blocks are discarded.  Also, an unused content block remains in the cache for a maximum of 28 days.

    Thanks -


    James McIllece
    Wednesday, June 29, 2011 5:05 PM

All replies

  • Ok it seems to be working I can see the Retrievel:Bytes from Cache  on the cache server increase as a file is copied.  If I'm correct Offline folders need to be working so the files are cached locally and copied to the cache server.  What happens when the local cache size of a client meets the threshold?
    Wednesday, June 29, 2011 2:27 PM
  • Hi there -

    Glad you got it working.

    When the cache is filled, the least recently used content blocks are discarded.  Also, an unused content block remains in the cache for a maximum of 28 days.

    Thanks -


    James McIllece
    Wednesday, June 29, 2011 5:05 PM
  • Thanks James, I should have tested before posting, when the cache is full the client loses the ability to cache new content but there after if I show status all the cache resets to zero and then is able to cache again.

    How dependent on the sync centre/off line files is the client, does it just need to be enabled?

     

     

     

    Thursday, June 30, 2011 8:55 AM