Introduction to Windows Server 2016 Nano Server



Similar documents
Introduction to Windows Server 2016 Nested Virtualization

Requesting Access to IBM Director Agent on Windows Planning / Implementation

Deploying Citrix MetaFrame on IBM eserver BladeCenter with FAStT Storage Planning / Implementation

TCP/IP ports on the CMM, IMM, IMM2, RSA II, BMC, and AMM management processors 1

IBM Security QRadar Version Installing QRadar with a Bootable USB Flash-drive Technical Note

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

IBM Endpoint Manager for OS Deployment Windows Server OS provisioning using a Server Automation Plan

An Introduction to NIC Teaming with Lenovo Networking Switches

How to Test Out Backup & Replication 6.5 for Hyper-V

Introduction to DirectAccess in Windows Server 2012

Introduction to PCI Express Positioning Information

UltraBac Documentation. UBDR Gold. Administrator Guide UBDR Gold v8.0

Table 1 shows the LDAP server configuration required for configuring the federated repositories in the Tivoli Integrated Portal server.

Intel I340 Ethernet Dual Port and Quad Port Server Adapters for System x Product Guide

IBM Security QRadar Version (MR1) Checking the Integrity of Event and Flow Logs Technical Note

Operating System Installation Guide

Lenovo Partner Pack for System Center Operations Manager

Tivoli IBM Tivoli Monitoring for Transaction Performance

Integration and Automation with Lenovo XClarity Administrator

Remote Control Tivoli Endpoint Manager - TRC User's Guide

IBM Security QRadar Version (MR1) Installing QRadar 7.1 Using a Bootable USB Flash-Drive Technical Note

IBM RDX Removable Disk Backup Solution (Withdrawn) Product Guide

Getting Started With IBM Cúram Universal Access Entry Edition

IBM Enterprise Marketing Management. Domain Name Options for

IBM Lotus Protector for Mail Encryption. User's Guide

Intel Active Management Technology with System Defense Feature Quick Start Guide

IBM Security QRadar Version (MR1) Replacing the SSL Certificate Technical Note

Sage HRMS 2014 Sage Employee Self Service Tech Installation Guide for Windows 2003, 2008, and October 2013

Deploying Personal Virtual Desktops by Using RemoteApp and Desktop Connection Step-by-Step Guide

Tivoli Endpoint Manager for Security and Compliance Analytics. Setup Guide

IBM Rational Rhapsody NoMagic Magicdraw: Integration Page 1/9. MagicDraw UML - IBM Rational Rhapsody. Integration

6Gb SAS Host Bus Adapter Product Guide

IBM SmartCloud Analytics - Log Analysis. Anomaly App. Version 1.2

Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0

Patch Management for Red Hat Enterprise Linux. User s Guide

Remote Support Proxy Installation and User's Guide

StarWind Virtual SAN Installation and Configuration of Hyper-Converged 2 Nodes with Hyper-V Cluster

Windows Server 2012 R2 Storage Infrastructure

NVIDIA GRID 2.0 ENTERPRISE SOFTWARE

Dell Statistica Statistica Enterprise Installation Instructions

Plexxi Control Installation Guide Release 2.1.0

Also you need the C-MOR ISO file. This file you will find following this link:

Installing Microsoft Windows Server 2008R2 with EasyStartup

IBM Connections Plug-In for Microsoft Outlook Installation Help

Windows Server 2008 R2 Essentials

Dell Command Integration Suite for System Center Version 4.1. Installation Guide

Quick Start Guide for VMware and Windows 7

OS Deployment V2.0. User s Guide

User Guide - English. ServerView Suite. DeskView and ServerView Integration Pack for Microsoft SCCM

IBM Cognos Controller Version New Features Guide

XenClient Enterprise Synchronizer Installation Guide

ThinkServer RD540 and RD640 Operating System Installation Guide

Windows BitLocker Drive Encryption Step-by-Step Guide

Acronis Backup & Recovery 11.5 Quick Start Guide

RealPresence Platform Director

Recovering Encrypted Disks Using Windows Preinstallation Environment. Technical Note

StarWind Virtual SAN Hyper-Converged Platform Quick Start Guide

IBM Client Security Solutions. Client Security User's Guide

Guidelines for using Microsoft System Center Virtual Machine Manager with HP StorageWorks Storage Mirroring

Hyper V Windows 2012 and 8. Virtual LoadMaster for Microsoft Hyper V on Windows Server 2012, 2012 R2 and Windows 8. Installation Guide

InfoPrint 4247 Serial Matrix Printers. Remote Printer Management Utility For InfoPrint Serial Matrix Printers

Dell Compellent Storage Center

EMC Data Domain Management Center

Implementing Disk Encryption on System x Servers with IBM Security Key Lifecycle Manager Solution Guide

Nasuni Filer Virtualization Getting Started Guide. Version 7.5 June 2016 Last modified: June 9, Nasuni Corporation All Rights Reserved

ServerView Integration Pack for Microsoft SCCM

IBM Security QRadar Version (MR1) Configuring Custom Notifications Technical Note

Configuring ThinkServer RAID 100 on the TS140 and TS440

Hyper-V Server 2008 Setup and Configuration Tool Guide

Lifecycle Controller Platform Update/Firmware Update in Dell PowerEdge 12th Generation Servers

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

Quick Start Guide for Parallels Virtuozzo

Server Virtualization with QNAP Turbo NAS and Microsoft Hyper-V

Packet Capture Users Guide

IBM Enterprise Marketing Management. Domain Name Options for

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

Upgrade Guide. CA Application Delivery Analysis 10.1

IBM Security SiteProtector System Migration Utility Guide

User Document. Adobe Acrobat 7.0 for Microsoft Windows Group Policy Objects and Active Directory

Implementing the End User Experience Monitoring Solution

IBM Tivoli Storage Manager for Virtual Environments Version Data Protection for Microsoft Hyper-V Installation and User's Guide IBM

XenClient Enterprise Upgrade Guide

Lab Answer Key for Module 1: Installing and Configuring Windows Server Table of Contents Lab 1: Configuring Windows Server

How To Install Caarcserve Backup Patch Manager (Carcserver) On A Pc Or Mac Or Mac (Or Mac)

EMC ViPR Controller Add-in for Microsoft System Center Virtual Machine Manager

IBM TRIRIGA Application Platform Version Reporting: Creating Cross-Tab Reports in BIRT

Windows 10 and Enterprise Mobility

Netwrix Auditor. Virtual Appliance Deployment Guide. Version: 8.0 8/1/2016

Administration guide. Océ LF Systems. Connectivity information for Scan-to-File

Use QNAP NAS for Backup

Migrating Active Directory to Windows Server 2012 R2

Citrix XenServer Workload Balancing Quick Start. Published February Edition

PARALLELS SERVER BARE METAL 5.0 README

Core Protection for Virtual Machines 1

Integrating ERP and CRM Applications with IBM WebSphere Cast Iron IBM Redbooks Solution Guide

Rapid Data Backup and Restore Using NFS on IBM ProtecTIER TS7620 Deduplication Appliance Express IBM Redbooks Solution Guide

io3 Enterprise Mainstream Flash Adapters Product Guide

RSA Authentication Manager 8.1 Virtual Appliance Getting Started

Universal Management Service 2015

Integrate Microsoft Windows Hyper V

Transcription:

Front cover Introduction to Windows Server 2016 Nano Server Introduces this new feature of Microsoft Windows Server 2016 Describes how to create and manage these low-footprint servers Explains how to implement as a virutal machine or bare metal Helps IT Specialists understand the new features of Windows Server 2016 Vy Phan Mark Brougher

Abstract With Windows Server 2016, Microsoft has introduced a new installation option for Windows Server, called Nano Server, the concept of which is a zero footprint model that delivers faster speed and lower resource consumption. This paper provides details on how to create a Nano Server image, then use the image to deploy either as a Hyper-V virtual machine or bare metal to physical host. The intended audience of this paper is IT professionals, technical partners, and Microsoft Azure users. At Lenovo Press, we bring together experts to produce technical publications around topics of importance to you, providing information and best practices for using Lenovo products and solutions to solve IT challenges. See a list of our most recent publications at the Lenovo Press web site: http://lenovopress.com Do you have the latest version? We update our papers from time to time, so check whether you have the latest version of this document by clicking the Check for Updates button on the front page of the PDF. Pressing this button will take you to a web page that will tell you if you are reading the latest version of the document and give you a link to the latest if needed. While you re there, you can also sign up to get notified via email whenever we make an update. Contents Introduction.............................................................. 3 Creating a Nano Server image................................................ 3 Injecting new drivers....................................................... 5 Launching Nano Server a VM guest........................................... 5 Connecting to the Nano Server using PowerShell................................. 7 Joining Nano Server to a Domain............................................. 8 Installing Nano Server to a bare metal host...................................... 9 Running Nano Server in Azure.............................................. 10 Conclusion.............................................................. 11 Authors................................................................. 11 Notices................................................................. 12 Trademarks............................................................. 13 2 Introduction to Windows Server 2016 Nano Server

Introduction In Windows Server 2012, Microsoft offered Server Core to give customers a way to deploy a minimal installation of Windows Server. With a Server Core installation, only essential features and services, such as Active Directory Domain Services (AD DS), DNS, Dynamic Host Configuration Protocol (DHCP), File and Print, and a few other server roles are installed. Everything else that was not absolutely essential for running core network services were stripped out. Even the traditional Windows Desktop GUI was eliminated in Server Core. New to Windows Server 2016 is an even more lightweight installation offering, named Nano Server. The concept of Nano Server is zero footprint. Nano Server is only approximately 350 MB in size once installed, has no GUI or local console at all, and is managed remotely through PowerShell, WMI, Windows Remote Management, or Emergency Management Services (EMS). The zero footprint model is designed to deliver significantly faster speed and lower resource consumption. The purpose of this paper is to show you how to create a Nano Server image, then use the image to deploy either as a Hyper-V virtual machine or bare metal to physical host. The intended audience of this paper is IT professionals, technical partners, and Microsoft Azure users. The paper was written based on Windows Server 2016 Technical Preview 4 and testing was performed on the following servers: Lenovo System x3650 M5 Lenovo System x3550 M5 Lenovo System x3250 M5 Creating a Nano Server image This section explains how to create a Nano Server virtual image, in either VHD or VHDX format. You will require the following: Windows Server 2016 ISO image (in our testing we used Technical Preview 4) PowerShell Scripts: Convert-WindowsImage.ps1 NanoServerImageGenerator.psm1 These two scripts are located in the \NanoServer folder in the Windows Server Technical Preview ISO image. The following are the steps to create a Nano Server VHD image: 1. Create a directory on your local disk. We used c:\nano for our example. 2. Open a PowerShell session and set the execution policy to unrestricted by issuing the following command: Set-ExecutionPolicy Unrestricted You will see a result similar to Figure 1 on page 4 Copyright Lenovo 2016. All rights reserved. 3

Figure 1 Set-ExecutionPolicy command 3. From PowerShell change to the c:\nano directory. 4. Copy the \NanoServer and \Sources directories from the Windows Server 2016 iso image to the c:\nano directory. 5. Copy the Convert-WindowsImage.ps1 and NanoServerImageGenerator.psm1 scripts to the c:\nano directory. 6. Create the VHDX image by running the following scripts from the c:\nano directory. Example 1 Commands to create the VHDX image Import-Module.\NanoServerImageGenerator.psm1 -Verbose New-NanoServerImage -MediaPath f:\ -BasePath.\Base -TargetPath c:\nano\nanoservervm.vhdx -ComputerName nano -GuestDrivers -Compute The New-NanoServerImage cmdlet will do the following: Create the Nano Server image on the c:\nano directory Create the image with the name NanoServerVM.vhdx Set the computer name to be nano Add the Compute and GuestDrivers packages The command and result are shown in Figure 2 on page 4. Figure 2 Output of the New-NanoServerImage command 4 Introduction to Windows Server 2016 Nano Server

Injecting new drivers Nano Server has a minimal set of drivers by default. These are the most basic drivers that can allow it to run as a VM guest. If you plan to set up the Nano Server as a bare metal install you will probably need to install additional drivers for your server. 1. Create the directory c:\nano\drivers. 2. Put the drivers you want to have inserted into the VHDX file in this directory. The script will be looking for.inf files. 3. To install additional drivers, execute the following command: New-NanoServerImage -MediaPath c:\nano -BasePath.\Base -TargetPath c:\nano\nanoservervm.vhdx -DriversPath c:\nano\driver Where: MediaPath is that path to the Windows Server 2016 ISO image that contains the Nano Server files. NanoServerVM.vhdx is the name of your Nano Server VHDX image. DriversPath is the path where your new drivers to inject into the Nano Server. In this example you copied them to c:\nano\driver The output of the command is shown in Figure 3. If any errors occur you will see them printed in red. Figure 3 Injecting new drivers Launching Nano Server a VM guest Here we describe hot to create a new Virtual Machine from Hyper-V Manager and select the Nano Server VHD or VHDX. Prerequisites: You must select Generation 2 for VHDX images. create a virtual switch for you networking Ensure DHCP is running, so your Nano Server can be assigned a dynamic IP 5

After you have created and launched the virtual machine with the Nano Server VHDX, do the following: 1. The login panel appears automatically, Figure 4 on page 6 (we used Technical Preview 4 in our lab). Login to manage your Nano Server. window Figure 4 Nano Server login 2. Enter the administrator user ID and password: Administrator / Passw0rd (where 0 is zero). 3. You will be presented with a welcome window that will show you the IP been assigned to your Nano Server, similar to Figure 5 on page 7. This IP address is important, because you will need it to manage the Nano Server. 6 Introduction to Windows Server 2016 Nano Server

Figure 5 Server Configuration window Tip: The ability to login directly at the Nano Server console has been added for troubleshooting only. You can see what the Nano Server is able to detect, but you cannot manage the Nano Server from this login window. Connecting to the Nano Server using PowerShell You will need Windows Server 2012 R2 or later and it must be on the same network and subnet. Follow these steps to log into the Nano Server VM using PowerShell to manage and configure the VM: 1. Launch PowerShell. 2. Issue the following PowerShell commands: Set-Item WSMan:\Localhost\Client\TrustedHosts "xx.xx.xx.xx" $ip="xx.xx.xx.xx" Enter-PSSession ComputerName $ip Credential $user Where xx.xx.xx.xx is the IP address of your Nano Server as shown on the welcome window. When prompted, enter your login credentials (ours were Administrator and Passw0rd). The commands and output are shown in Figure 6. 7

Figure 6 Issuing the Set-Item WSMan command Tip: Nano Server supports only a small subset of commands. To view the commands supported, issue this PowerShell command Get-Command Joining Nano Server to a Domain Due to the limited number of PowerShell commands available in a Nano Server, it is impossible to add a Nano Server to a domain directly using the PowerShell command line. The following work-arounds can help you accomplish the task. Method 1: Build the Nano Server with the information about the network stored in the unattended file that was obtained from an odjblob file, or to create a odjblob file from a system already joined to a domain. To create the unattended file, review section Appendix 2: Sample Unattend.xml file that joins Nano Server to a domain on the following TechNet page: https://technet.microsoft.com/en-us/library/mt126167.aspx Method 2: From an existing Windows Server 2016 system, create the odjblob file. 1. From a administrator command prompt launch the following command: djoin.exe /provision /domain vvvvvv /machine xxxx /savefile \odjblob /reuse Where vvvvvv is name of the domain and xxxx is the name of the machine when it joins the domain. Our domain for test purposes was logotest. We built a Nano Server with the name nanox, so the command was: djoin.exe /provision /domain logotest /machine nanox /savefile \odjblob /reuse 2. On the Nano Server powershell prompt (log in first, if necessary), make a directory called temp. 8 Introduction to Windows Server 2016 Nano Server

3. From the system where you created the odjblob file, copy it to the Nano Server temp directory. Tip: You will need to log into Nano Server, otherwise you will not be able to transfer files. Use SMB syntax \\nanoserver-ip-address\c$ to refer to the C:\ drive on the Nano Server. 4. From the PowerShell session connected to the Nano Server, run the following three commands: djoin /REQUESTODJ /LOADFILE c:\temp\odjblob /WINDOWSPATH c:\windows /localos shutdown /r /t 15 Exit-PSSession 5. The Nano Server will now reboot. Next time it loads, login using domain credentials. Installing Nano Server to a bare metal host Nano Server can be deployed to a virtual machine or it can be installed to a bare metal physical host depend on user s purposes. This section is to show how to install a Nano Server image to a bare metal physical host. The image are trying to install must have all the necessary drivers needed for the image to run on your the target server. In this installation example, it is assumed that the server on which you plan to install the Nano Server OS has one hard drive. The steps to install Nano Server as a bare metal install on a target server are as follows: 1. Create an VHDX image as we described in Creating a Nano Server image on page 3, ensuring that it has the correct drivers for the system you are going to install on. 2. Copy the VHDX file to a USB flash drive and insert the drive in the target server. 3. Boot the target server from Windows Server 2016 bootable media (DVD or USB) and press Shift-F10 to get to a command prompt. 4. Run diskpart.exe and issue these commands: select disk 0 clean convert gpt create partition EFI size=300 format quick fs=fat32 assign letter=s create partition primary format quick fs=ntfs assign letter=c exit These commands will prep the C: drive (disk 0) on the target server to get it ready for the Nano Server. 5. Copy the Nano Server image from your USB flash drive to the c:\ drive. For example, our image is called nanox.vhdx. In our case, the USB flash drive appears on the system as drive d: Copy d:\nanox.vhdx c:\ 9

6. Run diskpart and issue these commands select vdisk file=c:\nanox.vhdx attach vdisk list volume select volume 4 assign letter=v exit Note: For the select volume command, select the volume that is correct for your test environment. In our environment, it was volume 4. With the list volume command, you will display the list of volumes available and you must identify the volume of you Nano Server that you attached using the select vdisk command. You can run a list volume prior to running select vdisk to view the volumes, run step 3, and then take note of the volume. On our test system, the Nano Server image appears as volume 4. 7. Run this command: bcdboot v:\windows /s s: /f uefi Now you can remove the USB flash drive and reboot the server. The system will boot to the Nano Server OS. Running Nano Server in Azure Nano Server can be run in Azure, but you must first add the Hyper-V guest drivers. The -ForZure extension will add the required drivers and open the remote management port. From PowerShell, execute the following command: New-NanoServerImage -MediaPath c:\nano -BasePath.\Base -TargetPath.\NanoServerVM.vhdx -ForAzure The output of the command is shown in Figure 7 on page 10. Figure 7 Preparing the image for Azure 10 Introduction to Windows Server 2016 Nano Server

Conclusion Nano Server is one of the key new features of Windows Server 2016. This paper shows how to create a virtual machine image containing Nano Server and also how to deploy that image onto a server as a bare metal OS. We also described how to connect to it using PowerShell and ways you can join the Nano Server to a domain. Authors This paper was produced by the following team of specialists: Vy Phan is technical project manager in the Windows Enablement team in Kirkland, Washington. She works on System x certification and new software validation testing on Microsoft operating systems. Mark Brougher is a software engineer at Lenovo and is responsible for Certifying System x servers, Lenovo Storage, Nano Server, Software Defined Storage, and Hyperconverged solutions. He has been working in the IT industry since 1992. Thanks to the following people for their contributions to this project: David Watts, Lenovo Press Mark T. Chapman, Lenovo 11

Notices Lenovo may not offer the products, services, or features discussed in this document in all countries. Consult your local Lenovo representative for information on the products and services currently available in your area. Any reference to a Lenovo product, program, or service is not intended to state or imply that only that Lenovo product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any Lenovo intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any other product, program, or service. Lenovo may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: Lenovo (United States), Inc. 1009 Think Place - Building One Morrisville, NC 27560 U.S.A. Attention: Lenovo Director of Licensing LENOVO PROVIDES THIS PUBLICATION AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some jurisdictions do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. Lenovo may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. The products described in this document are not intended for use in implantation or other life support applications where malfunction may result in injury or death to persons. The information contained in this document does not affect or change Lenovo product specifications or warranties. Nothing in this document shall operate as an express or implied license or indemnity under the intellectual property rights of Lenovo or third parties. All information contained in this document was obtained in specific environments and is presented as an illustration. The result obtained in other operating environments may vary. Lenovo may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Any references in this publication to non-lenovo Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this Lenovo product, and use of those Web sites is at your own risk. Any performance data contained herein was determined in a controlled environment. Therefore, the result obtained in other operating environments may vary significantly. Some measurements may have been made on development-level systems and there is no guarantee that these measurements will be the same on generally available systems. Furthermore, some measurements may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment. Copyright Lenovo 2016. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by Global Services Administration (GSA) ADP Schedule Contract 12

This document REDP-1234-00 was created or updated on February 23, 2016. Send us your comments via the Rate & Provide Feedback form found at http://lenovopress.com/lp0082 Trademarks Lenovo, the Lenovo logo, and For Those Who Do are trademarks or registered trademarks of Lenovo in the United States, other countries, or both. These and other Lenovo trademarked terms are marked on their first occurrence in this information with the appropriate symbol ( or ), indicating US registered or common law trademarks owned by Lenovo at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of Lenovo trademarks is available on the Web at http://www.lenovo.com/legal/copytrade.html. The following terms are trademarks of Lenovo in the United States, other countries, or both: Lenovo(logo) Lenovo The following terms are trademarks of other companies: Microsoft, Windows, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others. 13