PowerShell Deployment Toolkit (PDT) v2.6

Now that we have our Generation 2 Virtual Machine parent disks created, it’s time to put the new version of the PowerShell Deployment Toolkit through its paces. I do not deal much with Configuration Manager or Data Protection Manager, so they are not included in this configuration.

You can download the variable.xml described in this post over on Github.

This version is slightly modified to consolidate some SQL Server roles and combine as many role services as possible to fit the System Center virtual machines on a 32GB Hyper-V host.

Included System Center 2012 R2 roles:

  • Virtual Machine Manager
  • Orchestrator
  • App Controller
  • Service Provider Foundation
  • Service Management Automation
  • Operations Manager
  • Service Manager
  • Windows Azure Pack 2013

You will need to modify the Variable.xml to fit your environment

  1. Update the Download location to a drive with plenty of disk space.
    <Variable Name=”Download” Value=”S:\Installer2.6.2600” />
  2. Update the location where your virtual machines will be stored.
  3. Update the location of your parent vhdx
  4. Update the location of the WS2008 parent disk used the Service Manager SharePoint self-service portal.
    <VM Count=”11″>
    <Identifier>Local Area Connection</Identifier>

If you have not run PDT v2.6, you should first run the Downloader script to download all the binaries by starting PowerShell as Administrator and running ./Downloader.ps1 -DeploymentOnly

Here are a few additional preparations if you have never run PDT before.

  1. Copy from WS 2012 ISO Sources folder and Setup.exe to <InstallerDir>\WindowsServer2012
  2. Copy from WS 2012 ISO R2 Sources folder and Setup.exe to <InstallerDir>\WindowsServer2012R2
  3. Download System Center 2012 R2 Evaluation bits and extract to <InstallerDir>\SystemCenter2012R2\
    1. AppController
    2. ConfigurationManager
    3. DataProtectionManager
    4. OperationsManager.en
    5. Orchestrator
    6. ServiceManager
    7. VirtualMachineManager

Once you have run the Downloader script and met all the prereqs, you are ready to deploy your lab.

Start PowerShell as Administrator, change to your PDT folder and run ./VMCreator.ps1

PDT will now deploy all your virtual machines, create your domain controller, setup Active Directory and then start all the virtual machines, join them to the domain and install all the System Center roles.

If you want to view the progress, you can connect to DC01 and watch the show!

On a Hyper-V host with a Xeon E5 2.0GHz 6-Core processor with 32GB of RAM and a pair of striped SSD drives, deployment takes under 2 hours.

PDTLAB - 2014-02-16_13-08-17


2 thoughts on “PowerShell Deployment Toolkit (PDT) v2.6

  1. Pingback: PowerShell deployment toolkit: How to build a lab in minutes using PDT « Gerald's Brain Dump

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.