다음을 통해 공유


Content Distribution to Distribution Points-Part I

Content Distribution to Distribution Points -Part I

For storing the content, these are the packages available in Configuration Manager.

  1. Software Distribution Packages
  2. Application
  3. Software Update Packages
  4. Boot Images
  5. Operating System images and packages

Clients get these packages from distribution point. When content is distributed to the distribution point there are chances that the packages does not reach DP successfully.

From our experience, we have seen this issue happing to many customer and one of our common issues which our customer face.

This flow is on ,how the content distribution happens, Once you know this, you can track where the flow is broken.

Creating a Package

When the package is created from the console then the SMS Provider will write the information to the database. This change is detected by the smsdbmon and the notification file is placed

Note: The highlighted items are the checkpoints to understand the flow so that if broken we can easily find it out

SMSDBMON.log
RCV: INSERT on SMSPackages_G for SMS_Package_ins_upd_SMSProv [P0100017 ][72057594037986121] SMS_DATABASE_NOTIFICATION_MONITOR 11/18/2013 7:10:14 PM 4808 (0x12C8)
RCV: INSERT on SMSPackages_G for SMSPackages_G_Avail_iu [P0100017  ][72057594037986122] SMS_DATABASE_NOTIFICATION_MONITOR 11/18/2013 7:10:14 PM 4808 (0x12C8)
RCV: INSERT on PkgNotification for PkgNotify_Add [P0100017  ][72057594037986123] SMS_DATABASE_NOTIFICATION_MONITOR 11/18/2013 7:10:14 PM 4808 (0x12C8)
RCV: INSERT on PkgNotification for PkgNotify_Add [P0100017  ][72057594037986124] SMS_DATABASE_NOTIFICATION_MONITOR 11/18/2013 7:10:14 PM 4808 (0x12C8)
RCV: INSERT on RBAC_ChangeNotification for Rbac_Sync_ChangeNotification [72057594037928118  ][72057594037986125] SMS_DATABASE_NOTIFICATION_MONITOR 11/18/2013 7:10:14 PM 4808 (0x12C8)
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\objmgr.box\P0100017.PAN  [72057594037986122] SMS_DATABASE_NOTIFICATION_MONITOR 11/18/2013 7:10:14 PM 4808 (0x12C8)
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\P0100017.PKN  [72057594037986123] SMS_DATABASE_NOTIFICATION_MONITOR 11/18/2013 7:10:14 PM 4808 (0x12C8)
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\P0100017.PKN [72057594037986124] SMS_DATABASE_NOTIFICATION_MONITOR 11/18/2013 7:10:14 PM 4808 (0x12C8)
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\hman.box\72057594037928118.RBC  [72057594037986125] SMS_DATABASE_NOTIFICATION_MONITOR 11/18/2013 7:10:14 PM 4808 (0x12C8)

Once the notification file is received the distmgr will start the processing . It takes the snapshot of the package ,creates a package signature, calculates the hash and also replicates these information to the other sites.

Distmgr.log

Found notification for package 'P0100017' SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 3604 (0x0E14)
Used 0 out of 3 allowed processing threads. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 3604 (0x0E14)
Starting package processing thread, thread ID = 0x1438 (5176) SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 3604 (0x0E14)
Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 3604 (0x0E14)
STATMSG: ID=2300 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=5176 GMTDATE=Mon Nov 18 13:40:29.912 2013 ISTR0="Notepad++" ISTR1="P0100017" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 5176 (0x1438)
Start adding package P0100017... SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 5176 (0x1438)
The Package Action is 2, the Update Mask is 0 and UpdateMaskEx is 0. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 5176 (0x1438)
CDistributionSrcSQL::UpdateAvailableVersion PackageID=P0100017, Version=1, Status=2300 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 5176 (0x1438)
Taking package snapshot for package P0100017 from source C:\Software\Notepad++ SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 5176 (0x1438)
Set share security on share \\PRIMARY1.msdindia.com\SCCMContentLib$ SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:29 PM 5176 (0x1438)
The size of package P0100017, version 1 is 6879 KBytes SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:30 PM 5176 (0x1438)
CreatePackageSignature() called for Package P0100017 with version 1 with source as '\\?\C:\Software\Notepad++'. KeepUnpackedSignature = 1 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:30 PM 5176 (0x1438)
Successfully created RDC signatures for package P0100017 version 1 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:30 PM 5176 (0x1438)
Set share security on share \\PRIMARY1.msdindia.com\SCCMContentLib$ SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:30 PM 5176 (0x1438)
Creating hash for algorithm 32780 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:30 PM 5176 (0x1438)
The hash for algorithm 32780 is FBAD23A5B5D910EE847C83E53B4BEFB950CBFE8BC0F8F05CDBC6E00518080E2B SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:30 PM 5176 (0x1438)
The RDC signature hash for algorithm 32780 is 2D736B64030C3E5D9B1BF9816D81A00942DE4B7A797B3D7A74998462439219B9 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:30 PM 5176 (0x1438)
Adding these contents to the package P0100017 version 1. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:30 PM 5176 (0x1438)
CDistributionSrcSQL::UpdateAvailableVersion PackageID=P0100017, Version=1, Status=2376 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:31 PM 5176 (0x1438)
STATMSG: ID=2376 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=5176 GMTDATE=Mon Nov 18 13:40:31.102 2013 ISTR0="P0100017" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:31 PM 5176 (0x1438)
Adding these contents to the package P0100017 version 1. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:31 PM 5176 (0x1438)
Successfully created/updated the package P0100017 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:31 PM 5176 (0x1438)
STATMSG: ID=2311 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=5176 GMTDATE=Mon Nov 18 13:40:31.601 2013 ISTR0="P0100017" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:31 PM 5176 (0x1438)
Created policy provider trigger for ID P0100017 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:32 PM 5176 (0x1438)
Package P0100017 does not have a preferred sender. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:32 PM 5176 (0x1438)
A program for package P0100017 has been added or removed, therefore it needs to be replicated to all child sites. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:32 PM 5176 (0x1438)
Package P0100017 is new or has changed, replicating to all applicable sites. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:32 PM 5176 (0x1438)
CDistributionSrcSQL::UpdateAvailableVersion PackageID=P0100017, Version=1, Status=2301 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:32 PM 5176 (0x1438)
StoredPkgVersion (1) of package P0100017. StoredPkgVersion in database is 1. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:32 PM 5176 (0x1438)
SourceVersion (1) of package P0100017. SourceVersion in database is 1. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:32 PM 5176 (0x1438)
Adding these contents to the package P0100017 version 1. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:32 PM 5176 (0x1438)
STATMSG: ID=2301 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=5176 GMTDATE=Mon Nov 18 13:40:32.986 2013 ISTR0="Notepad++" ISTR1="P0100017" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 11/18/2013 7:10:32 PM 5176 (0x1438)

Distribute to Local DP

When you add a distribution point to a package the SMS Database Notification Monitor.

SMSDBMON.log

RCV: INSERT on PkgNotification for PkgNotify_Add [P0100017  ][72057594037986132]  SMS_DATABASE_NOTIFICATION_MONITOR  11/18/2013 7:12:04 PM  4808 (0x12C8)
RCV: INSERT on PkgNotification for PkgNotify_Add [P0100017  ][72057594037986133]  SMS_DATABASE_NOTIFICATION_MONITOR  11/18/2013 7:12:04 PM  4808 (0x12C8)
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\P0100017.PKN  [72057594037986132]  SMS_DATABASE_NOTIFICATION_MONITOR  11/18/2013 7:12:04 PM  4808 (0x12C8)
SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\P0100017.PKN  [72057594037986133]  SMS_DATABASE_NOTIFICATION_MONITOR  11/18/2013 7:12:04 PM  4808 (0x12C8)

Once the PKN file is received by the distmgr will start the processing

DistMgr.log

Found notification for package 'P0100017' SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:14 PM 3604 (0x0E14)
STATMSG: ID=2300 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=5256 GMTDATE=Mon Nov 18 13:42:15.326 2013 ISTR0="Notepad++" ISTR1="P0100017" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:15 PM 5256 (0x1488)
Start adding package to server ["Display=\\PRIMARY1.msdindia.com\"]MSWNET:["SMS_SITE=P01"]\\PRIMARY1.msdindia.com\... SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:15 PM 5256 (0x1488)
Attempting to add or update a package on a distribution point. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:15 PM 2924 (0x0B6C)
The distribution point is on the siteserver and the package is a content type package. There is nothing to be copied over. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:15 PM 2924 (0x0B6C)
STATMSG: ID=2342 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=2924 GMTDATE=Mon Nov 18 13:42:15.881 2013 ISTR0="Notepad++" ISTR1="["Display=\\PRIMARY1.msdindia.com\"]MSWNET:["SMS_SITE=P01"]\\PRIMARY1.msdindia.com\" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="P0100017" AID1=404 AVAL1="["Display=\\PRIMARY1.msdindia.com\"]MSWNET:["SMS_SITE=P01"]\\PRIMARY1.msdindia.com\" SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:15 PM 2924 (0x0B6C)
The current user context will be used for connecting to ["Display=\\PRIMARY1.msdindia.com\"]MSWNET:["SMS_SITE=P01"]\\PRIMARY1.msdindia.com\. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
No network connection is needed to ["Display=\\PRIMARY1.msdindia.com\"]MSWNET:["SMS_SITE=P01"]\\PRIMARY1.msdindia.com\ as this is the local machine. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
CreateSignatureShare, connecting to DP SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
Signature share exists on distribution point path \\PRIMARY1.msdindia.com\SMSSIG$ SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)

Set share security on share \\PRIMARY1.msdindia.com\SMSSIG$ SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
Share SMSPKGC$ exists on distribution point \\PRIMARY1.msdindia.com\SMSPKGC$ SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
Set share security on share \\PRIMARY1.msdindia.com\SMSPKGC$ SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
Set share security on share \\PRIMARY1.msdindia.com\SCCMContentLib$ SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
Set share security on share \\PRIMARY1.msdindia.com\SCCMContentLib$ SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
RDC:Successfully created package signature file from \\?\C:\SMSPKGSIG\P0100017.1 to \\PRIMARY1.msdindia.com\SMSSIG$\P0100017.1.tar SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
Setting permissions on file MSWNET:["SMS_SITE=P01"]\\PRIMARY1.msdindia.com\SMSSIG$\P0100017.1.tar. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:16 PM 2924 (0x0B6C)
STATMSG: ID=2330 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=2924 GMTDATE=Mon Nov 18 13:42:17.021 2013 ISTR0="P0100017" ISTR1="["Display=\\PRIMARY1.msdindia.com\"]MSWNET:["SMS_SITE=P01"]\\PRIMARY1.msdindia.com\" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="P0100017" AID1=404 AVAL1="["Display=\\PRIMARY1.msdindia.com\"]MSWNET:["SMS_SITE=P01"]\\PRIMARY1.msdindia.com\" SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 2924 (0x0B6C)
StateTable::CState::Handle - (2330:1 2013-11-18 13:42:17.021+00:00) >> (2331:1 2013-11-18 13:37:40.641+00:00) SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 2924 (0x0B6C)
CStateMsgReporter::DeliverMessages - Queued message: TT=1401 TIDT=0 TID='7F6041B0-3EE2-427F-AB72-B89610A6331C' SID=2330 MUF=0 PCNT=2, P1='P01' P2='2013-11-18 13:42:17.021+00:00' P3='' P4='' P5='' SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 2924 (0x0B6C)
CStateMsgReporter::DeliverMessages - Created state message file: C:\Program Files\Microsoft Configuration Manager\inboxes\auth\statesys.box\incoming\5g8vj6s1.SMX SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 2924 (0x0B6C)
Successfully send state change notification 7F6041B0-3EE2-427F-AB72-B89610A6331C SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 2924 (0x0B6C)
Successfully created/updated the package server in the data source SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 2924 (0x0B6C)
Performing cleanup prior to returning. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 2924 (0x0B6C)
DP thread with array index 0 ended. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 5256 (0x1488)
DP thread with thread handle 0000000000002BD0 and thread ID 2924 ended. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 5256 (0x1488)
Package P0100017 does not have a preferred sender. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 5256 (0x1488)
The package and/or program properties for package P0100017 have not changed,  need to determine which site(s) need updated package info. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 5256 (0x1488)
CDistributionSrcSQL::UpdateAvailableVersion PackageID=P0100017, Version=1, Status=2301 SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 5256 (0x1488)
StoredPkgVersion (1) of package P0100017. StoredPkgVersion in database is 1. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 5256 (0x1488)
SourceVersion (1) of package P0100017. SourceVersion in database is 1. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 5256 (0x1488)
STATMSG: ID=2301 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=5256 GMTDATE=Mon Nov 18 13:42:17.588 2013 ISTR0="Notepad++" ISTR1="P0100017" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 5256 (0x1488)
Exiting package processing thread. SMS_DISTRIBUTION_MANAGER 11/18/2013 7:12:17 PM 5256 (0x1488)

In the next two parts we will cover the flow on how it goes to a remote distribution point and to distribution point in the site server (secondary site)

Hope this will be helpful in troubleshooting

Sudheesh Narayanaswamy

Comments

  • Anonymous
    December 15, 2013
    Pingback from SCCM: Content Lookup in configuration Manager, troubleshooting, logfiles involved | MS Tech BLOG
  • Anonymous
    December 15, 2013
    thanks alot
  • Anonymous
    December 15, 2013
    Thanks
  • Anonymous
    February 03, 2014
    Hello Sir, Amazing information. Loved it......
  • Anonymous
    January 08, 2015
    thanks..
  • Anonymous
    January 19, 2016
    thank you for your kind help