Original job template to deploy a compute node image to the compute nodes. Generated by Michael Toot (Sakson & Taylor).

Visual Basic
Edit|Remove

<?xml version="1.0" encoding="utf-16"?>
<!-- 
    HPC Deployment Sample
-->
<!-- start sequence -->
<sequence version="1" description="HPC CCS Deploy Image 3.2 using WinPE" command="da-deploy-image-domain.xml" 
xmlns="http://schemas.microsoft.com/ads/2003/sequence">
  <!-- STEP 1 Create an OEM and an 16GB partition on disk -->
  <task description="Partition Disk" doesReboot="false">
    <command>%systemroot%\system32\adspart.exe</command>
    <parameters>
      <parameter>\device\harddisk0</parameter>
      <parameter>-init</parameter>
      <parameter>-t:0xDE</parameter>
      <parameter>-c:36</parameter>
    </parameters>
  </task>
  <task description="Partition Disk" doesReboot="false">
    <command>%systemroot%\system32\adspart.exe</command>
    <parameters>
      <parameter>\device\harddisk0</parameter>
      <parameter>-c:16384</parameter>
      <parameter>-a</parameter>
    </parameters>
  </task>
  <!-- STEP 2 download images -->
  <task description="Download image" doesReboot="false">
    <command>/IMAGING/imgbmdeploy.exe</command>
    <parameters>
      <parameter>"$ImageName$"</parameter>
      <parameter>\device\harddisk0\partition2</parameter>
      <parameter>-r</parameter>
      <parameter>-client</parameter>
    </parameters>
  </task>
  <task description="Copy sysprep file" doesReboot="false">
    <command>/BMONITOR/BmFileXfer.exe</command>
    <parameters>
      <parameter>-d</parameter>
      <parameter>"c:\hpc-ccs\sysprep\Sysprep.inf"</parameter>
      <parameter>"\device\harddisk0\partition2\sysprep\sysprep.inf"</parameter>
    </parameters>
  </task>
  <task description="Copy cmdlines.txt file" doesReboot="false">
    <command>/BMONITOR/BmFileXfer.exe</command>
    <parameters>
      <parameter>-d</parameter>
      <parameter>"c:\hpc-ccs\sysprep\i386\$$oem$$\cmdlines.txt"</parameter>
      <parameter>"\device\harddisk0\partition2\sysprep\i386\$$oem$$\cmdlines.txt"</parameter>
    </parameters>
  </task>
  <task description="Copy IP Script" doesReboot="false">
    <command>/BMONITOR/BmFileXfer.exe</command>
    <parameters>
      <parameter>-d</parameter>
      <parameter>"c:\hpc-ccs\script\ChangeIPforIB.vbs"</parameter>
      <parameter>"\device\harddisk0\partition2\ChangeIPforIB.vbs"</parameter>
    </parameters>
  </task>
  <task description="Copy public key certificate file to target" doesReboot="false">
    <command>/BMONITOR/BmFileXfer.exe</command>
    <parameters>
      <parameter>-d</parameter>
      <parameter>"c:\program files\Microsoft ADS\certificate\adsroot.cer"</parameter>
      <parameter>"\device\harddisk0\partition2\windows\temp\adsroot.cer"</parameter>
    </parameters>
  </task>
  <!-- STEP 3 Personalize the sysprep.inf file -->
  <task description="Set sysprep custom info in the sysprep.inf file" doesReboot="false">
    <command>/BMONITOR/bmstrrep.exe</command>
    <parameters>
      <parameter>"\device\harddisk0\partition2\sysprep\sysprep.inf"</parameter>
      <parameter>"^ADMINPASSWORD^"</parameter>
      <parameter>"$adminpassword$"</parameter>
      <parameter>"^ADS_COMPUTER_NAME^"</parameter>
      <parameter>"$machinename$"</parameter>
      <parameter>"^ADS_DOMAIN_PASSWORD^"</parameter>
      <parameter>"$domainpassword$"</parameter>
      <parameter>"^ADS_DOMAIN_USERNAME^"</parameter>
      <parameter>"$domainusername$"</parameter>
      <parameter>"^ADS_FULL_NAME^"</parameter>
      <parameter>"$fullname$"</parameter>
      <parameter>"^ADS_JOIN_DOMAIN^"</parameter>
      <parameter>"$domain$"</parameter>
      <parameter>"^ADS_MACHINE_OBJECT_OU^"</parameter>
      <parameter>"$MachineOU$"</parameter>
      <parameter>"^ADS_ORG_NAME^"</parameter>
      <parameter>"$orgname$"</parameter>
      <parameter>"^ADS_WINDOWS_PRODUCT_KEY^"</parameter>
      <parameter>"$LicenseKey$"</parameter>
    </parameters>
  </task>
  <task description="Set IP Script Configuration" doesReboot="false">
    <command>/BMONITOR/bmstrrep.exe</command>
    <parameters>
      <parameter>"\device\harddisk0\partition2\changeIPforIB.vbs"</parameter>
      <parameter>"^ADS_MPIIP^"</parameter>
      <parameter>"$mpiip$"</parameter>
      <parameter>"^ADS_MPISUBNET^"</parameter>
      <parameter>"$mpisubnet$"</parameter>
    </parameters>
  </task>
  <task description="Set HPC Cluster Name" doesReboot="false">
    <command>/BMONITOR/bmsetreg.exe</command>
    <parameters>
      <parameter>"-h:\device\harddisk0\partition2\windows\system32\config\software"</parameter>
      <parameter>"Microsoft\CCP"</parameter>
      <parameter>"ClusterName"</parameter>
      <parameter>REG_SZ</parameter>
      <parameter>"$hpcclustername$"</parameter>
    </parameters>
  </task>
  <!-- STEP 4 set Controller IP -->
  <task description="Set controller IP address" doesReboot="false">
    <command>/BMONITOR/bmsetreg.exe</command>
    <parameters>
      <parameter>"-h:\device\harddisk0\partition2\windows\system32\config\system"</parameter>
      <parameter>"controlset001\control\bmss"</parameter>
      <parameter>"controlleripaddress"</parameter>
      <parameter>REG_MULTI_SZ</parameter>
      <parameter>"$controller.system.adminipaddr$"</parameter>
    </parameters>
  </task>
  <!-- STEP 5 set BMDP port number -->
  <task description="Set BMDP port number" doesReboot="false">
    <command>/BMONITOR/bmsetreg.exe</command>
    <parameters>
      <parameter>"-h:\device\harddisk0\partition2\windows\system32\config\system"</parameter>
      <parameter>"controlset001\control\bmss"</parameter>
      <parameter>"bmdpipport"</parameter>
      <parameter>REG_DWORD</parameter>
      <parameter>"$controller.system.bmdpport$"</parameter>
    </parameters>
  </task>
  <!-- STEP 6 set BMCP port number -->
  <task description="Set BMCP port number" doesReboot="false">
    <command>/BMONITOR/bmsetreg.exe</command>
    <parameters>
      <parameter>"-h:\device\harddisk0\partition2\windows\system32\config\system"</parameter>
      <parameter>"controlset001\control\bmss"</parameter>
      <parameter>"bmcpipport"</parameter>
      <parameter>REG_DWORD</parameter>
      <parameter>"$controller.system.bmcpport$"</parameter>
    </parameters>
  </task>
  <!-- STEP 7 set Device AdminMAC -->
  <task description="Set device Admin MAC Address" doesReboot="false">
    <command>/BMONITOR/bmsetreg.exe</command>
    <parameters>
      <parameter>"-h:\device\harddisk0\partition2\windows\system32\config\system"</parameter>
      <parameter>"controlset001\control\bmss"</parameter>
      <parameter>"bindexcept"</parameter>
      <parameter>REG_MULTI_SZ</parameter>
      <parameter>"mac=$device.system.adminmac$"</parameter>
    </parameters>
  </task>
  <!-- STEP 8 set BMSS bind policy -->
  <task description="Set BMSS bind policy" doesReboot="false">
    <command>/BMONITOR/bmsetreg.exe</command>
    <parameters>
      <parameter>"-h:\device\harddisk0\partition2\windows\system32\config\system"</parameter>
      <parameter>"controlset001\control\bmss"</parameter>
      <parameter>"bindpolicy"</parameter>
      <parameter>REG_DWORD</parameter>
      <parameter>"0"</parameter>
    </parameters>
  </task>
  <!-- STEP 9 set BMSS public key certificate  -->
  <task description="Set the BMSS public key certificate" doesReboot="false">
    <command>/BMONITOR/bmsetreg.exe</command>
    <parameters>
      <parameter>-f</parameter>
      <parameter>-r</parameter>
      <parameter>"-h:\device\harddisk0\partition2\windows\system32\config\system"</parameter>
      <parameter>"controlset001\control\bmss\bmcpcertificates"</parameter>
      <parameter>"AgentCert"</parameter>
      <parameter>REG_BINARY</parameter>
      <parameter>"\device\harddisk0\partition2\windows\temp\adsroot.cer"</parameter>
    </parameters>
  </task>
  <!-- STEP 10 Reboot the machine -->
  <task description="Reboot" doesReboot="true">
    <command>/BMONITOR/reboot</command>
  </task>
    <!-- STEP 11 When PXE request comes in, boot to hard disk (starts mini-setup) -->
    <task doesReboot="true"  description="Boot to hard disk">
        <command>/pxe/boot-hd</command>
    </task>

    <!-- STEP 12 At end of mini-setup, machine will reboot, so when PXE request comes in
     boot to the hard disk (start the newly installed OS)
    -->
    <task description="Boot to hard disk">
        <command>/pxe/boot-hd</command>
    </task>
</sequence>