vendredi 2 novembre 2018

System Center Configuration Manager (Current Branch)

Utilisez Windows BranchCache avec Configuration Manager quand vous l’activez sur des points de distribution, puis configurez les clients pour l’utiliser en mode de cache distribué.
Configurez les paramètres de BranchCache sur un type de déploiement d’applications, sur le déploiement d’un package et pour les séquences de tâches. À partir de la version 1802, BranchCache est activé par défaut.
Quand les conditions requises de BranchCache sont remplies, cette fonctionnalité permet aux clients situés à des emplacements distants d’obtenir le contenu des clients locaux qui ont un cache actif du contenu.
Par exemple, quand le premier client BranchCache demande du contenu à un point de distribution configuré en tant que serveur BranchCache, le client télécharge et met en cache ce contenu. Ce contenu est ensuite rendu disponible pour les clients sur le même sous-réseau qui celui qui a demandé ce contenu.
Ces clients mettent également en cache le contenu. Les autres clients du même sous-réseau n’ont pas à télécharger le contenu à partir du point de distribution. Le contenu est distribué sur plusieurs clients, en vue de transferts futurs.

Activer BranchCache dans Client Settings

To enable BranchCache on computers using Client Settings:
  1. Open the Client Settings policy you want to apply to clients (it is recommended that a new policy be created to apply custom settings rather than editing the Default Client Settings policy)
  2. Tick the box on the General tab to include Client Cache Settings
    Create Custom Client Settings
    Create Custom Client Settings
  3. Select the Client Cache Settings tab
    • Change Configure BranchCache to Yes
    • Change Enable BranchCache to Yes
    Edit Client Cache Settings
    Edit Client Cache Settings
  4. Deploy the settings (See Create and Deploy Custom Client Settings for more information).
NOTE
Unlike Group Policy, if you want to disable BranchCache you must explicitly disable it using Client Settings or an alternate method. Simply removing the client setting to enable it won’t revert it to it’s previous state. In addition, while the feature will add the firewall rules to Windows Firewall, it will not remove them when the feature is disabled.

Verify BranchCache is Enabled

After the new client settings are retrieved and updated on clients, you will notice BranchCache is enabled.

Netsh

From a command prompt, run netsh to confirm that BranchCache is now running in Distributed Caching mode and the cache size is configured as per the Client Settings.
1
netsh branchcache show status all
Confirm BranchCache Enabled
Confirm BranchCache Enabled

CAS.log

You will see the following entries in CAS.log:
1
2
3
4
Enabling BranchCache.   ContentAccess   13/05/2017 6:45:30 PM   2600 (0x0A28)
EnablePeerDistribution: Successfully enabled PeerDistribution   ContentAccess   13/05/2017 6:45:32 PM   2600 (0x0A28)
Setting BranchCache size to 10 of disk  ContentAccess   13/05/2017 6:45:32 PM   2600 (0x0A28)
SetCacheSize: Successfully set cache size   ContentAccess   13/05/2017 6:45:32 PM   2600 (0x0A28)

Firewall Rules

Windows Firewall rules will be configured as per the table below:
Name Group Profile Enabled Action Override Program Local Address Remote Address Protocol Local Port Remote Port
BranchCache Content Retrieval (HTTP-In) BranchCache – Content Retrieval (Uses HTTP) All No Allow No SYSTEM Any Any TCP 80 Any
BranchCache Content Retrieval (HTTP-In) BranchCache – Content Retrieval (Uses HTTP) Domain,Private Yes Allow No SYSTEM Any Any TCP 80 Any
BranchCache Hosted Cache Server (HTTP-In) BranchCache – Hosted Cache Server (Uses HTTPS) All No Allow No SYSTEM Any Any TCP 80,443 Any
BranchCache Peer Discovery (WSD-In) BranchCache – Peer Discovery (Uses WSD) All No Allow No %SYSTEMROOT%\system32\svchost.exe Any Local subnet UDP 3702 Any
BranchCache Peer Discovery (WSD-In) BranchCache – Peer Discovery (Uses WSD) Domain,Private Yes Allow No %SYSTEMROOT%\system32\svchost.exe Any Local subnet UDP 3702 Any

Aucun commentaire:

Enregistrer un commentaire