Book Image

VMware vCenter Cookbook

By : Kostantin Kuminsky
Book Image

VMware vCenter Cookbook

By: Kostantin Kuminsky

Overview of this book

Table of Contents (15 chapters)
VMware vCenter Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

This book will become your assistant in the day-to-day administration of the VMware virtual environment with vCenter Server.

My goal was to make this book as practical as possible. Each chapter is focused on detailed steps on how to perform administrative tasks and implement solutions. The intention was to provide the minimum amount of theory, just enough to understand what a feature does and why it can be useful.

While there is no lack of literature about vCenter, this topic is quite broad and can't be completely covered in one book. The selection of advice and solutions included here has been made based on daily tasks I was challenged with during my work. So with high probability, most of these tasks will be useful for other administrators who work with vSphere and vCenter.

Also, one of the goals of this book was to make each recipe self-sufficient so that there is no need to read a bunch of other articles and tips to implement a particular feature or setting. That's why you will not be required to read each chapter from top to bottom. A reader should be able to open a particular device and implement the solution if it suits their requirements.

Easier recipes will be useful for administrators who are just starting to work with vCenter. More advanced administrators may benefit from solutions related to scripting and new features introduced in vSphere 5.

With Web Client, this became available in vSphere 5 and many administrators are just starting to learn it. As this transition is happening, I have focused my attention on both Web Client and traditional vSphere Client, unless it's a new feature that can be configured only in Web Client.

Finally, beside recipes with step-by-step instructions, there is general advice about NUMA and virtual CPUs more related to planning. The principles described here are important to keep in mind each time you create a new virtual machine.

Enjoy reading!

What this book covers

Chapter 1, vCenter Basic Tasks and Features, covers some basic solutions administrators may need to implement while working with vCenter.

Chapter 2, Increasing Environment Availability, covers availability solutions offered by vCenter, including High Availability (HA), Fault Tolerance (FT), Admission Control, backup, and replication.

Chapter 3, Increasing Environment Scalability, describes vCenter features that can improve an administrator's efficiency. These features include templates, customizations, and host profiles.

Chapter 4, Improving Environment Efficiency, covers enhancements designed to improve an environment's efficiency.

Chapter 5, Optimizing Resource Usage, discovers options available to administrators to improve resource usage. These include Distributed Resource Scheduler (DRS) and Storage DRS, VM shares, limits and reservations, and network and storage I/O control.

Chapter 6, Basic Administrative Tasks, covers administrative tasks that allow increasing an administrator's control and visibility in the environment.

Chapter 7, Improving Environment Manageability, includes advice to improve an environment's manageability by utilizing tags, new commands, netdump, virtual switch backup, and PowerCLI.

What you need for this book

All recipes in this book assume that you already have vCenter deployed and that it already has some hosts and datastores connected. You may be running vCenter with a trial license, which will work just fine if you decide to try some of the solutions described. All features and settings mentioned in this book exist in any vSphere 5 version, unless otherwise noted.

Who this book is for

VMware vCenter Cookbook is intended for system administrators who have some experience with virtualization and already use VMware vCenter. This book will be helpful for those looking for tips or shortcuts for common administration tasks as well as work-arounds for pain points of vSphere administration.

Sections

In this book, you will find several headings that appear frequently (Getting ready, How to do it, How it works, There's more, and See also).

To give clear instructions on how to complete a recipe, we use these sections as follows:

Getting ready

This section tells you what to expect in the recipe, and describes how to set up any software or any preliminary settings required for the recipe.

How to do it…

This section contains the steps required to follow the recipe.

How it works…

This section usually consists of a detailed explanation of what happened in the previous section.

There's more…

This section consists of additional information about the recipe in order to make the reader more knowledgeable about the recipe.

See also

This section provides helpful links to other useful information for the recipe.

Conventions

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

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Locate the image profile using the Get-EsxImageProfile cmdlet."

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

$targetHost = "esxi6"
New-VM -vmhost $targetHost ...

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: " To do that, close the current dialog and click on Enable VM Storage policies per compute resource icon, select a cluster from the list, and click on Enable."

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 disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail , and mention the book's title in 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 at 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.

Downloading the color images of this book

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from https://www.packtpub.com/sites/default/files/downloads/3976EN_ColoredImages.pdf.

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 could 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/submit-errata, 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 to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted 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

If you have a problem with any aspect of this book, you can contact us at , and we will do our best to address the problem.