Update Servers & Workflows/Windows/Windows Server/Virtualization/Hyper-V/Failover Cluster/Deploy Failover Cluster Node.md
This commit is contained in:
@ -1,20 +1,27 @@
|
||||
**Purpose**: Deploying a Windows Server Node into the Hyper-V Failover Cluster is an essential part of rebuilding and expanding the backbone of my homelab. The documentation below goes over the process of setting up a bare-metal host from scratch and integrating it into the Hyper-V Failover Cluster.
|
||||
|
||||
!!! note "Prerequisites"
|
||||
This document assumes you are have installed and are running a bare-metal Hewlett-Packard Enterprise server running iLO (Integrated Lights Out) with the latest build of **Windows Server 2022 Datacenter (Desktop Experience)**.
|
||||
!!! note "Prerequisites & Assumptions"
|
||||
This document assumes you are have installed and are running a bare-metal Hewlett-Packard Enterprise server with iLO (Integrated Lights Out) with the latest build of **Windows Server 2022 Datacenter (Desktop Experience)**.
|
||||
|
||||
This document also assumes that you are adding an additional server node to an existing Hyper-V Failover Cluster. This document does not outline the exact process of setting up a Hyper-V Failover Cluster from-scratch, setting up a domain, DNS server, etc. Those are assumed to already exist in the environment. Your domain controller(s) need to be online and accessible from the Failover Cluster node you are building for things to work correctly.
|
||||
|
||||
Download the newest build ISO of Windows Server 2022 at the [Microsoft Evaluation Center](https://go.microsoft.com/fwlink/p/?linkid=2195686&clcid=0x409&culture=en-us&country=us)
|
||||
|
||||
!!! info "Assumption that Cluster Already Exists"
|
||||
This document also assumes that you are adding an additional server node to an existing Hyper-V Failover Cluster. This document does not outline the exact process of setting up a Hyper-V Failover Cluster from-scratch, setting up a domain, DNS server, etc. Those are assumed to already exist in the environment. Your domain controller(s) need to be online and accessible from the Failover Cluster node you are building for things to work correctly.
|
||||
### Enable Remote Desktop
|
||||
Enable remote desktop however you can, but just be sure to disable NLA, see the notes below for details.
|
||||
!!! warning "Disable NLA (Network Level Authentication)"
|
||||
Ensure that "Allow Connections only from computers running Remote Desktop with Network Level Authentication" is un-checked. This is important because if you are running a Hyper-V Failover Cluster, if the domain controller(s) are not running, you may be effectively locked out from using Remote Desktop to access the failover cluster's nodes, forcing you to use iLO or a physical console into the server to log in and bootstrap the cluster's Guest VMs online.
|
||||
|
||||
### Provision Server Roles, Activate, and Domain Join
|
||||
This step can be disregarded if the domain controller(s) exist outside of the Hyper-V Failover Cluster.
|
||||
|
||||
``` powershell
|
||||
# Enable Remote Desktop (NLA-Disabled)
|
||||
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0
|
||||
Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" -Name "UserAuthentication" -Value 0 Enable-NetFirewallRule -DisplayGroup "Remote Desktop"
|
||||
```
|
||||
|
||||
### Provision Server Roles, Activate, and Domain Join
|
||||
``` powershell
|
||||
# Rename the server
|
||||
Rename-Computer BUNNY-NODE-02
|
||||
|
||||
@ -24,18 +31,19 @@ Install-WindowsFeature -Name Hyper-V, Failover-Clustering, Multipath-IO -Include
|
||||
# Change edition of Windows (Then Reboot)
|
||||
irm https://get.activated.win | iex
|
||||
|
||||
# Force activate server (KMS38)
|
||||
irm https://get.activated.win | iex
|
||||
|
||||
# Configure DNS Servers
|
||||
Get-NetAdapter | Where-Object { $_.Status -eq 'Up' } | ForEach-Object { Set-DnsClientServerAddress -InterfaceIndex $_.InterfaceIndex -ServerAddresses ("192.168.3.25","192.168.3.26") }
|
||||
|
||||
# Domain-join the server
|
||||
Add-Computer BUNNY-LAB.io
|
||||
|
||||
# Force activate server
|
||||
irm https://get.activated.win | iex
|
||||
# Restart the Server
|
||||
Restart-Computer
|
||||
```
|
||||
|
||||
!!! warning "Disable NLA (Network Level Authentication)"
|
||||
Ensure that "Allow Connections only from computers running Remote Desktop with Network Level Authentication" is un-checked. This is important because if you are running a Hyper-V Failover Cluster, if the domain controller(s) are not running, you may be effectively locked out from using Remote Desktop to access the failover cluster's nodes, forcing you to use iLO or a physical console into the server to log in and bootstrap the cluster's Guest VMs online.
|
||||
|
||||
This step can be disregarded if the domain controller(s) exist outside of the Hyper-V Failover Cluster.
|
||||
|
||||
## Failover Cluster Configuration
|
||||
### Configure Cluster SET Networking
|
||||
You will need to start off by configuring a Switch Embedded Teaming (SET) team. This is the backbone that the server will use for all Guest VM traffic as well as remote-desktop access to the server node itself. You will need to rename the network adapters to make management easier.
|
||||
|
Reference in New Issue
Block a user