powershell deployment toolkit
Post on 06-Aug-2015
101 Views
Preview:
TRANSCRIPT
SpeedLabSystem Center 2012 R2 with PDTAlexandre VerkinderenInovativ BECDM MVP@AlexVerkinderen
Christopher KeyaertInovativ BECDM MVP@Keyaertc
Windows Azure Pack
- Windows Azure Pack 2013 Database Server- Windows Azure Pack 2013 Admin API - Windows Azure Pack 2013 Tenant- Windows Azure Pack 2013 Tenant Public API - Windows Azure Pack 2013 SQL Server
Extension Server- Windows Azure Pack 2013 MySQL Extension
Server- Windows Azure Pack 2013 Admin Site Server- Windows Azure Pack 2013 Tenant Site Server- Windows Azure Pack 2013 Admin
Authentication Site Server- Windows Azure Pack 2013 Tenant
Authentication Site Server- Windows Azure Pack 2013 Console
- Windows Azure Pack 2013 SQL Cloud Database Server
- Windows Azure Pack 2013 Web Sites Database Server
- Windows Azure Pack 2013 Web Sites File Server- Windows Azure Pack 2013 Web Sites Controller
Server- Windows Azure Pack 2013 Web Sites Management
Server- Windows Azure Pack 2013 Web Sites FrontEnd
Server- Windows Azure Pack 2013 Web Sites Publisher
Server- Windows Azure Pack 2013 Web Sites Shared Worker - Windows Azure Pack 2013 Service Bus Database
Server- Windows Azure Pack 2013 Service Bus Server
System Center Prerequisites
Typical System Center Deployment
Typical System Center DeploymentDefine your deployment
Download all the bits
Install each server OS
Create service accounts
Logon to each server
Install prerequisites
Install SQL
Grant services account permissions
Install first SC server role
Install other servers roles
Grant component admin permissions
Integrate components
Install console
Connect console
Install agents
Finally… manage something
System Center deployment with PDT
PowerShell Deployment Toolkit
- PDT- http://
gallery.technet.microsoft.com/PowerShell-Deployment-f20bb605
- Creator: Rob Willis MSFT- Latest version of PDT - 2.64.2611
- PDT GUI- Benedict Berger
PowerShell Deployment Toolkit
Install SC
•Installer.ps1•Workflow.xml
Create VM’s
•Vmcreator.ps1
Download media
•Downloader.ps1
Define deployment
•Variable.xml•Workflow.xml
Get Requirements
PowerShell Deployment Toolkit Requirements- WinRar/7zip- WebPi- Admin Access- WinRM enabled- System Center 2012 R2 media- Sysprepped VHD
Define your deployment – Variable.xml- Specify global settings- Specify settings for each SC component- Specify servers for each role- Specify SQL settings for each instance
Define your deployment – Variable.xml
DemoVariable.xml
Download all the bits – Downloader.ps1Downloads…System Center ComponentsPrerequisites e.g. - SQL Native Client, Report Viewer, WSUSSQL Server 2012 and SP1SQL Server 2008 R2 and SP2SharePoint 2010 FoundationWindows Server 2012Management PacksIntegration Packs
Extracts…RAR – System Center 2012 ComponentsZip - SPModule
Runs…ADKSetup.exe downloadConfiguration Manager setupdl.exe download
Slipstreams…SQL Server 2008 R2 SP2
Requires…Windows Server 2012/Windows 8WinRAR
Restartable!
DemoDownloader.ps1
DemoVmcreator.ps1
Installing each server OS – VMCreator.ps1OptionalPDT can use existing servers, physical or virtual, any virtualization platform
Specify Server count
Specify defaultsHyper-V host, VM name, processor, memory, network adapter, OS disk, data disks, domain to joinFull example in default Variable.xml in PDT
Specify overrides per VM, if desired
VMCreator.ps1 will validate required resources for VM creationCreates VM, joins domain, enables WinRM, add installer service account to administrators
Installing each Server OS – variable.xml
DemoVmcreator.ps1 cont’d
DemoInstaller.ps1
System Center Knowledge – Workflow.xml
Installer.ps1 knows nothing about deploying System CenterInstaller.ps1 will validate all settings before deploymentAll “knowledge” is in Workflow.xmlWorkflow.xml defines everything we know about deploying System Center
Defines…Roles
Requirements – validation, Windows roles and features, prerequisitesDependencies on other rolesIntegrations between rolesFirewall
InstallablesDownloadsInstalls
Default settings – global, component, SQL
…and is completely extensible!
Installing System Center 2012 – Installer.ps1- Install prerequisites
- Install SQL
- Grant services account permissions- Install first server role- Install other servers roles- Grant component admin permissions- Integrate components- Install console- Connect console- Install agents- Manage something!
DemoWorkflow.xml
DemoInstaller.ps1 cont’d
Troubleshooting
- PDT Log files- C:\Users\<username>\AppDataLocal\Installer
- Installation Log files- C:\Temp\<guid>
Gotchas and Tips
- Installer.ps1 -validateonly- ReportViewer.msi
- Yes, Azure is possible!
Q&A
Feedback
- Session feedback- SCU session planner
http://planning.systemcenteruniverse.ch- SCU WP app
- Overall Conference feedback- Link sent by email after the conference
- Remember: we will donate for every feedback we receive!
Our Other Sessions- Ask the expert: Service Management Automation (Markus Klein/Jeff Wouters
/Alexandre Verkinderen)- 17/09 10h15, Room: Ask the experts area
- Savision BSM in the private Cloud (Alexandre Verkinderen)- 17/09 15h45, Room: Miami
- Multi-Factor authentication for your Clouds (Christopher Keyaert & Alexandre Verkinderen)- 18/09 09h15, Room: Sidney
- PowerBI for System Center ( Kurt Van Hoecke & Alexandre Verkinderen)- 18/09 09h15, Room: Sidney
- Savision BSM in the private Cloud (Alexandre Verkinderen)- 19/09 12h00, Room: Miami
System Center 2012 R2 with PDT
Christopher KeyaertInovativ BEhttp://www.vnext.be@KeyaertC
Alexandre VerkinderenInovativ BEhttp://scug.be/scom @AlexVerkinderen
top related