server roles and features.net framework 3.51.net framework 4.5 iis web server iis default document...

59

Upload: ashley-leonard

Post on 22-Dec-2015

246 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors
Page 2: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Automating System Center Deployment with thePowerShell Deployment ToolkitRob WillisPrincipal Program ManagerMicrosoft

DCIM-B361

Page 3: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

QuestionsHow many products make up System Center 2012 R2?Answer: 1

How long does it take to deploy System Center 2012 R2?Answer: Too long!

How many "screens" does an installation take including prerequisites and SQL Server?Answer: I lost count somewhere around 500

How many post-setup integration tasks are there?Answer: What on earth is post-setup integration?

Who’s afraid of XML?Answer: Don’t worry, there may be some good news towards the end of this session!

Page 4: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Warning!This session involves manually editing XML…

(again, there’s some good news coming!)

Page 5: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

DemoFull deployment

Page 6: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

DemoHighly available scale out deployment

Page 7: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

DemoVMCreator with Active Directory

Page 8: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors
Page 9: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Components

Windows Azure Pack

Page 10: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Roles

• Database Server• Management Server• Runbook Server• Web Service Server• Runbook Designer• Service Provider Foundation• Service Management Automation Web Service• Service Management Automation Runbook

Worker• Service Reporting

• Database Server• Datawarehouse Server• Management Server• Reporting Server• Web Console Server• Console

• Database Server• Datawarehouse Server• Management Server• Datawarehouse Management Server• Portal Web Content Server• Portal SharePoint Web Parts Server• Console

• Database Server• Management Server

• Database Server• Management Server• Console

• Database Server• Provider Server• Reporting Server• Site Server• Console

• Database Server• Management Server• Console

Windows Azure Pack• Database Server• Admin API Server• Tenant API Server• Tenant Public API Server• Admin Site Server• Admin Authentication Site

Server• Tenant Site Server• Tenant Authentication Site

Server

Page 11: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

PrerequisitesServer Roles and Features .NET Framework 3.51 .NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors IIS Static Content IIS HTTP Redirection IIS HTTP Logging IIS Request Monitor IIS Tracing IIS Static Content Compression IIS Request Filtering IIS Basic Authentication IIS Windows Authentication IIS .NET Extensibility 3.5 IIS .NET Extensibility 4.5 IIS ASP.NET 3.5 IIS ASP.NET 4.5 IIS ISAPI Extensions IIS ISAPI Filters IIS Management Console IIS 6 Metabase Compatibility

IIS 6 WMI Compatibility IIS Management Scripts and Tools BITS IIS Server Extension Management OData IIS Extension ASP.NET 4.5 .NET HTTP Activation 4.5 Windows Identity Foundation Process Model Configuration APIs Update Services API Update Services Console Remote Differential CompressionSQL Server 2008 R2 Database Engine Reporting Services Analysis ServicesSQL Server 2012 Database Engine Reporting Services Analysis Services.NET Framework 4.0 FullSQL Server 2008 R2 Native ClientSQL Server 2008 R2 Command Line UtilitiesSQL Server 2008 R2 Analysis Management Objects

Report Viewer 2010 RedistributableReport Viewer 2008 SP1 RedistributableWindows Server Update Services 3.0 SP2Single Instance StorageSQL Server 2008 Native ClientWindows Identity Foundation 3.5Sync Framework Runtime 1.0Chart ControlsFilter Pack 2.0SQL Server 2008 Analysis Services ADOMD.NETServer Speech Platform RuntimeServer Speech Recognition Language en-USSQL Server 2008 R2 SP2 SharePoint Reporting ServicesSharePoint 2010Windows Automated Deployment KitWindows Management Framework 3.0WCF Data Services 5.0ASP.NET MVC 4SQL Server 2012 Native ClientSQL Server 2012 Command Line UtilitiesSQL Server 2012 Analysis Management ObjectsVisual C++ 2008 RedistributableSilverlightIs that all?!?

Page 12: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors
Page 13: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Installing System CenterDefine 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 server role

Install other servers roles

Grant component admin permissions

Integrate components

Install console

Connect console

Install agents

Finally… manage something

Page 14: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Installing System CenterDefine 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 server role

Install other servers roles

Grant component admin permissions

Integrate components

Install console

Connect console

Install agents

Finally… manage something

Run PDT Downloader

Run PDT VMCreator

Run PDT Installer

Manage something!

Installing System Center with PDT

Page 15: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Installing System CenterDefine 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 server role

Install other servers roles

Grant component admin permissions

Integrate components

Install console

Connect console

Install agents

Manage something!

Page 16: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Define your deployment – Variable.xmlSpecify global settingsUser and company nameInstaller service account and passwordSource pathOptional – product keys

Specify settings for each componentUsually just service account and password

Specify servers for each roleDatabase roles must specify SQL instance name

Specify SQL settings for each instanceVersionAdmin group

Installer.ps1 will validate all settings before deployment

Page 17: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Define your deployment – a simple Orchestrator example<?xml version="1.0" encoding="utf-8"?><Installer version="2.0"> <Variable Name="SystemCenter2012ProductKey" Value="" /> <Variable Name="SQLServer2012ProductKey" Value="" /> <Variable Name="SQLServer2008R2ProductKey" Value="" /> <Variable Name="RegisteredUser" Value=“Microsoft Corporation" /> <Variable Name="RegisteredOrganization" Value=“Microsoft Corporation" /> <Variable Name="InstallerServiceAccount" Value="CONTOSO\Installer" /> <Variable Name="InstallerServiceAccountPassword" Value=“password" /> <Variable Name="SourcePath" Value="$SystemDrive\Temp" /> <Component Name="System Center 2012 R2 Orchestrator"> <Variable Name="SystemCenter2012R2OrchestratorServiceAccount" Value="CONTOSO\or" /> <Variable Name="SystemCenter2012R2OrchestratorServiceAccountPassword" Value=“password" /> </Component> <Roles> <Role Name="System Center 2012 R2 Orchestrator Database Server" Server="SCDB.contoso.com" Instance="MSSQLSERVER"></Role> <Role Name="System Center 2012 R2 Orchestrator Management Server" Server="OR1.contoso.com" ></Role> <Role Name="System Center 2012 R2 Orchestrator Primary Runbook Server" Server="OR1.contoso.com" ></Role> <Role Name="System Center 2012 R2 Orchestrator Web Components Server" Server="OR1.contoso.com" ></Role> <Role Name="System Center 2012 R2 Orchestrator Runbook Designer" Server="RD1.contoso.com" ></Role> </Roles> <SQL> <Instance Server="SCDB.contoso.com" Instance="MSSQLSERVER" Version="SQL Server 2012"> <Variable Name="SQLAdmins" Value="CONTOSO\SQLAdmins" /> </Instance> </SQL></Installer>

Page 18: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Installing System CenterDefine 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 server role

Install other servers roles

Grant component admin permissions

Integrate components

Install console

Connect console

Install agents

Manage something!

Run PDT Downloader

Page 19: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Download all the bits – Downloader.ps1Downloads…Prerequisites e.g. - SQL Native Client, Report Viewer, WSUSSQL Server 2012, SP1, and CU8SQL Server 2008 R2 and SP2SharePoint 2010 FoundationManagement PacksIntegration Packs

Extracts…Runs…ADKSetup.exe downloadConfiguration Manager setupdl.exe downloadSelf-extracting exeWebPI for Windows Azure Pack Web Sites

Slipstreams…SQL Server 2008 R2 SP2

Requires…Windows Server 2012/Windows 8WinRAR or 7-ZipWeb Platform Installer

Option…Downloader.ps1 -DeploymentOnly

Restartable!Does not download…Windows Server 2012System Center ComponentsNew! Warning messages for items not downloaded

Page 20: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

DemoDownloader

Page 21: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Installing System CenterDefine your deployment

Install each server OS

Create service accounts

Logon to each server

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!

Run PDT Downloader

Run PDT VMCreator

Page 22: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Install each server OS – VMCreator.ps1OptionalPDT can use existing servers, physical or virtual, any virtualization platformRequirements - Windows Server, domain joined, WinRM enabled, administrator permissions

Specify countHow many servers are in your deployment?

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 e.g. Different Hyper-V hosts, VM name, memory, OS disk

VMCreator.ps1 will validate required resources for VM creationCreates VM, joins domain, enables WinRM, add installer service account to administrators

Page 23: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Install each server OS – Variable.xml <VMs> <Count>3</Count> <Default> <Host>localhost</Host> . . . . . . <VMName> <Prefix>Server</Prefix> <Sequence>11</Sequence> </VMName> <Processor>2</Processor> <Memory>2048</Memory> <NetworkAdapter> <OSDisk> <Parent>D:\VHD\WS2012R2.vhdx</Parent> <Type>Differencing</Type> </OSDisk> . . . . . . </Default> <VM Count="1"> <VMName>SQL01</VMName> <Memory>8192</Memory> </VM> </VMs>

Page 24: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

VMCreator with Active DirectorySingle pass complete lab setupProcess…First VM created as domain controller for new Active Directory forestMedia copied to DC during virtual hard disk creationAll other VMs are created but wait for Active Directory setup to complete before startingOnce Active Directory setup is complete, DC waits for all other VMs to start and join domainDC automatically runs Installer.ps1

RecommendationInclude minimum of 2 data disks with DC for Active Directory database and log files

Page 25: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

VMCreator with AD – Variable.xml <VMs> <Count>3</Count> <Domain> <Name>contoso.com</Name> <ServiceAccountOU>Services.HQ</ServiceAccountOU> <GroupOU>Groups.HQ</GroupOU> </Domain> <Default>. . . . . . </Default> <VM Count="1"> <VMName>DC01</VMName> <DataDisks> <Count>2</Count> <Format>VHDX</Format> <Size>2</Size> </DataDisks> </VM> </VMs>

Page 26: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

DemoVMCreator with Active Directory

Page 27: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Installing System CenterDefine your deployment

Run PDT Downloader

Run PDT VMCreator

Create service accounts

Logon to each server

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!

Page 28: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Logon to each server – Remote InstallsRequirementsRemoting - run command on a remote serverCredentials delegation – e.g. create a database against a further remote server

Options for remote installsWMI start processWinRM

RequirementsRemoting - run command on a remote serverCredentials delegation – e.g. create a database against a further remote server

Options for remote installsWMI start processWinRM with CredSSPPSExec

RequirementsRemoting - run command on a remote serverCredentials delegation – e.g. create a database against a further remote server

Options for remote installsWMI start processWinRM with CredSSPPSExec /sOrchestrator Run ProgramOrchestrator Runbook ServerTask Scheduler

Task SchedulerRemotely register a task in task scheduler without a triggerStart the registered taskWait until the task completes

Page 29: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Installing System CenterDefine your deployment

Run PDT Downloader

Run PDT VMCreator

Create service accounts

Run PDT Installer

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!

Page 30: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Everything else! - Installer.ps1Distributed Deployment ControllerManages validation, sequencing, dependenciesManages reboots where requiredGracefully handles cascading failures

PhasesFor each server, simultaneously:

AdministratorsWindows Roles and FeaturesSQL Clusters – with dependencies between cluster nodesSQLPrerequisites

With cross server dependencies:RolesIntegration and Configuration

Page 31: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

The “Knowledge” in PDT – Workflow.xmlInstaller.ps1 knows nothing about deploying System CenterAll “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!

Page 32: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

ValidationLocalValidates settings in Variable.xml for…

FQDN, dependencies, role combinations, role instance count, required variables, SQL instances, media

ActiveDirectoryValidates against Active Directory for…

Service accounts and passwords, other security principals - groups

RemoteValidates against target servers for…

Server exists, administrator access, clusters, WinRM, Task Scheduler,credentials policy, operating system version, file access,

certificates, minimum memory

Page 33: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

IntegrationsPDT completes all automatable component integrationApp Controller Virtual Machine ManagerService Provider Foundation Virtual Machine ManagerVirtual Machine Manager Operations ManagerService Manager Service Manager DatawarehouseOperations Manager Service Manager DatawarehouseService Manager OrchestratorService Manager Configuration ManagerService Manager Operations ManagerService Manager Operations Manager AlertsService Manager Virtual Machine ManagerData Protection Manager Operations Manager…and many more related to Windows Azure Pack!

Notable missing integration…Orchestrator Integration Pack Registration, Deployment and Configuration

Page 34: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Extenders – work with all PDT scriptsExtends Workflow.xml for custom rolesFilename must match Extender*.xml, and be in same location as Workflow.xmlExtender*.xml merged in memory with Workflow.xmlExtender entries are added at end of existing sections

New Installer.ps1 switch if defining new rolesInstaller.ps1 -SkipValidation RolesCombination

SamplesVeeam Management Pack for VMwareGridPro Request Management for WAPOperations Manager MPs

Page 35: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

DemoExtenders

Page 36: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Network Load BalancingScale out for HTTP based rolesService Provider FoundationService Management AutomationWindows Azure Pack

Variables for NLB<rolename>NLBName – FQDN name for the NLB role<rolename>NLBIPv4 – IPv4 for the NLB, must be the same for all NLB roles on a server<rolename>NLBConfig – True or False, determines if PDT configure NLB or not

External load balancersSet NLBConfig to False, no IPv4 required

Requires appropriate DNS entries existVMCreator.ps1 with AD will create DNS records required

Page 37: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Network Load Balancing – Variable.xml<Component Name="System Center 2012 R2 Service Provider Foundation"> . . . . . . <Variable Name="SystemCenter2012R2ServiceProviderFoundationServerNLBName" Value="SPF.contoso.com" /> <Variable Name="SystemCenter2012R2ServiceProviderFoundationServerNLBIPv4" Value="192.168.1.101" /> <Variable Name="SystemCenter2012R2ServiceProviderFoundationServerNLBConfig" Value="True" /></Component>

Page 38: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Custom setup and post installerCustom setupVMCreator.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 folderScript will be run against that VM using autologon during initial VM startupVMCreator.ps1 with AD – DC waits for custom setup to complete before running Installer.ps1

PostInstallerPostInstaller.ps1 in same location as Installer.ps1Automatically run after successful completion of Installer.ps1Must use remoting for configuration of any systems other than the one running Installer.ps1

Page 39: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

-MaxStageSwitch on Installer.ps1Limits deployment stage for partial deployment1Admin – Adds service accounts to local administrator groups2ServerFeatures – Installs Windows Roles and Features3SQLClusters – Installs SQL clustered instances4SQL – Installs SQL standalone instances5Prereqs – Installs prerequisites6Roles – Installs roles7Integration – Completes integration and configuration

Stages are cumulative

Page 40: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

GUIs!!!Service Provider Operational Readiness KitDeveloped by Microsoft service provider teamAvailable to service provider partners onlyDelivered as a USB stick with all mediaLimited to specific deployment scenarios relevant to service provider team

PDT GUIDeveloped by a partner, Elanity Network PartnerUI for creation and editing of Variable.xml

Page 41: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

DemoPDT GUI

Benedict BergerSolutions Consultant / Microsoft MVPElanity Network [email protected]@Benedict_Berger

Page 42: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Component Admin GroupsSystem Center components use different methodsService Manager requires admin group specified at installation timeOrchestrator optionally allows admin group specified at installation timeOperations Manager, Virtual Machine Manager, App Controller use members of local administratorsService Provider Foundation, Data Protection Manager use local administrators groupConfiguration Manager uses account performing the installation

PDT optionally allows you to specify admin groupsService Manager is only required group to be specifiedConfiguration Manager admin group requires Configuration Manager console to be installed

PDT configures consoles to connect to correct server

Page 43: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

More Advanced ConfigurationOther components settingsCopy variable from Workflow.xml to Variable.xml

Existing SQLNo validation – installer service account must have permissions

Getting SQL “right”Specify file locations for database files, log files, tempDB

SQL ClustersWindows cluster and storage must be created first

Virtual Machine Manager ClusterWindows cluster must be created firstActive Directory container must be created first, with permission for VMM service account

Scale Out RolesFirst then additional, Concurrent, Sequential

Page 44: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

TroubleshootingProgress displaySaved to C:\Temp\Status.txt

Installer.ps1 loggingLogs to C:\Users\<username>\AppData\Local\InstallerLog file per target server in deploymentUnified log Installer.logNote: Installer logs contain ALL command lines, with passwords removed

Component setup loggingCopied after deployment to C:\Temp\<GUID>\<ServerName>

Restarting deploymentDeployment can be restartedRestarts do not redeploy anything that succeededSome failures are timeouts – restarts usually fix theseBe careful of reboots!

Page 45: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

DemoIs it done yet?

Page 46: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Back to our questions…How many products make up System Center 2012 R2?Answer: 1

How long does it take to deploy System Center 2012 R2?Answer: 1 hour!

How many “screens” does an installation take including prerequisites and SQL Server?Answer: 1… Variable.xml

How many post-setup integration tasks are there?Answer: It just doesn’t matter anymore

Who’s afraid of XML?Answer: Use SPORK or the PDT GUI!

Page 47: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

PowerShell Deployment ToolkitAvailable on the TechNet Gallery

http://aka.ms/DownloadPDT

Documented through the Building Clouds bloghttp://aka.ms/GetToKnowPDT

Don’t forget the YouTube video…http://aka.ms/PDTVideo

Does not replace…Configuration Manager software distributionVirtual Machine Manager virtual machine creationVirtual Machine Manager service deployment and servicing

…but solves the chicken and egg problem!

Page 48: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Come Visit Us in the Microsoft Solutions Experience!

Look for Datacenter and Infrastructure ManagementTechExpo Level 1 Hall CD

For More InformationWindows Server 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205286

Windows Server

Microsoft Azure

Microsoft Azurehttp://azure.microsoft.com/en-us/

System Center

System Center 2012 R2http://technet.microsoft.com/en-US/evalcenter/dn205295

Azure PackAzure Packhttp://www.microsoft.com/en-us/server-cloud/products/windows-azure-pack

Page 49: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Resources

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

msdn

Resources for Developers

http://microsoft.com/msdn

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Sessions on Demand

http://channel9.msdn.com/Events/TechEd

Page 50: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Complete an evaluation and enter to win!

Page 51: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Evaluate this session

Scan this QR code to evaluate this session.

Page 52: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Page 53: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Reference

Page 54: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Component Admin Groups – Variable.xml <Components> <Component Name="System Center 2012 R2 Virtual Machine Manager"> <Variable Name="SystemCenter2012R2VirtualMachineManagerAdminGroup" Value="CONTOSO\VMM Admins" /> </Component> <Component Name="System Center 2012 R2 Orchestrator"> <Variable Name="SystemCenter2012R2OrchestratorAdminGroup" Value="CONTOSO\Orchestrator Admins" /> </Component> <Component Name="System Center 2012 R2 App Controller"> <Variable Name="SystemCenter2012R2AppControllerAdminGroup" Value="CONTOSO\AC Admins" /> </Component> <Component Name="System Center 2012 R2 Operations Manager"> <Variable Name="SystemCenter2012R2OperationsManagerAdminGroup" Value="CONTOSO\OM Admins" /> </Component> <Component Name="System Center 2012 R2 Service Manager"> <Variable Name="SystemCenter2012R2ServiceManagerAdminRoleGroup" Value="CONTOSO\SM Admins" /> </Component> <Component Name="System Center 2012 R2 Data Protection Manager"> <Variable Name="SystemCenter2012R2DataProtectionManagerAdminGroup" Value="CONTOSO\DPM Admins" /> </Component> <Component Name="System Center 2012 R2 Configuration Manager"> <Variable Name="SystemCenter2012R2ConfigurationManagerAdminGroup" Value="CONTOSO\CM Admins" /> </Component> </Components>

Page 55: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Getting SQL “right” – Variable.xml<SQL> <Instance Server="SCDB.contoso.com" Instance="MSSQLSERVER" Version="SQL Server 2012"> <Variable Name="SQLAdmins" Value="CONTOSO\SQL Admins" /> <Variable Name="SQLInstallSQLDataDir" Value="E:\Program Files\Microsoft SQL Server" /> <Variable Name="SQLUserDBDir" Value="E:\Program Files\Microsoft SQL Server\MSSQL10_50.$Instance\MSSQL\Data" /> <Variable Name="SQLUserDBLogDir" Value="F:\Program Files\Microsoft SQL Server\MSSQL10_50.$Instance\MSSQL\Data" /> <Variable Name="SQLTempDBDir" Value="G:\Program Files\Microsoft SQL Server\MSSQL10_50.$Instance\MSSQL\Data" /> <Variable Name="SQLTempDBLogDir" Value="G:\Program Files\Microsoft SQL Server\MSSQL10_50.$Instance\MSSQL\Data" /> <Variable Name="SQLBackupDir" Value="E:\Program Files\Microsoft SQL Server\MSSQL10_50.$Instance\MSSQL\Data" /> </Instance></SQL>

Page 56: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

SQL cluster using SMB storage – Variable.xml<Roles> <Role Name="System Center 2012 R2 Orchestrator Database Server" Server="ORDB.contoso.com" Instance="MSSQLSERVER" SQLCluster="True"></Role></Roles><SQL> <Cluster Cluster="ORDB.contoso.com" Version="SQL Server 2012"> <Variable Name="SQLAdmins" Value="CONTOSO\SQL Admins" /> <Variable Name="SQLAgtServiceAccount" Value="CONTOSO\sql" /> <Variable Name="SQLAgtServiceAccountPassword" Value="password" /> <Variable Name="SQLServiceAccount" Value="CONTOSO\sql" /> <Variable Name="SQLServiceAccountPassword" Value="password" /> <Variable Name="SQLInstallSQLDataDir" Value="\\FS01\CLDB1\ORDB" /> <Variable Name="SQLUserDBDir" Value="\\FS01\CLDB1\ORDB\MSSQL11.$Instance\MSSQL\DATA" /> <Variable Name="SQLUserDBLogDir" Value="\\FS01\CLDB2\ORDB\MSSQL11.$Instance\MSSQL\DATA" /> <Variable Name="SQLTempDBDir" Value="\\FS01\CLDB3\ORDB\MSSQL11.$Instance\MSSQL\DATA" /> <Variable Name="SQLTempDBLogDir" Value="\\FS01\CLDB3\ORDB\MSSQL11.$Instance\MSSQL\DATA" /> <Variable Name="SQLClusterIPAddress" Value="192.168.1.226" /> <Variable Name="SQLClusterNetwork" Value="Cluster Network 1" /> <Variable Name="SQLClusterIPSubnet" Value="255.255.255.0" /> <Node Server="CLDB1A.contoso.com" Preferred="1"></Node> <Node Server="CLDB1C.contoso.com" Preferred="2"></Node> <Node Server="CLDB1B.contoso.com"></Node> </Cluster></SQL>

Page 57: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

SQL cluster using SAN storage – Variable.xml<Roles> <Role Name="System Center 2012 R2 Orchestrator Database Server" Server="ORDB.contoso.com" Instance="MSSQLSERVER" SQLCluster="True"></Role></Roles><SQL> <Cluster Cluster="ORDB.contoso.com" Version="SQL Server 2012"> <Variable Name="SQLAdmins" Value="CONTOSO\SQL Admins" /> <Variable Name="SQLAgtServiceAccount" Value="CONTOSO\sql" /> <Variable Name="SQLAgtServiceAccountPassword" Value="password" /> <Variable Name="SQLServiceAccount" Value="CONTOSO\sql" /> <Variable Name="SQLServiceAccountPassword" Value="password" /> <Variable Name="SQLInstallSQLDataDir" Value="H:\MSSQL11.$Instance\MSSQL\DATA" /> <Variable Name="SQLUserDBDir" Value="H:\MSSQL11.$Instance\MSSQL\DATA" /> <Variable Name="SQLUserDBLogDir" Value="I:\MSSQL11.$Instance\MSSQL\DATA" /> <Variable Name="SQLTempDBDir" Value="J:\MSSQL11.$Instance\MSSQL\DATA" /> <Variable Name="SQLTempDBLogDir" Value="J:\MSSQL11.$Instance\MSSQL\DATA" /> <Variable Name="SQLClusterIPAddress" Value="192.168.1.226" /> <Variable Name="SQLClusterNetwork" Value="Cluster Network 1" /> <Variable Name="SQLClusterIPSubnet" Value="255.255.255.0" /> <Variable Name="SQLClusterDisks"> <Value>`"Cluster Disk 1`" `"Cluster Disk 2`" `"Cluster Disk 3`"</Value> </Variable> <Node Server="CLDB1A.contoso.com" Preferred="1"></Node> <Node Server="CLDB1C.contoso.com" Preferred="2"></Node> <Node Server="CLDB1B.contoso.com"></Node> </Cluster></SQL>

Page 58: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Virtual Machine Manager cluster – Variable.xml <Components> <Component Name="System Center 2012 R2 Virtual Machine Manager"> <Variable Name="SystemCenter2012R2VirtualMachineManagerServiceAccount" Value="CONTOSO\vmm" /> <Variable Name="SystemCenter2012R2VirtualMachineManagerServiceAccountPassword" Value=“password" /> <Variable Name="SystemCenter2012R2VirtualMachineManagerVmmServerName" Value="VMM2.contoso.com" /> <Variable Name="SystemCenter2012R2VirtualMachineManagerTopContainerName" Value="CN=VMMDKM,DC=contoso,DC=com" /> <Variable Name="SystemCenter2012R2VirtualMachineManagerVMMStaticIPAddress" Value="192.168.1.230"/> </Component> </Components> <Roles> <Role Name="System Center 2012 R2 Virtual Machine Manager Database Server" Server="VMMDB.contoso.com" Instance="VMMDB" SQLCluster="True"></Role> <Role Name="System Center 2012 R2 Virtual Machine Manager Cluster Active Management Server" Server="CLVMM2A.contoso.com" /> <Role Name="System Center 2012 R2 Virtual Machine Manager Cluster Passive Management Server" Server="CLVMM2B.contoso.com" /> </Roles>

Page 59: Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors

Scale out roles – Variable.xml <Roles> . . . . . . <Role Name="System Center 2012 R2 Orchestrator Primary Runbook Server" Server="OR1.contoso.com" ></Role> <Role Name="System Center 2012 R2 Orchestrator Standby Runbook Server" Server="OR2.contoso.com" ></Role> <Role Name="System Center 2012 R2 Orchestrator Standby Runbook Server" Server="OR3.contoso.com" ></Role> <Role Name="System Center 2012 R2 Service Provider Foundation Server" Server=“SPF1.contoso.com" ></Role> <Role Name="System Center 2012 R2 Service Provider Foundation Additional Server" Server=“SPF2.contoso.com" ></Role> <Role Name="System Center 2012 R2 Service Provider Foundation Additional Server" Server=“SPF3.contoso.com" ></Role> <Role Name="System Center 2012 R2 App Controller Server" Server="AC1.contoso.com" ></Role> <Role Name="System Center 2012 R2 App Controller Additional Server" Server="AC2.contoso.com" ></Role> <Role Name="System Center 2012 R2 App Controller Additional Server" Server="AC3.contoso.com" ></Role> <Role Name="System Center 2012 R2 Operations Manager Management Server" Server=“OM1.contoso.com" ></Role> <Role Name="System Center 2012 R2 Operations Manager Additional Management Server" Server=“OM2.contoso.com" ></Role> <Role Name="System Center 2012 R2 Operations Manager Additional Management Server" Server=“OM3.contoso.com" ></Role> <Role Name="System Center 2012 R2 Service Manager Management Server" Server=“SM1.contoso.com" ></Role> <Role Name="System Center 2012 R2 Service Manager Datawarehouse Management Server" Server=“SM2.contoso.com" ></Role> <Role Name="System Center 2012 R2 Service Manager Additional Management Server " Server=“SM3.contoso.com" ></Role> <Role Name="System Center 2012 R2 Service Manager Additional Management Server " Server=“SM4.contoso.com" ></Role> <Role Name="System Center 2012 R2 Data Protection Manager Server" Server=“DPM1.contoso.com" ></Role> <Role Name="System Center 2012 R2 Data Protection Manager Server" Server=“DPM2.contoso.com" ></Role> <Role Name="System Center 2012 R2 Data Protection Manager Server" Server=“DPM3.contoso.com" ></Role> </Roles>