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

Windows Server Core configuration. Part 2: Hyper-V role installation

  • July 25, 2017
  • 5 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.

In the previous article, we have covered the basics of Microsoft Windows Server Core installation. After configuring the operating system and specifying the networks and storage for the future configuration, there are few more things left.

Our next step is to install and configure the Hyper-V role.

Installation of the Hyper-V role by itself is extremely simple. You need to open the PowerShell window by typing in “Powershell” command in the command prompt. In order to install the Hyper-V role through the PowerShell, enter the following:

Installing the Hyper-V role

Installing the Hyper-V role

Obviously, the Core version of Windows Server has no graphical interface. In this case, you need to use the Hyper-V Manager from a remote computer to be able to manage Hyper-V and make the configuration and management a lot easier. This could be any other workstation or server.

In order to manage Hyper-V remotely, you need to configure the below firewall permissions:

Or you can simply skip this part by disabling the firewall with the command listed below:

The last one needs to be run on the management server:

Configuring Hyper-V

To be able to configure your Hyper-V environment, you need to add the server to the Hyper-V Manager by clicking on “Connect to Server” and specifying the hostname/IP of your Core server. After the successful connection, make sure that our iSCSI disk, which was connected to the Core server, is used as a default folder for Hyper-V.

Adding the server to Hyper-V Manager

Adding the server to Hyper-V Manager

In order to connect your virtual machines to the network, you need to create a Virtual Network by clicking on “Virtual Switch Manager” in the Actions menu of the Hyper-V server.

Virtual Switch Manager

Virtual Switch Manager

After choosing the “Create virtual switch” option, the one we need is an External switch. Set the name and select the connection type of the virtual switch as an External Network and check the box “Allow management operating system to share this network adapter”.

Creating the virtual switch

Creating the virtual switch

Finalizing the creation of virtual switch

Finalizing the creation of virtual switch

After creating the virtual switch, you can deploy the virtual machines to your local server.

In the last part of our guide, we will finalize the Failover Cluster configuration to prepare it for the deployment of shared storage using StarWind as an HA storage provider.

Hey! Found Alex’s article helpful? Looking to deploy a new, easy-to-manage, and cost-effective hyperconverged infrastructure?
Alex Bykovskyi
Alex Bykovskyi StarWind Virtual HCI Appliance Product Manager
Well, we can help you with this one! Building a new hyperconverged environment is a breeze with StarWind Virtual HCI Appliance (VHCA). It’s a complete hyperconverged infrastructure solution that combines hypervisor (vSphere, Hyper-V, Proxmox, or our custom version of KVM), software-defined storage (StarWind VSAN), and streamlined management tools. Interested in diving deeper into VHCA’s capabilities and features? Book your StarWind Virtual HCI Appliance demo today!