locked
Cannot get Branchcache in hosted mode working RRS feed

  • Question

  • Hi.  I have followed the step by step guide to set up Hosted Branchcache but I am unable to get it working. Can anyone help with this?

    I have checked other posts on this and all seems to be set up correctly.   The result is that items are being cached to the local cache of the PC loading the file, but they are not being put onto the branchcache host.


    The setup is as follows:

    I have an SBS 2011 server - 2008 R2 standard (SBS1), a  2008 R2 Branch cache host (BC1) , 2 windows 10 Enterprises clients (RPC1 & RPC2).

    The SBS server(SBS1) is at the main office.

    The remote office PCs (RPC1 & RPC2) and the branchcache host (BC1) are each connected over an ADSL link to the main office by an openvpn bridged VPN (which allows split VPN).   These machines can all access local resources on the remote network.

    As they are all domain machines, I have added the ip address of the SBS server at the main office as a DNS server to the network configs on them so they can find the DC for login purposes.   This means, however that the 2 remote PCs by default will query the SBS server for the address of the branchcache host, and that will return the VPN ip address not the local address at the remote site.  Therefore I have added a line in the hosts file of RPC1 & RPC2 to overwrite the DNS lookup and return the local (remote) ip address for BC1.



    I have configured one share on SBS1 for branchcache as per the guide.

    I have forced the latency threashold to 0 for testing.

    Branchcache status outputs:

    ===============================================================================
    SBS1:
    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\L
    ocal\PeerDistPub (Default)


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

    ===============================================================================
    BC1:
    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 = Configured (Not Required)
    Content Retrieval Firewall Rules           = Disabled   (Not Required)
    Peer Discovery Firewall Rules              = Disabled   (Not Required)
    Hosted Cache Server Firewall Rules         = Disabled   (Not Required)
    Hosted Cache Client Firewall Rules         = Enabled    (Not Required)

    ===============================================================================
    RPC1:
    BranchCache Service Status:
    -------------------------------------------------------------------------------
    Service Mode          = Hosted Cache Client
    Current Status        = Running
    Service Start Type    = Automatic
    Hosted Cache Location = BC1


    Local Cache Status:
    -------------------------------------------------------------------------------
    Maximum Cache Size        = 5% of hard disk
    Active Current Cache Size = 1780736 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)
    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              = Disabled       (Not Required)
    Hosted Cache Server Firewall Rules         = Disabled       (Not Required)
    Hosted Cache Client Firewall Rules         = Enabled        (Required)



    OL2LS

    Tuesday, September 15, 2015 1:28 AM