Book Image

Hyper-V 2016 Best Practices

By : Romain Serre, Benedict Berger
Book Image

Hyper-V 2016 Best Practices

By: Romain Serre, Benedict Berger

Overview of this book

Hyper-V Server and Windows Server 2016 with Hyper-V provide best-in-class virtualization capabilities. Hyper-V is a Windows-based, very cost-effective virtualization solution with easy-to-use and well-known administrative consoles. This book will assist you in designing, implementing, and managing highly effective and highly available Hyper-V infrastructures. With an example-oriented approach, this book covers all the different tips and suggestions to configure Hyper-V and provides readers with real-world proven solutions. This book begins by deploying single clusters of High Availability Hyper-V systems including the new Nano Server. This is followed by steps to configure the Hyper-V infrastructure components such as storage and network. It also touches on necessary processes such as backup and disaster recovery for optimal configuration. The book does not only show you what to do and how to plan the different scenarios, but it also provides in-depth configuration options. These scalable and automated configurations are then optimized via performance tuning and central management ensuring your applications are always the best they can be.
Table of Contents (15 chapters)
Hyper-V 2016 Best Practices
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

The iSCSI target


Microsoft Windows Server includes an iSCSI target to provide iSCSI LUNs from Windows Server software instead of an iSCSI SAN. This enables you to provide central storage with whatever storage is attached to the server running the iSCSI target. The iSCSI target is supported for production. However, though there is a performance penalty against native iSCSI SAN systems, they are preferred for lab and demonstration purposes.

An iSCSI target should run on a dedicated machine and never on a Hyper-V host or another production workload-hosting server. Use PowerShell to create and configure an iSCSI target. Activate the necessary features using the following commands:

Add-WindowsFeature -Name FS-iSCSITarget-Server
Add-WindowsFeature -Name iSCSITarget-VSS-VDS

Create a new LUN:

New-IscsiVirtualDisk -Path d:\VHD\LUN1.vhdx -Size 60GB

Create a new iSCSI target:

New-IscsiServerTarget -TargetName Target1 -InitiatorId
    IPAddress:192.168.1.240,IPAddress:192.168.1.241

Assign the iSCSI...