Windows Server 2012 R2 Jump Start - Intro

Preview:

Citation preview

Windows Server 2012 R2 JumpStart: What’s New in Windows Server 2012 R2 PreviewModule 5: Server Management & Automation with Windows Server 2012 R2

Rick ClausMicrosoft Sr. Technical Evangelist

Corey HynesLead Technical Architect, holSystems

Jump Start Target Agenda

Day 1

Introducing Windows Server 2012 R2

Server Virtualization in Windows Server 2012 R2

Cloud Optimized Networking in Windows Server 2012 R2

Storage in Windows Server 2012 R2

Day 2

Server Management & Automation with Windows Server 2012 R2

VDI with Windows Server 2012 R2

Access & Information Protection with Windows Server 2012 R2

Web Application & Platform with Windows Server 2012 R2

Server Management & Automation with Windows Server 2012 R2

DOWNLOAD Windows Server 2012 R2 Preview

#WS2012JS

DOWNLOAD System Center 2012 R2 Preview

Hands-On Labs

Talk with our Experts in Chat tool.

http://technet.microsoft.com/evalcenter

Windows Server 2012 R2 Preview is a great operating system for many servers and the devices that connect them—whether physical or virtual, on-premises or off-premises.

Windows Server 2012 R2 Preview is a cloud-optimized operating system that provides customers with a standards-based, simplify your routine task platform.

This platform enables efficient and productive multiserver manageability and automation capabilities.

Agenda

Introduction Standards-based management Simplify your routine tasks Deployment Multiserver management Ecosystem and extensibility

Multiserver management

Ecosystem and extensibility

Simplify your routine tasks

Standards-based management

Deployment options

Scenario summary

Standard models

Standard APIs

Standard protocols

Windows Management FrameworkSimplifies the

management of a diverse ecosystem

Standards-based management

Managing a diverse ecosystem

Methods to manage each device

Number of devices to manage

“The NxM Problem”

STANDARDS-BASED

MANAGEMENT

IT Pro Tool Developer Solution Provider

Storage Operating system DevicesDisk Managed

objects

IT Pro

Windows Management Framework

Tool Developer Solution Provider

DevicesOperating systemStorageDisk Managed

objects

Maximize the value of using the Windows Management Framework

STANDARDS-BASED

MANAGEMENT

Windows Management Framework

Standard models, protocols, and APIsMaximize the value of using the Windows Management Framework

STANDARDS-BASED

MANAGEMENT

Standard protocols: WS-Management, REST, HTTP, PSRP

Standard APIs: MI Client, Windows PowerShell, Open Data Protocol (OData)

Standard models: Common Information Model (CIM) schema, Storage Management Initiative Specification (SMI-S)

Windows Management Framework

IT Pro Tool Developer Solution Provider

DevicesOperating systemStorageDisk Managed

objects

Approach for Windows Server 2012 R2 Preview

Management OData Service

Dispatching Layer

PowerShell

GenericCIM Module

ServiceModule

CIM client

CIM client WS-ManProtocol Handler

Non-WindowsREST clients

CIM ModelDispatching File

CIM servers

STANDARDS-BASED

MANAGEMENT

• New WMI provider API (MI) with extended Windows PowerShell semantics.

• Open Management Infrastructure (OMI) for Linux and UNIX with the same MI provider API.

• Full implementation of WS-Man on Windows and Linux/UNIX.

• New MI client with integrated Windows PowerShell layer.

Open Managment Infrastructure

WS-Management

WS-Manprotocol handler

Windows PowerShell

MI client API

Microsoft .NET MI API

Native MI API

WS-Manprotocol handler

Open Management Infrastructure

WS-Manprotocol handler

Any device

Linux/UNIX

MI provider

WS-Manprotocol handler

Windows Management Infrastructure

Windows

MI provider

Classicprovider

STANDARDS-BASED

MANAGEMENT

Open source Windows Management Infrastructure server implemented by Microsoft.

Portable

Includes Windows Server Management protocol stack.Interacts with MI client and Windows PowerShell out of the box.

Small footprint

Scalable

Uses the same MI provider interface as Windows Management Infrastructure.Can share provider development tools with Windows Management Infrastructure.

One Management InfrastructureSTANDARDS-

BASED MANAGEMENT

Developing PowerShell cmdlets in native code, as CIM providers.

SMI-S service in the box for easier storage discovery.

OMI in the box for configuring network switch.

Instrumenting services and devices for Windows—through Windows Management Infrastructure (WMI) providers.

Standards-based way to access and manage storage.

Standards-based way to access and manage network switch.

Approach for Windows Server 2012 R2 Preview

Use SMI-S to manage external storage arrays:

Simplify and lower the cost of:

Use OMI to manage network switches:

STANDARDS-BASED

MANAGEMENT

Switch managementStandards based automation

PowerShell scripts for common switch management tasks.

SCVMM imports and validates port configuration from switch.

Logo Program: Server Certification for switch endors implementing CIM Schema.

Define mechanisms to auto generate PowerShell cmdlets for vendor extensions.

Easily deploy and operate network

switches in standards approach

Windows(PowerShel

l)

SCVMM

Non-Windows

WS-Man

Switch x

CIM

Switch y

CIM

Switch z

CIM

• Support multiple industry standards, schemas and protocols.

• PowerShell Cmdlets and WMI provider shipping in box to provide a common abstraction layer.

• Test scripts for validating hardware implementation.

Manage hardware in standards approach

Out-of-band hardware managementStandards based automation

Windows(PowerShell

)

PCSV

SMASH (WS-Man)

IPMI (RMCP+)

PCSV (WS-Man)

BMC x

SMASH

BMC y

IPMI

BMC z

PCSV

Simplify your routine task

Windows PowerShell

Provides greater flexibility, reducing the cost and complexity of management in a diverse datacenter ecosystem.

Ease of use

Real world scenario

Greater resiliency

More intuitive

Ease of use• Integrated Scripting Environment: IntelliSense,

Code Snippets.• PowerShell web access.

Greater resiliency• Robust session connectivity.• Job scheduling.• Windows PowerShell workflow.

Extensive coverage• Rich management through more than 3000+

cmdlets.

Real world scenario• Domain join.• System Center integration.

Key features

Windows PowerShell 4.0SIMPLIFY YOUR ROUTINE TASK

Ease of useSIMPLIFY YOUR ROUTINE TASK

• Run Windows PowerShell ISE to execute commands and write, test, and debug scripts in a single Windows-based graphic user interface with multiline editing, tab completion, syntax coloring, and selective execution.

• Context-sensitive command completion for cmdlet and script names, parameter names and enumerated values, and property and method names.

• Show-Command pane for finding and running cmdlets in a dialog box.

IntelliSense

Snippets add reusable text to scripts and commands.

Simplified Scripting

Ease of useSIMPLIFY YOUR ROUTINE TASK

• Syntax simplification: Windows PowerShell 4.0 includes simplified, consistent syntax across all cmdlets.

• Simplified scripting through Windows PowerShell ISE:

• Built-in code snippets include templates for functions, parameters, and statements.

• Users do not need to remember

the syntax.

For exampleNew modules for:

• AppBackgroundTask

• Defender

• NetEventPacketCapture

• PSDesiredStateConfiguration

• SyncShare

• WDS

• WebApplicationProxy

• WindowsSearch

• Others

Extensive coverageSIMPLIFY YOUR ROUTINE TASK

• Comprehensive management with more than 3000+ cmdlets in 100+ modules.

• Many new modules that allow the use of Windows PowerShell 4.0 to manage all aspects of the datacenter.

Windows PowerShell 4.0

Greater resiliencySIMPLIFY YOUR ROUTINE TASK

• Manage computers running Windows by using Windows PowerShell within a browser.

• Broad support for popular browsers.

• Built for tablets and mobile devices.

Windows PowerShellWeb Access

CorporateNetwork

Server 1

Server 2

Server 3

Web-based Console User

Internet

DMZ

Windows PowerShellWeb Access

Gateway

03Greater resiliency

CorporateResource

Server 1

Script

SIMPLIFY YOUR ROUTINE TASK

1. User connects via the browser through the PowerShell Web Access Gateway to run a script on Server 1.

2. User loses connection to the internet.

3. User reconnects to internet at a later point in time and reconnects to the Windows PowerShell session which is still in a connected state and still running.

Robust session connectivity

Internet

Web-based Console User DMZ

Windows PowerShellWeb Access

Gateway

03Greater resiliency

Job scheduling

Improve management automation.

Schedule jobs for executionat a later time, according to a particular schedule.

SIMPLIFY YOUR ROUTINE TASK

03Greater resiliencySIMPLIFY YOUR ROUTINE TASK

At startup At logon

Daily WeeklyOnce

Jobs execute based on triggers

Job scheduling

Improve management automation.

Schedule jobs for executionat a later time, according to a particular schedule.

03Greater resiliencySIMPLIFY YOUR ROUTINE TASK

# Create a job trigger based on the desired schedule and register the job

$trigger = New-JobTrigger -Daily -At 4am

Register-ScheduledJob -Name MyScheduledJob -ScriptBlock { Get-Process } -Trigger $trigger

Get-ScheduledJob

# Once the trigger has fired and the job has run, you can work with it the same way you do regular background jobs

Import-Module PSScheduledJob

$j = Get-Job -Name MyScheduledJob

Receive-Job $j

Jobs example

At startup At logon

Daily WeeklyOnce

Jobs execute based on triggers

Workflows survive system interruptions (reboots, network problems): suspend-job/ resume-job, persist state and metadata.

Authored using a Windows PowerShell script or the Visual Studio Workflow Designer (XAML).

A set of long-running activities (in sequence or in parallel) that perform complex management tasks, such as multi-machine application provisioning.

03Greater resiliencySIMPLIFY YOUR ROUTINE TASK

Windows PowerShell Workflow

workflow Join-Domain{    param(        [Parameter(Mandatory)]        [string]$DomainName,        [Parameter(Mandatory)]        [PSCredential]$DomainCredential        )     Get-CimInstance -ClassName win32_computersystem    Add-Computer -Credential $DomainCredential -DomainName $DomainName -LocalCredential $PSCredential    Restart-Computer -Force -Wait    Get-CimInstance -ClassName win32_computersystem} # UsageJoin-Domain -PSComputerName <list of machines> -PSCredential <local admin credential> -DomainName <domain name> -DomainCredential <credential that can join machine to domain> 

Real world scenariosJoin-Domain through Workflow

SIMPLIFY YOUR ROUTINE TASK

New Modules in Windows Server 2012 R2 Preview16 newAppBackgroundTask

Defender

DFSR

NetEventPacketCapture

NetNat

PcsvDevice

PSDesiredStateConfiguration

SoftwareInventoryLogging

StartScreen

SyncShare

TLS

WDS

WebApplicationProxy

WindowsSearch

WssCmdlets

WssSetupCmdlets

New Cmdlets in Windows Server 2012 R2 Preview652 new

223 WssCmdlets

60 ADFS

58 IpamServer

42 DFSR

36 RemoteAccess

33 WDS

26 NetEventPacketCapture

18 DhcpServer

18 Storage

14 SyncShare

14 Hyper-V

13

PSDesiredStateConfiguration

13 NetNat

13 VpnClient

10 WebApplicationProxy

10 SoftwareInventoryLogging

8 Dism

7 SmbShare

5 PcsvDevice

5 WssSetupCmdlets

4 TLS

3 StartScreen

3 NetTCPIP

3 IscsiTarget

2 WindowsSearch

2 TrustedPlatformModule

2 PrintManagement

1 SmbWitness

1 NetWNV

1 AdcsAdministration

1 Deduplication

1 NetSecurity

1 FailoverClusters

1 DnsServer

New Parameters in Windows Server 2012 R2 Preview3,603 new619 IpamServer

384 WssCmdlets

351 RemoteAccess

315 ADFS

285 WDS

190 DFSR

170 NetEventPacketCapture

166 Hyper-V

157 Storage

124 DhcpServer

117 VpnClient

99 SyncShare

82 NetNat

79 Dism

74 PcsvDevice

67 WebApplicationProxy

42 SoftwareInventoryLogging

40 NetTcpIP

39 SmbShare

37 PSDesiredStateConfiguration

19 NetWNV

19 IscsiTarget

15 DnsServer

14 WssSetupCmdlets

13 PrintManagement

12 NetSecurity

11 FailoverClusters

11 Deduplication

10 TLS

8 StartScreen

6 PSScheduledJob

5 AppX

4 WindowsSearch

3 ClusterAwareUpdating

2 PowerShellWebAccess

2 AdcsAdministration

2 BitsTransfer

2 TrustedPlatformModule

2 Microsoft.PowerShell.Management

2 SmbWitness

1 SMISConfig

1 Microsoft.PowerShell.Utility

1 NetQos

1 FileServerResourceManager

Deployment

Server Core

Minishell

Full GUI

Windows Deployment Services

Server Manager

Deployment options

Real world scenario

Desired state configuration

Deployment method

Deployment DEPLOYMENT

Server Core• The default deployment option.

• RSAT for remote GUI management.

• PowerShell support achieves critical mass with 3000+ cmdlets.

• More roles and features available.

Server with a GUI• Equivalent of full Server in

Windows Server 2008 R2.

• Provided for backwards compatibility.

Deployment options

Server with a GUI

Minimal Server Interface

Server Core

Deployment DEPLOYMENT

Classic “Full Server”• Full Metro-style GUI shell.

• Install Desktop Experience to run Metro-style apps.

Full Server without Server Graphical Shell• No Explorer, Internet Explorer or associated files.

• MMC, Server Manager, and a subset of Control Panel applets are still installed.

• Provides many of the benefits of Server Core for those applications or users that haven’t yet made the transition.

Server Core• Can move between Server Core and Full Server by simply

installing or uninstalling components.

Configuration levels

Local Shell CapabilitiesServer Core Minimal Server

InterfaceServer with a GUI Desktop Experience

Command Prompt a a a a

PowerShell/.NET a a a a

Server Manager x a a a

MMC x a a a

Control Panel x x a a

CPL Applets x Some a a

Explorer Shell x x a a

Taskbar x x a a

System Tray x x a a

Internet Explorer x x a a

Help x x a a

Themes x x x a

Start screen (Metro)

x x a a

Metro-style apps x x x a

Media Player x x x a

1. Select installation type: role or feature-based.

2. Select destination server: server pool or VHD.

3. Select server roles.

4. Select features.

5. Confirm selection and install.

Deploying with Server managerDEPLOYMENT

Server manager deployment

First bootand OOBE

Injectdrivers

Apply full OS image

Get into WinPE

Boot withPXE

Plan,manage, diagnose

Deploying with WDS DEPLOYMENT

1. Powershell cmdlet.

2. Update images.

3. Monitor status.

4. Remotely manage WDS.

Server manager deployment

Desired State Configuration DEPLOYMENT

• Components of your data center have the correct configuration.

• PowerShell language extensions and providers which enable declarative, repeatable deployment.

• Define the exact configuration of target nodes (computers or devices) and prevent “configuration drift.”

DSC

Desired State ConfigurationStaging phase• Fully declarative configuration

representation using DMTF standard MOF instances.

• Configuration is calculated for all nodes.

Configuration staging

area(Contains DSC data)

Authoring phaseMay include imperative as well as declarative code.

*** When authoring in PowerShell, on top of PSV3 imperative features, PSV4 adds:• Declarative syntax extensions.• Schema validation (early-binding).

“Make it so” phaseDeclarative configuration is reified through imperative providers.

Providers implement changes:• Monotonic.• Imperative.• Repeatable.

Agent of consistency

Imperative providers

Local DSC cache

DEPLOYMENT

3rd party languages and tools

PS V1, V2, V3

PS V4***

Easily and quickly see which servers have issues.

• Works over multiple servers.

• Start and stop services.• Add roles.

Create custom groups based on your needs.

Dashboard with overall view of server environment.

Fix issues from Server Manager, no need to open other tools.

Server Manager dashboard customizable.

Managing multiple service

Actionable

Glance-able

Relevant

Server Manager

• Overall view.• Quickly see issues.• Lists Physical and

Virtual Machines.

Glance-able dashboard

MULTI SERVER

MANAGEMENT

Server Manager

• Contextual menu of Server Management functions.

• Fix issues from within Server Manager.

• Ability to stop and start services on one or multiple machines.

• Add roles remotely.

• Add roles to offline VHDs.

Actionable functions

MULTI SERVER

MANAGEMENT

• Provides access to all the relevant functions and roles on server with one click, in one tool.

• Applicable on menus at all levels within Server Manager.

Relevant functions

MULTI SERVER

MANAGEMENT

Server Manager

Server Manager

• Manage servers individually or as a group.

• Selecting server role lists all servers with that role.

Server roles

MULTI SERVER

MANAGEMENT

Server Manager

• Group servers based on role, location, or other criteria.

• Easy to monitor and manage groups of servers.

• Servers can be in added to multiple groups.

Server groups

MULTI SERVER

MANAGEMENT

Server Manager

• BPA—Best Practice Analyzer.

• Filters available:

• Severity• Category• Server

Host groups

MULTI SERVER

MANAGEMENT

Server Manager

When single server selected displays only events, services, and BPA entries relevant to that server.

Single server

MULTI SERVER

MANAGEMENT

Standardized automation across the datacenter.

Extension of the development and operations story.

Ecosystem and extensibility

Provides a standard set of tools to deploy and administer servers across the datacenter.Interoperates with environments that are not based on Windows.

Enables developers and operations to use the same interfaces.

There is no management interoperability without a standard interface and protocol.

Lack of standards results in proprietary agents, protocols, and clients.• Complicates deployment and

maintenance.• Consumes additional resources.• Increases the security exposure.

Automation across the datacenterECOSYSTEM

AND EXTENSIBILITY

Multiple industry standards makes admins hard to manage and automate.

Managing heterogeneous environment

Compute

Operating system

Application

Network

Storage

• Application management: .NET, Java, 3rd party management tool.

• Operating System management: WMI, vendor-specific management tool.

• Compute management: DCMI/IPMI, SMASH/CIM, vendor-specific management tool.

• Network management: SNMP, vendor-specific management tool.

• Storage management: SMI-S, vendor-specific management tool.

ECOSYSTEM AND

EXTENSIBILITY

Eco system in Standards based

Windows

Others WS

-MA

N

WS-Man for standard communication and management with Common Information Model.

Compute

Operating system

Application

Network

Storage

ECOSYSTEM AND

EXTENSIBILITY

IT Pros• Windows PowerShell:

Manage Windows and Linux/UNIX.

• OData: manage Windows from Linux/UNIX.

Developers Simplified management interface definition and implementation for managed services and devices.

Benefits for two communitiesECOSYSTEM

AND EXTENSIBILITY

Developers of managed services and devices

IT Pros

Combine

Reducing time, cost, and risk

RunBuild

$

Time

Standard operating procedures

ECOSYSTEM AND

EXTENSIBILITY

Combine

Reducing time, cost, and risk

RunBuild

$

Time

Standard operating procedures

ECOSYSTEM AND

EXTENSIBILITY

Desired State Configuration:• Declarative, repeatable

deployment.

• Defining exact configuration of target nodes.

Declarative syntax extensions.

Schema validation.

16 new modules.652 new cmdlets.3603 new parameters.

IPAM with virtual network management.

Web application proxy.

File and storage services: • Work folders.

Essentials experience.

Open Management Infrastructure:• Network Switch

management.

• Physical Server management.

Broader WS-Man adoption:• WMI.

What’s new in Server Management and Automation

Standards-based PowerShell 4.0 Server Manager

DOWNLOAD Windows Server 2012 R2 Preview

aka.ms/ws2012r2

#WS2012R2JS

DOWNLOAD System Center

2012 R2 Preview

aka.ms/sc2012r2Hands-On Labs

Talk with our Experts in Chat tool.

http://www.microsoftvirtualacademy.com

System Center 2012 R2 Jumpstart July 15th - http://aka.ms/SCR2JS

Recommended