• No results found

Amy needs to configure her Windows 7 client computer to access take advantage of

In document 6292A ENU Companion (Page 175-180)

Verify the status of BranchCache

Question 5: Amy needs to configure her Windows 7 client computer to access take advantage of

BranchCache. How can Amy configure the client to do this?

Answer: In Windows 7, BranchCache is off by default. Client configurations can be performed

through Group Policy or manually on a per-client computer basis.

Common issues

Issue Troubleshooting tip

BytesAddedToCache does not increase on the first client when accessing the BranchCache- enabled server.

The client computer may be retrieving content from the Internet Explorer cache. Be sure to clear the IE cache by selecting Internet Options from the Tools menu and clicking

Delete. Ensure that BranchCache is enabled on the first client using the netsh branchcache show status command. If attempting to access a file share, verify that the latency between the client and server is higher than the minimum threshold. Ensure that the BranchCache feature is installed on the server and is enabled for the protocol under test. Check that the peerdistsvc server has started on

both the client and the server. An intermediate proxy may alter the HTTP request coming from the client. Verify that the proxy does not modify the ACCEPT-ENCODING HTTP header. An intermediate proxy may downgrade the outgoing request from HTTP 1.1 to HTTP 1.0. If the symptom is specific to file traffic, ensure that the file is not in the transparent cache. Transparent cache is a secondary cache where the file is stored in addition to the BranchCache. Storing the file in the transparent cache enables subsequent reads of the file to be satisfied locally improving end-user response times and savings on WAN bandwidth. To delete transparently cached data, search for Offline Files applet in Control Panel. Click the Disk Usage tab and then click Delete Temporary Files. Note that this will not clear the BranchCache cache.

BytesAddedToCache does increase on the first client when accessing the BranchCache enabled server. BytesFromCache does not increase on the second client when accessing the BranchCache enabled server. Deployment is Distributed Cache mode.

Ensure that BranchCache is enabled and that both clients are configured to use the same caching mode using the netsh

branchCache show status command. Ensure that the correct firewall exceptions are set on both clients using the netsh branchcache show status command. Ensure that both clients are connected to the same subnet using the ipconfig command. Make sure the client cache is not full by using the netsh branchcache show status ALL.

BytesAddedToCache does increase on the first client when accessing the BranchCache enabled server. BytesFromCache does not increase on the second client when accessing the BranchCache enabled server. Deployment is Hosted Cache mode.

Ensure that BranchCache is enabled and that both clients are configured to use the same caching mode using the netsh

branchcache show status command. Verify basic connectivity from both client computers to the Hosted Cache using the ping command. Ensure that the correct firewall exceptions are set on both clients using the netsh

branchcache show status command. Ensure that the correct firewall exceptions are set on the Hosted Cache server using the netsh branchcache show status command. Ensure that the certificate is properly installed and bound to port 443 on the Hosted Cache computer.

Netsh shows BranchCache firewall rules have not been set, even though they have been configured using Group Policy.

Netsh checks the predefined BranchCache firewall rule group. If you have not enabled the default exceptions defined for BranchCache on Windows 7, Netsh will not report your configuration correctly. This is likely to happen if you defined firewall rules for clients using Group Policy and you defined the Group Policy object on a computer running an operating system older than Windows 7 or Windows Server 2008 R2 (which will not have the BranchCache firewall rule group). Note that this does not mean BranchCache will not function.

BranchCache at fault? client in a short time period may impact desktop

performance. Use performance monitor to check for high service rates to peers. Examine BytesServedToPeers relative to BytesFromCache and

BytesFromServer. The BranchCache service runs isolated in its own service host. Examine the CPU and

memory consumption of the service host process housing the branch caching service. Sustained high rates of service to peers may be evidence of a configuration problem in the branch office. Check to make sure that the other clients in the branch office are capable of service data. Clear the cache on the affected client using the netsh branchcache

flush command or reduce the cache size on the affected client.

A page fails to load or a share cannot be accessed.

When BranchCache is unable to retrieve data from a peer or from the Hosted Cache, the upper layer protocol will return to the server for content. If a failure occurs in the Branch Caching component, the upper layer protocol must seamlessly download content from the server. No BranchCache misconfiguration or failure will prevent the display of a Web page or connection to a share. If a failure does occur, use the Network Diagnostic Framework Diagnose button provided by Windows Explorer or Internet Explorer.

The client computer is unable to access the file share even when connected to the server.

If the client computer is unable to access a file share on the server due to the error Offline (network

disconnected), restart the client computer and access the share again. If the client computer is unable to access a file share on the server due to the error Offline (slow connection), delete the temporarily cached data, restart the computer, and access the share. To delete temporarily cached data (the same as the transparent cache described above), search for Offline Files applet in Control Panel. Click the Disk Usage tab, and then click Delete Temporary Files

Lab Review Questions and Answers

Question: In exercise 2, you enabled the Remote Desktop feature through the firewall by editing the

local firewall settings. Is there an alternative way in which you can make this change?

Answer: Yes, you can configure the settings through Group Policy on a domain controller. This

enables you to apply the settings to a larger group of computers in a single administrative step.

Question: If you attempted to connect to Don’s computer from a computer out on the Internet

somewhere, what additional settings must you consider?

Answer: It is likely that in addition to Don’s computer’s firewall settings, you will need to configure–

or request configuration of–the corporate firewall. You will need to enable TCP port 3389 to support remote desktop. It is possible to use different ports over which to connect using Remote Desktop, but this must be configured at the computer to which you want to connect.

Question: In exercise 3, you established the necessary settings to support BranchCache in Distributed

cache mode. If the Slough plant installed a file server, what other way can you implement BranchCache?

Answer: In Hosted cache mode, where the local server can be used to store cached documents for

Resources

Contents:

Microsoft Learning 2

Technet and MSDN Content 3

In document 6292A ENU Companion (Page 175-180)

Related documents