12–Windows Server 2016
Deploying and Managing a Nano Server
188
AH0054602-00 A
Deploying a Nano Server on a Physical Server
Follow these steps to create a Nano Server virtual hard disk (VHD) that will run on
a physical server using the preinstalled device drivers.
To deploy the Nano Server:
1.
Download the Windows Server 2016 OS image.
2.
Mount the ISO.
3.
Copy the following files from the
NanoServer
folder to a folder on your
hard drive:
NanoServerImageGenerator.psm1
Convert-WindowsImage.ps1
4.
Start Windows PowerShell as an administrator.
5.
Change directory to the folder where you pasted the files from
.
6.
Import the NanoServerImageGenerator script by issuing the following
command:
Import-Module .\NanoServerImageGenerator.psm1 -Verbose
7.
To create a VHD that sets a computer name and includes the OEM drivers
and Hyper-V, issue the following PowerShell command:
New-NanoServerImage –DeploymentType Host –Edition
<Standard/Datacenter> -MediaPath <path to root of media>
-BasePath
.\Base -TargetPath .\NanoServerPhysical\NanoServer.vhd
-ComputerName
<computer name> –Compute -Storage -Cluster -OEMDrivers
–Compute
-DriversPath “<Path to Qlogic Driver sets>”
Example:
New-NanoServerImage –DeploymentType Host –Edition Datacenter
-MediaPath C:\tmp\TP4_iso\Bld_10586_iso
-BasePath ".\Base" -TargetPath
"C:\Nano\PhysicalSystem\Nano_phy_vhd.vhd" -ComputerName
"Nano-server1" –Compute -Storage -Cluster -OEMDrivers
-DriversPath
NOTE
This command will prompt you for an administrator password for the
new VHD.