How to verify if Peer cache is working

Ramesh RK 131 Reputation points
2022-07-15T16:06:55.803+00:00

Hi All

We have recently implemented Peer Cache in our environment. 5 machines have been selected as peer cache source and deployed with client setting for Peer Cache.
We have verified that client setting have been applied to these designated machines , but i want to confirm if the peer cache is actually working. If the peers in the same boundary segment are able to get content from the peer source.

Please advice if any query/report can be used identify if the peers for the peer cache source.

Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Amandayou-MSFT 11,156 Reputation points
    2022-07-18T03:33:46.01+00:00

    Hi @Ramesh RK ,

    We could check CAS.log to check it is working.

    For example, if the content is from DP not peer cache, it is recorded as the following screenshot:
    221665-718.png

    The clients are getting content from their peer caching friends. This is the interesting line in the log.

    221704-7181.png

    Besides, please go to the Monitoring workspace and select the Distribution Status / Client Data Sources node.

    221732-7182.png


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Ramesh RK 131 Reputation points
    2022-08-02T16:33:52.613+00:00

    Hi All

    After a long struggle happened to create a SSRS report using the below SQL query that suffice my requirement.
    This helps to get the information on PeerSource, Peers connected to it, ContentID downloaded along with the boundary information.

    	SELECT distinct sd.name0 [PeerClient_Name], cdhSources.HostName [PeerSource_Name], vbo.Value [Boundary_Name], vbg.Name [BG_Name],   
    		cdhSources.DistributionPointType, cdhSources.ContentID, his.StartTime  
    		from SYSTEM_DISC sd    
    		JOIN ClientDownloadHistory his on his.ClientId=sd.ItemKey   
    		JOIN ClientDownloadHistoryBoundaryGroups bg on bg.DownloadHistoryID=his.ID   
    		JOIN ClientDownloadHistorySources cdhSources on cdhSources.DownloadHistoryID = his.ID  
    		JOIN vSMS_BoundaryGroupMembers Bgm on bgm.GroupID = bg.BoundaryGroup  
    		JOIN vSMS_Boundary vbo on vbo.BoundaryID = bgm.BoundaryID  
    		join v_BoundaryGroup vbg on vbg.GroupID = bgm.GroupID  
    		Where DistributionPointType in ('3')   
    		and vbg.Name in ('UK-RDG01') -- BOundary Group  
    		and DATEDIFF(dd,his.StartTime,GETDATE()) < 8  
    		ORDER BY his.StartTime DESC
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.