SlideShare a Scribd company logo
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
Enrique Lima
A lap around PDT and other automation
goodness
idea. plan. deliver.
idea. plan. deliver.
• Enrique Lima
• enrique@thinkalm.com
• Principal Consultant / Owner
• Microsoft v-TSP BPIO / CoreIO / APPIO
• Microsoft Certified Trainer – Regional Lead – East US
• Member of the Geekswithblogs.net Community - Influencer
▫ http://geekswithblogs.net/enriquelima
• @enriquelima - twitter.com/enriquelima
• Member of INETA
Who am I?
idea. plan. deliver.
Overview
• The case for automation
• Automation options
• PowerShell Deployment Toolkit
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
The why would I care …
idea. plan. deliver.
• We deploy servers for test, development, proof of concept, etc.
• We need it quick
• Saving VMs as templates
• A lot, wait, again, a lot of manual work.
• Tedious and repeatable
Our reality
idea. plan. deliver.
Let’s talk about the reality
Answer: 1
Answer: Too long!
Answer: I lost count somewhere around 500
Answer: What on earth is post-setup integration?
Answer: Don’t worry, there may be some good news towards the end of this session!
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
What is DevOps?
idea. plan. deliver.
What is DevOps?
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
What is available out there?
idea. plan. deliver.
• Chocolatey
• SCCM
App/Server deployment automation
idea. plan. deliver.
• PowerShell Deployment Toolkit
• SCCM OSD
Platform deployment
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
Before you start – XML Editing
• Get a good XML editor
▫ Notepad++
▫ Visual Studio
▫ PowerShell ISE
idea. plan. deliver.
• Spin drives vs. SSD
• Memory
• Windows 8.1 Update 1 vs. Windows Server 2012 vs. Windows Server
2012 R2
Hardware / Software
idea. plan. deliver.
• Get PDT
• Customize the settings on Variable.xml
• Run Downloader.ps1
• Create Parent VHDX files
• Run VMCreator.ps1
PDT – The Process
idea. plan. deliver.
Define your deployment – Variable.xml
User and company name
Installer service account and password
Source path
Optional – product keys
Usually just service account and password
Database roles must specify SQL instance name
Version
Admin group
idea. plan. deliver.
Download all the bits – Downloader.ps1
Prerequisites e.g. -
SQL Native Client, Report Viewer, WSUS
SQL Server 2012, SP1, and CU8
SQL Server 2008 R2 and SP2
SharePoint 2010 Foundation
Management Packs
Integration Packs
ADKSetup.exe download
Configuration Manager setupdl.exe download
Self-extracting exe
WebPI for Windows Azure Pack Web Sites
SQL Server 2008 R2 SP2
Windows Server 2012/Windows 8
WinRAR or 7-Zip
Web Platform Installer
Downloader.ps1 -DeploymentOnly
Windows Server 2012
System Center Components
New! Warning messages for items not downloaded
idea. plan. deliver.
• Make a sysprepped OS image
• Easy path …
▫ Use Convert-WindowsImage.ps1
• http://bit.ly/1q4BCMm
Create Parent VHDX files
Convert-WindowsImage.ps1 -SourcePath "9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVER_EN-US-IRM_SSS_X64FRE_EN-US_DV5.ISO" -
VHDFormat VHDX -Edition "ServerDataCenterCore" -SizeBytes 8GB -VHDPartitionStyle MBR -BCDinVHD NativeBoot -ExpandOnNativeBoot:$false -
RemoteDesktopEnable -Driver "F:Custom Driver" -Verbose
.Convert-WindowsImage.ps1 -ShowUI
idea. plan. deliver.
Install each server OS – VMCreator.ps1
PDT can use existing servers, physical or virtual, any virtualization platform
Requirements - Windows Server, domain joined, WinRM enabled, administrator permissions
How many servers are in your deployment?
Hyper-V host, VM name, processor, memory, network adapter, OS disk, data disks, domain to join
Full example in default Variable.xml in PDT
e.g. Different Hyper-V hosts, VM name, memory, OS disk
Creates VM, joins domain, enables WinRM, add installer service account to administrators
idea. plan. deliver.
First VM created as domain controller for new Active Directory forest
Media copied to DC during virtual hard disk creation
All other VMs are created but wait for Active Directory setup to complete before starting
Once Active Directory setup is complete, DC waits for all other VMs to start and join domain
DC automatically runs Installer.ps1
Include minimum of 2 data disks with DC for Active Directory database and log files
VMCreator with Active Directory
idea. plan. deliver.
Everything else! - Installer.ps1
Manages validation, sequencing, dependencies
Manages reboots where required
Gracefully handles cascading failures
For each server, simultaneously:
Administrators
Windows Roles and Features
SQL Clusters – with dependencies between cluster nodes
SQL
Prerequisites
With cross server dependencies:
Roles
Integration and Configuration
idea. plan. deliver.
The “Knowledge” in PDT – Workflow.xml
All “knowledge” is in Workflow.xml
Workflow.xml defines everything we know about deploying System Center
Roles
Requirements – validation, Windows roles and features, prerequisites
Dependencies on other roles
Integrations between roles
Firewall
Installables
Downloads
Installs
Default settings – global, component, SQL
idea. plan. deliver.
Validation
Validates settings in Variable.xml for…
FQDN, dependencies, role combinations, role instance count,
required variables, SQL instances, media
Validates against Active Directory for…
Service accounts and passwords, other security principals - groups
Validates against target servers for…
Server exists, administrator access, clusters, WinRM, Task Scheduler,
credentials policy, operating system version, file access, certificates, minimum memory
idea. plan. deliver.
Extenders – work with all PDT scripts
Filename must match Extender*.xml, and be in same location as Workflow.xml
Extender*.xml merged in memory with Workflow.xml
Extender entries are added at end of existing sections
Installer.ps1 -SkipValidation RolesCombination
Veeam Management Pack for VMware
GridPro Request Management for WAP
Operations Manager MPs
idea. plan. deliver.
Custom setup and post installer
VMCreator.ps1 –Setup <path>
Requires a folder with the name of the VM in <path>
Requires a PowerShell script with the name of the VM in that folder
Script will be run against that VM using autologon during initial VM startup
VMCreator.ps1 with AD – DC waits for custom setup to complete before running Installer.ps1
PostInstaller.ps1 in same location as Installer.ps1
Automatically run after successful completion of Installer.ps1
Must use remoting for configuration of any systems other than the one running Installer.ps1
idea. plan. deliver.
-MaxStage
1Admin – Adds service accounts to local administrator groups
2ServerFeatures – Installs Windows Roles and Features
3SQLClusters – Installs SQL clustered instances
4SQL – Installs SQL standalone instances
5Prereqs – Installs prerequisites
6Roles – Installs roles
7Integration – Completes integration and configuration
idea. plan. deliver.
GUIs!!!
Developed by Microsoft service provider team
Available to service provider partners only
Delivered as a USB stick with all media
Limited to specific deployment scenarios relevant to service provider team
Developed by a partner, Elanity Network Partner
UI for creation and editing of Variable.xml
idea. plan. deliver.
PowerShell Deployment Toolkit
http://aka.ms/DownloadPDT
http://aka.ms/GetToKnowPDT
http://aka.ms/PDTVideo
Configuration Manager software distribution
Virtual Machine Manager virtual machine creation
Virtual Machine Manager service deployment and servicing
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
idea. plan. deliver.
• Rob Willis
▫ TechEd 2014 Session on PDT: DCIM-B361
 http://bit.ly/1oUTx4f
▫ Blog
 http://blogs.technet.com/b/privatecloud/
Credits
idea. plan. deliver.
idea. plan. deliver.

More Related Content

What's hot

K2000 Scripted Installations
K2000 Scripted InstallationsK2000 Scripted Installations
K2000 Scripted Installations
Dell World
 
KACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewKACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting Overview
Dell World
 
K2000 Imaging
K2000 ImagingK2000 Imaging
K2000 Imaging
Dell World
 
Optimizing K2000 Workflow
Optimizing K2000 WorkflowOptimizing K2000 Workflow
Optimizing K2000 Workflow
Dell World
 
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty ProfileAAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
WASdev Community
 
Deployment day session 4 deployment using sccm
Deployment day session 4 deployment using sccmDeployment day session 4 deployment using sccm
Deployment day session 4 deployment using sccm
Microsoft TechNet - Belgium and Luxembourg
 
Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...
Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...
Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...Andik Susilo
 
VMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUGVMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUG
Alan Renouf
 
Liberty management
Liberty managementLiberty management
Liberty management
WASdev Community
 
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
WASdev Community
 
Software Distribution
Software DistributionSoftware Distribution
Software Distribution
Dell World
 
Windows 8 Deployment
Windows 8 DeploymentWindows 8 Deployment
Windows 8 Deployment
Harold Wong
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and Docker
David Currie
 
No BS, Vendor Neutral Comparison of Application Layering Solutions
No BS, Vendor Neutral Comparison of Application Layering SolutionsNo BS, Vendor Neutral Comparison of Application Layering Solutions
No BS, Vendor Neutral Comparison of Application Layering Solutions
Unidesk Corporation
 
Log Analytics by VMware Log Insight
Log Analytics by VMware Log InsightLog Analytics by VMware Log Insight
Log Analytics by VMware Log Insight
Kiss Tibor
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and Docker
David Currie
 
VMware ThinApp 4.5
VMware ThinApp 4.5VMware ThinApp 4.5
VMware ThinApp 4.5
netlogix
 
London VMUG - Upgrade vSphere 5.5 to 6.5
London VMUG - Upgrade vSphere 5.5 to 6.5London VMUG - Upgrade vSphere 5.5 to 6.5
London VMUG - Upgrade vSphere 5.5 to 6.5
Dean Lewis
 
vsphere5.5 to 6.5
vsphere5.5 to 6.5vsphere5.5 to 6.5
vsphere5.5 to 6.5
Srinivasa Rao Kotamraju
 

What's hot (20)

K2000 Scripted Installations
K2000 Scripted InstallationsK2000 Scripted Installations
K2000 Scripted Installations
 
KACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewKACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting Overview
 
K2000 Imaging
K2000 ImagingK2000 Imaging
K2000 Imaging
 
Optimizing K2000 Workflow
Optimizing K2000 WorkflowOptimizing K2000 Workflow
Optimizing K2000 Workflow
 
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty ProfileAAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
AAI-3218 Production Deployment Best Practices for WebSphere Liberty Profile
 
Deployment day session 4 deployment using sccm
Deployment day session 4 deployment using sccmDeployment day session 4 deployment using sccm
Deployment day session 4 deployment using sccm
 
Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...
Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...
Windows 7 Deployment with Microsoft Deployment Toolkit & Windows Deployment S...
 
VMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUGVMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUG
 
Liberty management
Liberty managementLiberty management
Liberty management
 
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
AAI-4847 Full Disclosure on the Performance Characteristics of WebSphere Appl...
 
Software Distribution
Software DistributionSoftware Distribution
Software Distribution
 
Windows 8 Deployment
Windows 8 DeploymentWindows 8 Deployment
Windows 8 Deployment
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and Docker
 
No BS, Vendor Neutral Comparison of Application Layering Solutions
No BS, Vendor Neutral Comparison of Application Layering SolutionsNo BS, Vendor Neutral Comparison of Application Layering Solutions
No BS, Vendor Neutral Comparison of Application Layering Solutions
 
Log Analytics by VMware Log Insight
Log Analytics by VMware Log InsightLog Analytics by VMware Log Insight
Log Analytics by VMware Log Insight
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and Docker
 
Sql Server Security Best Practices
Sql Server Security Best PracticesSql Server Security Best Practices
Sql Server Security Best Practices
 
VMware ThinApp 4.5
VMware ThinApp 4.5VMware ThinApp 4.5
VMware ThinApp 4.5
 
London VMUG - Upgrade vSphere 5.5 to 6.5
London VMUG - Upgrade vSphere 5.5 to 6.5London VMUG - Upgrade vSphere 5.5 to 6.5
London VMUG - Upgrade vSphere 5.5 to 6.5
 
vsphere5.5 to 6.5
vsphere5.5 to 6.5vsphere5.5 to 6.5
vsphere5.5 to 6.5
 

Similar to A lap around pdt and other automation goodness

SharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija BlagusSharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija Blagus
SPC Adriatics
 
Automating That "Other" OS
Automating That "Other" OSAutomating That "Other" OS
Automating That "Other" OS
Julian Dunn
 
Practical management of development & QA environments for SharePoint 2013
Practical management of development & QA environments for SharePoint 2013Practical management of development & QA environments for SharePoint 2013
Practical management of development & QA environments for SharePoint 2013
SharePointRadi
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopersBryan Cafferky
 
PowerShell Deployment Toolkit
PowerShell Deployment ToolkitPowerShell Deployment Toolkit
PowerShell Deployment Toolkit
Alexandre Verkinderen
 
OpenStack Summit 2013 Hong Kong - OpenStack and Windows
OpenStack Summit 2013 Hong Kong - OpenStack and WindowsOpenStack Summit 2013 Hong Kong - OpenStack and Windows
OpenStack Summit 2013 Hong Kong - OpenStack and Windows
Alessandro Pilotti
 
K2000 Advanced Topics
K2000 Advanced TopicsK2000 Advanced Topics
K2000 Advanced Topics
Dell World
 
Build cloud os in one day belgium
Build cloud os in one day   belgiumBuild cloud os in one day   belgium
Build cloud os in one day belgium
Alexandre Verkinderen
 
Training
TrainingTraining
Training
formacionVTr
 
Patterns
Patterns Patterns
Patterns
Prolifics
 
Mmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSCMmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSC
Mmik Huang
 
Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1
Mmik Huang
 
VMware App Volumes Troubleshooting
VMware App Volumes TroubleshootingVMware App Volumes Troubleshooting
VMware App Volumes Troubleshooting
Denis Gundarev
 
System Center & SharePoint on prem
System Center & SharePoint on premSystem Center & SharePoint on prem
System Center & SharePoint on prem
Matija Blagus
 
Upgrading from WinS 2008/2008 R2 to WinS 2012
Upgrading from WinS 2008/2008 R2 to WinS 2012Upgrading from WinS 2008/2008 R2 to WinS 2012
Upgrading from WinS 2008/2008 R2 to WinS 2012
iTawy Community
 
Go…Running Kentico CMS on Windows Azure
Go…Running Kentico CMS on Windows AzureGo…Running Kentico CMS on Windows Azure
Go…Running Kentico CMS on Windows Azure
Thomas Robbins
 
Sdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalSdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalStephen Rose
 
IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the Cloud
Andrew Coleman
 
Automation Suite PPT (2).pptx
Automation Suite PPT (2).pptxAutomation Suite PPT (2).pptx
Automation Suite PPT (2).pptx
RohitRadhakrishnan8
 

Similar to A lap around pdt and other automation goodness (20)

SharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija BlagusSharePoint on demand with System Center - Matija Blagus
SharePoint on demand with System Center - Matija Blagus
 
Automating That "Other" OS
Automating That "Other" OSAutomating That "Other" OS
Automating That "Other" OS
 
Practical management of development & QA environments for SharePoint 2013
Practical management of development & QA environments for SharePoint 2013Practical management of development & QA environments for SharePoint 2013
Practical management of development & QA environments for SharePoint 2013
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopers
 
PowerShell Deployment Toolkit
PowerShell Deployment ToolkitPowerShell Deployment Toolkit
PowerShell Deployment Toolkit
 
Scu 2014 pdt final
Scu 2014 pdt   finalScu 2014 pdt   final
Scu 2014 pdt final
 
OpenStack Summit 2013 Hong Kong - OpenStack and Windows
OpenStack Summit 2013 Hong Kong - OpenStack and WindowsOpenStack Summit 2013 Hong Kong - OpenStack and Windows
OpenStack Summit 2013 Hong Kong - OpenStack and Windows
 
K2000 Advanced Topics
K2000 Advanced TopicsK2000 Advanced Topics
K2000 Advanced Topics
 
Build cloud os in one day belgium
Build cloud os in one day   belgiumBuild cloud os in one day   belgium
Build cloud os in one day belgium
 
Training
TrainingTraining
Training
 
Patterns
Patterns Patterns
Patterns
 
Mmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSCMmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSC
 
Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1
 
VMware App Volumes Troubleshooting
VMware App Volumes TroubleshootingVMware App Volumes Troubleshooting
VMware App Volumes Troubleshooting
 
System Center & SharePoint on prem
System Center & SharePoint on premSystem Center & SharePoint on prem
System Center & SharePoint on prem
 
Upgrading from WinS 2008/2008 R2 to WinS 2012
Upgrading from WinS 2008/2008 R2 to WinS 2012Upgrading from WinS 2008/2008 R2 to WinS 2012
Upgrading from WinS 2008/2008 R2 to WinS 2012
 
Go…Running Kentico CMS on Windows Azure
Go…Running Kentico CMS on Windows AzureGo…Running Kentico CMS on Windows Azure
Go…Running Kentico CMS on Windows Azure
 
Sdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalSdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint Final
 
IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the Cloud
 
Automation Suite PPT (2).pptx
Automation Suite PPT (2).pptxAutomation Suite PPT (2).pptx
Automation Suite PPT (2).pptx
 

More from Enrique Lima

Enrique lima azure-it-pro-ps
Enrique lima azure-it-pro-psEnrique lima azure-it-pro-ps
Enrique lima azure-it-pro-ps
Enrique Lima
 
Look into Azure Active Directory
Look into Azure Active DirectoryLook into Azure Active Directory
Look into Azure Active DirectoryEnrique Lima
 
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8Enrique Lima
 
Letting the cards speak: Agile planning for SharePoint
Letting the cards speak: Agile planning for SharePointLetting the cards speak: Agile planning for SharePoint
Letting the cards speak: Agile planning for SharePointEnrique Lima
 
Business Intelligence: Leveraging SharePoint to drive business results
Business Intelligence: Leveraging SharePoint to drive business resultsBusiness Intelligence: Leveraging SharePoint to drive business results
Business Intelligence: Leveraging SharePoint to drive business results
Enrique Lima
 
The difference between learning and training
The difference between learning and trainingThe difference between learning and training
The difference between learning and trainingEnrique Lima
 
Sql Health in a SharePoint environment
Sql Health in a SharePoint environmentSql Health in a SharePoint environment
Sql Health in a SharePoint environment
Enrique Lima
 
Requirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsaRequirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsaEnrique Lima
 
SharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitchSharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitchEnrique Lima
 
If Dr. Seuss explained the Cloud
If Dr. Seuss explained the CloudIf Dr. Seuss explained the Cloud
If Dr. Seuss explained the CloudEnrique Lima
 
Azure Inside and Out
Azure Inside and OutAzure Inside and Out
Azure Inside and OutEnrique Lima
 
Azure for the ITPro
Azure for the ITProAzure for the ITPro
Azure for the ITProEnrique Lima
 
Requirements Management: From Vision to Mission to Success
Requirements Management: From Vision to Mission to SuccessRequirements Management: From Vision to Mission to Success
Requirements Management: From Vision to Mission to SuccessEnrique Lima
 

More from Enrique Lima (13)

Enrique lima azure-it-pro-ps
Enrique lima azure-it-pro-psEnrique lima azure-it-pro-ps
Enrique lima azure-it-pro-ps
 
Look into Azure Active Directory
Look into Azure Active DirectoryLook into Azure Active Directory
Look into Azure Active Directory
 
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
Building a SharePoint Demo/Dev Lab using Hyper-V on Windows 8
 
Letting the cards speak: Agile planning for SharePoint
Letting the cards speak: Agile planning for SharePointLetting the cards speak: Agile planning for SharePoint
Letting the cards speak: Agile planning for SharePoint
 
Business Intelligence: Leveraging SharePoint to drive business results
Business Intelligence: Leveraging SharePoint to drive business resultsBusiness Intelligence: Leveraging SharePoint to drive business results
Business Intelligence: Leveraging SharePoint to drive business results
 
The difference between learning and training
The difference between learning and trainingThe difference between learning and training
The difference between learning and training
 
Sql Health in a SharePoint environment
Sql Health in a SharePoint environmentSql Health in a SharePoint environment
Sql Health in a SharePoint environment
 
Requirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsaRequirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsa
 
SharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitchSharePoint LOB Development using Visual Studio LightSwitch
SharePoint LOB Development using Visual Studio LightSwitch
 
If Dr. Seuss explained the Cloud
If Dr. Seuss explained the CloudIf Dr. Seuss explained the Cloud
If Dr. Seuss explained the Cloud
 
Azure Inside and Out
Azure Inside and OutAzure Inside and Out
Azure Inside and Out
 
Azure for the ITPro
Azure for the ITProAzure for the ITPro
Azure for the ITPro
 
Requirements Management: From Vision to Mission to Success
Requirements Management: From Vision to Mission to SuccessRequirements Management: From Vision to Mission to Success
Requirements Management: From Vision to Mission to Success
 

Recently uploaded

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 

Recently uploaded (20)

Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 

A lap around pdt and other automation goodness

  • 1. idea. plan. deliver. idea. plan. deliver. idea. plan. deliver. Enrique Lima A lap around PDT and other automation goodness
  • 3. idea. plan. deliver. • Enrique Lima • enrique@thinkalm.com • Principal Consultant / Owner • Microsoft v-TSP BPIO / CoreIO / APPIO • Microsoft Certified Trainer – Regional Lead – East US • Member of the Geekswithblogs.net Community - Influencer ▫ http://geekswithblogs.net/enriquelima • @enriquelima - twitter.com/enriquelima • Member of INETA Who am I?
  • 4. idea. plan. deliver. Overview • The case for automation • Automation options • PowerShell Deployment Toolkit
  • 5. idea. plan. deliver. idea. plan. deliver. idea. plan. deliver. The why would I care …
  • 6. idea. plan. deliver. • We deploy servers for test, development, proof of concept, etc. • We need it quick • Saving VMs as templates • A lot, wait, again, a lot of manual work. • Tedious and repeatable Our reality
  • 7. idea. plan. deliver. Let’s talk about the reality Answer: 1 Answer: Too long! Answer: I lost count somewhere around 500 Answer: What on earth is post-setup integration? Answer: Don’t worry, there may be some good news towards the end of this session!
  • 9. idea. plan. deliver. idea. plan. deliver. What is DevOps?
  • 11. idea. plan. deliver. idea. plan. deliver. idea. plan. deliver. What is available out there?
  • 12. idea. plan. deliver. • Chocolatey • SCCM App/Server deployment automation
  • 13. idea. plan. deliver. • PowerShell Deployment Toolkit • SCCM OSD Platform deployment
  • 14. idea. plan. deliver. idea. plan. deliver. idea. plan. deliver.
  • 16. idea. plan. deliver. Before you start – XML Editing • Get a good XML editor ▫ Notepad++ ▫ Visual Studio ▫ PowerShell ISE
  • 17. idea. plan. deliver. • Spin drives vs. SSD • Memory • Windows 8.1 Update 1 vs. Windows Server 2012 vs. Windows Server 2012 R2 Hardware / Software
  • 18. idea. plan. deliver. • Get PDT • Customize the settings on Variable.xml • Run Downloader.ps1 • Create Parent VHDX files • Run VMCreator.ps1 PDT – The Process
  • 19. idea. plan. deliver. Define your deployment – Variable.xml User and company name Installer service account and password Source path Optional – product keys Usually just service account and password Database roles must specify SQL instance name Version Admin group
  • 20. idea. plan. deliver. Download all the bits – Downloader.ps1 Prerequisites e.g. - SQL Native Client, Report Viewer, WSUS SQL Server 2012, SP1, and CU8 SQL Server 2008 R2 and SP2 SharePoint 2010 Foundation Management Packs Integration Packs ADKSetup.exe download Configuration Manager setupdl.exe download Self-extracting exe WebPI for Windows Azure Pack Web Sites SQL Server 2008 R2 SP2 Windows Server 2012/Windows 8 WinRAR or 7-Zip Web Platform Installer Downloader.ps1 -DeploymentOnly Windows Server 2012 System Center Components New! Warning messages for items not downloaded
  • 21. idea. plan. deliver. • Make a sysprepped OS image • Easy path … ▫ Use Convert-WindowsImage.ps1 • http://bit.ly/1q4BCMm Create Parent VHDX files Convert-WindowsImage.ps1 -SourcePath "9600.16384.WINBLUE_RTM.130821-1623_X64FRE_SERVER_EN-US-IRM_SSS_X64FRE_EN-US_DV5.ISO" - VHDFormat VHDX -Edition "ServerDataCenterCore" -SizeBytes 8GB -VHDPartitionStyle MBR -BCDinVHD NativeBoot -ExpandOnNativeBoot:$false - RemoteDesktopEnable -Driver "F:Custom Driver" -Verbose .Convert-WindowsImage.ps1 -ShowUI
  • 22. idea. plan. deliver. Install each server OS – VMCreator.ps1 PDT can use existing servers, physical or virtual, any virtualization platform Requirements - Windows Server, domain joined, WinRM enabled, administrator permissions How many servers are in your deployment? Hyper-V host, VM name, processor, memory, network adapter, OS disk, data disks, domain to join Full example in default Variable.xml in PDT e.g. Different Hyper-V hosts, VM name, memory, OS disk Creates VM, joins domain, enables WinRM, add installer service account to administrators
  • 23. idea. plan. deliver. First VM created as domain controller for new Active Directory forest Media copied to DC during virtual hard disk creation All other VMs are created but wait for Active Directory setup to complete before starting Once Active Directory setup is complete, DC waits for all other VMs to start and join domain DC automatically runs Installer.ps1 Include minimum of 2 data disks with DC for Active Directory database and log files VMCreator with Active Directory
  • 24. idea. plan. deliver. Everything else! - Installer.ps1 Manages validation, sequencing, dependencies Manages reboots where required Gracefully handles cascading failures For each server, simultaneously: Administrators Windows Roles and Features SQL Clusters – with dependencies between cluster nodes SQL Prerequisites With cross server dependencies: Roles Integration and Configuration
  • 25. idea. plan. deliver. The “Knowledge” in PDT – Workflow.xml All “knowledge” is in Workflow.xml Workflow.xml defines everything we know about deploying System Center Roles Requirements – validation, Windows roles and features, prerequisites Dependencies on other roles Integrations between roles Firewall Installables Downloads Installs Default settings – global, component, SQL
  • 26. idea. plan. deliver. Validation Validates settings in Variable.xml for… FQDN, dependencies, role combinations, role instance count, required variables, SQL instances, media Validates against Active Directory for… Service accounts and passwords, other security principals - groups Validates against target servers for… Server exists, administrator access, clusters, WinRM, Task Scheduler, credentials policy, operating system version, file access, certificates, minimum memory
  • 27. idea. plan. deliver. Extenders – work with all PDT scripts Filename must match Extender*.xml, and be in same location as Workflow.xml Extender*.xml merged in memory with Workflow.xml Extender entries are added at end of existing sections Installer.ps1 -SkipValidation RolesCombination Veeam Management Pack for VMware GridPro Request Management for WAP Operations Manager MPs
  • 28. idea. plan. deliver. Custom setup and post installer VMCreator.ps1 –Setup <path> Requires a folder with the name of the VM in <path> Requires a PowerShell script with the name of the VM in that folder Script will be run against that VM using autologon during initial VM startup VMCreator.ps1 with AD – DC waits for custom setup to complete before running Installer.ps1 PostInstaller.ps1 in same location as Installer.ps1 Automatically run after successful completion of Installer.ps1 Must use remoting for configuration of any systems other than the one running Installer.ps1
  • 29. idea. plan. deliver. -MaxStage 1Admin – Adds service accounts to local administrator groups 2ServerFeatures – Installs Windows Roles and Features 3SQLClusters – Installs SQL clustered instances 4SQL – Installs SQL standalone instances 5Prereqs – Installs prerequisites 6Roles – Installs roles 7Integration – Completes integration and configuration
  • 30. idea. plan. deliver. GUIs!!! Developed by Microsoft service provider team Available to service provider partners only Delivered as a USB stick with all media Limited to specific deployment scenarios relevant to service provider team Developed by a partner, Elanity Network Partner UI for creation and editing of Variable.xml
  • 31. idea. plan. deliver. PowerShell Deployment Toolkit http://aka.ms/DownloadPDT http://aka.ms/GetToKnowPDT http://aka.ms/PDTVideo Configuration Manager software distribution Virtual Machine Manager virtual machine creation Virtual Machine Manager service deployment and servicing
  • 33. idea. plan. deliver. idea. plan. deliver.
  • 34. idea. plan. deliver. idea. plan. deliver. idea. plan. deliver.
  • 35. idea. plan. deliver. • Rob Willis ▫ TechEd 2014 Session on PDT: DCIM-B361  http://bit.ly/1oUTx4f ▫ Blog  http://blogs.technet.com/b/privatecloud/ Credits
  • 36. idea. plan. deliver. idea. plan. deliver.