• Collect Hardware Inventory of Local Admins


    We had requirements on to collect the information of only local Admins.
    We already had blogs which were helping to find information of all local groups.
    http://mnscug.org/blogs/sherry-kissinger/244-all-members-of-all-local-groups-configmgr-2012 .
    http://myitforum.com/cs2/blogs/skissinger/archive/2010/04/25/report-on-all-members-of-all-local-groups.aspx
    In the interest of collecting less data (Save space in DB) I modified the same to collect only Local admins
    Steps
    1) Import the Cab file

    •  Take the the attached file--> WMI Framework For Local Administrator
    •  In your ConfigMgr 12 console, on Assets and Compliance, Compliance Settings
    •  Right-click on "Configuration Baseline"  and Import this file (http://technet.microsoft.com/en-us/library/hh691016.aspx )
    •  Once done deploy the baseline to the collection of machines from which you need.(http://technet.microsoft.com/en-us/library/hh219289.aspx )

    2) Import the MOF file so that SMS_DEF is updated in 2012 this is how you do

    •  On the console, Administration  Client Settings   right-click 'Default Client Settings'and go to properties.
    •   Select Hardware Inventory, then on the right "Set Classes.
    •  Click Import and browse to the localadmin.mof file you saved.

      Content of MOF file
    ========================================
    [ SMS_Report (TRUE),
      SMS_Group_Name ("LocalAdmins"),
      SMS_Class_ID ("MICROSOFT|LocalAdmins|1.0"),
      Namespace ("root\\\\cimv2") ]
    class Win32_LocalAdmins : SMS_Class_Template
    {
        [SMS_Report (TRUE), key ] string Account;
        [SMS_Report (TRUE)      ] string Domain;
        [SMS_Report (TRUE), key ] string Name;
        [SMS_Report (TRUE)      ] string Type;
    };
    ====================================================

    The script use to create a WMI entry is also available in the Zip file uploaded.

    =================================

    Sudheesh Narayanaswamy

    This posting /Script  is provided "AS IS" with no warranties and confers no rights

  • Content Distribution to Distribution Points -Part III

    Content Distribution to Distribution Points -Part III

    From primary site to Remote distribution Point

    In 2012 the flow is different from 2007 when a package is distributed to a remote DP. We have the new component PACKAGE TRANSFER MANAGER in 2012. The top level flow is that the distmgr get the request and when it is a remote DP it will ask the package transfer manager to copy the contents to the remote DP.  The flow is below

    Once you add the remote DP from console, the notification file is dropped by smsdbmon. Distmgr takes this nofication and start processing the package.
    As it is a remote DP the distmgr will create a package transefer job to send compressed copy of package.

    The Package transfer Manager updates the status using the state messages along with status messages.

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

    smsdbmon.log

    Next time check will be at Tuesday 11/19/2013 06:00:24 SMS_DATABASE_NOTIFICATION_MONITOR 19-11-2013 5.00.26 AM 2284 (0x08EC)
    RCV: INSERT on PkgNotification for PkgNotify_Add [PR100006  ][72057594037968540] SMS_DATABASE_NOTIFICATION_MONITOR 19-11-2013 5.00.44 AM 2148 (0x0864)
    RCV: INSERT on PkgNotification for PkgNotify_Add [PR100006  ][72057594037968541] SMS_DATABASE_NOTIFICATION_MONITOR 19-11-2013 5.00.44 AM 2148 (0x0864)
    SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\PR100006.PKN  [72057594037968540] SMS_DATABASE_NOTIFICATION_MONITOR 19-11-2013 5.00.44 AM 2148 (0x0864)
    SND: Dropped C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\PR100006.PKN  [72057594037968541] SMS_DATABASE_NOTIFICATION_MONITOR 19-11-2013 5.00.44 AM 2148 (0x0864)

    distmgr.log

    Found notification for package 'PR100006' SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.54 AM 2776 (0x0AD8)
    Used 0 out of 3 allowed processing threads. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 2776 (0x0AD8)
    Starting package processing thread, thread ID = 0xB64 (2916) SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 2776 (0x0AD8)
    Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 2776 (0x0AD8)
    STATMSG: ID=2300 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CMLABPR1.CMLAB.COM SITE=PR1 PID=4676 TID=2916 GMTDATE=Tue Nov 19 13:00:55.122 2013 ISTR0="Package1" ISTR1="PR100006" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="PR100006" SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 2916 (0x0B64)
    No action specified for the package PR100006. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 2916 (0x0B64)
    Start adding package to server ["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\... SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 2916 (0x0B64)
    Attempting to add or update a package on a distribution point. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 5032 (0x13A8)
    Will wait for 1 threads to end. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 2916 (0x0B64)
    Thread Handle = 0000000000001B94 SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 2916 (0x0B64)
    STATMSG: ID=2342 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CMLABPR1.CMLAB.COM SITE=PR1 PID=4676 TID=5032 GMTDATE=Tue Nov 19 13:00:55.359 2013 ISTR0="Package1" ISTR1="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="PR100006" AID1=404 AVAL1="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 5032 (0x13A8)
    The current user context will be used for connecting to ["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 5032 (0x13A8)
    Successfully made a network connection to \\CMLABWIN71.CMLAB.COM\ADMIN$. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 5032 (0x13A8)
    Signature share exists on distribution point path \\CMLABWIN71.CMLAB.COM\SMSSIG$ SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 5032 (0x13A8)
    Share SMSPKGC$ exists on distribution point \\CMLABWIN71.CMLAB.COM\SMSPKGC$ SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.55 AM 5032 (0x13A8)
    Creating, reading and or updating Operations Management server role registry keys for a Distribution Point ... SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.56 AM 5032 (0x13A8)
    Creating, reading or updating IIS registry key for a distribution point. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.56 AM 5032 (0x13A8)
    IISPortsList in the SCF is "80". SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.56 AM 5032 (0x13A8)
    IISSSLPortsList in the SCF is "443". SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.56 AM 5032 (0x13A8)
    IISWebSiteName in the SCF is "". SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.56 AM 5032 (0x13A8)
    IISSSLState in the SCF is 480. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.56 AM 5032 (0x13A8)
    CWmiRegistry::GetStr: Failed to get string value SCFSSLPortList SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.56 AM 5032 (0x13A8)
    CWmiRegistry::GetStr: Failed to get string value SMSSSLPortList SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.56 AM 5032 (0x13A8)
    CWmiRegistry::GetStr: Failed to get string value SMSCWSPortList SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.56 AM 5032 (0x13A8)
    CWmiRegistry::GetStr: Failed to get string value SMSCWSSSLPortList SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    Virtual Directory SMS_DP_SMSPKG$ for the physical path C:\SCCMContentLib already exists. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    STATMSG: ID=2375 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CMLABPR1.CMLAB.COM SITE=PR1 PID=4676 TID=5032 GMTDATE=Tue Nov 19 13:00:57.225 2013 ISTR0="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=404 AVAL0="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    Creating, reading or updating IIS registry key for a distribution point. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    IISPortsList in the SCF is "80". SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    IISSSLPortsList in the SCF is "443". SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    IISWebSiteName in the SCF is "". SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    IISSSLState in the SCF is 480. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    CWmiRegistry::GetStr: Failed to get string value SCFSSLPortList SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    CWmiRegistry::GetStr: Failed to get string value SMSSSLPortList SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    CWmiRegistry::GetStr: Failed to get string value SMSCWSPortList SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    CWmiRegistry::GetStr: Failed to get string value SMSCWSSSLPortList SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    Virtual Directory SMS_DP_SMSSIG$ for the physical path C:\SMSSIG$ already exists. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    STATMSG: ID=2375 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CMLABPR1.CMLAB.COM SITE=PR1 PID=4676 TID=5032 GMTDATE=Tue Nov 19 13:00:57.727 2013 ISTR0="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=404 AVAL0="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.57 AM 5032 (0x13A8)
    Created package transefer job to send compressed copy of package PR100006 to distribution point ["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\.  Transfer root = PR100006.PCK.DLT.0.1. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 5032 (0x13A8)
    JobID = JENK71H9 SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 5032 (0x13A8)
    STATMSG: ID=2357 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CMLABPR1.CMLAB.COM SITE=PR1 PID=4676 TID=5032 GMTDATE=Tue Nov 19 13:00:58.392 2013 ISTR0="PR100006" ISTR1="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="PR100006" AID1=404 AVAL1="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 5032 (0x13A8)
    Performing cleanup prior to returning. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 5032 (0x13A8)
    Cancelling network connection to \\CMLABWIN71.CMLAB.COM\ADMIN$. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 5032 (0x13A8)
    DP thread with array index 0 ended. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 2916 (0x0B64)
    DP thread with thread handle 0000000000001B94 and thread ID 5032 ended. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 2916 (0x0B64)
    Updating package info for package PR100006 SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 2916 (0x0B64)
    Package PR100006 does not have a preferred sender. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 2916 (0x0B64)
    The package and/or program properties for package PR100006 have not changed,  need to determine which site(s) need updated package info. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 2916 (0x0B64)
    StoredPkgVersion (1) of package PR100006. StoredPkgVersion in database is 1. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 2916 (0x0B64)
    SourceVersion (1) of package PR100006. SourceVersion in database is 1. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 2916 (0x0B64)
    STATMSG: ID=2301 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CMLABPR1.CMLAB.COM SITE=PR1 PID=4676 TID=2916 GMTDATE=Tue Nov 19 13:00:58.830 2013 ISTR0="Package1" ISTR1="PR100006" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="PR100006" SMS_DISTRIBUTION_MANAGER 19-11-2013 5.00.58 AM 2916 (0x0B64)

    Packagexfermgr

    ========  Starting Processing Cycle ( 19-11-2013 05:01:08 Pacific Standard Time) ======== SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.08 AM 3844 (0x0F04)
    ========  Processing Jobs  ======== SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.08 AM 3844 (0x0F04)
    Activating job JENK71H9, for package PR100006 version 1, Distribution point :  CMLABWIN71.CMLAB.COM, Priority: 2 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.09 AM 3844 (0x0F04)
        Need to send package file (PR100006.PCK.DLT.0.1) SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.09 AM 3844 (0x0F04)
    Updating job JENK71H9 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.10 AM 3844 (0x0F04)
        Created new send request ID:  20003PR1 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.10 AM 3844 (0x0F04)
    Job count is 1. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.23 AM 3844 (0x0F04)
    ====  Found 1 send requests in outbox C:\Program Files\Microsoft Configuration Manager\inboxes\PkgTransferMgr.box\requests. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.23 AM 3844 (0x0F04)
    Send Request 20003PR1~    Job:        JENK71H9  Destination:  CMLABWIN71.CMLAB.COM~    State:      Pending   Status:               Action:    None~    Total size: 0       k Remaining: 0       k Heartbeat: 05:01~    Start:      12:00     Finish:    12:00      Retry:     05:01~    SWD PkgID:  PR100006  SWD Pkg Version: 1 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.23 AM 3844 (0x0F04)
    ====  Checking send requests for outbox C:\Program Files\Microsoft Configuration Manager\inboxes\PkgTransferMgr.box\requests. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.23 AM 3844 (0x0F04)
        Checking unscheduled send request 20003PR1 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.23 AM 3844 (0x0F04)
    ========  Finished Processing Cycle ( 19-11-2013 05:01:24 Pacific Standard Time) ======== SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.24 AM 3844 (0x0F04)

    Found send request.  ID: 20003PR1, Destination: CMLABWIN71.CMLAB.COM SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 2864 (0x0B30)
    We have 0 active connections SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 2864 (0x0B30)
    Checking for sitesystem-specific sending capacity.  Used 0 out of 5. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 2864 (0x0B30)
    We have 0 active connections SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 2864 (0x0B30)
    Created sending thread (Thread ID = 0x1204) SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 2864 (0x0B30)

    Sending thread starting SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Package file = PR100006.PCK.DLT.0.1 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Performing preactions package PR100006, Distribution point CMLABWIN71.CMLAB.COM SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Sending legacy content PR100006.1 for package PR100006 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Redistribute=0, Related= SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Created/opened the remote file \\CMLABWIN71.CMLAB.COM\SMS_DP$\PR100006.1-93596791AF1B0225B1E0DE36E08E3673A523A89C037988AD8C2D1840DF9E84F9 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Sending Started [C:\SCCMContentLib\FileLib\9359\93596791AF1B0225B1E0DE36E08E3673A523A89C037988AD8C2D1840DF9E84F9] SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Attempt to write 5120 bytes to \\CMLABWIN71.CMLAB.COM\SMS_DP$\PR100006.1-93596791AF1B0225B1E0DE36E08E3673A523A89C037988AD8C2D1840DF9E84F9 at position 0 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Wrote 5120 bytes to \\CMLABWIN71.CMLAB.COM\SMS_DP$\PR100006.1-93596791AF1B0225B1E0DE36E08E3673A523A89C037988AD8C2D1840DF9E84F9 at position 0 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Attempt to write 102400 bytes to \\CMLABWIN71.CMLAB.COM\SMS_DP$\PR100006.1-93596791AF1B0225B1E0DE36E08E3673A523A89C037988AD8C2D1840DF9E84F9 at position 5120 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.28 AM 4612 (0x1204)
    Wrote 102400 bytes to \\CMLABWIN71.CMLAB.COM\SMS_DP$\PR100006.1-93596791AF1B0225B1E0DE36E08E3673A523A89C037988AD8C2D1840DF9E84F9 at position 5120 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.29 AM 4612 (0x1204)
    Attempt to write 738176 bytes to \\CMLABWIN71.CMLAB.COM\SMS_DP$\PR100006.1-93596791AF1B0225B1E0DE36E08E3673A523A89C037988AD8C2D1840DF9E84F9 at position 107520 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.29 AM 4612 (0x1204)
    Wrote 738176 bytes to \\CMLABWIN71.CMLAB.COM\SMS_DP$\PR100006.1-93596791AF1B0225B1E0DE36E08E3673A523A89C037988AD8C2D1840DF9E84F9 at position 107520 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.29 AM 4612 (0x1204)
    We have 1 active connections SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.33 AM 2864 (0x0B30)
    Checking for sending capacity.  Used 1 out of 15. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.33 AM 2864 (0x0B30)

    Waiting for new/rescheduled send requests, Maximum Sleep Time = 60 minutes SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.33 AM 2864 (0x0B30)
    Sending completed [C:\SCCMContentLib\FileLib\9359\93596791AF1B0225B1E0DE36E08E3673A523A89C037988AD8C2D1840DF9E84F9] SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.34 AM 4612 (0x1204)
    Completed post-actions for remote DP CMLABWIN71.CMLAB.COM SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    Sending completed successfully SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)

    Deleting remote file 20003PR1.PCK SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    Notifying pkgXferJobMgr SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    COutbox::TakeNextToSend(pszSiteCode) SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    Finished sending SWD package PR100006 version 1 to distribution point CMLABWIN71.CMLAB.COM SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    STATMSG: ID=8200 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_PACKAGE_TRANSFER_MANAGER" SYS=CMLABPR1.CMLAB.COM SITE=PR1 PID=4676 TID=4612 GMTDATE=Tue Nov 19 13:01:36.429 2013 ISTR0="PR100006" ISTR1="1" ISTR2="CMLABWIN71.CMLAB.COM" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="PR100006" AID1=410 AVAL1="1" SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    Sent status to the distribution manager for pkg PR100006, version 1, status 3 and distribution point ["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\ SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    STATMSG: ID=8210 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_PACKAGE_TRANSFER_MANAGER" SYS=CMLABPR1.CMLAB.COM SITE=PR1 PID=4676 TID=4612 GMTDATE=Tue Nov 19 13:01:36.826 2013 ISTR0="PR100006" ISTR1="1" ISTR2="CMLABWIN71.CMLAB.COM" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=3 AID0=400 AVAL0="PR100006" AID1=410 AVAL1="1" AID2=404 AVAL2="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    StateTable::CState::Handle - (8210:1 2013-11-19 13:01:36.826+00:00) >> (0:0 2013-11-18 12:39:08.445+00:00) SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    CStateMsgReporter::DeliverMessages - Queued message: TT=1401 TIDT=0 TID='7F6041B0-3EE2-427F-AB72-B89610A6331C' SID=8210 MUF=0 PCNT=2, P1='PR1' P2='2013-11-19 13:01:36.826+00:00' P3='' P4='' P5='' SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.36 AM 4612 (0x1204)
    CStateMsgReporter::DeliverMessages - Created state message file: C:\Program Files\Microsoft Configuration Manager\inboxes\auth\statesys.box\incoming\qa2ma8pt.SMX SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.38 AM 4612 (0x1204)
    Successfully send state change notification 7F6041B0-3EE2-427F-AB72-B89610A6331C SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.38 AM 4612 (0x1204)
    Sending thread complete SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.38 AM 4612 (0x1204)
    We have 0 active connections SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.38 AM 2864 (0x0B30)
    Checking for sending capacity.  Used 0 out of 15. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.38 AM 2864 (0x0B30)
    COutbox::TakeNextToSend(pszSiteCode) SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.38 AM 2864 (0x0B30)
    No (more) send requests found to process. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.38 AM 2864 (0x0B30)
    Waiting for new/rescheduled send requests, Maximum Sleep Time = 60 minutes SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.38 AM 2864 (0x0B30)
    DeleteNotificationFiles deleted 1 *.DWS file(s) this cycle. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.46 AM 3844 (0x0F04)

    ========  Starting Processing Cycle ( 19-11-2013 05:01:46 Pacific Standard Time) ======== SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.46 AM 3844 (0x0F04)
    ========  Processing Jobs  ======== SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.46 AM 3844 (0x0F04)
    Updating job JENK71H9 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.46 AM 3844 (0x0F04)
    Job count is 1. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.57 AM 3844 (0x0F04)
    ====  Found 1 send requests in outbox \\CMLABPR1.CMLAB.COM\SMS_PR1\inboxes\PkgTransferMgr.box\outboxes\LAN. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.57 AM 3844 (0x0F04)
    Send Request 20003PR1~    Job:        JENK71H9  Destination:  CMLABWIN71.CMLAB.COM~    State:      Working   Status:    Success    Action:    None~    Total size: 0       k Remaining: 0       k Heartbeat: 05:01~    Start:      05:01     Finish:    05:01      Retry:          ~    SWD PkgID:  PR100006  SWD Pkg Version: 1 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.58 AM 3844 (0x0F04)
    ====  Checking send requests for outbox \\CMLABPR1.CMLAB.COM\SMS_PR1\inboxes\PkgTransferMgr.box\outboxes\LAN. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.58 AM 3844 (0x0F04)
        Checking send request 20003PR1 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.58 AM 3844 (0x0F04)
            Sending completed (0 bytes/sec). SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.58 AM 3844 (0x0F04)
    ========  Finished Processing Cycle ( 19-11-2013 05:01:58 Pacific Standard Time) ======== SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.58 AM 3844 (0x0F04)
    Sleeping for maximum 10000 seconds. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.01.58 AM 3844 (0x0F04)
    ========  Starting Processing Cycle ( 19-11-2013 05:02:08 Pacific Standard Time) ======== SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.02.08 AM 3844 (0x0F04)
    ========  Processing Jobs  ======== SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.02.08 AM 3844 (0x0F04)
    Updating job JENK71H9 SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.02.09 AM 3844 (0x0F04)
        Send request was PENDING, now ACTIVE. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.02.10 AM 3844 (0x0F04)
        Send request has successfully completed. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.02.10 AM 3844 (0x0F04)
        <JOB STATUS - COMPLETE> SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.02.10 AM 3844 (0x0F04)
        Deleting send request with ID: 20003PR1. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.02.10 AM 3844 (0x0F04)
        Deleted job JENK71H9. SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.02.10 AM 3844 (0x0F04)
    We have 0 active connections SMS_PACKAGE_TRANSFER_MANAGER 19-11-2013 5.02.15 AM 2864 (0x0B30)

    One the remote DP you can see

    smsdpprov.log

    [8C4][Tue 11/19/2013 18:31:36]:Conent 'PR100006.1' for package 'PR100006' has been added to content library successfully

    distmgr.log

    Processing incoming file C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\FXIYWOCM.STA. SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)
    Processing STA for regular DP ["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\ SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)
    Processing status update for package PR100006 SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)
    Successfully updated the package server status for ["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\ for package PR100006, Status 3 SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)
    STATMSG: ID=2330 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=CMLABPR1.CMLAB.COM SITE=PR1 PID=4676 TID=328 GMTDATE=Tue Nov 19 13:01:41.576 2013 ISTR0="PR100006" ISTR1="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="PR100006" AID1=404 AVAL1="["Display=\\CMLABWIN71.CMLAB.COM\"]MSWNET:["SMS_SITE=PR1"]\\CMLABWIN71.CMLAB.COM\" SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)
    StateTable::CState::Handle - (2330:1 2013-11-19 13:01:41.576+00:00) >> (2331:1 2013-11-18 12:49:08.559+00:00) SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)
    CStateMsgReporter::DeliverMessages - Queued message: TT=1401 TIDT=0 TID='7F6041B0-3EE2-427F-AB72-B89610A6331C' SID=2330 MUF=0 PCNT=2, P1='PR1' P2='2013-11-19 13:01:41.576+00:00' P3='' P4='' P5='' SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)
    CStateMsgReporter::DeliverMessages - Created state message file: C:\Program Files\Microsoft Configuration Manager\inboxes\auth\statesys.box\incoming\pz2r16zj.SMX SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)
    Successfully send state change notification 7F6041B0-3EE2-427F-AB72-B89610A6331C SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)
    Successfully delete package status file C:\Program Files\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\FXIYWOCM.STA SMS_DISTRIBUTION_MANAGER 19-11-2013 5.01.41 AM 328 (0x0148)

     

    Hope this helps

    Sudheesh Narayanaswamy

    Support Escalation Engineer

  • Content Distribution to Distribution Points -Part II

    Content Distribution to Distribution Points -Part II

    From Primary server To Secondary Server DP


    Once you Add a secondary server DP from the primary server. The primary server distmgr will pickup the notification. It will then compress the contents of the package so that it can send to the site down. Content is send through the file based replication. But the instruction \ package details reaches the secondary server using DRS. Once the package is compressed it will ask the scheduler to schedule a job and the sender will the compressed file to the secondary server.

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


    Found notification for package 'P0100017' SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.31 PM 3604 (0x0E14)
    Starting package processing thread, thread ID = 0xA1C (2588) SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.32 PM 3604 (0x0E14)
    Needs to send the compressed package for package P0100017 to site S00 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.34 PM 2588 (0x0A1C)
    Sending a copy of package P0100017 to site S00 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.34 PM 2588 (0x0A1C)
    The reporting site of site S00 is this site. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.34 PM 2588 (0x0A1C)
    Use drive C for storing the compressed package. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.34 PM 2588 (0x0A1C)
    Set share security on share \\PRIMARY1.msdindia.com\SCCMContentLib$ SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.34 PM 2588 (0x0A1C)
    Incremented ref count on file C:\SMSPKG\P0100017.PCK.1, count = 1 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.34 PM 2588 (0x0A1C)
    Setting CMiniJob transfer root to C:\SMSPKG\P0100017.PCK.1 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    Incremented ref count on file C:\SMSPKG\P0100017.PCK.1, count = 2 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    Decremented ref count on file C:\SMSPKG\P0100017.PCK.1, count = 1 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    Created minijob to send compressed copy of package P0100017 to site S00.  Transfer root = C:\SMSPKG\P0100017.PCK.1. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    STATMSG: ID=2335 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=2588 GMTDATE=Mon Nov 18 14:01:35.627 2013 ISTR0="P0100017" ISTR1="S00" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    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 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    A distribution point has been changed at this site, adding site S00 to the list of sites to which we are sending package P0100017. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    Parent site of S00 is P01 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=P0100017, Version=1, Status=2301 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    StoredPkgVersion (1) of package P0100017. StoredPkgVersion in database is 1. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    SourceVersion (1) of package P0100017. SourceVersion in database is 1. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    STATMSG: ID=2301 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=PRIMARY1.msdindia.com SITE=P01 PID=2656 TID=2588 GMTDATE=Mon Nov 18 14:01:35.896 2013 ISTR0="Notepad++" ISTR1="P0100017" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)
    Exiting package processing thread. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.31.35 PM 2588 (0x0A1C)


    Schedule.log


    <Activating JOB 000000AF> [Software Distribution for Notepad++, Package ID = P0100017] SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)
        Destination site:  S00, Preferred Address: *, Priority: 2 SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)
        Instruction type:  MICROSOFT|SMS|MINIJOBINSTRUCTION|PACKAGE SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)
        Creating instruction file: \\PRIMARY1.msdindia.com\SMS_P01\inboxes\schedule.box\tosend\000000AF.Id5 SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)
        Transfer root:  C:\SMSPKG\P0100017.PCK.1 SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)
        Begin to calculate signature on C:\SMSPKG\P0100017.PCK.1 SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)
        Signature on C:\SMSPKG\P0100017.PCK.1 is F939B4FFD923A6069445497847ED9572382E30917FB516CCC9F9D27C3317E037038821FCCBACA456356CCDDA43FBA43E18994DB3658120579355F68945B2D3C9A47687166ED3B9E434D34E673ECB3226C2AC378EF47969743D75BA3F8766DFA1B4660BC63C44A7A149B8BAE47525F9B0B9B2F05977EF17368FEC62C91B0E36075520BA34E15A1FB294F941FA0FD86B2D379CEC271089393397AF512FD327B3C580E4C695088D49EF1C4F29E42415321BE8CE0FD7F503F918E91470A962B7ACBA6F6CB678C1E274E6E08F865F9D748094732845805CF544C8CD520E29B79FA2CD2E7605BC22FFD1F5AC86418F444B90E6B4EB886B7CA6DD9FF116375DA11D3C38 SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)
        Hash algorithm ID on C:\SMSPKG\P0100017.PCK.1 is 0x800C SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)
        Instruction (and package) file created.  Mark job active. SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)
        <JOB STATUS - ACTIVE> SMS_SCHEDULER 18-11-2013 7.31.45 PM 4724 (0x1274)

    Sender.log

    Package file = C:\SMSPKG\P0100017.PCK.1 SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Instruction file = C:\Program Files\Microsoft Configuration Manager\inboxes\schedule.box\tosend\000000AF.Id5 SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Checking for remote file \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Checking for remote file \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.SNI SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Checking for remote file \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.TMP SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Attempt to create/open the remote file \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Created/opened the remote file \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Attempt to create/open the remote file \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Created/opened the remote file \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    …………………………………………………….
    Attempt to write 665600 bytes to \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK at position 66560 SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Wrote 65536 bytes to \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK at position 1024 SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Wrote 665600 bytes to \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK at position 66560 SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Attempt to write 1048576 bytes to \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK at position 732160 SMS_LAN_SENDER 18-11-2013 7.32.00 PM 1460 (0x05B4)
    Wrote 1048576 bytes to \\SECONDARY1.msdindia.com\SMS_SITE\2004VP01.PCK at position 732160 SMS_LAN_SENDER 18-11-2013 7.32.01 PM 1460 (0x05B4)

    We see here that the PCK file which is compressed content and the instruction file .ID5 created by the scheduler is send to the secondary. The instruction file helps the despooler at the secondary to understand what to do with the PCK file received.

    Till the package reaches the server you will find the package status in in progress mode


    Secondary Server

    In the secondary server \inboxes\despoolr.box\receive which is SMS_SITE share receive the content.  When it is being processed you might failed to execute if the DRS replication delay is there as the package information comes through DRS. You can confirm this running the query

    You could see in the above result that the secondary server has not got the information w.r.t to secondary server for type 1.

    Despool.log


    Signature checked out OK for instruction coming from site P01, proceed with the instruction execution. SMS_DESPOOLER 18-11-2013 7.32.05 PM 2208 (0x08A0)
    Executing instruction of type MICROSOFT|SMS|MINIJOBINSTRUCTION|PACKAGE SMS_DESPOOLER 18-11-2013 7.32.05 PM 2208 (0x08A0)
    Received package P0100017 version 1. Compressed file -  C:\SMSPKG\P0100017.PCK.1 as C:\Program Files\Microsoft Configuration Manager\inboxes\despoolr.box\receive\ds_s916k.pkg SMS_DESPOOLER 18-11-2013 7.32.05 PM 2208 (0x08A0)
    This package[P0100017]'s information hasn't arrived yet for this version [1]. Retry later ... SMS_DESPOOLER 18-11-2013 7.32.06 PM 2208 (0x08A0)
    Despooler failed to execute the instruction, error code = 12 SMS_DESPOOLER 18-11-2013 7.32.06 PM 2208 (0x08A0)

    Once the information reaches the secondary server database you will find this. And in the next retry you will find the instruction getting proceeded. Once the instruction is processed the package will be uncompressed  


    Despool.log


    Verifying signature for instruction C:\Program Files\Microsoft Configuration Manager\inboxes\despoolr.box\receive\ds_lofhs.nil of type MICROSOFT|SMS|MINIJOBINSTRUCTION|PACKAGE SMS_DESPOOLER 18-11-2013 7.37.16 PM 3416 (0x0D58)
    Signature checked out OK for instruction coming from site P01, proceed with the instruction execution. SMS_DESPOOLER 18-11-2013 7.37.16 PM 3416 (0x0D58)
    Executing instruction of type MICROSOFT|SMS|MINIJOBINSTRUCTION|PACKAGE SMS_DESPOOLER 18-11-2013 7.37.16 PM 3416 (0x0D58)
    STATMSG: ID=4407 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DESPOOLER" SYS=SECONDARY1.msdindia.com SITE=S00 PID=2700 TID=3416 GMTDATE=Mon Nov 18 14:07:16.286 2013 ISTR0="P0100017" ISTR1="1" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DESPOOLER 18-11-2013 7.37.16 PM 3416 (0x0D58)
    Received package P0100017 version 1. Compressed file -  C:\SMSPKG\P0100017.PCK.1 as C:\Program Files\Microsoft Configuration Manager\inboxes\despoolr.box\receive\PKGs15lf.TRY SMS_DESPOOLER 18-11-2013 7.37.16 PM 3416 (0x0D58)
    Old package storedUNC path is . SMS_DESPOOLER 18-11-2013 7.37.16 PM 3416 (0x0D58)
    Use drive C for storing the compressed package. SMS_DESPOOLER 18-11-2013 7.37.16 PM 3416 (0x0D58)
    No branch cache registry entries found. SMS_DESPOOLER 18-11-2013 7.37.17 PM 3416 (0x0D58)
    Uncompressing C:\SMSPKG\P0100017.PCK to C:\SMSPKG\P0100017.PCK.temp SMS_DESPOOLER 18-11-2013 7.37.17 PM 3416 (0x0D58)
    Content Library: C:\SCCMContentLib SMS_DESPOOLER 18-11-2013 7.37.17 PM 3416 (0x0D58)
    Extracting from C:\SMSPKG\P0100017.PCK.temp SMS_DESPOOLER 18-11-2013 7.37.17 PM 3416 (0x0D58)
    Extracting package P0100017 SMS_DESPOOLER 18-11-2013 7.37.17 PM 3416 (0x0D58)
    Extracting content P0100017.1 SMS_DESPOOLER 18-11-2013 7.37.17 PM 3416 (0x0D58)
    Package P0100017 (version 0) exists in the distribution source, save the newer version (version 1). SMS_DESPOOLER 18-11-2013 7.37.20 PM 3416 (0x0D58)
    Stored Package P0100017. Stored Package Version = 1 SMS_DESPOOLER 18-11-2013 7.37.20 PM 3416 (0x0D58)
    STATMSG: ID=4400 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DESPOOLER" SYS=SECONDARY1.msdindia.com SITE=S00 PID=2700 TID=3416 GMTDATE=Mon Nov 18 14:07:21.599 2013 ISTR0="P0100017" ISTR1="\\SECONDARY1.msdindia.com\C$\SMSPKG\P0100017.PCK" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DESPOOLER 18-11-2013 7.37.21 PM 3416 (0x0D58)
    Despooler successfully executed one instruction. SMS_DESPOOLER 18-11-2013 7.37.21 PM 3416 (0x0D58)

    The secondary server distmgr now will pick this notification and start processing the package

    Distmgr.log


    Found notification for package 'P0100017' SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.41 PM 3308 (0x0CEC)
    Start updating the package P0100017... SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.42 PM 3688 (0x0E68)
    The Package Action is 1, the Update Mask is 160 and UpdateMaskEx is 0. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.42 PM 3688 (0x0E68)
    Use drive C for storing the compressed package. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.42 PM 3688 (0x0E68)
    Successfully created/updated the package P0100017 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.42 PM 3688 (0x0E68)
    STATMSG: ID=2311 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SECONDARY1.msdindia.com SITE=S00 PID=2700 TID=3688 GMTDATE=Mon Nov 18 14:07:42.411 2013 ISTR0="P0100017" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.42 PM 3688 (0x0E68)
    Set share security on share \\SECONDARY1.msdindia.com\SCCMContentLib$ SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.42 PM 3688 (0x0E68)
    Start adding package to server ["Display=\\SECONDARY1.msdindia.com\"]MSWNET:["SMS_SITE=S00"]\\SECONDARY1.msdindia.com\... SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.43 PM 3688 (0x0E68)
    Attempting to add or update a package on a distribution point. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.43 PM 2856 (0x0B28)
    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 18-11-2013 7.37.43 PM 2856 (0x0B28)
    STATMSG: ID=2342 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SECONDARY1.msdindia.com SITE=S00 PID=2700 TID=2856 GMTDATE=Mon Nov 18 14:07:43.521 2013 ISTR0="Notepad++" ISTR1="["Display=\\SECONDARY1.msdindia.com\"]MSWNET:["SMS_SITE=S00"]\\SECONDARY1.msdindia.com\" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="P0100017" AID1=404 AVAL1="["Display=\\SECONDARY1.msdindia.com\"]MSWNET:["SMS_SITE=S00"]\\SECONDARY1.msdindia.com\" SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.43 PM 2856 (0x0B28)
    \\?\C:\SMSPKGSIG\P0100017.1 could not be located SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.43 PM 2856 (0x0B28)
    Set share security on share \\SECONDARY1.msdindia.com\SCCMContentLib$ SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.43 PM 2856 (0x0B28)
    The current user context will be used for connecting to ["Display=\\SECONDARY1.msdindia.com\"]MSWNET:["SMS_SITE=S00"]\\SECONDARY1.msdindia.com\. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    No network connection is needed to ["Display=\\SECONDARY1.msdindia.com\"]MSWNET:["SMS_SITE=S00"]\\SECONDARY1.msdindia.com\ as this is the local machine. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    CreateSignatureShare, connecting to DP SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)Signature share exists on distribution point path \\SECONDARY1.msdindia.com\SMSSIG$ SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    Set share security on share \\SECONDARY1.msdindia.com\SMSSIG$ SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    Share SMSPKGC$ exists on distribution point \\SECONDARY1.msdindia.com\SMSPKGC$ SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    Set share security on share \\SECONDARY1.msdindia.com\SMSPKGC$ SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    Creating, reading and or updating Operations Management server role registry keys for a Distribution Point ... SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    Set share security on share \\SECONDARY1.msdindia.com\SCCMContentLib$ SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    Set share security on share \\SECONDARY1.msdindia.com\SCCMContentLib$ SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    RDC:Successfully created package signature file from \\?\C:\SMSPKGSIG\P0100017.1 to \\SECONDARY1.msdindia.com\SMSSIG$\P0100017.1.tar SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    Setting permissions on file MSWNET:["SMS_SITE=S00"]\\SECONDARY1.msdindia.com\SMSSIG$\P0100017.1.tar. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    STATMSG: ID=2330 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SECONDARY1.msdindia.com SITE=S00 PID=2700 TID=2856 GMTDATE=Mon Nov 18 14:07:44.802 2013 ISTR0="P0100017" ISTR1="["Display=\\SECONDARY1.msdindia.com\"]MSWNET:["SMS_SITE=S00"]\\SECONDARY1.msdindia.com\" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 AID0=400 AVAL0="P0100017" AID1=404 AVAL1="["Display=\\SECONDARY1.msdindia.com\"]MSWNET:["SMS_SITE=S00"]\\SECONDARY1.msdindia.com\" SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    Successfully created/updated the package server in the data source SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.44 PM 2856 (0x0B28)
    Package P0100017 does not have a preferred sender. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.45 PM 3688 (0x0E68)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=P0100017, Version=1, Status=2301 SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.45 PM 3688 (0x0E68)
    StoredPkgVersion (1) of package P0100017. StoredPkgVersion in database is 1. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.45 PM 3688 (0x0E68)
    SourceVersion (1) of package P0100017. SourceVersion in database is 1. SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.45 PM 3688 (0x0E68)
    STATMSG: ID=2301 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SECONDARY1.msdindia.com SITE=S00 PID=2700 TID=3688 GMTDATE=Mon Nov 18 14:07:45.505 2013 ISTR0="Notepad++" ISTR1="P0100017" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="P0100017" SMS_DISTRIBUTION_MANAGER 18-11-2013 7.37.45 PM 3688 (0x0E68)

    Once the package is distributed successfully the secondary site DB is updated with the pkgstatus and the same reaches the primary through DRS and then you can see the status changing from in progress to success.

    Hope this helps in tracking the flow on distributing a package to secondary server DP

    Sudheesh Narayanaswamy

    Support Escalation Engineer

     

     

     

  • 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

     

  • Content Lookup in configuration Manager

    Content Lookup in configuration Manager

    Whether it is Software distribution , Software updates deployment or application deployment in 2012 the Majority of the issues comes is w.r.t to the clients not getting the Contents.

    This Blogs is on how we can check and find out the reason why the client is not able to get the contents.

    Whenever Client needs a content it will ask its local management point for the content and management point check against the site database and return back the list of distribution point which is used by the client.

    Boundaries \ Boundary group are a important part while content lookup are made. The boundaries and boundary group can be used to limit the DP which can server a client for content lookup.
     
    This link talks about the DP selection logic and generic flow http://technet.microsoft.com/en-us/library/bb932150.aspx
     
    If you are looking at a top level flow this is what happens
     
    The content access service component (CAS) of Ccmexec service will Request for Content . The content transfer Manager (CTM)will create  a CTM job and the location services will send the content request to MP and receive the reply from MP and the same is used by CAS which in turn starts the Data transfer job to download the content.
    That said easy let us look in to more depth Flow
     
    Software distribution ( Legacy Package )
     
    The reference package in this case is P010000F
     
    When the execmgr is trigged for a particular advertisement the request will be given to CAS. Log snippet will be as follows in the client
     
    Execmgr.log
    Requesting content from CAS for package P010000F version 1 execmgr 13-11-2013 3.23.48 PM 3820 (0x0EEC)

    CAS.log
    CDownloadManager::RequestDownload P010000F.1.System ContentAccess 13-11-2013 3.23.48 PM 3820 (0x0EEC)
    DownloadManager::FindDownloadInfo with P010000F.1.System ContentAccess 13-11-2013 3.23.48 PM 3820 (0x0EEC)
    Submitted CTM job {2A98991A-4135-4C90-8658-72970FD1792D} to download Content P010000F.1 under context System ContentAccess 13-11-2013 3.23.48 PM 3820 (0x0EEC)
     
    ContentTransfermanager.log
    Starting CTM job {2A98991A-4135-4C90-8658-72970FD1792D}. ContentTransferManager 13-11-2013 3.23.48 PM 3820 (0x0EEC)
    Attempting to create Location Request for PackageID='P010000F' and Version='1' ContentTransferManager 13-11-2013 3.23.48 PM 2800 (0x0AF0)
    ContentLocationRequest : <ContentLocationRequest SchemaVersion="1.00" ExcludeFileList=""><Package ID="P010000F" Version="1"/><AssignedSite SiteCode="P01"/><ClientLocationInfo LocationType="SMSPackage" DistributeOnDemand="0" UseAzure="0" AllowWUMU="0" UseProtected="1" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="1" AllowMulticast="1"><ADSite Name="Default-First-Site-Name"/><Forest Name="msdindia.com"/><Domain Name="msdindia.com"/><IPAddresses><IPAddress SubnetAddress="192.168.1.0" Address="192.168.1.54"/></IPAddresses></ClientLocationInfo></ContentLocationRequest>
     ContentTransferManager 13-11-2013 3.23.48 PM 2800 (0x0AF0)
    Created and Sent Location Request '{4B177871-CBD4-444B-B388-76C1D94E3E35}' for package P010000F ContentTransferManager 13-11-2013 3.23.49 PM 2800 (0x0AF0)
    CTM job {2A98991A-4135-4C90-8658-72970FD1792D} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA ContentTransferManager 13-11-2013 3.23.49 PM 2800 (0x0AF0)
    One the request reaches the Management point , the MP_location Manager component will query the DB and get the reply according to the request. You can clearly see the request and the reply once you enable verbose logging on the MP.
     
    MP_Location.log
     
     MP LM: Message Body : <ContentLocationRequest SchemaVersion="1.00" ExcludeFileList=""><Package ID="P010000F" Version="1"/><AssignedSite SiteCode="P01"/><ClientLocationInfo LocationType="SMSPackage" DistributeOnDemand="0" UseAzure="0" AllowWUMU="0" UseProtected="1" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="1" AllowMulticast="1"><ADSite Name="Default-First-Site-Name"/><Forest Name="msdindia.com"/><Domain Name="msdindia.com"/><IPAddresses><IPAddress SubnetAddress="192.168.1.0" Address="192.168.1.54"/></IPAddresses></ClientLocationInfo></ContentLocationRequest>
     MP_LocationManager 13-11-2013 3.23.52 PM 3160 (0x0C58)

    MP_GetContentDPInfoUnprotected (P010000F,1,P01,SMSPackage,00000000,msdindia.com,msdindia.com,<ClientLocationInfo LocationType="SMSPackage" DistributeOnDemand="0" UseAzure="0" AllowWUMU="0" UseProtected="1" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="1" AllowMulticast="1"><ADSite Name="DEFAULT-FIRST-SITE-NAME"/><Forest Name="msdindia.com"/><Domain Name="msdindia.com"/><IPAddresses><IPAddress SubnetAddress="192.168.1.0" Address="192.168.1.54"/></IPAddresses></ClientLocationInfo>) MP_LocationManager 13-11-2013 3.23.53 PM 3160 (0x0C58)
    MP LM: Reply message body:
    <ContentLocationReply SchemaVersion="1.00"><ContentInfo PackageFlags="16777216"><ContentHashValues/></ContentInfo><Sites><Site><MPSite SiteCode="P01" MasterSiteCode="P01" SiteLocality="LOCAL" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><URL Name="http://PRIMARY1.msdindia.com/SMS_DP_SMSPKG$/P010000F" Signature="http://PRIMARY1.msdindia.com/SMS_DP_SMSSIG$/P010000F"/><ADSite Name="Default-First-Site-Name"/><IPSubnets><IPSubnet Address="192.168.1.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>PRIMARY1.msdindia.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="1"/><Locality>LOCAL</Locality></LocationRecord></LocationRecords></Site></Sites></ContentLocationReply> MP_LocationManager 13-11-2013 3.23.55 PM 3160 (0x0C58)
     
     
    The details supplied on the request becomes the parameter for the SP. The SP which will be run and the parameter is shown below.
     

    exec MP_GetContentDPInfoUnprotected N'P010000F',N'1',N'P01',N'SMSPackage',N'0',N'msdindia.com',N'msdindia.com',N'<ClientLocationInfo LocationType="SMSPackage" DistributeOnDemand="0"
    UseAzure="0"
    AllowWUMU="0"
    UseProtected="1"
    AllowCaching="0"
    BranchDPFlags="0"
    UseInternetDP="0"
    AllowHTTP="1"
    AllowSMB="1"
    AllowMulticast="1"><ADSite
    Name="DEFAULT-FIRST-SITE-NAME"/><Forest
    Name="msdindia.com"/><Domain
    Name="msdindia.com"/><IPAddresses><IPAddress SubnetAddress="192.168.1.0"
    Address="192.168.1.54"/></IPAddresses></ClientLocationInfo>'

     
    Now at the client side you can see the reply in location services.log. The CTM will then hand over this information to CAS and you can see the list of DP in CAS which has the content. The list is purely dependent on the request which you had made and it is the policy on the client which will help in frame the request.
     

    LocationServices.log


    Processing Location reply message LocationServices 13-11-2013 3.23.55 PM 3820 (0x0EEC)
    ContentLocationReply : <ContentLocationReply SchemaVersion="1.00"><ContentInfo PackageFlags="16777216"><ContentHashValues/></ContentInfo><Sites><Site><MPSite SiteCode="P01" MasterSiteCode="P01" SiteLocality="LOCAL" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><URL Name="http://PRIMARY1.msdindia.com/SMS_DP_SMSPKG$/P010000F" Signature="http://PRIMARY1.msdindia.com/SMS_DP_SMSSIG$/P010000F"/><ADSite Name="Default-First-Site-Name"/><IPSubnets><IPSubnet Address="192.168.1.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>PRIMARY1.msdindia.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="1"/><Locality>LOCAL</Locality></LocationRecord></LocationRecords></Site></Sites></ContentLocationReply> LocationServices 13-11-2013 3.23.55 PM 3820 (0x0EEC)
    Calling back with the following distribution points LocationServices 13-11-2013 3.23.55 PM 3820 (0x0EEC)
    Distribution Point='http://PRIMARY1.msdindia.com/SMS_DP_SMSPKG$/P010000F', Locality='LOCAL', DPType='SERVER', Version='7804', Capabilities='<Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities>', Signature='http://PRIMARY1.msdindia.com/SMS_DP_SMSSIG$/P010000F', ForestTrust='TRUE', LocationServices 13-11-2013 3.23.55 PM 3820 (0x0EEC)

    Contenttransfermanager.log

    Persisted location 'http://PRIMARY1.msdindia.com/SMS_DP_SMSPKG$/P010000F', Order 0, for CTM job {2A98991A-4135-4C90-8658-72970FD1792D} ContentTransferManager 13-11-2013 3.23.55 PM 3820 (0x0EEC)
    Persisted locations for CTM job {2A98991A-4135-4C90-8658-72970FD1792D}:
     (LOCAL) http://PRIMARY1.msdindia.com/SMS_DP_SMSPKG$/P010000F ContentTransferManager 13-11-2013 3.23.55 PM 3820 (0x0EEC)

    CAS.log

    Location update from CTM for content P010000F.1 and request {B48EB1C0-67AC-478D-B739-67ABAC725576} ContentAccess 13-11-2013 3.23.55 PM 3844 (0x0F04)
    Download location found 0 - http://PRIMARY1.msdindia.com/SMS_DP_SMSPKG$/P010000F ContentAccess 13-11-2013 3.23.55 PM 3844 (0x0F04)

     

    Once the list is made the CTM will create a DTS job and the DTS will download the content to the cache which will be informed to the execmgr.

     

    Contenttransfermanager.log

    CTM job {2A98991A-4135-4C90-8658-72970FD1792D} (corresponding DTS job {75ECF167-D371-41A7-B82A-56AF1F49D553}) started download from 'http://PRIMARY1.msdindia.com/SMS_DP_SMSPKG$/P010000F' for full content download. ContentTransferManager 13-11-2013 3.23.55 PM 3820 (0x0EEC)
    CCTMJob::EvaluateState(JobID={2A98991A-4135-4C90-8658-72970FD1792D}, State=DownloadingData) ContentTransferManager 13-11-2013 3.23.55 PM 3308 (0x0CEC)

    Datatransfermanager.log

    DTSJob {75ECF167-D371-41A7-B82A-56AF1F49D553} created to download from 'http://PRIMARY1.msdindia.com:80/SMS_DP_SMSPKG$/P010000F' to 'C:\Windows\ccmcache\2'. DataTransferService 13-11-2013 3.23.55 PM 3820 (0x0EEC)
    Starting BITS download for DTS job '{75ECF167-D371-41A7-B82A-56AF1F49D553}'. DataTransferService 13-11-2013 3.23.58 PM 3844 (0x0F04)
    Starting BITS job '{A6BEABA9-5369-4109-B942-DD1CA16B3CC6}' for DTS job '{75ECF167-D371-41A7-B82A-56AF1F49D553}' under user 'S-1-5-18'. DataTransferService 13-11-2013 3.23.58 PM 3844 (0x0F04)
    DTS job {75ECF167-D371-41A7-B82A-56AF1F49D553} has completed:
     Status : SUCCESS,
     Start time : 11/13/2013 15:23:55,
     Completion time : 11/13/2013 15:23:59,
     Elapsed time : 4 seconds DataTransferService 13-11-2013 3.23.59 PM 3844 (0x0F04)

     

    Application deployment

    The flow is the same the only difference would in the request

    So only the MP_location.log will have the difference

    MP_location.log  


    MP LM: Message Body : <ContentLocationRequest SchemaVersion="1.00" ExcludeFileList=""><Package ID="UID:Content_e7d29c06-007d-4661-9cd2-33f04d4a9b6b" Version="1"/><AssignedSite SiteCode="P01"/><ClientLocationInfo LocationType="SMSUpdate" DistributeOnDemand="0" UseAzure="0" AllowWUMU="0" UseProtected="0" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="0" AllowMulticast="0"><ADSite Name="Default-First-Site-Name"/><Forest Name="msdindia.com"/><Domain Name="msdindia.com"/><IPAddresses><IPAddress SubnetAddress="192.168.1.0" Address="192.168.1.54"/></IPAddresses></ClientLocationInfo></ContentLocationRequest>
     MP_LocationManager 13-11-2013 3.42.39 PM 1872 (0x0750)

    MP_GetContentDPInfoUnprotected (UID:Content_e7d29c06-007d-4661-9cd2-33f04d4a9b6b,1,P01,SMSUpdate,00000000,msdindia.com,msdindia.com,<ClientLocationInfo LocationType="SMSUpdate" DistributeOnDemand="0" UseAzure="0" AllowWUMU="0" UseProtected="0" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="0" AllowMulticast="0"><ADSite Name="DEFAULT-FIRST-SITE-NAME"/><Forest Name="msdindia.com"/><Domain Name="msdindia.com"/><IPAddresses><IPAddress SubnetAddress="192.168.1.0" Address="192.168.1.54"/></IPAddresses></ClientLocationInfo>) MP_LocationManager 13-11-2013 3.42.39 PM 1872 (0x0750)

    MP LM: Reply message body:
    <ContentLocationReply SchemaVersion="1.00" ContentFlags="200960" HashAlgorithm="32780" AlgorithmPreference="4" Hash="0BBA8C4DE4B332293A132EFE7F0973FD7815C94FD585875BA0348C5D498F9B8C" ExcludeFileListHash="" RelatedContentID=""><ContentInfo PackageFlags="16777216"><ContentHashValues><Hash Algorithm="32780" HashString="0BBA8C4DE4B332293A132EFE7F0973FD7815C94FD585875BA0348C5D498F9B8C" HashPreference="4"/></ContentHashValues></ContentInfo><Sites><Site><MPSite SiteCode="P01" MasterSiteCode="P01" SiteLocality="LOCAL" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><URL Name="http://PRIMARY1.msdindia.com/SMS_DP_SMSPKG$/Content_e7d29c06-007d-4661-9cd2-33f04d4a9b6b.1" Signature="http://PRIMARY1.msdindia.com/SMS_DP_SMSSIG$/Content_e7d29c06-007d-4661-9cd2-33f04d4a9b6b.1.tar"/><ADSite Name="Default-First-Site-Name"/><IPSubnets><IPSubnet Address="192.168.1.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>PRIMARY1.msdindia.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="1"/><Locality>LOCAL</Locality></LocationRecord></LocationRecords></Site></Sites></ContentLocationReply> MP_LocationManager 13-11-2013 3.42.39 PM 1872 (0x0750)

    Package ID is easy to spot for the Content ID for a application you can get it from console.

     

     

    Software Update Deployment

     In case of software deployment also it is the content ID. But the content ID is not as open as a application or package. For normal updates it will be the unique ID for the bundled ones we can find like this.

    Click on the picture if you would like to see the picture clear. Here we have a update which is bundle Update :Security Update for Windows 7 for x64-based Systems (KB2532531) MS11-053(6e03d226-b005-4be7-8254-7c1760886bfd)

     

    The request , reply in mp_location would look like this

    Here updatehanlder will request CAS

     

    Updatehandler.log

    Bundle update (6e03d226-b005-4be7-8254-7c1760886bfd) is requesting download from child updates for action (INSTALL) UpdatesHandler 13-11-2013 4.21.45 PM 2460 (0x099C)
    Content Text = <Content ContentId="0151d9cf-a409-4013-b00a-6f915096b410" Version="1"><FileContent Name="windows6.1-kb2532531-x64.cab" Hash="4625E47E04E8708B66895DE5439EC7221CCCD41B" HashAlgorithm="SHA1" Size="415374"/></Content>
     UpdatesHandler 13-11-2013 4.21.45 PM 2460 (0x099C)
    CAtomicUpdate::SetState - Entered SetState - Update 0151d9cf-a409-4013-b00a-6f915096b410, Current State (member) = DOWNLOAD_READY,  Passed in state = WAIT_CONTENTS UpdatesHandler 13-11-2013 4.21.45 PM 2460 (0x099C)
    State Transition - Update 0151d9cf-a409-4013-b00a-6f915096b410, State = WAIT_CONTENTS UpdatesHandler 13-11-2013 4.21.45 PM 2460 (0x099C)
    CAtomicUpdate::SetState - Exit SetState - Update 0151d9cf-a409-4013-b00a-6f915096b410, Current State (member) = WAIT_CONTENTS, Passed in state = WAIT_CONTENTS UpdatesHandler 13-11-2013 4.21.45 PM 2460 (0x099C)
    Starting download on action (INSTALL) for Update (0151d9cf-a409-4013-b00a-6f915096b410) UpdatesHandler 13-11-2013 4.21.45 PM 2460 (0x099C)

    Mp_location.log

    MP LM: Message Body : <ContentLocationRequest SchemaVersion="1.00" ExcludeFileList=""><Package ID="UID:0151d9cf-a409-4013-b00a-6f915096b410" Version="1"/><AssignedSite SiteCode="P01"/><ClientLocationInfo LocationType="SMSUpdate" DistributeOnDemand="0" UseAzure="0" AllowWUMU="0" UseProtected="0" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="1" AllowMulticast="1"><ADSite Name="Default-First-Site-Name"/><Forest Name="msdindia.com"/><Domain Name="msdindia.com"/><IPAddresses><IPAddress SubnetAddress="192.168.1.0" Address="192.168.1.54"/></IPAddresses></ClientLocationInfo></ContentLocationRequest>
     MP_LocationManager 13-11-2013 4.21.48 PM 4200 (0x1068)

    MP_GetContentDPInfoUnprotected (UID:0151d9cf-a409-4013-b00a-6f915096b410,1,P01,SMSUpdate,00000000,msdindia.com,msdindia.com,<ClientLocationInfo LocationType="SMSUpdate" DistributeOnDemand="0" UseAzure="0" AllowWUMU="0" UseProtected="0" AllowCaching="0" BranchDPFlags="0" UseInternetDP="0" AllowHTTP="1" AllowSMB="1" AllowMulticast="1"><ADSite Name="DEFAULT-FIRST-SITE-NAME"/><Forest Name="msdindia.com"/><Domain Name="msdindia.com"/><IPAddresses><IPAddress SubnetAddress="192.168.1.0" Address="192.168.1.54"/></IPAddresses></ClientLocationInfo>) MP_LocationManager 13-11-2013 4.21.48 PM 4200 (0x1068)

    MP LM: Reply message body:
    <ContentLocationReply SchemaVersion="1.00"><ContentInfo PackageFlags="16777216"><ContentHashValues/></ContentInfo><Sites><Site><MPSite SiteCode="P01" MasterSiteCode="P01" SiteLocality="LOCAL" IISPreferedPort="80" IISSSLPreferedPort="443"/><LocationRecords><LocationRecord><URL Name="http://PRIMARY1.msdindia.com/SMS_DP_SMSPKG$/0151d9cf-a409-4013-b00a-6f915096b410" Signature="http://PRIMARY1.msdindia.com/SMS_DP_SMSSIG$/0151d9cf-a409-4013-b00a-6f915096b410.1.tar"/><ADSite Name="Default-First-Site-Name"/><IPSubnets><IPSubnet Address="192.168.1.0"/><IPSubnet Address=""/></IPSubnets><Metric Value=""/><Version>7804</Version><Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities><ServerRemoteName>PRIMARY1.msdindia.com</ServerRemoteName><DPType>SERVER</DPType><Windows Trust="1"/><Locality>LOCAL</Locality></LocationRecord></LocationRecords></Site></Sites></ContentLocationReply> MP_LocationManager 13-11-2013 4.21.48 PM 4200 (0x1068)

     Hope this information will help in troubleshooting.

    Sudheesh Narayanaswamy

    Support Escalation Engineer