O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting Started with Nano Server

Book Description

Remain highly competitive in the server and VM market by gaining the practical skills needed to operate Nano Server

About This Book

  • The days of the local server are numbered, and this book will make you an ace by giving you the skills needed to administer Nano Server and survive in the brave new server world
  • Learn to quickly automate multiple VMs and support Hyper-V clusters, all through small footprints from a single host
  • Apply up-to-date, real-world examples presented in this book and improve the scalability and efficiency of large-scale VM deployments

Who This Book Is For

This book opens up new potential for both developers and IT pros alike. The book is primarily for Server administrators and IT Professionals who would like to deploy and administer Nano Server within their organizations, and for developers who are trying to make maximal use of Server Containers and Hyper-V Containers with Nano Servers.

What You Will Learn

  • Understand Nano Server
  • Deploy Nano Server
  • Deploy Hyper-V Clusters on Nano Server
  • Deploy Nano Server with SCVMM
  • Manage Nano Server using PowerShell and Remote Server Management Tools
  • Manage Nano Server with third-party tools
  • Run Server Containers and Hyper-V Containers on Nano Server
  • Troubleshoot Nano Server
  • Validate developed applications that run on Nano Server

In Detail

Nano Server allows developers and operations teams to work closely together and use containers that package applications so that the entire platform works as one. The aim of Nano Server is to help applications run the way they are intended to. It can be used to run and deploy infrastructures (acting as a compute host, storage host, container, or VM guest operating system) without consuming significant resources. Although Nano Server isn't intended to replace Server 2016 or 2012 R2, it will be an attractive choice for developers and IT teams.

Want to improve your ability to deploy a new VM and install and deploy container apps within minutes? You have come to the right place! The objective of this book is to get you started with Nano Server successfully. The journey is quite exciting, since we are introducing you to a cutting-edge technology that will revolutionize today's datacenters.

We'll cover everything from the basic to advanced topics. You'll discover a lot of added value from using Nano Server, such as hundreds of VM types on a single host through a small footprint, which could be a big plus for you and your company. After reading this book, you will have the necessary skills to start your journey effectively using Nano Server.

Style and approach

Gauge all the information needed to get up-and-running with the latest Nano Server built by Microsoft using this easy to follow step-by-step guide.

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

Table of Contents

  1. Preface
    1. What this book covers
    2. What you need for this book
    3. Who this book is for
    4. Conventions
    5. Reader feedback
    6. Customer support
      1. Downloading the example code
      2. Downloading the color images of this book
      3. Errata
      4. Piracy
      5. Questions
  2. Introduction to Nano Server
    1. The story behind Nano Server
      1. Business impact
      2. Infrastructure impact
      3. Security impact
    2. The journey to Nano Server
      1. Server Core
      2. Cloud journey
      3. Nano Server - management
    3. What makes Nano Server unique?
    4. Nano Server improvements
      1. Servicing improvements
      2. Security improvements
      3. Resource utilization improvements
      4. Deployment improvements
    5. Summary
  3. Getting Started with Nano Server
    1. Getting started with Nano Server
      1. Nano Server quick start
      2. Nano Server customizations
      3. Nano Server roles and features
    2. Building and customizing a Nano Server image using Windows PowerShell
      1. Advanced settings
      2. Adding packages
    3. Building and customizing a Nano Server image using Nano Server image builder
    4. Customizing a Nano Server image using DISM
      1. Customizing a Nano image using unattend.xml file
      2. Injecting unattend.xml into VHD(X)
      3. Optional customizations
        1. Set computer name
        2. Run commands on first boot
        3. Domain join
        4. Emergency management services
        5. Installing agents and tools
    5. Summary
  4. Deploying Nano Server in a Virtual Machine and on Physical Hardware
    1. Nano Server roles and features
    2. Deploying Nano Server in a VM
      1. Required parameters
      2. Optional parameters
      3. Deploying Nano Server VM in Hyper-V
        1. Hyper-V Manager
        2. PowerShell
    3. Deploying Nano Server on a physical machine
      1. Dual-boot a Nano Server VHD or VHD(X)
      2. PxE-boot a bare-metal machine and install Nano Server from WDS using a VHD, VHD(X), or WIM file
        1. Preparing the environment
        2. Active Directory Domain Services (ADDS, DNS, DHCP)
        3. Creating a custom Nano Server VHD(X) image
        4. Creating a custom Nano Server WIM image
        5. Installing and Configuring the WDS Role
      3. Booting a bare-metal machine into WinPE and deploying Nano Server using a .wim file
        1. Prerequisites
        2. Setting up the WinPE environment
        3. Deployment from WinPE with network and without WDS
          1. Creating a custom WinPE boot image that has PowerShell enabled
        4. Creating a WinPE ISO image
        5. Creating a WinPE bootable USB thumb drive
    4. Deploying Nano Server in Microsoft Azure
      1. Requirements
      2. Creating Nano Server in Azure
    5. Summary
  5. Deploying Hyper-V Cluster on Nano Server
    1. Nano Server as a compute cluster
      1. Deploying a Nano Server as a Hyper-V cluster
        1. Deploying a Nano Server as compute host
          1. Acquiring the ISO image of Windows Server 2016 Datacenter edition
          2. Creating the new Nano Server images
          3. Copying the new Nano Server images to the host machines
          4. Rebooting into the new Nano Server image
          5. Connecting and managing Nano Servers from a management machine
      2. Configuring the network
      3. Creating and configuring a Hyper-V cluster
    2. Nano Server as a storage cluster
      1. Deploying storage spaces direct on top of Nano Server
        1. Creating and deploying Nano Server images
        2. Configuring the network
        3. Creating and configuring Storage Spaces Direct
    3. Summary
  6. Deploying, Managing, and Monitoring Nano Server with System Center 2016
    1. Deploying Nano Server with system center virtual machine manager 2016
      1. VMM bare-metal deployment
        1. Preparing a Nano Server VHD(X) for a physical machine
      2. VMM VM template deployment
        1. Preparing a Nano Server VHD for a virtual machine
    2. Managing Nano Server with system center virtual machine manager 2016
      1. Installing the virtual machine manager agent on Nano Server
      2. Managing network teaming on Nano Server
    3. Monitoring Nano Server with System Center operations manager 2016
      1. Installing the operations manager agent on Nano Server
      2. Uninstalling the operations manager agent from Nano Server
    4. Summary
  7. Managing Nano Server with Windows PowerShell and Windows PowerShell DSC
    1. Remote server graphical tools
      1. Server Manager
      2. Hyper-V Manager
      3. Microsoft Management Console
    2. Managing Nano Server with PowerShell
    3. Managing Nano Server with PowerShell DSC
      1. Creating a Nano Server image for PowerShell DSC
      2. Creating Nano virtual machines
      3. Importing the DSC xNetworking module
      4. Push DSC configuration
    4. Managing Nano Server Security Settings with PowerShell DSC
    5. Summary
  8. Managing Nano Server with Third-Party Tools
    1. Nano Server administration using 5nine Manager
    2. Creating and managing Nano Server failover clusters with 5nine Manager
      1. Creating a cluster
      2. Validating a cluster
      3. Configuring live migration settings
      4. Viewing the cluster summary
      5. Managing cluster nodes
      6. Managing clustered VMs
      7. Host Load Balancing
      8. Clustered virtual machine security
    3. Summary
  9. Running Windows Server Containers and Hyper-V Containers on Nano Server
    1. Container overview
      1. Container benefits
      2. What is a container?
      3. Containers versus virtual machines
    2. Windows Server containers and Hyper-V containers
      1. What is Docker?
    3. Running Windows containers on Nano Server
      1. Creating a Nano Server image for Windows Server containers
      2. Creating a Nano Server VM for Windows Server containers
        1. Creating a remote PowerShell session
        2. Installing Docker
        3. Installing base container images
        4. Managing container networking
        5. Managing container storage
        6. Managing Docker on Nano Server
        7. Creating a Windows Server container
      3. Creating a Nano Server image for Hyper-V containers
      4. Creating a Nano Server VM for Hyper-V containers
        1. Creating a Hyper-V container
      5. Converting a Windows Server container to a Hyper-V container
    4. Summary
  10. Troubleshooting Nano Server
    1. Nano recovery console
      1. Setting network configurations using the Nano Server recovery console
    2. Emergency management services
      1. Enabling EMS
        1. Enabling EMS using PowerShell
        2. Enabling EMS using DISM
      2. Windows EMS in a virtual machine
        1. Troubleshooting Nano Server VM using EMS
      3. Windows EMS on a physical machine
        1. Enabling a virtual serial port
          1. Enabling the EMS Port in ROM-Based Setup Utility (RBSU)
        2. Enabling Windows EMS in the bootloader of the Nano Server OS
        3. Using PuTTY to establish an SSH connection to the iLO IP address
        4. Using Windows EMS functionality to perform basic support administrative tasks
    3. Kernel debugging
      1. Installing WinDbg from Windows SDK
      2. Debugging Nano Server using WinDbg
    4. Setup and boot event collection (SBEC)
      1. SBEC requirements
      2. Installing the collector computer
      3. Creating the Active.xml configuration file
      4. Configuring the target and collector computer
        1. Configuring Nano Server as a target computer
        2. Configuring the collector computer
      5. Analyzing and reading diagnostic messages
    5. Enabling access to Nano Server event logs
    6. Summary
  11. Running Other Workloads on the Nano Server
    1. Running DNS on Nano Server
    2. Running IIS on Nano Server
    3. Installing and managing Windows Defender on Nano Server
    4. Managing the Local Administrator's Passwords on Nano Server
      1. Prerequisites
      2. Installation
    5. Using MPIO on Nano Server
    6. Using Windows Update on Nano Server
    7. Update Out of Box (OOB) drivers for Nano Server
    8. The future of Nano Server
    9. Summary