30
Advanced Technology Days 18. i 19. studenog 2015., Cinestar Arena Centar

Nano Server (ATD 11)

Embed Size (px)

Citation preview

Page 1: Nano Server (ATD 11)

Advanced

Technology Days18. i 19. studenog 2015., Cinestar Arena Centar

Page 2: Nano Server (ATD 11)

Nano Server:Sve što trebate znati!

Tomica Kaniški, Vipnet

[email protected]

Page 3: Nano Server (ATD 11)

I want just the components

I needand nothing more.

Page 4: Nano Server (ATD 11)

Complaints…

• „server restarts disrupting my business!”

‐ why should I restart my servers after patching a component I don’t even use?

‐ restarts should not take long!

• „server images are too big!”

‐ (too) long installations and configurations

‐ transfers take considerable amount of time (and bandwidth)!

‐ too much space wasted… in general!

well, there is dedup, but…

• „resource consumption is too high!”

‐ less resources for the OS = more VMs, more important stuff!

‐ more VMs per host = lower costs, higher efficiency!

Page 5: Nano Server (ATD 11)

Windows Server until now…

Do we really need GUI on servers?

Page 6: Nano Server (ATD 11)

… and then there was CLOUD!

• Azure

‐ patches and restarts disrupting services

‐ high number of servers * high load (OS side) => TROUBLES!

‐ provisioning of large host images (bandwidth impact)

• Cloud Platform System (CPS)

‐ Cloud-in-box (1-4 racks with System Center & Windows Server)

‐ need to decrease setup and configuration times

‐ patches and restarts disrupting services

‐ network bandwidth usage needs to be lowered

‐ restarts – compute host ~2 minutes, storage host ~5 minutes

Page 7: Nano Server (ATD 11)

Windows Server… from now on

• totally new, (only) 64-bit installation option

• „like Core but optimized for the cloud”

• built with focus on:

‐ CloudOS infrastructure

‐ cloud applications

Page 8: Nano Server (ATD 11)

Nano Server roles & features

• zero-footprint model

‐ server roles and features are outside of the Nano Server installation

‐ standalone packages install as applications

• main roles and features

‐ Hyper-V, Storage (SoFS) i Clustering

‐ Core CLR, ASP.NET 5, Defender

• full support for Windows Server drivers

• System Center i Apps Insight agents – TBR

Page 9: Nano Server (ATD 11)

Getting started…

• Nano Server is an installation option

• like Server Core (but better )

• cannot be selected during Setup

• must be customized with drivers

• located on the Windows Server installationmedia

Page 10: Nano Server (ATD 11)

Nano Server – availability

• available everywhere

‐ host OS for physical

‐ guest OS in virtual machine

‐ container

• future?

‐ PowerShell Desired State Configuration (DSC)

‐ PackageManagement (OneGet)

‐ additional roles and applications support

Page 11: Nano Server (ATD 11)

Deploying Nano Server (1)

• roles and features:

Role / FeaturePhysical /

GuestDescription

Compute Physical Hyper-V role

Storage Both Storage role

Clustering Both Failover Clustering role

Reverse

ForwardersBoth Helps in testing legacy tools on Nano Server

Defender Both Anti-malware Defender package

OEM drivers Physical Select drivers that ship in-box with Server Core

Guest drivers Guest Drivers needed to host Nano Server in a VM

Page 12: Nano Server (ATD 11)

Deploying Nano Server (2)

• physical server (example):

Generate a VHD from NanoServer.wim, specify computer name and admin password,

and add the Hyper-V (Compute), Failover Clustering, and OEM drivers packages:New-NanoServerImage –MediaPath D:\ –BasePath C:\NanoServer –TargetPathC:\NanoServerVM –Compute –OEMDrivers –Clustering –ComputerName NanoServer

–AdministratorPassword (“P@ssw0rd” | ConvertTo-SecureString –AsPlainText -Force)

Mount the ISO (mounted as D:), run the following:md C:\NanoServer

copy D:\NanoServer\*.ps1 C:\NanoServer

Copy the scripts from the mounted image and dot-source them:

cd C:\NanoServer

. .\Convert-WindowsImage.ps1

. .\New-NanoServerImage.ps1

Page 13: Nano Server (ATD 11)

Deploying Nano Server (3)

• virtual machine (example):

Generate a VHD from NanoServer.wim, specify computer name and admin password,

and add the Reverse Forwarders and guest drivers packagesNew-NanoServerImage –MediaPath D:\ –BasePath C:\NanoServer –TargetPathC:\NanoServerVM –GuestDrivers –ReverseForwarders –ComputerName NanoServerVM

–AdministratorPassword (“P@ssw0rd” | ConvertTo-SecureString –AsPlainText-Force)

Mount the ISO (mounted as D:), run the following:md C:\NanoServer

copy D:\NanoServer\*.ps1 C:\NanoServer

Copy the scripts from the mounted image and dot-source them:

cd C:\NanoServer

. .\Convert-WindowsImage.ps1

. .\New-NanoServerImage.ps1

Page 14: Nano Server (ATD 11)

Drivers, roles and features… (1)

• driver installation

‐ only what’s needed

Dism /Add-Driver /Driver:<path> /recurse

‐ out-of-the-box driver package (additional installation)

Dism /Add-Package /PackagePath:.\packages\Microsoft-NanoServer-OEM-Drivers-Package.cab

‐ VM (guest) package for Nano Server

Dism /Add-Package /PackagePath:.\packagesMicrosoft-NanoServer-Guest-Package.cab

• customizations

‐ unattend.xml

Page 15: Nano Server (ATD 11)

Drivers, roles and features… (2)

• roles and features

‐ folder Packages on the installation media

Dism /Add-Package /PackagePath:.\packages\<package>

Dism /Add-Package /PackagePath:.\packages\en-us\<package>

(no support for localized packages at this time, so use en-us)

• agents and tools

‐ no MSI support! (xcopy or PowerShell scripts)

‐ the new installer will be available by RTM(installations, deinstallations, inventory, online and offline installations, …)

Page 16: Nano Server (ATD 11)

Managing Nano Server

• sitting in front of a server today…

‐ …it makes no sense!

• options:

‐ PowerShell Desired State Configuration (DSC)

‐ Remote management/automation with Core PowerShell and WMI

‐ Server Manager

‐ Remote Server Management Tool (RSMT)

‐ 3rd party tools (5nine, …)

‐ integration with DevOps tools (Visual Studio 2015)

Page 17: Nano Server (ATD 11)

Core PowerShell (1)

• built on .NET Core Runtime

‐ lean, composable, open source, cross platform

• reduced disk footprint: 55MB total

‐ CoreCLR (45MB) + PowerShell (8MB) + Modules (2MB)

• full language, subset of features, most cmdlets

• PowerShell remoting (server-side only)

‐ backwards compatible with existing PowerShell remoting clients to PS 2.0

‐ file transfer over PowerShell remoting

‐ remote script authoring & debugging in ISE

• cmdlets for managing Nano Server components

Page 18: Nano Server (ATD 11)

Core PowerShell (2)

Page 19: Nano Server (ATD 11)

Remote Server Management Tools

• web interface containing management tools (like Azure portal)

• includes „replacements” for local tools like:

‐ Task Manager, Registry Editor

‐ Event Viewer, Device Manager

‐ SConfig

----------------------------

‐ Control Panel, File Explorer

‐ Performance Monitor

‐ Disk Management

‐ Users/Groups Manager

• management of Server Core/Server with GUI versions also

http://channel9.msdn.com/Series/Nano-Server-Team/Remote-Server-Management-Tools-on-Nano-Server

Page 20: Nano Server (ATD 11)

Emergency Management Console

• new in Technical Preview 3

• provides local access to basic configuration and network settings:

‐ Computer name

‐ Domain or workgroup name

‐ ipconfig /all information for each networkadapter

• next release will include ability to modifynetwork settings

Page 21: Nano Server (ATD 11)

Improvements – servicing

* analysis based on all patches released in 2014

Page 22: Nano Server (ATD 11)

Improvements – security

Page 23: Nano Server (ATD 11)

Improvements – resources

Page 24: Nano Server (ATD 11)

Improvements – installation

Page 25: Nano Server (ATD 11)

Building the demo…

• VMware Workstation 11 on Windows Server 2012 R2

‐ will be replaced with WS 2016 and Hyper-V

‐ VM version configured as „Hyper-V (unsupported)”

‐ network adapters configured as vmxnet3 (not e1000e!)

Nano Server image with OEMDrivers!

• components:

‐ 1 x AD, DNS, DHCP, management server

‐ 4-node Hyper-V cluster (Nano Server)

using Storage Spaces Direct (with SATA drives!)

2 networks (domain, storage)

Page 26: Nano Server (ATD 11)

DEMO

Page 27: Nano Server (ATD 11)

What’s next?

• install Nano Server, applications and tools

‐ deployment guide – https://msdn.microsoft.com/en-us/library/mt126167.aspx

• take a look at

‐ http://channel9.msdn.com/Tags/nano-server

‐ http://www.mattmcspirit.com/big-training-on-little-servers-its-nano-server-on-mva/

‐ http://blogs.technet.com/b/ausoemteam/archive/2015/06/09/ignite-sessions-for-oem-and-system-builder-partners-nano-server.aspx

• share your thoughts (on Nano Server )

‐ http://windowsserver.uservoice.com/forums/295068-nano-server

‐ http://windowsserver.uservoice.com/forums/295071-remote-management-tools

Page 28: Nano Server (ATD 11)

Conclusion

• not everything works (and it probably never will) on top of Nano Server, but it has its purpose!

• no reason not to use it in supported scenarios… or maybe there are some?

• this session is based on Technical Preview 2 & 3 content, so stay tuned for changes until the RTM!

Page 29: Nano Server (ATD 11)

THANK YOU!

http://blog.kaniski.eu/

[email protected]

Session content

• http://1drv.ms/1QsYodM

Page 30: Nano Server (ATD 11)