Book Image

Getting Started with Nano Server

By : Charbel Nemnom
Book Image

Getting Started with Nano Server

By: Charbel Nemnom

Overview of this book

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.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Kernel debugging


Kernel debugging is also a possibility with Nano Server. A Nano Server image supports kernel debugging through different methods. However, there is an extra step that you want to be aware of when using kernel debugging with Nano Server virtual machines. You need to include the Compute package and the corresponding PowerShell modules in the Nano image.

There are four methods to do kernel debugging with Nano Server. You can use either a serial port, a TCP/IP network, Firewire (IEEE1349), or USB.

To do so, we need to use the New-NanoServerImage command when creating the image or after the image is created by using the Edit-NanoServerImage command included in the Nano Server PowerShell module.

Please see Chapter 3, Deploying Nano Server in a Virtual Machine and on Physical Hardware, for more details.

The following is an example for each method:

  • Serial Port
New-NanoServerImage -MediaPath \\PathToMedia -BasePath .\BasePath -TargetPath .\PathToVHD -DebugMethod Serial -DebugCOMPort 1...