Creates an anti affinity group in a server pool.
Syntax
create AntiAffinityGroup
name=
[
value
description=
]
value
on ServerPool
instance
Where
is:
instance
{
id=
|
value
name=
}value
Description
This command creates an anti affinity group in a server pool. To add a virtual machine to an anti affinity group, use the add Vm command. To remove a virtual machine from an anti affinity group, use the remove Vm command.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
| A name to identify the anti affinity group. |
|
Optional description for the anti affinity group.
|
{
|
The instance of the object using either the
|
Any create command only creates a single instance of an object, and therefore only accepts a single object instance as an attribute. Providing more than one object of the same attribute type as a parameter always results in the last attribute value taking precedence.
Examples
Example A.45 Creating an anti affinity group
OVM> create AntiAffinityGroup name=MyAAGroup on ServerPool name=MyServerPool