Upload
hilda-bishop
View
215
Download
0
Tags:
Embed Size (px)
Citation preview
Windows Server 2012Cloud optimize your IT
Markus Erlacher & Walter PitrofTechnical Solution ProfessionalMicrosoft Switzerland
Windows Server 2012: Cloud optimize your IT
2
Beyond virtualizationScale and secure workloads, cost-effectively build a private cloud, and securely connect to cloud services
Every app, any cloudBuild on an open and scalable web platform that supports applications across premises
Modern workstyle, enabled
Support a mobile and flexible work style
The power of many servers, the simplicity of one
Efficiently manage infrastructure while maximizing uptime and minimizing failures and downtime
❝
❝
Windows Server 2012: Takes your breath away… Features will be a boon for enterprises creating private clouds.
— Jonathan Hassel, Computerworld
❝
❝
Windows Server 2012 – can you say cloud?
— Richard Fichera, Vice President, Forrester
Research, ZDNet
500,000+pre-release downloads
❝
❝
Nothing from Microsoft, and I mean literally nothing, has ever been this ambitious.
— Jason Perlow, ZDNet
200+ early deployment program customers
❝
❝
A dynamite product.
Al Gillen, Vice President, International Data
Corporation (IDC), IDG News Service
Windows Server 2012
Excitement
Manageability and Automation Overview
Title
Windows PowerShell 3.0 provides more features to allow more activities to be automated across the server ecosystem
Windows Management Framework provides a common platform for building automation and integration incorporating PowerShell, WS-Management and WMI
STANDARDS-BASED MANAGEMENT
Just the facts
5
MULTISERVER MANAGEMENT
ECOSYSTEM AND EXTENSIBILITY
Server Manager enables a multiserver management experience that builds on the standardized approach to management and robust automation capabilities
Standardized interfaces and tools extend the interoperability with DevOps
Cross platform capabilities enable automation across the datacenter
ROBUST AUTOMATION
Simplifies the management of a diverse ecosystem
Standard models
Standard APIs
Standard protocols
Windows Management Framework
Standards-based management
6
Managing a diverse ecosystemSTANDARDS-
BASED MANAGEMENT
IT Pro Tool Developer Solution Provider
Storage Operating system DevicesDisk Managed
objects
Methods to manage each device
Number of devices to manage
7
“The NxM Problem”
Windows Management Framework
Windows Management Framework
IT Pro Tool Developer Solution Provider
Storage Operating system DevicesDisk Managed
objects
Maximize the value of using the Windows Management Framework
STANDARDS-BASED
MANAGEMENT
8
Standard models, protocols, and APIs
Maximize the value of using the Windows Management Framework
STANDARDS-BASED
MANAGEMENT
Storage Operating System DevicesDisk Managed
objects
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 Solution ProviderTool Developer
9
Approach for Windows Server 2012STANDARDS-
BASED MANAGEMENT
10
Made WS-Management the default protocol for management
Adopt the latest Common Information Model:
Allows Windows clients to manage Linux/UNIX and standards-compliant devices and services
Allows Linux/UNIX devices to manage Windows
Approach for Windows Server 2012STANDARDS-
BASED MANAGEMENT
11
Simplify and lower the cost of:
Developing PowerShell cmdlets in native code, as CIM providers
Instrumenting services and devices for Windows—through Windows Management Infrastructure (WMI) providers
Use SMI-S to manage external storage arrays:
Standards-based way to access and manage storage
SMI-S service in the box for easier storage discovery
Client:• Windows 7
Server:• Windows Server 2012• Windows Server 2008 R2 • Windows Server 2008
Approach for Windows Server 2012STANDARDS-
BASED MANAGEMENT
12
Provide Windows Management Framework 3.0 on:
Robust automation
13
Windows PowerShell 3.0
Provides greater flexibility, reducing the cost and complexity of management in a diverse datacenter ecosystem
More intuitive
Broader coverage
Higher performance
Greater resiliency
Key features
Broader coverage• Rich management through more than
2300 cmdlets• Windows PowerShell Web Access
Greater resiliency• Robust session connectivity• Disconnected sessions• Session configuration files• Job scheduling• Windows PowerShell
Workflow
More intuitive• Integrated Scripting Environment
3.0: IntelliSense | Code Snippets• Syntax simplification• Cmdlet discovery and module
autoloading• Updatable help• Script-sharing
Higher performance• On-the-fly compilation— scripts run up
to six times faster• Performance improvements
Windows PowerShell 3.0
14
ROBUST AUTOMATION
• Comprehensive management with more than 2300 cmdlets in 85 modules
• Many new modules that allow the use of Windows PowerShell 3.0 to manage all aspects of the datacenter
Windows PowerShell 3.0
Broader coverage
15
ROBUST AUTOMATION
For exampleNew modules for:
• Networking cmdlets
• Storage cmdlets
• Hyper-V cmdlets
• Remote Desktop cmdlets
• Others
Windows PowerShell 3.0 Features• Windows PowerShell Workflow• .NET Framework 4 support• Add-Member improvements• Computer cmdlets• CSV handling improvements• Get-ChildItem attributes• Get-Command improvements• Default parameter values• Better history support• Security cmdlet fixes• Select-Object optimizations• Select-String improvements• Tee-Object -Append• Disconnected sessions• Idle timeout & server buffering control• Invoke-Command in disconnected
sessions• Disconnected jobs• STA mode by default• Run with PowerShell context menu• Module autoloading• Console host start perf improvements• ETW logging and tracing• Core CIM cmdlets• New Group Policy settings• Output redirection for all streams• Array member enumeration• Word wrap in console host• Default properties on custom objects
• Updatable help system• Method overload discovery• HelpUri attribute support• HelpFile property on FunctionInfo• Simplified Where and ForEach• Remoting local variables via $using• Dynamic types & formats• Get-Content -Tail• Generic method invocation• Typecasting deserialized objects• New parser built on DLR• Improved method overload
selection• New objects from hash tables• Typecasting for parameter values• Pipeline paging APIs• Nested pipeline APIs• $PSScriptRoot and
$PSCommandPath• Ordered hash tables• Improved module discovery &
import• New module manifest keys• Public abstract syntax tree• Runspace pool cleanup API• Public tab completion• Windows RT API support• Obsolete cmdlet attribute• Command discovery improvements• Script autosave support• Out-GridView -PassThru
• CIM cmdlet authoring from WMI v2• CIM .NET APIs• Job scheduling• Runtime script compilation• Engine reliability improvements• Better Get-ChildItem network
performance• Cmdlet definition files• Certificate provider improvements• Alternate NTFS data stream support• Move-Item across drives• Remote module discovery & import• Credentials for FileSystem provider• Remote session autodisconnect &
retry• Transport options for remote sessions• Module logging• Workflow persistence• Job integration with Task Scheduler• Alternate credential support for jobs• Update console font & branding• Verb & noun on FunctionInfo• Special character handling• LiteralPath support for core cmdlets• DLR-based tab completion• Session configuration files• IntelliSense support• Windows Management Framework
3.0• Windows PE integration• Windows RT support
• Windows PowerShell Web Access
• Management OData IIS Extension
• XAML-based workflows• Script-based workflows• Control Panel cmdlets• Unblock-File cmdlet• Workflow help• Cmdlet to activity conversion• RunAs and SharedHost support• Improved WMI object
formatting• Heterogeneous object
formatting• Workflow logging• Workflow extensibility• Common workflow parameters• Workflow execution
environment• Snippets• ISE Add-ons• $PSItem alias for $_• Show-Command• Get-Help -ShowWindow• Restart Manager support• Web & REST cmdlets• JSON cmdlets• XML syntax highlighting• Block select• Collapsible regions• Contextual F1 support• Script Explorer
16
17
ROBUST AUTOMATION
Windows PowerShellWeb Access
• New to Windows Server 2012
• Manage computers running Windows by using Windows PowerShell within a browser
Broader coverage
Browser
Internet
Windows PowerShellWeb Access
Corporate network
Built for tablets and mobile devices aswell as PCs
Broad support for popular browsers
Key features
Windows PowerShell 3.0
18
ROBUST AUTOMATION
Broader coverage• Rich management through more than
2300 cmdlets• Windows PowerShell Web Access
Greater resiliency• Robust session connectivity• Disconnected sessions• Session configuration files• Job scheduling• Windows PowerShell
Workflow
More intuitive• Integrated Scripting Environment
3.0: IntelliSense | Code Snippets• Syntax simplification • Cmdlet discovery and module
autoloading• Updatable help• Script-sharing
Higher performance• On-the-fly compilation— scripts run up
to six times faster• Performance Improvements
• 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
More intuitive
19
ROBUST AUTOMATION
• Syntax simplification: Windows PowerShell 3.0 includes simplified, consistent syntax across all cmdlets
• Simplified scripting through Windows PowerShell ISE 3.0:
• Built-in code snippets include templates for functions, parameters, and statements
• Users do not need to remember the syntax
Simplified Scripting
More intuitive
20
ROBUST AUTOMATION
Snippets add reusable text to scripts and commands
• Simplified learning
• Get-Command has been updated to find all cmdlets installed on the system
• Cmdlets can be used immediately because modules are imported automatically on first use
Cmdlet discovery
More intuitive
21
ROBUST AUTOMATION
For exampleTo find cmdlets, run Get-Command:
Get-Command *-Net*
To get the syntax of a cmdlet, run:
Get-Command <Command Name> -Syntax
Update-HelpInstall the latest Windows PowerShell Help files on the local computer.
03More intuitive
ROBUST AUTOMATION
22
Save-HelpDownload the latest Windows PowerShell Help files into a network share.
Updatable help
• Microsoft Script Explorer for Windows PowerShell – available on Download Center
• Provides access to community-generated Windows PowerShell scripts
Script Sharing
More intuitive
23
ROBUST AUTOMATION
Key features
Windows PowerShell 3.0
24
ROBUST AUTOMATION
Broader coverage• Rich management through more than
2300 cmdlets• Windows PowerShell Web Access
Greater resiliency• Robust session connectivity• Disconnected sessions• Session configuration files• Job scheduling• Windows PowerShell
Workflow
More intuitive• Integrated Scripting Environment
3.0: IntelliSense | Code Snippets• Syntax simplification• Cmdlet discovery and module
autoloading• Updatable help• Script-sharing
Higher performance• On-the-fly compilation— scripts run up
to six times faster• Performance Improvements
Robust session connectivity
Remote sessions remain in a connected state during transient network glitches or failures
03Greater resiliency
ROBUST AUTOMATION
25
Disconnected sessions
Commands and jobs continue to run even if the session is disconnected
03Greater resiliency
ROBUST AUTOMATION
26
Greater resiliency
27
Disconnects a session connection from a remote computer
Reestablishes a session connection with a remote computer
Resumes execution of a command on a remote session and retrieves the session output
Implicitly reconnects to the session (without Connect-PSSession command)
ROBUST AUTOMATION
# Start a remote session, disconnect, and close Windows PowerShell
PS C:\> $s = New-PSSession -ComputerName srv1 -Name LongSession
PS C:\> $job = Invoke-Command $s { 1..10| % {echo "Long running job - part $_"; sleep 5} } -AsJob
PS C:\> Disconnect-PSSession $s
exit
# Start Windows PowerShell on a different computer
PS C:\> $s = Get-PSSession -ComputerName srv1 -Name LongSession
PS C:\> $job = Receive-PSSession $s -OutTarget Job
PS C:\> Receive-Job $job
Disconnect-PSSession
Connect-PSSession
Receive-PSSession
Session configuration
files
03Greater resiliency
ROBUST AUTOMATION
28
Simplified process for defining anew session configuration
Administrator uses
name-value pairs in a Windows PowerShell data file to specify the configuration in a declarative manner
Easier to understand how a session configuration is defined by inspecting the file
For most settings, it is
simpler than writing a Windows PowerShell script
Job scheduling Improve management automation
03Greater resiliency
ROBUST AUTOMATION
29
Schedule jobs for executionat a later time
according to a particular schedule
New cmdletsin the
PSScheduledJob module
03Greater resiliency
ROBUST AUTOMATION
Job Schedule OptionsGet-ScheduledJobOption
New-ScheduledJobOption
Set-ScheduledJobOption
Scheduled JobDefinitionsDisable-ScheduledJob
Enable-ScheduledJob
Get-ScheduledJob
Register-ScheduledJob
Set-ScheduledJob
Unregister-ScheduledJob
JobTriggersAdd-JobTrigger
Disable-JobTrigger
Enable-JobTrigger
Get-JobTrigger
New-JobTrigger
Remove-JobTrigger
Set-JobTrigger
30
Jobs execute based on
triggers
Once Daily Weekly
At startup At logon
03Greater resiliency
ROBUST AUTOMATION
31
03
# 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
Greater resiliencyROBUST
AUTOMATION
32
Jobs example
Windows PowerShell
Workflow
03Greater resiliency
ROBUST AUTOMATION
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 33
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>
Greater resiliencyROBUST
AUTOMATION
34
Workflow example
Key features
Windows PowerShell 3.0
35
ROBUST AUTOMATION
Broader coverage• Rich management through more than
2300 cmdlets• Windows PowerShell Web Access
Greater resiliency• Robust session connectivity• Disconnected sessions• Session configuration files• Job scheduling• Windows PowerShell
Workflow
More intuitive• Integrated Scripting Environment
3.0: IntelliSense | Code Snippets• Syntax simplification• Cmdlet discovery and module
autoloading• Updatable help• Script-sharing
Higher performance• On-the-fly compilation—up to six times
faster• Performance Improvements
Simplifies administration of multiple servers, even in multiple sites
Offers path toward full automation
Makes cmdlets easier to learn and scripts easier to write
Enables greater productivity
Robust Automation SummaryROBUST
AUTOMATION
36
Benefits
Server Manager
Multiserver management
37
Deploys roles and features to remote servers and offline virtual hard disks
Simplifies the processes of configuring new servers
Improves the efficiency of administrators managing multiserver environments
Use an integrated console to respond to issues with more speed and agility
Uses a role-centric dashboard to provide a clear understanding of the state of servers, at a glance
Server Manager
38
MULTISERVER MANAGEMENT
Remote deployment of roles and features• Add Roles and
Features wizard to deploy to a single server
• Save deployment settings to configuration file for reuse
• Deploy to many machines using Windows PowerShell
Server Manager
39
MULTISERVER MANAGEMENT
Server Manager
Roles or features
Offline virtual hard disk
Simplified provisioning of new virtual server images• New ability to
deploy roles and features directly to offline virtual hard disks
Server Manager
40
MULTISERVER MANAGEMENT
Server Manager Initial configuration tasks
Server Manager
Windows Server 2008 Windows Server 2012
Streamlined server configuration and deployment• Configuration
functionality previously provided by the initial configuration tasks window
• Single surface for managing the configuration of Windows Server and its roles and features
Server Manager
41
MULTISERVER MANAGEMENT
Multiserver experience• Manage groups of
servers collectively from within a single, integrated console
• Respond to business-critical problems with greater speed and agility
• Generate status views for multiple servers after polling servers for operational statistics
Windows Server 2008 R2• Connect to server
roles (such as File Services, Hyper-V, and Remote Desktop Services) on a per-server basis.
Server Manager: ThenMULTISERVER
MANAGEMENT
42
FILE SERVICES
HYPER-V
STORAGE
Windows Server 2012• Manage a server
role as it spans across servers, or look at a server and the server roles on that server. Both options are important.
Server Manager: Now
43
Windows Server 2012
MULTISERVER MANAGEMENT
Role 1
Server 1 Server 3
Server 2
Server 1
Role 1 Role 3
Role 2
Server 1 Server 2 Server 3
Role 1
Role 2
Role 3
Standardized automation acrossthe datacenter
Extension of the developmentand operations story
Ecosystem and extensibility
44
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
Automation across the datacenter
45
ECOSYSTEM AND
EXTENSIBILITY
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
Open Managment Infrastructure
46
WS-Manprotocol handler
Windows Management Infrastructure
WS-Manprotocol handler
Windows PowerShell
MI client API
WS-Manprotocol handler
Open management infrastructure
WS-Manprotocol handler
Any device
Windows Linux/UNIX
ECOSYSTEM AND
EXTENSIBILITY
• 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
WS-Management
Microsoft .NET MI API
Native MI API
MI provider
MI provider
Classicprovider
One management infrastructure
47
ECOSYSTEM AND
EXTENSIBILITY
Open source Windows Management Infrastructure server implemented by Microsoft
Portable
Includes Windows Server Management protocol stackInteracts with MI client and Windows PowerShell out of the box
Small footprint
Scalable
Uses the same MI provider interface as Windows Management InfrastructureCan share provider development tools with Windows Management Infrastructure
Open Management Infrastructure vs. OpenPegasus
48
ECOSYSTEM AND
EXTENSIBILITY
OpenPegasus
Open Management Infrastructure Factor
Requests per second(binary protocol) 260 20,000 76x
Image object size 8,000 KB 150 KB 53x
Trivial provider size 30 KB 3 KB 10x
Virtual memory size 54 MB 1.5 MB 36x
Resident set size 8,500 KB 500 KB 17x
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 communities
49
IT Pros
Developers of managed services and devices
ECOSYSTEM AND
EXTENSIBILITY
Combine
50
Run
Reducing time, cost, and risk
50
ECOSYSTEM AND
EXTENSIBILITY
Build
$
Time
Standard operating procedures
Combine
51
RunBuild
Reducing time, cost, and risk
51
ECOSYSTEM AND
EXTENSIBILITY
$
Time
Standard operating procedures
DEMO
52
STANDARDS-BASED MANAGEMENT ROBUST AUTOMATION MULTISERVER MANAGEMENT ECOSYSTEM AND EXTENSIBILITY
Top features to answer challenges
53
Windows Management Framework• Standard APIs• Standard protocols• Standard models
Windows PowerShell 3.0• 2,300 cmdlets• Integrated Scripting
Environment 3.0• IntelliSense• Snippets• Cmdlet discovery• Updatable help• Script-sharing• Robust session connectivity• Disconnected sessions• Session configuration files• Job scheduling• Windows PowerShell Web
Access• Windows PowerShell
Workflow
Server Manager• Remote deployment of
roles and features• Simplified provisioning of
new virtual server images• Streamlined server
configuration and deployment• Multiserver experience
Automation across the enterprise
Extension of the DevOps story• Standard set of tools for
deployment and administration • Interoperability with
Linux/UNIX-based environments• Same interfaces for
development and operations
© 2012 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.