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
- 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
- Update the Download location to a drive with plenty of disk space.
<Variable Name=”Download” Value=”S:\Installer2.6.2600” />
- Update the location where your virtual machines will be stored.
- Update the location of your parent vhdx
- Update the location of the WS2008 parent disk used the Service Manager SharePoint self-service portal.
<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.
- Copy from WS 2012 ISO Sources folder and Setup.exe to <InstallerDir>\WindowsServer2012
- Copy from WS 2012 ISO R2 Sources folder and Setup.exe to <InstallerDir>\WindowsServer2012R2
- Download System Center 2012 R2 Evaluation bits and extract to <InstallerDir>\SystemCenter2012R2\
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.