Presentation is loading. Please wait.

Presentation is loading. Please wait.

ConfigMgr Content Management

Similar presentations


Presentation on theme: "ConfigMgr Content Management"— Presentation transcript:

1 ConfigMgr Content Management
A Through Z and Back Kim Oppalfens Consultant OSCC Jason Sandys Senior Consultant Coretech

2 Kim Oppalfens Jason Sandys @thequietshyguy @jasonsandys
Nearly as long an MVP as Steve 20+ Years Duvel Tripel Karmeliet

3 Presentation Just a placeholder slide. Please use the example slides in the “Template Example Slides” Section. Questions?

4 What Where When How What is “Content”? Where is content stored?
How is content handled? How is content updated? How is content used/located? Ack, now what?

5 What is Content Jason Packages Software Distribution Applications
Updates Drivers Images Special Packages Client Install Client Upgrade Staging (new for 1511)

6 All Content Items Have unique [package] IDs
Are stored in the content library Must be assigned to Distribution Points to be used [by clients] Are accessed *only* from Distribution Points [by clients] Jason

7 File Level Single Instance Store
Content Library CAS Server Primary Site Server Secondary Site Server Jason SIS Layout Benefits Network Storage Side Effects Can’t access directly App limitations Distribution Point File Level Single Instance Store

8 Content Flow (No CAS) Source Location Primary Site Content Library
Copy Source Location Primary Site Content Library Distribute Jason Distribution Point Content Library

9 Content Flow (CAS – Content Created on CAS)
Copy Replicate Source Location CAS Content Library Child Site Content Library Replicate Jason Distribution Point Content Library

10 Content Flow (CAS – Content Created on Primary)
Copy Replicate Replicate Source Location Owning Site Content Library CAS Content Library Peer Site Content Library Distribute Distribute Jason Distribution Point Content Library Distribution Point Content Library

11 Content Flow (Secondary Site)
Replicate Replicate Parent Primary Site Content Library Child Secondary Site Content Library Child Secondary Site Content Library Distribute Distribute Jason Distribution Point Content Library Distribution Point Content Library

12 Pull Distribution Point
Content Flow (Pull DP) Primary Site Content Library Management Point Distribute Update Jason Distribution Point Content Library Pull Distribution Point Content Library Pull

13 Content Replication (Server Side)
Copy Normal SMB Raw Replicate Sender SMB .PKG Distribute Pull BITS Jason Paths Site to Site Site to DP Transfers between the site server and distribution point resume from where they left off if there is a failure during content transfer. (new 2012 SP2) DP to (pull) DP Throttling Priority File Batching Sender SMB = Throttled, Scheduled, File batching

14 Priority Set in each package. Orders and re-orders content flow.
Considered when sending content to child sites and distribution points. Set on each DP (in site control file); default is 200. Orders all content distribution. Transfer speed also tracked and affects ordering. Kim

15 Content Handling – File Updates
Compare Compare Copy Replicate Owning Primary Site Content Library Distribution Point Content Library Jason

16 Content Handling – Replication
File Differential Copies whole file Default for most content types Good for smaller files Binary Differential Default (and cannot be disabled) for Applications Copies, whole file Jason Updates DP Groups Content Pre-staging HW Inv Extension Best for larger files

17 Content Handling – Client Side, Boundaries
2 Distribution Point 1 MP_GetContentDPInfoUnprotected (UID:Content_21e9388b-b938-4d ,1,TP4,SMSUpdate, ,demo.local,demo.local,<ClientLocationInfo LocationType="SMSUpdate" DistributeOnDemand="0" UseAzure="1" AllowWUMU="0" UseProtected="0" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="0" AllowMulticast="0" AllowSuperPeer="1"><ADSite Name="HEADQUARTERS"/><Forest Name="demo.local"/><Domain Name="demo.local"/><IPAddresses><IPAddress SubnetAddress=" " Address=" "/></IPAddresses><BoundaryGroups BoundaryGroupListRetrieveTime=" T14:15:38.657"><BoundaryGroup GroupID=" "/><BoundaryGroup GroupID=" "/></BoundaryGroups></ClientLocationInfo>,<BoundaryGroups BoundaryGroupListRetrieveTime=" T14:15:38.657"><BoundaryGroup GroupID=" "/><BoundaryGroup GroupID=" "/></BoundaryGroups>) MP_LocationManager 9/05/ :15: (0x6C80) MP_GetSuperPeerContentLocations (UID:Content_21e9388b-b938-4d ,1,TP4,SMSUpdate, ,demo.local,demo.local,<ClientLocationInfo LocationType="SMSUpdate" DistributeOnDemand="0" UseAzure="1" AllowWUMU="0" UseProtected="0" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="0" AllowMulticast="0" AllowSuperPeer="1"><ADSite Name="HEADQUARTERS"/><Forest Name="demo.local"/><Domain Name="demo.local"/><IPAddresses><IPAddress SubnetAddress=" " Address=" "/></IPAddresses><BoundaryGroups BoundaryGroupListRetrieveTime=" T14:15:38.657"><BoundaryGroup GroupID=" "/><BoundaryGroup GroupID=" "/></BoundaryGroups></ClientLocationInfo>,<BoundaryGroups BoundaryGroupListRetrieveTime=" T14:15:38.657"><BoundaryGroup GroupID=" "/><BoundaryGroup GroupID=" "/></BoundaryGroups>) MP_LocationManager 9/05/ :15: (0x6C80) MP_GetContentCloudDPUrls (UID:Content_21e9388b-b938-4d ,1,SMSUpdate,TP4) MP_LocationManager 9/05/ :15: (0x6C80) Management Point

18 Content Handling – Content Location Request
exec MP_GetContentDPInfoUnprotected N'TP400001', --ContentID N'1', --ContentVersion N'TP4', --SiteCode N'SMSPackage', --ContentType N'0', --iFlag -- Handles internet requests NULL,NULL, --DomainFQDN, ForestFQDN N'<ClientLocationInfo LocationType="SMSPackage" DistributeOnDemand="0" UseAzure="0" AllowWUMU="0" UseProtected="0" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="0" AllowMulticast="0" AllowSuperPeer="1"><ADSite Name="HEADQUARTERS2"/><Forest Name="demo.local"/> <Domain Name="demo.local"/><IPAddresses><IPAddress SubnetAddress=" " Address=" "/></IPAddresses></ClientLocationInfo>', -- ClientlocationInfo N'<BoundaryGroups BoundaryGroupListRetrieveTime=" T21:15:56.830"><BoundaryGroup GroupID=" "/><BoundaryGroup GroupID=" "/></BoundaryGroups>‘ --BoundaryGroupInfo Unprotected =Fast aka local ContentType = SMSUpdate, SMSPackage or ELSE Branch

19 DP Ordering Step 1 Step 2 1. local (fast) 2. AD 3. remote (slow)
4. fallback 5. internet 6. cloud 1. Multicast 2. HTTPS 3. HTTP 4. SMB local (fast) AD remote (slow) fallback internet cloud

20 Content Handling – Client Side, Boundary Caching
Boundary caching was introduced in 1511 to optimize performance of the Content Lookup process Prior to that a management point would re-calculate the boundary group memberships based on the following details in the content location request Ip address Ip Subnet Active Directory site This improves performance on the server side Boundary groups are cached in wmi (root\ccm\locationservices:BoundaryGroupCache) Updated / stored after a succesfull content location request Instance is deleted when Client service is restarted Network change occurs Boundary group data is part of the XML a client sends in a content location request Location Boundaries Boundary Groups Boundary Caching (new for 1511)

21 Content Handling – Client Side, Boundary Caching
Management Point IP address IP Subnet Active Directory site Boundary Group Location Boundaries Boundary Groups Boundary Caching (new for 1511) DP Locations Boundary Group

22 Content Handling – Client Side, Boundary Caching
root\ccm\locationservices: BoundaryGroupCache Stored After a successful content location request Updated or Cached Client service is restarted Network change occurs Deleted

23 Content Handling – ContentLocation Reply
<?xml version="1.0"?> <ContentLocationReply SchemaVersion="1.00"><BoundaryGroups BoundaryGroupListRetrieveTime=" T08:20:09.840"><BoundaryGroup GroupID=" "/><BoundaryGroup GroupID=" "/></BoundaryGroups><ContentInfo PackageFlags="0"><ContentHashValues/></ContentInfo><Sites><Site><MPSite IISSSLPreferedPort="443" IISPreferedPort="80" SiteLocality="REMOTE" MasterSiteCode="TP4" SiteCode="TP4"/><LocationRecords><LocationRecord><ADSite Name="Headquarters"/><IPSubnets><IPSubnet Address=" "/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>8385</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>ConfigMgrTP.demo.local</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>LOCAL</Locality></LocationRecord><LocationRecord><ADSite Name="Headquarters"/><IPSubnets><IPSubnet Address=" "/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>8385</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>pki2.demo.local</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="0"/><Locality>REMOTE</Locality></LocationRecord></LocationRecords></Site></Sites><RelatedContentIDs/></ContentLocationReply>

24 Client Content Download
BITS Distribution Point PeerCache BranchCache ACP Methods BITS SMB BranchCache ACP BDR RDC (Remote Differential Compression) is no longer used for every file during content distribution. It is only used for files larger than 16KB.

25 A tiny little bit of WMI CCM_CTM_DownloadHistory
Thanks Vinay Pamnani (For ruining any chance of me having an actual social life )

26 DP Usage report

27 The Client Cache a b ccmcache * d c * Application content only
No central control, management, or monitoring (or is there…) b ccmcache Jason Single instancing Cache Management FIFO Viewing the cache * d c * Application content only maximum size

28 The client cache – Cleanup/tombstoning
$Sitecode = 'MMS' $newCacheTombstoneValue =58 $SCI = Get-CimInstance ` -Namespace "root\sms\site_$Sitecode" ` -ClassName 'SMS_SCI_ClientComp' ` -Filter "Itemname = 'Software distribution'" foreach ($Prop in $SCI.Props) { if ($Prop.PropertyName -eq "Cache Tombstone Content Min Duration") { $Prop.Value = $newCacheTombstoneValue break } $SCI | Set-CimInstance Kim $Sitecode = ‘MMS' $newCacheTombstoneValue =58 $SCI = Get-CimInstance ` -Namespace "root\sms\site_$Sitecode" ` -ClassName 'SMS_SCI_ClientComp' ` -Filter "Itemname = 'Software distribution'" foreach ($Prop in $SCI.Props) { if ($Prop.PropertyName -eq "Cache Tombstone Content Min Duration") { $Prop.Value = $newCacheTombstoneValue break } $SCI | Set-CimInstance

29 Backup and Recovery Source Repository Primary Site Content Library
Jason Not strictly required Recommended though Cliupg.acu and client.acu files Primary Site Content Library

30 Recovery of Special Packages
Client Package client.acu hman.box inbox Kim Client Upgrade Package cliupg.acu WMI: SMS_Site.UpdateUpgradeClientContent

31 Hints, Allegations and Things Left Unsaid
C D B A D A C A B C D Dedup C C B B Kim Content Library D A C A Data Source

32 Hints, Allegations and Things Left Unsaid
Orphaned Content Lingering and confirmed issue Remove Content From DPs *before* deleting Jason Windows De-dup Orphaned Content 

33 DP Failover DP Failover
A client sticks with a particular DP (Chosen from the content location reply after ordering) for seconds (*) Configurable in the site control file Kim $Sitecode = 'MMS' $newCacheTombstoneValue =7100 $SCI = Get-CimInstance ` -Namespace "root\sms\site_$Sitecode" ` -ClassName 'SMS_SCI_ClientComp' ` -Filter "Itemname = 'Software distribution'" foreach ($Prop in $SCI.Props) { if ($Prop.PropertyName -eq "Download Modification Interval") { $Prop.Value = $newCacheTombstoneValue break } $SCI | Set-CimInstance (*) Changed since ConfigMgr 2012 r2

34 DP Failover 28800 7200 seconds* Configurable in the site control file
Kim $Sitecode = 'MMS' $newCacheTombstoneValue =7100 $SCI = Get-CimInstance ` -Namespace "root\sms\site_$Sitecode" ` -ClassName 'SMS_SCI_ClientComp' ` -Filter "Itemname = 'Software distribution'" foreach ($Prop in $SCI.Props) { if ($Prop.PropertyName -eq "Download Modification Interval") { $Prop.Value = $newCacheTombstoneValue break } $SCI | Set-CimInstance Configurable in the site control file (*) Changed in ConfigMgr 2012 r2

35 Troubleshooting Tools and Tips
Console Cancel and Retry Tools DP Job Manager Content Library Explorer CLR Generator (Rob Marshall) SQL Server Mgmt Studio Kim DPJobMgr Content Library Explorer In-console Management Cancel and retry Usage reporting Monitoring and validation

36 Troubleshooting – Server Logs
Copy distmgr.log Source Location Primary Site Replicate distmgr.log sender.log Jason Server Side Logs Sender.log Pkgxfermgr.log Distmgr.log MP_location.log Client Side Logs CAS.log ContentTransferManager.log DataTransferService.log despool.log Parent Primary Site Child Site

37 Troubleshooting – Server Logs
Distribute distmgr.log pkgxfermgr.log smsdpprov.log Site Server Distribution Point Pull Distribution Point Management Point Distribution Point Jason Server Side Logs Sender.log Pkgxfermgr.log Distmgr.log MP_location.log Client Side Logs CAS.log ContentTransferManager.log DataTransferService.log Pull Update pulldp.log datatransferserver.log

38 Troubleshooting – Client Logs
Distribution Point Management Point cas.log contenttransfermanager.log datatransferserver.log mp_location.log Jason Server Side Logs Sender.log Pkgxfermgr.log Distmgr.log MP_location.log Client Side Logs CAS.log ContentTransferManager.log DataTransferService.log Managed Windows Client

39 And Then …

40 Section Header This is the next section

41 Demo Title

42


Download ppt "ConfigMgr Content Management"

Similar presentations


Ads by Google