IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and...

59
Hyper-V 2.0 Live Migration Voraussetzungen Netzwerkadapter: 1 Live Migration 1 LAN 1 Cluster Heartbeat 1 SAN (FC) 1 Hyper-V Management IP-Adressdiagramm IP-Adressen Hyper-V Cluster XXX.YYYY.LOCAL Netzwerkname IP SN Verwaltung 10.80.16.39 255.255.254.0 Ausbildung 10.80.0.39 255.255.248.0 Stiftung 10.80.20.33 255.255.255.0 CSV (Live Migration) 10.0.5.1 255.255.255.252 Testumgebung 10.80.22.39 255.255.255.0 Cluster-Heartbeat 10.0.6.1 255.255.255.252 HYPER-V-MGMT 10.80.20.30 255.255.255.0 YYY.ZZZZ.LOCAL Netzwerkname IP SN Verwaltung 10.80.16.40 255.255.254.0 Ausbildung 10.80.0.40 255.255.248.0 Stiftung 10.80.20.34 255.255.255.0 CSV (Live Migration) 10.0.5.2 255.255.255.252 Testumgebung 10.80.22.40 255.255.255.0 Cluster-Heartbeat 10.0.6.2 255.255.255.252 HYPER-V-MGMT 10.80.20.31 255.255.255.0 Cluster Name = SRV-XXX-HYP01 10.80.20.35 255.255.255.0

Transcript of IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and...

Page 1: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Hyper-V 2.0 Live Migration Voraussetzungen Netzwerkadapter: 1 – Live Migration 1 – LAN 1 – Cluster Heartbeat 1 – SAN (FC) 1 – Hyper-V Management IP-Adressdiagramm

IP-Adressen Hyper-V Cluster

XXX.YYYY.LOCAL

Netzwerkname IP SN

Verwaltung 10.80.16.39 255.255.254.0

Ausbildung 10.80.0.39 255.255.248.0

Stiftung 10.80.20.33 255.255.255.0

CSV (Live Migration) 10.0.5.1 255.255.255.252

Testumgebung 10.80.22.39 255.255.255.0

Cluster-Heartbeat 10.0.6.1 255.255.255.252

HYPER-V-MGMT 10.80.20.30 255.255.255.0

YYY.ZZZZ.LOCAL

Netzwerkname IP SN

Verwaltung 10.80.16.40 255.255.254.0

Ausbildung 10.80.0.40 255.255.248.0

Stiftung 10.80.20.34 255.255.255.0

CSV (Live Migration) 10.0.5.2 255.255.255.252

Testumgebung 10.80.22.40 255.255.255.0

Cluster-Heartbeat 10.0.6.2 255.255.255.252

HYPER-V-MGMT 10.80.20.31 255.255.255.0

Cluster Name = SRV-XXX-HYP01 10.80.20.35 255.255.255.0

Page 2: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Ablauf

Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information, see the Hyper-V Planning and Deployment Guide.

Install the Failover Clustering feature on all servers that you want to include in the cluster. For more information, see the Hyper-V Step-by-Step Guide: Hyper-V and Failover Clustering

Configure as nodes in a failover cluster. For more information, see the Failover Cluster Deployment Guide.

Validate the cluster configuration. For more information, see the Failover Cluster Step-by-Step Guide: Validating Hardware for a Failover Cluster.

Configure Cluster Shared Volumes

Set up a virtual machine for live migration

Configure cluster networks for live migration

Initiate a live migration of a virtual machine Step by Step Guide http://www.it-training-grote.de/download/hyperv-livemig.pdf Wichtig: Alle Arbeiten IMMER auf alle Cluster Knoten ausfuehren FCS Exlusions http://support.microsoft.com/kb/961804/en-us

Page 3: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Yes, we can

Storage

Page 4: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Netzwerk konfigurieren WICHTIG: fuer die CSV Karte NetBIOS etc. anlassen, da SMB verwendet wird, Cluster-Heartbeat wie Doku fuer Failover Cluster.

Testen

Page 5: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Hyper-V Rolle installieren Netzwerke fuer virtuelle Maschinen auswaehlen

Page 6: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Hyper-V BPA ausfuehren

Alles fein ausser Core

Hyper-V Konfiguration Netzwerke Netzwerke fuer virtuelle Maschinen benennen und das Sharing fuer VM Management deaktivieren

Page 7: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Hyper-V Management Karte konfigurieren

Page 8: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Achtung: GGfs. fuer die V-NIC das Default Gateway setzen. IP Einstellungen werden uebernommen! Windows Server 2008 R2 Failover Feature installieren

Cluster installieren

Page 9: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Cluster Validierungstest

Alle Tests Tests werden durchgefuehrt

Page 10: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Test nicht bestanden

Fixen Cluster erstellen

Page 11: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Cluster erstellt

Quorum Store korrekt konfiguriert

Page 12: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Quorum im Failover Manager umbenennen

Das gleiche fuer den VMStore (spaeter CSV) Netzwerkkarten im Failover Manager umbenennen

Page 13: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Cluster Netzwerk Verwendung

Page 14: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

CSV einrichten

Page 15: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

WICHTIG: Hinweis, dass keine direkte Datentraegeraktion auf dem CSV erfolgen darf, sondern nur ueber die Cluster Verwaltung

CSV Speicher hinzufuegen

Page 16: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

VMStore LUN auswaehlen

Hinzugefuegt

Page 17: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Storage fuer ISO Files anlegen Wichtig: Der Storage fuer die ISO Files muss auf allen Knoten identisch sein!

VM erstellen

Page 18: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Neue VM muss jetzt auf dem CSV liegen

Name und RAM angeben Netzwerk angeben

Page 19: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Speicherort der VM

Installationsmedium angeben

Page 20: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

ISO Storage muss auf jedem Cluster Knoten liegen falls ein Failover stattfindet

Bericht

Page 21: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

VM Properties

VM Moeglichkeiten im Failover Manager

Page 22: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Netzwerk fuer Live Migration konfigurieren

Page 23: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

VM starten und installieren

Page 24: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Speicherort fuer neue VM und VM Config auf das CSV legen

Pfad auf das CSV legen

Page 25: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

VM Eigenschaften

Live Migration

Nur ein Ping Aussetzer

Page 26: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Backup Programm zur Clustersicherung einrichten

Datensicherung wird durchgefuehrt

Importieren von vorhandenen virtuellen Hyper-V Maschinen Basis: http://blogs.blackmarble.co.uk/blogs/adawson/archive/2009/09/03/importing-hyper-v-machines-into-a-hyper-v-2008-r2-cluster.aspx

Page 27: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

VM exportieren

Exportierte Maschine auf das CSV kopieren

Virtuelle Maschine im Hyper-V Manager importieren

Page 28: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Dienst oder Anwendung im Failover Cluster Manager konfigurieren

Page 29: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,
Page 30: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Fertig

Installation von Geraete Teibern

Alle Maschinen migriert

Page 31: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Alle VM liegen jetzt in der Failover Cluster Verwaltung

Live Migration der Haelfte der Maschinen auf den anderen Cluster Knoten Es kann nur eine Live Migration pro CSV zeitgleich stattfinden

Ansicht in der Hyper-V Manager Konsole

Page 32: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Hyper-V 2.0 Live Migration Part 1: Der erste Part beschreibt die Einrichtung des Windows Server 2008 R2 Failover Cluster mit Cluster Shared Volume, sowie die erste Einrichtung einer Hyper-V 2.0 HA VM: http://www.it-training-grote.de/download/Hyper-v-livemig-1.pdf Das ist Part 2: Importieren von vorhandenen virtuellen Hyper-V Maschinen Basis: http://blogs.blackmarble.co.uk/blogs/adawson/archive/2009/09/03/importing-hyper-v-machines-into-a-hyper-v-2008-r2-cluster.aspx VM exportieren

Exportierte Maschine auf das CSV kopieren

Page 33: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Virtuelle Maschine im Hyper-V Manager importieren

Dienst oder Anwendung im Failover Cluster Manager konfigurieren

Page 34: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,
Page 35: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,
Page 36: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Fertig

Installation von Geraete Teibern

Alle Maschinen migriert

Page 37: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Alle VM liegen jetzt in der Failover Cluster Verwaltung

Live Migration der Haelfte der Maschinen auf den anderen Cluster Knoten Es kann nur eine Live Migration pro CSV zeitgleich stattfinden

Ansicht in der Hyper-V Manager Konsole

Backup Problem

Page 38: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Da die VM auf beide Cluster Knoten verteilt sind, Symantec BackupExec aber nur den aktiven Clusternamen und alle verbundenen Maschinen sichern kann, gibt es ein Problem:

SCVMM Installation MBCA installieren

Page 39: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

VMMCA installieren

Page 40: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

SQL Server Cluster auswaehlen

Page 41: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

.NET Framework 3.5 installieren

Setup Unterstuetzungs-Dateien installieren

SQL Server Verwaltungstools installieren

Page 42: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

SQL Server 2008 SP1 installieren

Page 43: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Fertig

Page 44: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Update verfuegbar

Page 45: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Neustart SCVMM Administrator Konsole installieren

Update verfuegbar

Page 46: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Self Service Portal installieren

Page 47: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

IIS Komponenten installieren

Noch ein Versuch, wer lesen kann ist klar im Vorteil

Page 48: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Nu aber. Port fuer Self Service Portal auf 801 aendern

SCVMM Administrator Konsole starten

Page 49: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Host hinzufuegen

Cluster Name angeben (CNO)

Page 50: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Speicherort fuer virtuelle Maschinen ist das CSV

Auftragsverarbeitung – Dauert einige Minuten

Page 51: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Alles prima

Page 52: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Alle Hosts OK, Auftragsstatus erledigt

Netzwerkkonfiguration

Page 53: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Status des VM-Cluster = OK

Neue VM erstellen

Page 54: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

VM hochverfuegbar machen

Page 55: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Storage Pfad ist CSV

Netzwerkadapter auswaehlen

Page 56: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Weitere Eigenschaften

Auftragsverarbeitung

Page 57: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Da isse

VM Eigenschaften im SCVMM

Page 58: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

VM verschieben (Live Migration)

Page 59: IP-Adressen Hyper-V Cluster - it-consulting-grote.de · Ablauf Install Windows Server 2008 R2 and enable the Hyper-V role on all nodes in the failover cluster. For more information,

Live Migration wird durchgefuehrt

Zusaetzliche Administratoren zur SCVMM Verwaltung hinzufuegen