Nano Server - Paiet/Tech-Journal-for-Everything GitHub Wiki
Nano Server
https://docs.microsoft.com/en-us/windows-server/get-started/deploy-nano-server https://docs.microsoft.com/en-us/windows-server/get-started/nano-server-quick-start https://www.nuget.org/
- Some Nano Server packages are installed directly with switches like
-Compute
. - Other you install by passing package names using the -Packages parameter like
Packages Microsoft-NanoServere-IIS-Package
Use Case Scenarios:
- DNS Servers
- IIS Servers
- Scale-Out File Servers
- Hyper-V hosts and clusters
- Container hosts
- Microservice hosts
Nano Server is "headless;" there is no local logon capability or graphical user interface. Only 64-bit applications, tools, and agents are supported. Nano Server cannot serve as an Active Directory domain controller. Group Policy is not supported. However, you can use Desired State Configuration to apply settings at scale. Nano Server cannot be configured to use a proxy server to access the internet. NIC Teaming (specifically, load balancing and failover, or LBFO) is not supported. Switch-embedded teaming (SET) is supported instead. System Center Configuration Manager and System Center Data Protection Manager are not supported. Best Practices Analyzer (BPA) cmdlets and BPA integration with Server Manager are not supported. Nano Server does not support virtual host bus adapters (HBAs). Nano Server does not need to be activated with a product key. When functioning as a Hyper-V host, Nano Server does not support Automatic Virtual Machine Activation (AVMA). Virtual machines running on a Nano Server host can be activated using Key Management Service (KMS) with a generic volume license key or using Active Directory-based activation. The version of Windows PowerShell provided with Nano Server has important differences. For details, see PowerShell on Nano Server. Nano Server is supported only on the Current Branch for Business (CBB) model--there is no Long-Term Servicing Branch (LTSB) release for Nano Server at this time. See the following subsection for more information.
Nano Server pt 2
https://docs.microsoft.com/en-us/windows-server/get-started/deploy-nano-server https://docs.microsoft.com/en-us/windows-server/get-started/nano-server-quick-start
-
Some Nano Server packages are installed directly with switches like
-Compute
. -
Other you install by passing package names using the -Packages parameter like
Packages Microsoft-NanoServere-IIS-Package
-
Altho a very small amount of configuration is possible directly on a Nanao Server REMEBER no UI exists therefore all management should be done remotely using PowerShell.
Lab:
- Mount Server ISO version prior to 1709
- Verify execution policy is at least Remote Signed
#Copy required install files
copy D:\NanoServer\NanoServerImageGenerator\*.ps* c:\nanoserver
#Verify
dir c:\nanoserver
#Import coresponding PowerShell module
Import-Module c:\nanoserver\convert-windowsimage.ps1
Import-Module c:\nanoserver\NanoServerImageGenerator.psm1
New-NanoServerImage -Edition Standard -MediaPath z:\ -Basepath `
c:\nanoserver -Targetpath c:\nanoserver\DemoNano.vhdx`
-DeploymentType Guest -ComputerName DemoNano `
-Storage -Package Microsoft-NanoServer-DNS-Package
#Verify
dir c:\nanoserver
\
Nano Server pt 3
Mount new .vhd
bcdboot X:\windows where X= mounted Volume
Launch Hyper-V Manager to create a new VM
Log in and configure networking
Limited keyboard keys use up and down arrows, esc for back, F4 to toggle F10 routing table, F11 IPv4 settings, and F12 IPv6 Settings
Tab and Shift Tab to navigate2
Note: limited firewall rule set
Modify Firewall to allow ping:
File and Printer Sharing (SMB-In)
File and Printer Sharing (Echo Request - ICMPv4-In)
\
Nano Server pt 4
Show link and discuss updates and servicing packages https://docs.microsoft.com/en-us/windows-server/get-started/manage-nano-server
- To add Nano to trusted hosts
Set-Item wsman:\locathost\client\trustedhosts -Value 10.0.x.x
$cred = Get-Credential 10.0.x.x\administrator
Enter-PSSession -ComputerName 10.0.x.x -Credential $cred
Roles and Features: Traditional cmdlets like Get-WindowsFeature or Install-WindowsFeature Alternatively, you install packages. Note: limited cmdlets, similiar to limited firewall rules. $Psversion table
Show Nano Server Image Builder: ADK prereq https://www.microsoft.com/en-us/download/details.aspx?id=54065