SlideShare ist ein Scribd-Unternehmen logo
1 von 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.

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie A lap around pdt and other automation goodness

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
PowerShellForDBDevelopers
Bryan Cafferky
 
Sdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalSdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint Final
Stephen Rose
 

Ähnlich wie 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
 

Mehr von Enrique Lima

Look into Azure Active Directory
Look into Azure Active DirectoryLook into Azure Active Directory
Look into Azure Active Directory
Enrique 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 8
Enrique 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 SharePoint
Enrique Lima
 
The difference between learning and training
The difference between learning and trainingThe difference between learning and training
The difference between learning and training
Enrique Lima
 
Requirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsaRequirements Management - CodepaLOUsa
Requirements Management - CodepaLOUsa
Enrique 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 LightSwitch
Enrique Lima
 
If Dr. Seuss explained the Cloud
If Dr. Seuss explained the CloudIf Dr. Seuss explained the Cloud
If Dr. Seuss explained the Cloud
Enrique Lima
 
Azure Inside and Out
Azure Inside and OutAzure Inside and Out
Azure Inside and Out
Enrique Lima
 
Azure for the ITPro
Azure for the ITProAzure for the ITPro
Azure for the ITPro
Enrique 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 Success
Enrique Lima
 

Mehr von 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
 

Kürzlich hochgeladen

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Kürzlich hochgeladen (20)

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 

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.