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