Closer release of Windows Server 2016 Microsoft, with which the new operating system will be introduced: Windows Nano Server, a super-lightweight version of Windows Server created specifically for the cloud. When we first heard about it, we immediately became terribly curious, because it resembles in many ways VMware ESXi: it is the same embedded system that takes up little space and is controlled solely by remote control. It is limited to use, but can act as a full-featured
We found several instructions for deploying Nano Server on vSphere, but they belonged to older versions of Server 2016 Tech Preview (TP) (after all, much could change in the current 5 preview), so we decided to present another version of the instructions. Nano Server cannot be installed from a bootable CD like other versions of Windows Server, but it comes with its own Powershell-based deployment options.
A Windows WIM file or
All subsequent steps were tested on a Windows 10 workstation and on an ESXi 6.0 U2 host. Everything should work similarly with Windows 8.1 and ESXi 5.5.
if you have not done so already, download the Windows Server 2016 Technical Preview 5 ISO file from the Microsoft Technet Evaluation Center. This will require a Microsoft account and quick and free registration.
Download the latest version of VMware Tools for Windows (x64) in exe format (currently version 10.0.9). Perform an administrative installation of the package using / a, for example:
This will not install Tools on your local system yet, but will unpack all the files into the directory that you specify in the dialog box that appears:
In this example, we use the directory C: \ TEMP \ VMTools. Make sure that the folder C: \ TEMP exists, or use another parent directory.
Tper create a new directory C: \ TEMP \ Drivers and copy into it all the extracted drivers pvscsi and vmxnet3. In the command line we execute:
Now you can delete C: \ TEMP \ VMTools, this directory is no longer needed.
Install Windows Server 2016 TP5 ISO to use it as a Windows disk (in Windows 8 and 10, double-click on it in Explorer). The example below assumes that it is installed on the E: drive.
Now open the Powershell window as Administrator and run the following commands:
The first command imports the NanoServerImageGenerator Powershell module from TP5 ISO. The second team creates an image. Here is the meaning of the most important commands:
As you have already noticed, we are creating a vhdx file, not a vhd file, because we need a more modern version: it uses GPT and EFI formats. Using vhd would also work fine.
There is only one way to convert vhdx file to VMware format: use the free Starwind V2V Converter Tool. When using it, select VMware ESX server image as the Destination image format:
As a result, two files will be created, a small * .vmdk file metafile and, in fact, a * -flat.vmdk file (4 GB in size).
Create a new VM on an ESXi host with the following parameters:
Now we load two vmdk files created using the Starwind Converter tool into the ESXi directory created for your virtual machine. We edit the VM and add the loaded disk as an Existing virtual disk and Virtual Device Node "SCSI (0: 0)".
Finally, we change the type of SCSI controller automatically added to VMware Paravirtual (pvscsi):
So, we have created our first virtual machine Nano Server on vSphere, and you can already start it! It takes only a
If you want to try using Nano Server as a
On individual ESXi hosts, this can be done using the new HTML5 Host Client (already included in ESXi 6.0 Update 2 and later):
We anticipate the question: is it possible to install VMware Tools on the Nano Server? No, it is impossible, because the MSI format is not valid for the Nano Server. For the rest ... .forward!
Source: https://habr.com/ru/post/306490/
All Articles