O'Reilly logo

PowerCLI Cookbook by Philip Sellers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a DRS group for virtual machines

Using what you just learned about MoRefs, you can build your first virtual machine DRS group. DRS groups are accessible in the Cluster view object. In this recipe, you will define a new group in the Cluster view object. The new group will contain several virtual machines and you will also define a host group. Once these are defined, you can create a rule that ties a VM group to a Host group.

To begin building a DRS group, the first step is to take a look at the structure in vSphere where the DRS groups are defined. This is part of the cluster view object in PowerCLI. In this view, you can define the configuration specifications that define the DRS groups, both for virtual machines and hosts. The same method ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required