SlideShare a Scribd company logo
1 of 36
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 InstallationsDell World
 
KACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewKACE Agent Architecture and Troubleshooting Overview
KACE Agent Architecture and Troubleshooting OverviewDell World
 
Optimizing K2000 Workflow
Optimizing K2000 WorkflowOptimizing K2000 Workflow
Optimizing K2000 WorkflowDell 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 ProfileWASdev Community
 
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 PSUGAlan Renouf
 
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 DistributionDell World
 
Windows 8 Deployment
Windows 8 DeploymentWindows 8 Deployment
Windows 8 DeploymentHarold 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 DockerDavid 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 SolutionsUnidesk Corporation
 
Log Analytics by VMware Log Insight
Log Analytics by VMware Log InsightLog Analytics by VMware Log Insight
Log Analytics by VMware Log InsightKiss 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 DockerDavid Currie
 
VMware ThinApp 4.5
VMware ThinApp 4.5VMware ThinApp 4.5
VMware ThinApp 4.5netlogix
 
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.5Dean Lewis
 

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 BlagusSPC Adriatics
 
Automating That "Other" OS
Automating That "Other" OSAutomating That "Other" OS
Automating That "Other" OSJulian 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 2013SharePointRadi
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopersBryan Cafferky
 
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 WindowsAlessandro Pilotti
 
K2000 Advanced Topics
K2000 Advanced TopicsK2000 Advanced Topics
K2000 Advanced TopicsDell World
 
Mmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSCMmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSCMmik Huang
 
Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1Mmik Huang
 
VMware App Volumes Troubleshooting
VMware App Volumes TroubleshootingVMware App Volumes Troubleshooting
VMware App Volumes TroubleshootingDenis Gundarev
 
System Center & SharePoint on prem
System Center & SharePoint on premSystem Center & SharePoint on prem
System Center & SharePoint on premMatija 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 2012iTawy 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 AzureThomas 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 CloudAndrew Coleman
 

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-psEnrique 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 resultsEnrique 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 environmentEnrique 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

A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfICS
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletAndrea Goulet
 
Evolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI EraEvolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI Eraconfluent
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfSrushith Repakula
 
What is a Recruitment Management Software?
What is a Recruitment Management Software?What is a Recruitment Management Software?
What is a Recruitment Management Software?NYGGS Automation Suite
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Andreas Granig
 
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Lisi Hocke
 
Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Chirag Panchal
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbankkasambamuno
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Andrea Goulet
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Gáspár Nagy
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acreskasambamuno
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanNeo4j
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
^Clinic ^%[+27788225528*Abortion Pills For Sale In hararekasambamuno
 
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-CloudAlluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-CloudAlluxio, Inc.
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAShane Coughlan
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024Shane Coughlan
 

Recently uploaded (20)

Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea Goulet
 
Evolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI EraEvolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI Era
 
Lessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdfLessons Learned from Building a Serverless Notifications System.pdf
Lessons Learned from Building a Serverless Notifications System.pdf
 
Abortion Clinic In Springs ](+27832195400*)[ 🏥 Safe Abortion Pills in Springs...
Abortion Clinic In Springs ](+27832195400*)[ 🏥 Safe Abortion Pills in Springs...Abortion Clinic In Springs ](+27832195400*)[ 🏥 Safe Abortion Pills in Springs...
Abortion Clinic In Springs ](+27832195400*)[ 🏥 Safe Abortion Pills in Springs...
 
What is a Recruitment Management Software?
What is a Recruitment Management Software?What is a Recruitment Management Software?
What is a Recruitment Management Software?
 
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024Automate your OpenSIPS config tests - OpenSIPS Summit 2024
Automate your OpenSIPS config tests - OpenSIPS Summit 2024
 
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
 
Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
^Clinic ^%[+27788225528*Abortion Pills For Sale In witbank
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
^Clinic ^%[+27788225528*Abortion Pills For Sale In birch acres
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
 
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
^Clinic ^%[+27788225528*Abortion Pills For Sale In harare
 
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-CloudAlluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
 
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCAOpenChain Webinar: AboutCode and Beyond - End-to-End SCA
OpenChain Webinar: AboutCode and Beyond - End-to-End SCA
 
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
Abortion Clinic In Polokwane ](+27832195400*)[ 🏥 Safe Abortion Pills in Polok...
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024
 

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.