Proxmoxguide

Hyper-V Failover Cluster mit Windows Server Core 2025

HA-Cluster für Windows VMs ohne GUI-Overhead

S
SeeColors IT
11. Juni 20264 Min. Lesezeit207 Aufrufe

Windows Server Core Basis

Rename-Computer -NewName "hv-node1" -Restart

New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress 192.168.1.11 `
    -PrefixLength 24 -DefaultGateway 192.168.1.1
Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 192.168.1.1
Add-Computer -DomainName "firma.local" -Restart
Enable-PSRemoting -Force

Rollen installieren

Invoke-Command -ComputerName "hv-node1","hv-node2" -ScriptBlock {
    Install-WindowsFeature -Name Hyper-V,Failover-Clustering -IncludeManagementTools -Restart
}

Cluster erstellen

Test-Cluster -Node "hv-node1","hv-node2" -ReportName "cluster-validation.html"

New-Cluster -Name "hv-cluster" -Node "hv-node1","hv-node2" -StaticAddress 192.168.1.20

Get-Cluster
Get-ClusterNode

SMB3 Shared Storage

New-Item -Path "E:HyperV-Storage" -ItemType Directory
New-SmbShare -Name "HyperV-VMs" -Path "E:HyperV-Storage" `
    -ContinuouslyAvailable $true `
    -FullAccess "FIRMACluster-Computers$"

CSV und HA-VM

Get-ClusterAvailableDisk | Add-ClusterDisk
Add-ClusterSharedVolume -Name "Cluster Disk 1"

New-VM -Name "prod-web-01" -ComputerName "hv-node1" `
    -Path "C:ClusterStorageVolume1" `
    -MemoryStartupBytes 8GB -SwitchName "Extern-Switch" -Generation 2

Add-ClusterVirtualMachineRole -VMName "prod-web-01"
Get-ClusterGroup "prod-web-01" | Set-ClusterGroup -FailoverThreshold 3

FAQ

Brauche ich Active Directory?
Ja, ein Domain-Controller ist Voraussetzung für den Cluster.

Fazit

Hyper-V Failover Cluster auf Server Core ist schlank und vollständig per PowerShell verwaltbar.

Hyper-V HA-Cluster für KMU in Heidelberg, Mannheim und der Rhein-Neckar-Region. Beratung anfragen.

Artikel teilen

War dieser Artikel hilfreich?

Dein Feedback hilft uns, bessere Inhalte zu erstellen.

Kommentar hinterlassen

Verwandte Artikel