Configuration Manager 2012 Prestage content on Distribution Points

Highly inspired by this blog post I started to do me own prestage content testing. Prestaging has long been one of the main reasons (along with bandwidth control) for implementing a secondary site in Configuration Manager 2007. In configuration Manager 2012 both features has now been added to the distribution point. This more or less eliminates the need for a secondary site.

image image image

Prestaging is a process that involves the distribution point, the package and a Commandline tool.

  1. Open the Distribution Point properties and select Enable this distribution point for prestaged content on the General tab.

    image

  2. Now, navigate to the Software Library workspace, select the package you want to prestage and click Create Prestage Content File on the Ribbon. In this example I’m prestaging the boot image.
  3. Save the .pkgx file to a media and copy it to the remote distribution point. In my example I have copied the package to C:\Tools on the remote DP.
  4. On the remote DP open a command prompt
  5. To validate the content of the compressed type (where SCCM4 the server where I have the CM2012 binaries):
    \\sccm4\e$\Labfiles\Install\CM2012Beta2\TOOLS\ExtractContent.exe /P:C:\Tools\x86boot.pkgx /C
  6. To validate the content and show some application metadata type:
    \\sccm4\e$\Labfiles\Install\CM2012Beta2\TOOLS\ExtractContent.exe /P:C:\Tools\x86boot.pkgx /C /I
    image

    notice the information about the logfile C:\SMS_DP$\sms\logs\PrestageContent.log. It contains detailed information about the process.

  7. Finally to Extract the file type:
    \\sccm4\e$\Labfiles\Install\CM2012Beta2\TOOLS\ExtractContent.exe /P:C:\Tools\x86boot.pkgx
  8. If you monitor the C:\SMS_DP$\sms\logs\PrestageContent.log you’ll see that file is being extracted and placed in the new content library.
    image
  9. Status information will be send back to the site server thus updating the information in the database.
  10. Back in the configuration Manager console, navigate to the Software Library and deploy the package content to the remote distribution point.
  11. You can monitor the distribution process by reading the pkgXferMgr.log on the site server.

    image

  12. Finally you should be able to monitor the status in the Monitoring workspace, select Distribution Status, Content status.

    image


Comments (9):

  1. Per Weimann says:

    Hi Kent,

    Nice little guide for prestating DP’s in CM2012.

    The parameters for ExtractContent.exe schould be P: not C: – Maybe a typo 😉

    Thanks for a great blog!

    /Per

  2. abhinav says:

    Thanks for the info. :-)

  3. Tom Wahab says:

    Great article. Thanks was able to Prestage successfully thanks to you!

  4. Chris Montgomery says:

    Very helpful, Thanks!

  5. […] To know more about how to export content,Import Content using ExtractContent.exe refer TechNet  and Kent’s blog. […]

  6. Raghu says:

    Hi,

    Doubt at the stage:
    “Back in the configuration Manager console, navigate to the Software Library and deploy the package content to the remote distribution point.”

    Deployment will be to the appropriate device collection to where the DP is present, correct?

  7. Chuck says:

    Hi Kent

    Thanks for all of you posts. They’ve been very helpful. I’m stuck on step 3, however. When I’m supposed to select the DP the content file will be saved on I can’t find any of my DPs. We have 4 and they DO have prestaged content enabled. Very confused. Please assist.

    Thank you

Leave a Reply