1 00:00:01,140 --> 00:00:04,480 In this demonstration, we'll take a look at BranchCache, 2 00:00:04,480 --> 00:00:08,060 and I will, again, come to our Server Manager dashboard, 3 00:00:08,060 --> 00:00:11,040 and let's just quickly take a look at the specific 4 00:00:11,040 --> 00:00:13,090 roles and features that we need here. 5 00:00:13,090 --> 00:00:16,310 I'm on localmem1, and if we browse the list here, 6 00:00:16,310 --> 00:00:18,770 we have under File and Storage Services, 7 00:00:18,770 --> 00:00:23,140 File and iSCSI Services, we have BranchCache for Network Files, 8 00:00:23,140 --> 00:00:27,390 and this is what you're going to need for the file server BranchCache scenario, 9 00:00:27,390 --> 00:00:29,300 That's what I definitely want to do. 10 00:00:29,300 --> 00:00:31,740 If we click Next and take a look at Features, 11 00:00:31,740 --> 00:00:35,120 this is where you have the BranchCache feature, and this is what you 12 00:00:35,120 --> 00:00:38,960 would use for either the web server or the bits context. 13 00:00:38,960 --> 00:00:42,700 I think I misspoke earlier in the slides where I said that 14 00:00:42,700 --> 00:00:45,820 you needed branch cache for files for HTTP. 15 00:00:45,820 --> 00:00:49,270 No, you do branch cache for files only for the file server, 16 00:00:49,270 --> 00:00:51,080 the hash distribution scenario, 17 00:00:51,080 --> 00:00:56,180 and then we need this guy here if we're doing bits or the HTTP web server. 18 00:00:56,180 --> 00:00:57,580 So I've got that installed. 19 00:00:57,580 --> 00:00:59,900 Now, the two ways that this is going to surface, 20 00:00:59,900 --> 00:01:02,200 like I said, is number one in Group Policy, 21 00:01:02,200 --> 00:01:04,240 so let's go into my MMC here, 22 00:01:04,240 --> 00:01:09,190 I've got a domain‑scoped policy ready to go here called BranchCache Policy. 23 00:01:09,190 --> 00:01:10,440 Let's edit this. 24 00:01:10,440 --> 00:01:14,140 And the path we're looking at here is Computer Configuration, 25 00:01:14,140 --> 00:01:17,280 Policies, Administrative Templates, Network, 26 00:01:17,280 --> 00:01:21,710 and if we go to Lanman Server, if we're going to do BranchCache for files, 27 00:01:21,710 --> 00:01:26,190 we have to enable the Hash Publication for BranchCache on your content server, 28 00:01:26,190 --> 00:01:27,700 and that's going to be enabled, 29 00:01:27,700 --> 00:01:32,140 and we can choose here Allow hash publications for all shared folders, 30 00:01:32,140 --> 00:01:36,820 Allow hash publication only for shared folders on which BranchCache is enabled, 31 00:01:36,820 --> 00:01:39,000 or Disallow hash publication. 32 00:01:39,000 --> 00:01:40,960 Well, I don't want to go crazy because this is, 33 00:01:40,960 --> 00:01:42,360 you know, CPU overhead, 34 00:01:42,360 --> 00:01:45,200 so I'm just going to do hash publication for shared 35 00:01:45,200 --> 00:01:47,340 folders that have BranchCache enabled, 36 00:01:47,340 --> 00:01:49,360 and I'll show you how to configure that as well. 37 00:01:49,360 --> 00:01:54,080 The other options are under the same path network, here, under BranchCache. 38 00:01:54,080 --> 00:01:57,550 And number one, we have Turn on BranchCache on clients. 39 00:01:57,550 --> 00:02:00,440 This would be in your GPO that's going to affect 40 00:02:00,440 --> 00:02:02,610 your client or consumer machines, 41 00:02:02,610 --> 00:02:06,190 and so we want to enable that for any domain workstations 42 00:02:06,190 --> 00:02:08,270 that'll be relevant in your branch offices. 43 00:02:08,270 --> 00:02:11,330 And then the help here tells us that we also have to 44 00:02:11,330 --> 00:02:13,930 configure what topology we're going to use. 45 00:02:13,930 --> 00:02:17,110 Are we using Distributed Cache, Hosted Cache, or what? 46 00:02:17,110 --> 00:02:18,900 Well, we've got that in here as well. 47 00:02:18,900 --> 00:02:22,430 Set BranchCache Hosted Cache mode, we enable that, 48 00:02:22,430 --> 00:02:24,830 and type the name of your hosted cache server. 49 00:02:24,830 --> 00:02:28,760 Now, presumably if you have a complex environment with multiple branch offices, 50 00:02:28,760 --> 00:02:33,240 you're going to have multiple GPO's with multiple hosted cache servers here. 51 00:02:33,240 --> 00:02:35,360 That's a single server reference here. 52 00:02:35,360 --> 00:02:39,050 And I would recommend you use a fully qualified domain name like I did. 53 00:02:39,050 --> 00:02:39,660 Lastly, 54 00:02:39,660 --> 00:02:43,260 to make sure that the BranchCache service is as easy to 55 00:02:43,260 --> 00:02:45,800 find in Active Directory as possible, 56 00:02:45,800 --> 00:02:50,220 we have Enable Automated Hosted Cache Discovery by Service Connection Point. 57 00:02:50,220 --> 00:02:54,390 This makes it easier for your client computers to determine the 58 00:02:54,390 --> 00:02:58,110 BranchCache setting of their file server in their location. 59 00:02:58,110 --> 00:02:58,270 See, 60 00:02:58,270 --> 00:03:01,250 so I wasn't kidding when I said that you configure the line 61 00:03:01,250 --> 00:03:03,990 share of your BranchCache through Group Policy. 62 00:03:03,990 --> 00:03:08,370 Lastly, we can come here in Server Manager to the File and Storage Service, 63 00:03:08,370 --> 00:03:12,640 let me focus on localmem1, and we'll go to the Shares panel here, 64 00:03:12,640 --> 00:03:16,410 and we can either create a new share directly in Server Manager, 65 00:03:16,410 --> 00:03:19,460 or we can modify the properties of an existing share. 66 00:03:19,460 --> 00:03:22,510 So here, we can browse localdc1and localmem1. 67 00:03:22,510 --> 00:03:27,100 Let me right‑click new‑hire‑paperwork, go to Properties on localdc1, 68 00:03:27,100 --> 00:03:29,090 and if we go to Settings, 69 00:03:29,090 --> 00:03:32,240 notice that we can choose to Allow caching of share and 70 00:03:32,240 --> 00:03:34,480 Enable BranchCache on the file share. 71 00:03:34,480 --> 00:03:36,300 And this is important because you'll recall I 72 00:03:36,300 --> 00:03:39,880 designated localdc1 for hash distribution. 73 00:03:39,880 --> 00:03:44,840 So that's how you can mark a shared folder as being available for BranchCache, 74 00:03:44,840 --> 00:03:46,780 and the users don't have to do anything. 75 00:03:46,780 --> 00:03:50,790 They can navigate to that share inside or outside of DFS, 76 00:03:50,790 --> 00:03:53,700 and the BranchCache policy that you've specified, 77 00:03:53,700 --> 00:04:01,000 hosted cache or distributed cache, will take effect. Let me click OK to complete that configuration.