Windows server 2012 Seminar 3: Hyper-V replica

35
Seminar: Disaster Recovery met Hyper-V replication in Windows Server 2012 Bent u op zoek naar een Disaster Recovery (DR) oplossing zonder de hoge kosten zoals bij SAN replication komen kijken? Dan is Hyper-V Replica iets voor u. Deze nieuwe feature is bedoeld voor klein- en midden-MKB. Het is een storage log asynchrone opslagtechniek waarbij iedere 5 minuten alle wijzigingen van een Virtual Machine worden gerepliceerd naar de Disaster Recovery locatie. Hiermee heeft u een goedkope Disaster Recovery oplossing waarmee hooguit 5 minuten aan data verloren gaan. U kunt deze techniek ook gebruiken wanneer u geen Disaster Recovery locatie heeft, want de replica kan ook naar de public cloud!! Microsoft Windows Server 2012

description

 

Transcript of Windows server 2012 Seminar 3: Hyper-V replica

Page 1: Windows server 2012 Seminar 3: Hyper-V replica

Seminar: Disaster Recovery met Hyper-V replication in Windows Server 2012

Bent u op zoek naar een Disaster Recovery (DR) oplossing zonder de hoge kosten zoals bij SAN replication komen kijken? Dan is Hyper-V Replica iets voor u. Deze nieuwe feature is bedoeld voor klein- en midden-MKB. Het is een storage log asynchrone opslagtechniek waarbij iedere 5 minuten alle wijzigingen van een Virtual Machine worden gerepliceerd naar de Disaster Recovery locatie. Hiermee heeft u een goedkope Disaster Recovery oplossing waarmee hooguit 5 minuten aan data verloren gaan. U kunt deze techniek ook gebruiken wanneer u geen Disaster Recovery locatie heeft, want de replica kan ook naar de public cloud!!

Microsoft Windows Server 2012

Page 2: Windows server 2012 Seminar 3: Hyper-V replica

Windows Server 2012Hyper-V Replica

Marco SapComputrain | Twice | Broekhuis

Page 3: Windows server 2012 Seminar 3: Hyper-V replica

Deze presentatie laat zien wat de nieuwe mogelijkheden van Hyper-V zijn in Windows Server 2012

Agenda Windows Server 2012 Trends and Challenges Hyper-V Replica Get Started: Advies en Doen!

Page 4: Windows server 2012 Seminar 3: Hyper-V replica

Windows Server 2012

Page 5: Windows server 2012 Seminar 3: Hyper-V replica

Identity

Virtualization

Data

Development Management

The Cloud OS

Modern platform for the world’s apps

Transforms datacenter Enables modern apps Unlocks insights on any data Empowers people-centric IT

Page 6: Windows server 2012 Seminar 3: Hyper-V replica

One platform for all segments

First Server

Automated Virtualization

& Management

, Private Cloud

Virtualization Management

Enterprise

Small Business

Windows Server

• Enables small businesses around the world

• Powers many of the world’s largest datacenters

• Delivers value to organizations of all sizes

Virtualization

Automated Virtualization

& Management

Mid-market

System Center

Page 7: Windows server 2012 Seminar 3: Hyper-V replica

Industry trends and challenges

(How) do I embrace the Cloud? Public and Private?

How do I simultaneously increase the availability in my datacenter and lower the costs?

How do I deliver next-generation client/mobile apps with scalable, available back-end services?

How do I enable modern work styles; BYOD, Consumerization of IT…

Device proliferation Data explosion

Cloud computing

New apps

Page 8: Windows server 2012 Seminar 3: Hyper-V replica

Hyper-V

Page 9: Windows server 2012 Seminar 3: Hyper-V replica

Let’s talk concepts….

Page 10: Windows server 2012 Seminar 3: Hyper-V replica

Manage virtual machines independently from underlying infrastructure

Handle changing needs on demand

Live migration within a cluster

Shared-nothing live migration

Hyper‑V Replica

Live migration of storage

Virtual machine mobility

Page 11: Windows server 2012 Seminar 3: Hyper-V replica

Hyper‑V Replica

Hyper‑V role and toolsHyper‑V cmdlets

Hyper‑V PS integrated UI

Hyper‑V Management Module tracks and replicates changes

for each virtual machine

Hyper‑V role and toolsHyper‑V cmdlets

Hyper‑V PS integrated UI

Hyper‑V Management Module receives and applies the

changes to the replica virtual machine

Primary site

CRM virtual machineSQL virtual machineSharePoint virtual

machine

Exchange virtual machineIIS virtual machine Exchange

replica virtual

machine

CRM replicavirtual

machine

Replicate over WAN link

SMB file share

Send/receive replica traffic

SAN

R1

R2

R3P1 P2

Replica site

Page 12: Windows server 2012 Seminar 3: Hyper-V replica

Migrate virtual machines without downtime

Improvements• Faster and simultaneous migration

• Live migration outside a clustered environment

• Store virtual machines on a File Share

VM VM

Target host

Live migration setup

SMB network storage

IP connection

Configuration data

Memory pages transferred

Memory content

MEM

ORY

MEM

ORY

Modified pages transferred

Modified memory pages

Storage handle movedLive migration based on server message block (SMB) share

VM

Page 13: Windows server 2012 Seminar 3: Hyper-V replica

Computer running Hyper‑V

Target device

Move virtual machine storage without downtime

Source device

Benefits• Manage storage in a cloud

environment with greater flexibility and control

• Move storage with no downtime

• Update physical storage available to a virtual machine (such as SMB-based storage)

• Windows PowerShell cmdlets

Live migration of storageMove virtual hard disks attached to a running virtual machine

Reads and writes go to the source VHD

Disk contents are copied to new destination VHD

VHD

Disk writes are mirrored; outstanding changes are replicated

Reads and writes go to new destination VHD

Virtual machine

VHD

Page 14: Windows server 2012 Seminar 3: Hyper-V replica

Destination

Hyper‑VVirtualmachine

Target deviceSource device

Virtualmachine

Source Hyper‑V

IP connection

Configuration dataMemory contentModified memory pages

Migrate virtual machines without downtime

Benefits• Increase flexibility of virtual machine

placement

• Increase administrator efficiency

• Reduce downtime for migrations across cluster boundaries

Shared-nothing live migration

Reads and writes go to the source VHD

Reads and writes go to the source VHD. Live Migration

Begins

Disk contents are copied to new destination VHD

Disk writes are mirrored; outstanding changes are

replicatedLive Migration

MEM

ORY

MEM

ORY

VHDVHD

Live Migration ContinuesLive Migration Completes

Page 15: Windows server 2012 Seminar 3: Hyper-V replica

Run more demanding applications with better performance

Take advantage of newer hardware, while still using existing hardware to maximum advantage

Bigger, faster virtual machines

Hardware offloading

Guest applications take advantage of improved Non-Uniform Memory Access (NUMA) support

Scale and performance

15

Page 16: Windows server 2012 Seminar 3: Hyper-V replica

Hyper‑V host scale and scale-up workload support

System Resource

MAXIMUM NUMBER

Improvement factor

Windows 2008 R2

Windows Server 2012

Host Logical processors on hardware 64 320 5×

Physical memory 1 TB 4 TB 4×

Virtual processors per host 512 2,048 4×

Virtual machine

Virtual processors per virtual machine 4 64 16×

Memory per virtual machine 64 GB 1 TB 16×

Active virtual machines 384 1,024 2.7×

Cluster Nodes 16 64 4×

Virtual machines 1,000 4,000 4×

Page 17: Windows server 2012 Seminar 3: Hyper-V replica

VM1

Maximum

memory

Dynamic MemoryImprovements for Hyper‑V

17

Hyper‑V

Physicalmemory

pool

Minimummemory

Maximummemory Memory in use

Physicalmemory

pool

Memory in use

Physicalmemory

pool

Administrator can increase maximum memory without a restart

Dynamic Memory • Introduced in Windows Server 2008 R2

SP1

• Reallocates memory automatically among running virtual machines

Windows Server 2012 improvements• Minimum memory

• Hyper‑V smart paging

• Memory ballooning

• Runtime configuration

Page 18: Windows server 2012 Seminar 3: Hyper-V replica

Hyper‑V

VM1

Maximum

memory

Dynamic MemoryImprovements for Hyper‑V

Virtual machine starting with Hyper‑V smart paging

18

Minimummemory

VMn

Minimummemory

Maximummemory

VM2

Maximummemory

Minimummemory

Physicalmemory

pool

Physicalmemory

pool

Physicalmemory

pool

Startup increases memory in use

Paging file provides additional memory for startup

Benefits• Higher consolidation numbers

• Improved reliability of Hyper‑V operations

• Ability to increase maximum memory configuration with minimal downtime

Removing paged memory after virtual machine restart

Memory reclaimed after startup

Physicalmemory

pool

Memory in useafter startup

Page 19: Windows server 2012 Seminar 3: Hyper-V replica

NUMA support in a virtual machine

• Projects NUMA topology onto a virtual machine

• Allows guest operating systems and applications to make intelligent NUMA decisions

• Aligns guest NUMA nodes with host resources

Non-Uniform Memory Access

Guest NUMA topology by default matches host NUMA topology

vNUMA node A vNUMA node B vNUMA node A vNUMA node B

NUMA node 1 NUMA node 2 NUMA node 3 NUMA node 4

Page 20: Windows server 2012 Seminar 3: Hyper-V replica

• Multiple modes: switch dependent and independent

• Hashing modes: port and 4-tuple

• Active/active and active/standby

NIC Teaming

NIC Teaming

Virtual adapters

Team network adapter

Team network adapter

Operating system

Page 21: Windows server 2012 Seminar 3: Hyper-V replica

BenefitsRequires no upgrade of network adapters, switches, or network appliances

Can be deployed today without sacrificing performance

Hyper‑V Network VirtualizationExample

How IP address rewrite worksMaps each Customer Address (CA) to a unique Provider Address (PA)

Sends information in regular TCP/IP packets on the wire

Blue Corp

Yellow Corp

SQL

Web

10.1.1.110.1.1.2

SQL

Web

10.1.1.110.1.1.2

Policy settings

Customer Address

Provider Address

Blue Corp

10.1.1.1 192.168.1.10

10.1.1.2 192.168.1.12

Customer Address

Provider Address

Yellow Corp

10.1.1.1 192.168.1.11

10.1.1.2 192.168.1.13

192.168.10 192.168.11 192.168.12 192.168.13

Hyper‑V Host 1 Hyper‑V Host 2

SQL SQL Web Web

10.1.1.1 10.1.1.1 10.1.1.2 10.1.1.2

Customer address spaces

Datacenternetwork

Page 22: Windows server 2012 Seminar 3: Hyper-V replica

Reliably import virtual machines

User selects the virtual machine to import/register

User selectsin-place registration

User selectsremote registration

Copies of the configuration file and

saved state are copied to the destination

Validation occurs on the new host

If required, “fix it” wizard is used for repair operations

Virtual machine is ready to start up

Page 23: Windows server 2012 Seminar 3: Hyper-V replica

Features• Storage capacity up to 64 TBs

• Corruption protection during power failures

• Optimal structure alignment for large-sector disks

Benefits• Increases storage capacity

• Protects data

• Helps to ensure quality performance on large-sector disks

New virtual hard disk format

VHDX

Large allocations and 1 MB aligned

Header region

Data region (large allocations and 1 MB aligned)

Metadata region (small allocations and unaligned)

Intent logBlock

Allocation Table (BAT)

Metadata table

User data blocks

Sector bitmap blocks

User metadata

File metadataHeader

Page 24: Windows server 2012 Seminar 3: Hyper-V replica

Live migration maintaining Fibre Channel connectivity

Virtual Fibre Channel in Hyper‑V

Hyper‑V host 1 Hyper‑V host 2

Worldwide Name Set B

Worldwide Name Set A

Worldwide Name Set B

Virtual machineVirtual machineLIVE MIGRATION• Unmediated access to a storage area

network (SAN)

• Hardware-based I/O path to virtual hard disk stack

• N_Port ID Virtualization (NPIV) support

• Single Hyper‑V host connected to different SANs

• Up to four Virtual Fibre Channel adapters on a virtual machine

• Multipath I/O (MPIO) functionality

• Live migration

Access Fibre Channel SAN data from a virtual machine

Worldwide Name Set A

Page 25: Windows server 2012 Seminar 3: Hyper-V replica

In Summary…..

Page 27: Windows server 2012 Seminar 3: Hyper-V replica

MCSA: Windows Server 2012

Find a Learning Partner

+

Administering Windows Server 2012

5

Administering Windows Server 2012

Configuring Advanced Windows Server 2012 Services

Configuring Advanced Windows Server 2012 Services

5EX

AM411

+ =EX

AM41

2M

OC

20411

MO

C

20412

Installing and Configuring Windows Server 2012

EX

AM41

0

Installing and Configuring Windows Server 2012

5

MO

C

20410

MCSA: Windows Server 2012

Page 28: Windows server 2012 Seminar 3: Hyper-V replica

MCSE: Server Infrastructure

Find a Learning Partner

+

Designing and Implementing a Server Infrastructure

5

Designing and Implementing a Server Infrastructure

Implementing an Advanced Server Infrastructure

Implementing an Advanced Server Infrastructure

5

EX

AM41

3+ =E

XA

M414

MO

C20413

MO

C

20414

MCSE: Server Infrastructure

* Requires recertification

Windows Server 2012

Page 29: Windows server 2012 Seminar 3: Hyper-V replica

MCSE: Desktop Infrastructure

Find a Learning Partner

+

Implementing a Desktop Infrastructure

5

Implementing a Desktop Infrastructure

Implementing Desktop Application Environments

Implementing Desktop Application Environments

5

EX

AM41

5+ =E

XA

M416

MO

C20415

MO

C

20416

MCSE: Desktop Infrastructure

* Requires recertification

Windows Server 2012

Page 30: Windows server 2012 Seminar 3: Hyper-V replica

Upgrade paths

Desktop Infrastructure

Windows Server 2012

Upgrading Your Skills to MCSA Windows Server 2012

417

Any of the following certifications qualify:

• MCSA: Windows Server 2008*• MCITP: Virtualization Administrator • MCITP: Enterprise Messaging

Administrator• MCITP: Lync Server Administrator• MCITP: SharePoint Administrator• MCITP: Enterprise Desktop Administrator

Server Infrastructure

+

Designing and Implementing a Server Infrastructure

413 +Implementing an Advanced Server Infrastructure

414

+

=

Implementing a Desktop Infrastructure

415 +Implementing Desktop Application Environments

416 =

Either or Both

Page 31: Windows server 2012 Seminar 3: Hyper-V replica

Stap 1 Primary Server

makecert -pe -n "CN=PrimaryRootCA" -ss root -sr LocalMachine -sky signature -r "PrimaryRootCA.cer"

Root Key van Primary Server

Page 32: Windows server 2012 Seminar 3: Hyper-V replica

Stap 2 Primary Server

makecert -pe -n "CN=servernaam.domain.com" -ss my -sr LocalMachine -sky exchange -eku 1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2 -in "PrimaryRootCA" -is root -ir LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 PrimaryCert.cer

Private Key van de Primary Server

Page 33: Windows server 2012 Seminar 3: Hyper-V replica

Satp 3 Replica Server

Root Key van Replica Server

makecert -pe -n "CN=ReplicaRootCA" -ss root -sr LocalMachine -sky signature -r "ReplicaRootCA.cer"

Page 34: Windows server 2012 Seminar 3: Hyper-V replica

Stap 4 Replica Server

makecert -pe -n "CN=servernaam.domain.com" -ss my -sr LocalMachine -sky exchange -eku 1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2 -in "ReplicaRootCA" -is root -ir LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 ReplicaCert.cer

Private Key van de Replica Server

Page 35: Windows server 2012 Seminar 3: Hyper-V replica

Stap 5 Import

Importeer de Root Certificaten op beide servers. En de Private Certificaten alleen op de betreffende serverSchakel Revocation uit d.m.v. deze key in de registryreg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization\FailoverReplication" /v DisableCertRevocationCheck /d 1 /t REG_DWORD /fDe tool makecert staat in de Windows SDK die je kunt downloaden bij Microsoft Download