> For the complete documentation index, see [llms.txt](https://kenvb.gitbook.io/hyper-converged-solution-in-windows-server/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kenvb.gitbook.io/hyper-converged-solution-in-windows-server/preparing-the-servers/prepping-the-2-hc-servers.md).

# Prepping the 2 HC servers

There are a few general settings we have to do to both hyperconvergence machines before we set them up individually. These commands are executed on the host itself.

## Enable nesting

If you're running hyper-v on W10 or WS2016 - like I am- [you should not forget](https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization) to **turn ON** the nested VM modus. It's a hassle, but hyper-v won't install on your hyperconvergence VM's if you don't.

Since I'm smart and I give my VM's names according to a system, this worked:

```
Get-VMProcessor -VMName Windows2016da* | Set-VMProcessor -ExposeVirtualizationExtensions $true
```

Here you can see my VM's from my host's perspective: ![](https://3108435343-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp2rB1gAFhoLXwsXIIR%2F-Lp2rDugz51IbJxnu7OE%2F-Lp2sDf_Byo-wYuvkWlz%2FVM-name.PNG?generation=1568801884693504\&alt=media)

Also, they have to be "off" to be able to get it to work.

People who were not so considerate have to do it manually per VM:

```
Set-VMProcessor -vmname THIS-IS-THE-NAME-OF-YOUR-VM -ExposeVirtualizationExtensions $true
```

## Create drives

According to [this page](https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/storage-spaces-direct-hardware-requirements), a hyperconvergence node should have 4 disks available. So dont' forget to add another 4 disks to your Virtual Machine.

> Minimum number of drives If there are drives used as cache, there must be at least 2 per server There must be at least 4 capacity (non-cache) drives per server

2 nodes makes 8 drives. I'm not going to do THAT through the GUI, so here's a quick script to create 8 VHD's on the host, and add 4 to each node. Change paths and names where needed.

```
1..8 | foreach { New-VHD -Dynamic "d:\VHD\$_.vhdx" -SizeBytes 60GB }
1..4 | foreach {Add-VMHardDiskDrive -VMName Windows2016datacenter1 -ControllerType SCSI -Path "d:\vhd\$_.vhdx"}
5..8 | foreach {Add-VMHardDiskDrive -VMName Windows2016datacenter2 -ControllerType SCSI -Path "d:\vhd\$_.vhdx"}
```

If all is well, it should look like this:

![](https://3108435343-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lp2rB1gAFhoLXwsXIIR%2F-Lp2rDugz51IbJxnu7OE%2F-Lp2sDfbwk9GgZBjCsyD%2Fharddisks.PNG?generation=1568801884689234\&alt=media)
