Advertisements
Latest Posts

Configuring Peer Cache for Configuration Manager Clients


Hi Guys,

In this post, I provided details about configuring Peer cache in Configuration Manager. Please find the overview of topics I am going to cover in the post.

  •  About Peer Cache
  •  Consideration of enabling peer cache
  •  Requirements for enabling peer cache client
  •  Client setting for peer cache
  •  Configuring peer cache Client(Peer cache source)
  •        1. Client setting deployment & reporting
  •        2. Application deployment
  •        3. Reporting Active content status to ConfigMgr
  •  Application deployment to additional Clients

 

About Peer Cache

Peer cache first introduced as a prerelease feature in CB 1602 version. Pre-release feature is released for early testing in production environment and it’s still in development. Beginning with CB1710, It’s a built-in Feature and you need to configure before use it. As we all know, Peer cache is a 100% Configuration solution and it does not required to configure GPO or Any other Windows Technology.

It enables Peer Cache clients(Peer Cache source) to share contents with other clients in the same boundary group. OS Images, Driver Packages, Applications, Updates, Packages & Boot images can be shared. During Task Sequence deployment, when the client is in Win PE mode, It uses Network Access account for authentication to download content from Peer source clients and doesn’t require NAA for any other deployment.

Consideration of enabling peer cache

For enabling peer cache feature, You can decide based on number of workstations, connection speed to Distribution Point & High availability of content.

Requirements for enabling peer cache client

You can create custom report to decide Peer Cache Client based on the below criteria.

Ex:

OS version (Like %Windows% NOT like %Server%)

Ethernet connection (Adaptertype0) = ‘Ethernet 802.3’

IPAddress0 like ‘%.%.%.%’ (Not Null)

Free space on system drive is > 45 GB

CCM Client is Active

Client version is 5.00.8325.1000 or later

Chassis type in (3,6,7) – Desktop, Min Tower, or Tower

Peer cache clients will reject content if it’s in low battery mode, CPU loads exceeds 80% at the time of content requested, Disk I/O has an AvgDiskQueueLength that exceeds 10 & there are no more available connections to the computer.

 Demo LAB

Below is my Demo LAB for testing Peer cache feature but unfortunately, I couldn’t test the client machines on the different subnet. I have two clients machines which are part of same boundary group.

Client Setting for Peer Cache

In the SCCM Console, Client Peer cache needs to be enabled under features before we use it. The below three options related to Client Peer Cache in the Client settings.

 

Configuring Peer Cache Client(Peer Cache Source)

    1.  Client Settings Deployment & Reporting

I have created a custom client setting for peer cache(Above screenshot) and deployed to the client(WIN10 – 10.1.0.5) which is going act a Peer Cache Source.

Once the client setting deployed to the Peer Cache Client machine(WIN10 – 10.1.0.5), it will change CanbeSuperPeer status to True in the below WMI location and update other settings as well.

CAS.log

CAS will verify the Peer cache status and raise a state message(“Topic ID = Super Peer is now active, Type = 7201, State ID = 2”) to SCCM server and you can find the URL & port details which other clients going to use for downloading contents from this Peer cache client machine(Peer Cache Source). The state message will be forwarded via CCMMessaging from the client -> MP -> Site server using state message processing component.


Statemessage.log


CCMMessaging.log


Stored Procedure and SQL Table

Site server will call dbo.spUpdateuperPeerStatus stored procedure and update Peer cache client in the SuperPeerContentMap , SuperPeers SQL tables.

2. Application Deployment

After Peer cache client reported status to SCCM server, I am going to deploy a application to Peer Cache client machine so that it will send active content status to SCCM server. Peer cache client should have the content stored before other clients request for content so every deployment make sure peer cache client has the content prior to other clients.

I have deployed the VLC Player application to Peer Cache Client(Win10 -10.1.0.5) which is going to act as a Peer Cache source.

3. Reporting Active Content Status

Once the application deployed to the Peer Cache Client, CAS will raise a state message (Topic ID =”Cache add Content_”***” Type = 7200 State ID =1″) for active content and forward via CCMMessaging from the client – > MP -> Site Server.

StateMessage.log

CCMMessaging.log

Stored Procedure and SQL Table

Stored Procedure dbo,spUpdateSuperPeerCachedContentMap will update the active content status from peer cache client to the below SQL table so that the Peer Cache source content location will be provided to the other clients along with DP location.

Application Deployment to additional Clients

Now, I have deployed the application to the other client(WIN10-001 – 10.1.0.6) and you can see the client received the two content locations(DP, Peer Cache Source client) for this application. Peer Cache Source will take first priority and the client will start to download the content from Peer cache source machine using 8003 Port.

Locationservices.log

DataTransferService.log

Thanks guys for reading.. I hope this post help you to take some useful information 🙂

 

 

 

 

Advertisements

5 Comments on Configuring Peer Cache for Configuration Manager Clients

  1. Siva Iyyappan // May 9, 2018 at 3:20 pm // Reply

    We need to configure any policies for this? How many clients can support in Peer cache concept.

    Like

    • We need to configure client settings as mentioned in the post and one peer cache source machine can support upto 10 clients and you need to decide how many peer cache source machine we can setup on the machines in the site.

      Like

  2. Rajendran // May 9, 2018 at 8:19 pm // Reply

    Hi Karthick, I just your blog spot regarding sccm flowchart its just awesome.Could you please create one article regarding how the software or application is deploying in client n depth core while the time of installation what are log files will run so that i can learn more troubleshooting with log files. Please create one article regarding in depth log files execution whenever we do patching or application deployment.

    Like

  3. Imran Ahmed // July 5, 2018 at 2:27 am // Reply

    Hi Karthick, Great blog for peer cache setup. Is there any other way can we see in dashboard how which have peer cache source ?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: