Windows Server 2016: Deploy Hosted BranchCache (Part 3 & Part 4 & Part 5)
Windows Server 2016: Deploy Hosted BranchCache (Part 3 & Part 4 &Part 5)
// Active Directory:
// btnhd.edu
// |
// - btnhd
// |
// Computers ( Name: BJ-WIN10 | Type: Computer) // Client computer
// Servers
// |
// Headquarters (Name: BJ-MAINSITE | Type: Computer)
// Hosted (Name: BJ-HOSTED | Type: Computer)
// Note: on [BJ-MAINSITE] , Features > (x) BranchCache is not selected.
// Note: on [BJ-HOSTED], Features > (x) BranchCache is selected.
1) [BJ-HOSTED] > [Server Manager] > Manage > Add Roles and Features > (x) Role-based or Feature-based installation > under Server Roles, select (x) File and Storage Services - File and iSCSI Services - BranchCache for Network Files > Add Features > Next > Select Features - Features > (x) BranchCache > Next > Close>
2) [Server Manager] > Tools > Group Policy Management > Group Policy Management - Forest btnhd.edu - BTNHD - Servers - (right-click) Hosted > Link an existing GPO > Select GPO - Look in this domain: btnhd.edu - Group Policy Objects: BranchCache Firewall Policies > OK > (right-click) BranchCache Firewall Policies > Enforced >
3) [BJ-HOSTED] > Start menu - Command Prompt (Admin) > C:\Windows\system32\GPupdate /force >
4) [BJ-HOSTED] > Start menu - All apps - Windows Powershell - (right-click) Windows Powershell > More - Run as administrator >
4) a) PS C:\Users\administrator.BTNHD> enable-bchostedserver -registerscp // ENTER
// Check BranchCache status
4) b) PS C:\Users\administrator.BTNHD> get-bcstatus
// Everything is working
ContentServer Configuration:
ContentServer is Enabled : True
// =======================
// Part 4 starts here
// Create a new folder on C:\dropZone
5) PS C:\Users\administrator.BTNHD> set-bccache -moveto C:\dropZone
5) i) [A] - Yes to All // when prompted
5) ii) clear
5) iii) PS C:\Users\administrator.BTNHD> get-bcstatus
DataCache:
CacheFileDirectoryPath : C:\dropZone
// =======================
// Part 5 starts here
6) PS C:\Users\administrator.BTNHD> set-bccache -percentage 20
6) i) [A] - Yes to All // when prompted
6) ii) clear
6) iii) PS C:\Users\administrator.BTNHD> get-bcstatus
DataCache:
MaxCacheSizeAsPercentageOfDiskVolume : 20
// Active Directory:
// btnhd.edu
// |
// - btnhd
// |
// Computers ( Name: BJ-WIN10 | Type: Computer) // Client computer
// Servers
// |
// Headquarters (Name: BJ-MAINSITE | Type: Computer)
// Hosted (Name: BJ-HOSTED | Type: Computer)
// Note: on [BJ-MAINSITE] , Features > (x) BranchCache is not selected.
// Note: on [BJ-HOSTED], Features > (x) BranchCache is selected.
1) [BJ-HOSTED] > [Server Manager] > Manage > Add Roles and Features > (x) Role-based or Feature-based installation > under Server Roles, select (x) File and Storage Services - File and iSCSI Services - BranchCache for Network Files > Add Features > Next > Select Features - Features > (x) BranchCache > Next > Close>
2) [Server Manager] > Tools > Group Policy Management > Group Policy Management - Forest btnhd.edu - BTNHD - Servers - (right-click) Hosted > Link an existing GPO > Select GPO - Look in this domain: btnhd.edu - Group Policy Objects: BranchCache Firewall Policies > OK > (right-click) BranchCache Firewall Policies > Enforced >
3) [BJ-HOSTED] > Start menu - Command Prompt (Admin) > C:\Windows\system32\GPupdate /force >
4) [BJ-HOSTED] > Start menu - All apps - Windows Powershell - (right-click) Windows Powershell > More - Run as administrator >
4) a) PS C:\Users\administrator.BTNHD> enable-bchostedserver -registerscp // ENTER
// Check BranchCache status
4) b) PS C:\Users\administrator.BTNHD> get-bcstatus
// Everything is working
ContentServer Configuration:
ContentServer is Enabled : True
// =======================
// Part 4 starts here
// Create a new folder on C:\dropZone
5) PS C:\Users\administrator.BTNHD> set-bccache -moveto C:\dropZone
5) i) [A] - Yes to All // when prompted
5) ii) clear
5) iii) PS C:\Users\administrator.BTNHD> get-bcstatus
DataCache:
CacheFileDirectoryPath : C:\dropZone
// =======================
// Part 5 starts here
6) i) [A] - Yes to All // when prompted
6) ii) clear
6) iii) PS C:\Users\administrator.BTNHD> get-bcstatus
DataCache:
MaxCacheSizeAsPercentageOfDiskVolume : 20
Comments
Post a Comment