A.60 edit AntiAffinityGroup

Edits an anti affinity group in a server pool.

Syntax

edit AntiAffinityGroup instance [ name=value ] [ description=value ]

Where instance is:

{ id=value | name=value }

Description

This command edits the attributes of 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.

Although none of the options are mandatory, you must supply at least one option.

Options

The following table shows the available options for this command.

Option

Description

name=value

A name to identify the anti affinity group.

description=value

Optional description for the anti affinity group. value is a maximum of 4,000 characters.

{ id=value | name=value }

The instance of the object using either the id or name option, for example name=MyAAGroup.

Examples

Example A.82 Editing an anti affinity group

OVM> edit AntiAffinityGroup name=MyAAGroup description="My Anti Affinity Group"

See Also