Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

Windows Server 2016 Core configuration. Part 1: step-by-step installation

  • July 14, 2017
  • 7 min read
StarWind Solutions Architect. Alex has begun his journey as a hobbyist in the virtualization and storage sphere. He possesses extensive knowledge in networking, storage technologies, and virtualization.
StarWind Solutions Architect. Alex has begun his journey as a hobbyist in the virtualization and storage sphere. He possesses extensive knowledge in networking, storage technologies, and virtualization.

This series of articles will guide you through the basic deployment of Microsoft Windows Server 2016 Core version, covering all the steps from an initial installation to the deployment of Hyper-V role and Failover Cluster configuration.

The first and the main thing you need to double-check before installing the Windows Server 2016 Core is whether your hardware meets the system requirements of WS 2016. This also is very important in the process of planning your environment, in order to be sure that you have enough amount of compute resources for running your production workload.

After booting the server installation from an ISO file, you will need to choose the installation language and type. From the list of options, the one you need is a Windows Server 2016 version without Desktop Experience.

Windows Server installation

Windows Server installation

The next step is to specify the disk where the Windows Core must be installed. Please take into consideration that the disk will be used only for the OS and applications and will not act as a production storage. After selecting the disk you need, it must be partitioned.

Windows Server 2016 Selecting installation disk

Selecting installation disk

After finishing the installation process and automatic reboot, you will have an option to create an administrator password.

Creating login credentials

Creating login credentials

The main feature of Windows Server Core version is that all you can see after the boot is the command line window. It’s the main tool to configure and manage the Core server. To begin the server configuration, we need to enter the “Sconfig” command.

Windows Server Core server configuration command

Core server configuration command

Do not forget to change the Computer name (restart of the server is required) and specify the desired IP addresses. Next, the server can be joined to the domain.

Configuration options

Configuration options

Set the networks by changing the IP addresses in Server Configuration menu. One of the networks will be used for management while the second one will act as an iSCSI connection to the shared storage.

Modifying networks

Modifying networks

You can modify other settings at your discretion. Make sure the Windows license is activated.

Before installing Hyper-V role on the server, you need to connect an iSCSI shared storage to your Core server. In order to do that, open Microsoft iSCSI Initiator by entering “iscsicpl” into the command line, and connect your storage via the iSCSI IP address.

Connecting storage via iSCSI Initiator

Connecting storage via iSCSI Initiator

The last step before Hyper-V part of the configuration will be to add the storage to the server and create a disk drive.

There are several commands that need to be performed to prepare the storage for your needs. “diskpart” will come in handy in this case. Use “list disk” to see all the disks available on the server, “online disk” and “attributes disk clear” commands to bring the disk online and check if the partition is writable.

Preparing the storage with “diskpart” command

Preparing the storage with “diskpart” command

Next command is “list partition” to see available disk partitions. Choose the partition you need with the “select partition 1”. The only few things left to do are to format the partition with “format fs=NTFS”, and assign a letter on the partition by entering “assign letter=S” command.

Creating and formatting the partition

Creating and formatting the partition

As a result, you have the storage connected to your Windows Server 2016 Core and ready for the deployment of Hyper-V role that will be described in my next article.

Found Alex’s article helpful? Looking for a reliable, high-performance, and cost-effective shared storage solution for your production cluster?
Dmytro Malynka
Dmytro Malynka StarWind Virtual SAN Product Manager
We’ve got you covered! StarWind Virtual SAN (VSAN) is specifically designed to provide highly-available shared storage for Hyper-V, vSphere, and KVM clusters. With StarWind VSAN, simplicity is key: utilize the local disks of your hypervisor hosts and create shared HA storage for your VMs. Interested in learning more? Book a short StarWind VSAN demo now and see it in action!