12/7/2018 6:48 PM SAC-565T Windows Networking with PowerShell: A Foundation for Datacenter Management Ross Ortega & Christopher Palmer Program Managers.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Building Scalable Web Apps with Windows Azure Name Title Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
The System Center Family Microsoft. Mobile Device Manager 2008.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
demo Receive Inventory Export Parse and Normalize.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
LegendCorp What is System Center Virtual Machine Manager (SCVMM)? SCVMM at a glance Features and Benefits Components / Topology /
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

Wireless Communication and Networks
Возможности Excel 2010, о которых следует знать
Understanding Wi-Fi Direct in Windows 8
Windows PowerShell Remoting: Definitely NOT Just for Servers
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Title of Presentation 11/22/2018 3:34 PM
Microsoft Virtual Academy
Microsoft Virtual Academy
Bill Laing Corporate Vice President Server & Cloud Division
SPC2012 – IT-Pro 11/30/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Title of Presentation 12/2/2018 3:48 PM
Getting started with Windows Azure
Advanced IntelliTrace in production with Visual Studio 11
System Center Application Management
TechReady 16 1/12/2019 MDC-B351 How to Design and Configure Networking in Microsoft System Center Part 2 of 2 Greg Cusanza Senior Program Manager, Microsoft.
Building continuously available systems with Hyper-V
Windows Server 2008 Iain McDonald Director of Program Management
Create experiences that span devices
Enabling the hybrid cloud with remote access appliances
MDC-B203 Deploying Applications in Microsoft System Center Virtual Machine Manager Using Services John Messec Program Manager Microsoft.
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows Server 2012 Cloud optimize your IT
4/27/17, Bell #8 What amount of net pay has been earned this period?
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Service Template Creation from the Ground Up
Feature: Multi-user Editing Allowed in RMA Entry
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Title of Presentation 5/12/ :53 PM
Service Template Creation from the Ground Up
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
Day 2, Session 2 Connecting System Center to the Public Cloud
Microsoft Virtual Academy
Title of Presentation 7/24/2019 8:53 PM
Managing Windows Server 2008
DirectAccess with Unified Access Gateway (UAG)
PowerShell for ConfigMgr 2012 SP1
Presentation transcript:

12/7/2018 6:48 PM SAC-565T Windows Networking with PowerShell: A Foundation for Datacenter Management Ross Ortega & Christopher Palmer Program Managers Windows Networking Core Microsoft Corporation © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

Windows Server 8 is Cloud Optimized Enable Multi Tenant Clouds Network Virtualization. Dynamic VM Placement. Secure Isolation. … High Scale & Low Cost Datacenters Leverage Hardware. High Availability. SMB2. Low Cost Storage. … Manageable & Extensible WMIv2. PowerShell. Extensible Switch. …

Agenda Windows Server 8 Networking PowerShell basics Objects Developer Platforms Putting it all together: Create a corporate network You’ll leave with examples of how to Manage and optimize your Server and NIC products Develop on Windows Networking PowerShell and WMI

Why We’re Here Datacenters require greater efficiency and larger scale You need to develop solutions to manage server network configurations across the entire datacenter You want an extensible and standards-based management framework that works remotely and at scale

Take advantage of Windows Server 8 Networking PowerShell to build cloud management solutions

An example management experience for Networking 12/7/2018 6:48 PM demo An example management experience for Networking © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

Windows 8 PowerShell Manageability Networking File Services Windows 8 PowerShell Manageability Hyper-V

World of Networking Enterprise Networking NetAdapter TCP/IP DNS DHCP Server BranchCache DirectAccess NetAdapter NIC Teaming QoS Offloads TCP/IP IP Addresses Routes and Neighbors TCP Settings Windows Firewall Firewall Rules IPsec Rules Virtualization Hyper-V Network Virtualization Hyper-V Extensible Switch

Networking PowerShell Basics

Get-NetAdapter PowerShell CMDlets Verb Noun Organized by verbs and nouns separated by a dash Verb Noun Get-NetAdapter

Nouns In Windows Server 8 introduces over 50 PowerShell nouns for Networking, including: NetAdapter DNSclient NetIPInterface NetIPAddress NetLbfo NetQos NetTeredoConfiguration NetVirtualization NetFirewallRule VMSwitch VMSwitchExtension

Discoverability To find Networking CMDlets run Get-Command *-Net* To get the syntax of a CMDlet use Get-Help Get-Help *-Net* Get-Help Get-NetAdapterBinding Show-Command New-NetFirewallRule

Remote Management Easy access to remote machine objects Windows Remote Management is on by default Run CMDlet with –CimSession parameter Requires secure administrator credentials Example: Get network adapters on remote machines named SQL1 and SQL2 Get-NetAdapter –CimSession SQL1, SQL2

Naming and Wildcards Multiple ways to get at specific network adapters Get-NetAdapter “Wired Ethernet Connection 2” Get-NetAdapter W*2 Get-NetAdapter –InterfaceDescription Fabrikam* Note: InterfaceDescription typically has the format <NIC Manufacturer Name> <Model Number> <Speed>

Extensibility Standardized mechanism to add new advanced properties New-NetAdapterAdvancedProperty –InterfaceDescription Fabrikam10GbENic –RegistryKeyword UltraLowLatencyMode –RegistryValue 2 –RegistryDataType “REG_SZ” –CimSession SQL1

Optimization Opportunities: NIC Vendors Take advantage of InterfaceDescription to provide customized scripts that fine-tune configurations for specific NICs and scenarios Use NetAdapterAdvancedProperty for non-standardized keywords so Windows manages registry and simplifies user experience Make sure your products are manageable with NetAdapter and NetAdapterXXX family of cmdlets

Optimization Opportunities: OEMs Fine tune your server SKUs by configuring NIC settings For example: Rename-NetAdapter NIC1 Numa1NIC Set-NetAdapterRss Numa1NIC –NumaNode 1 Rename-NetAdapter NIC2 Numa2NIC Set-NetAdapterRSS Numa2NIC –NumaNode 2

Increase customer satisfaction and simplify development by using PowerShell for network adapter management

Objects

Integrated Object Model Network Adapter TCP/IP Firewall PowerShell Pipelining enables integrated network stack management

Value of Objects #Simple to save and restore state (remotely) $Backup= Get-NetAdapterBinding –cimsession RemoteMachine Export-CLIXML -InputObject $Backup -Path “BackUp Config.xml” Import-CLIXML “Backup Config.xml” © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

Developer Platforms

Windows Networking Manageability Based on WMIv2 and DMTF Standards PowerShell Session CMDletization WMIv2 Client Windows Management Instrumentation WMIv2 Server WS-MAN

Windows Networking Manageability Based on WMIv2 and DMTF Standards PowerShell Session WMIv2 Client WMIv2 Server CMDletization WS-MAN Get-NetAdapter is run in PowerShell CMDlet generates WMI query WMIv2 server returns network adapter objects

Leveraging Network Manageability in Windows PowerShell Window WMIv2 Client WMIv2 Server CMDletization WS-MAN 1 2 3 Three major entry points that can be used by developers

Entry Point 1 - PowerShell .NET PowerShell API Rapid development using .NET APIs for PowerShell PowerShell Window WMIv2 Client WMIv2 Server CMDletization WS-MAN Script Directly PowerShell itself provides a powerful framework for programming.

PowerShell via .NET //Get-NetAdapter –CimSession remotemachine1,remotemachine2 PowerShell ps = PowerShell.Create().AddCommand(“Get-NetAdapter"); string[] cimsession_parameters= {“remotemachine1”,”remotemachine2”}; ps.AddParameter("cimsession", cimsession_parameters); IAsyncResult async = ps.BeginInvoke(); foreach (PSObject adapter in ps.EndInvoke(async)) { Console.WriteLine(result.Members[“IfAlias"].Value); } © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

Entry Point 2 – New APIs for WMI .NET APIs PowerShell Window WMIv2 Client WMIv2 Server CMDletization WS-MAN Native APIs

Entry Point 3 – WS-MAN 3rd party WMI clients available for multiple platforms 3rd Party WMI Clients PowerShell Window WMIv2 Client WMIv2 Server CMDletization WS-MAN

There are multiple entry points and frameworks for different scenarios and varied platforms for Networking Manageability

Possibilities of Windows Networking PowerShell 12/7/2018 6:48 PM demo Possibilities of Windows Networking PowerShell © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

Optimizing for the Datacenter We’re going to quickly show Renaming network adapters Configuring NUMA nodes Marking IP addresses skip as source Creating a Firewall rule

Creating a Virtual World Internet Intranet Domain Controller DNS Server Internet Web Server (IIS) Intranet Web Server (IIS) Router Corporate Gateway Client

Recap Datacenters are trending towards lights-out management which requires remote management at scale Windows Server 8 Networking provides scalable and simple remote management via PowerShell and WMIv2 Multiple developer frameworks provide many platform choices to access PowerShell and WMIv2 functionality

Call To Action IHVs OEMs Management Tools Manage proprietary NIC advanced properties with NetAdapterAdvancedProperty cmdlets Make sure NetAdapter and NetAdapterXXX cmdlets work on your products OEMs Optimize networking settings for specific scenarios and SKUs Management Tools Build upon Windows Networking PowerShell

Related sessions [433] Network Acceleration and other NIC Technologies for the Datacenter [644] Making your product manageable [646] Manage a Highly Efficient Environment at Scale using Windows Management Framework (WMF)

Further reading and documentation Link to MSDN System.Management.Automation http://msdn.microsoft.com/en-us/library/system.management.automation(VS.85).aspx System.Management http://msdn.microsoft.com/en-us/library/system.management.aspx Contact info – netman@microsoft.com

12/7/2018 6:48 PM © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.