Book Image

VMware vSphere 5.1 Cookbook

By : Abhilash G B
Book Image

VMware vSphere 5.1 Cookbook

By: Abhilash G B

Overview of this book

Amidst all the recent competition from Citrix and Microsoft, VMware's vSphere product line is still the most feature rich and futuristic product in the virtualization industry. Knowing how to install and configure vSphere components is important to give yourself a head start towards virtualization using VMware. If you want to quickly grasp the installation and configuration procedures, especially by using the new vSphere 5.1 web client, this book is for you.VMware vSphere 5.1 Cookbook will take you through all the steps required to accomplish a task with minimal reading required. Most of the tasks are accompanied with relevant screenshots with an intention to provide a visual guidance as well.The book has many useful recipes that will help you progress through the installation of VMware ESXi 5.1 and vCenter Server 5.1. You will learn to use Auto Deploy and Image Profiles to deploy stateless/stateful ESXi servers, configure failover protection for virtual machines using vSphere HA, configure automated load balancing using vSphere DRS and DPM. Finally, the book guides you through upgrading or patching ESXi servers using VMware Update Manager and also deploying and configuring vSphere Management Assistant (VMA) to be able to run scripts to manage the ESXi servers.
Table of Contents (20 chapters)
VMware vSphere 5.1 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating "Inter-VM" affinity/anti-affinity rules


Unlike the VM-Host affinity rules, the inter-virtual machine (VM-VM) affinity rules can work between individual VMs.

How to do it…

The following procedure will help you create an Inter-VM affinity/Anti-affinity rule.

  1. From the vCenter's inventory home, navigate to the Hosts and Clusters view.

  2. Select the cluster and navigate to Manage | Settings | DRS Rules and click on Add… to bring up the Create DRS Rule window.

  3. In the Create DRS Rule window, supply a name for the rule, and choose the rule type. In this example, we have selected the rule Separate Virtual Machines. If you intend to keep the VMs together then select the rule Keep Virtual Machines Together.

  4. With the rule selected, click on the Add… button to bring-up the Add Rule Member window.

  5. In the Add Rule Member window, select the VMs to be added and click on OK.

  6. The Create DRS Rule window should now list the VMs added as to-be members which would participate in the rule. Click on OK to create...