Getting Started with Nano Server
eBook - ePub

Getting Started with Nano Server

  1. 406 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Getting Started with Nano Server

About this book

Remain highly competitive in the server and VM market by gaining the practical skills needed to operate Nano ServerAbout 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 deploymentsWho This Book Is ForThis 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 ServerIn DetailNano 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 approachGauge 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.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

Troubleshooting Nano Server

In Chapter 8, Running Windows Server Containers and Hyper-V Containers on Nano Server, we talked about how to run Nano containers and Hyper-V containers on top of a Nano Server container host.
One of the most frequent questions that we hear a lot is, how do we troubleshoot a headless server without logging into it? There is no support for a remote desktop to administer and troubleshoot the system. Whether we like it or not, sometimes things go wrong and we need to troubleshoot. We already saw in Chapter 6, Managing Nano Server with Windows PowerShell and Windows PowerShell DSC, how to do things remotely. We also discussed that, as long as you can connect to the server through the various methods, you can do your troubleshooting with PowerShell or with the remote management consoles. However, sometimes even that isn't possible and you find yourself in a situation where the server does not boot correctly or is completely stuck. Here you need to troubleshoot and resolve the problem.
In this chapter, we will show you how to effectively troubleshoot a Nano Server installation with:
  • Nano recovery console
  • Emergency management services
  • Kernel debugging
  • Setup and boot event collection
  • Enabling access to Nano Server event logs

Nano recovery console

You read in earlier chapters about all the benefits of Nano Server, such as performance, less disk footprint, less patches, security, and so on. But without the GUI, it's not easy to troubleshoot a Nano Server.
This is why in Windows Server 2016, the Nano Server deployment option of Windows Server comes with full Nano Server recovery console support. The purpose of the recovery console is to provide direct local access to a Nano Server operating system in order to re-establish remote network connectivity. The Nano recovery console does not provide you, command-line access nor PowerShell access locally. However, it does provide you with the ability to fix whatever might be causing remote management not to work. In this case, you can use the recovery console to fix your issues and get remote connectivity again. With the recovery console, you can configure networking, and Firewall rules, and reset the Windows remote management (WinRM) service, which is required for PowerShell remoting.
The recovery console is the default interactive console on every Nano Server installation. Just log in with local access using the administrator and password you supplied while creating the Nano Server image and the menu will be loaded.
When you log on to Nano Server interactively either in a virtual or physical machine, the recovery console looks as shown in Figure 1:
Figure 1. Nano Server recovery console logon Window
After you logon, you will see a screen that displays server information as shown in Figure 2:
Figure 2. Nano Server recovery console home page
You will be able to see the domain (or workgroup), version of the OS, the local date and time, Networking, inbound Firewall rules, outbound Firewall rules, WinRM, and the VM host (if Nano Server is running a Hyper-V host). More importantly you can use the following options:
  • Select > Networking (by using the Tab key), scroll down with the arrow keys to select Inbound Firewall Rules, Outbound FirewallRules or WinRM and press Enter.
The Nano Server team has added the following capabilities that you can manage through the Nano Server recovery console:
  • View computer name
  • View domain/workgroup
  • Logon/log out
  • Shutdown/restart
  • Enable/disable NIC
  • View IPv4/IPv6 address
  • Set IPv4/IPv6 address
  • View gateway
  • Set gateway IP address
  • View routing table
  • View primary/secondary DNS
  • View MAC address
  • View network driver name
  • View network driver date
  • View network driver version
  • View network driver provider
  • View network driver installation date
  • Set Firewall rules (enable/disable)
  • Reset WinRM service

Setting network configurations using the Nano Server recovery console

In this section, you will see how to set basic networking configurations in Nano Server without PowerShell or advanced command-lines.
To manage Nano Server installation using the recovery console, carry out the following steps:
  1. Select >Networking by pressing the Tab key, and on the Network settings page, list all your network cards; you can select which NIC you want to view or configure (see Figure 3):
Figure 3. Nano Server recovery console network adapter settings
Here you will see that:
  • By pressing F4, you can toggle the state (disable/enable) for a specific NIC
  • By pressing F10, you can see the routing table, and by pressing F10 again, you can add a static route, or press Delete to delete the route
  • By pressing F11, you can toggle the DHCP state for IPv4, and by pressing Enter, you can set/update the NIC IPv4 address for a particular NIC
  • By pressing F12, you can toggle the DHCP State for IPv6, and by pressing Enter, you can set/update the NIC IPv6 address for a particular NIC
  • You can go back to the main recovery console page by pressing the Esc key
  1. Select >Inbound Firewall Rules on the main recovery console page, and on the Firewall Rules page, you can view all the inbound rules (see Figure 4):
Figure 4. Nano Server recovery console inbound Firewall rules
  • By pressing Enter on any inbound rule, you can view all the details for a particular Firewall...

Table of contents

  1. Title Page
  2. Copyright
  3. Credits
  4. About the Author
  5. About the Reviewers
  6. www.PacktPub.com
  7. Customer Feedback
  8. Preface
  9. Introduction to Nano Server
  10. Getting Started with Nano Server
  11. Deploying Nano Server in a Virtual Machine and on Physical Hardware
  12. Deploying Hyper-V Cluster on Nano Server
  13. Deploying, Managing, and Monitoring Nano Server with System Center 2016
  14. Managing Nano Server with Windows PowerShell and Windows PowerShell DSC
  15. Managing Nano Server with Third-Party Tools
  16. Running Windows Server Containers and Hyper-V Containers on Nano Server
  17. Troubleshooting Nano Server
  18. Running Other Workloads on the Nano Server

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Getting Started with Nano Server by Charbel Nemnom in PDF and/or ePUB format, as well as other popular books in Computer Science & Operating Systems. We have over one million books available in our catalogue for you to explore.