Book Image

Windows Server 2012 Hyper-V Cookbook

By : Leandro Eduardo S Carvalho, Leandro Carvalho
Book Image

Windows Server 2012 Hyper-V Cookbook

By: Leandro Eduardo S Carvalho, Leandro Carvalho

Overview of this book

Virtualization has proved that it can help organizations to reduce costs, and the Private Cloud has created a revolution in the way we manage and control our servers with centralization and elasticity. The new Windows Server 2012 Hyper-V release from Microsoft comes with a myriad of improvements in areas such as mobility, high availability and elasticity, bringing everything you need to create, manage and build the core components of a Microsoft Private Cloud for virtualized workloads."Windows Server 2012 Hyper-V Cookbook" is the perfect accompaniment for Hyper-V administrators looking to take advantage of all the exciting new features the release has to offer. Through practical recipes, you'll master Hyper-V deployment, migration and management. "Windows Server 2012 Hyper-V Cookbook" is an essential resource for any Hyper-V administrator looking to migrate, install and manage their virtual machine efficiently. With all the features of Windows Server 2012 Hyper-V covered, you will learn everything from installation to disaster recovery, security, high availability, configuration, automation, architecture and monitoring, all in a practical recipe format. The book also includes new features such as Storage and Shared Nothing Live Migration, Hyper-V Replica and Network Virtualization and much more.With "Windows Server 2012 Hyper-V Cookbook" in hand, you'll be equipped to manage your Private Cloud with ease.
Table of Contents (18 chapters)
Windows Server 2012 Hyper-V Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

Virtualization has proved that it can help organizations to reduce costs, and the Private Cloud has created a revolution in the way we manage and control our servers with centralization and elasticity. The new Windows Server 2012 Hyper-V release from Microsoft comes with a myriad of improvements in areas such as mobility, high availability, and elasticity, bringing everything you need to create, manage, and build the core components of a Microsoft Private Cloud for virtualized workloads.

Windows Server 2012 Hyper-V Cookbook is the perfect accompaniment for Hyper-V administrators looking to take advantage of all the exciting new features the release has to offer. Through practical recipes, you'll master Hyper-V deployment, migration, and management.

Windows Server 2012 Hyper-V Cookbook is an essential resource for any Hyper-V administrator looking to migrate, install, or manage their virtual machine efficiently.

With all the features of Windows Server 2012 Hyper-V covered, you will learn everything from installation to disaster recovery, security, high availability, configuration, automation, architecture, and monitoring, all in a practical recipe format. The book also includes new features such as Storage and Shared Nothing Live Migration, Hyper-V Replica and Network Virtualization, and much more.

With Windows Server 2012 Hyper-V Cookbook in hand, you'll be equipped to manage your private cloud with ease.

What this book covers

Chapter 1 , Installing and Managing Hyper-V in Full or Server Core Mode, provides all the necessary information that you need to know before, during, and after the Hyper-V installation, to make sure that you can save time and solve any problems that you may face.

Chapter 2, Migrating and Upgrading Physical and Virtual Servers, covers tasks that will help you to have an easy and a successful upgrade to the new Windows and Hyper-V versions. You will see how to export and import virtual machines, convert VHD files to VHDX files, migrate virtual machine storage using Storage Migration, and so on.

Chapter 3 , Managing Disk and Network Settings, covers recipes that will help you to manage disk and network settings efficiently.

Chapter 4 , Saving Time and Cost with Hyper-V Automation, highlights the importance of PowerShell. This chapter will help you to learn and utilize basic commands in PowerShell and also to use them for daily tasks.

Chapter 5 , Hyper-V Best Practices, Tips, and Tricks, will show you some best practices for Hyper-V and how they can easily be identified and implemented. By using best practices, you can enhance performance, increase security, and improve Hyper-V administration.

Chapter 6 , Security and Delegation of Control, shows how to use configuration options such as access control using Authorization Manager and Simple Authorization, network protection with Port ACLs, and Hyper-V auditing, to enforce a safer environment for virtual and host computers.

Chapter 7 , Configuring High Availability in Hyper-V, will show you how to create an iSCSI Target server for low-cost storage, how to prepare and configure a failover cluster for Hyper-V, Cluster Shared Volumes (CSV), and other interesting things, to provide a high availability Hyper-V environment.

Chapter 8 , Disaster Recovery for Hyper-V, will walk you through the most important process for setting up disaster recovery for your virtual machines running on Hyper-V.

Chapter 9 , Monitoring, Tuning, and Troubleshooting Hyper-V, shows how to use the default tools in Windows Server 2012 to monitor physical and virtual servers, how to troubleshoot, and how to tune Hyper-V servers.

Appendix A, Hyper-V Architecture and Components, includes well-explained topics with the most important Hyper-V architecture components compared with other versions.

What you need for this book

You should be comfortable with virtualization concepts and practices, and knowledge of previous versions of Windows Server would be an advantage.

Who this book is for

If you are an administrator who wants to master Microsoft Server Virtualization with Windows Server 2012 Hyper-V, this book is for you.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "After its download, copy it to the chosen directory, then access it through the command prompt and run the command coreinfo –v."

Any command-line input or output is written as follows:

netsh interface ip set address "Local Area Connection" static 192.168.0.10 255.255.255.0 192.168.0.1 1

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: " To change the maximum number of simultaneous storage migrations, click on Storage Migrations".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.