A.44 create ServerPoolNetworkPolicy

Creates a server pool network policy.

Syntax

create ServerPoolNetworkPolicy [ policyEnable= { Yes | No } ] [ policyThreshold=value ] network=value name=value [ description=value ] on ServerPool instance

Where instance is:

{ id=value | name=value }

Description

This command creates a server pool network policy. A server pool network policy is the object that controls DPM/DRS behavior of the virtual machines associated with the server pool based on network bandwidth usage.

Options

The following table shows the available options for this command.

Option

Description

policyEnable= { Yes | No }

Set whether to enable the policy set in the policyMode option of the create ServerPool or edit ServerPool command.

policyThreshold=value

The percentage (%) of network bandwidth the policy uses to move virtual machines. value can be an integer between 0 and 100.

network=value

The name or ID of the network associated with the policy, which is used to administer the policy for the server pool.

name=value

A name to identify the server pool network policy.

description=value

Optional description for the server pool network policy. value is a maximum of 4,000 characters.

Note

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.60 Creating a server pool network policy

OVM> create ServerPoolNetworkPolicy network=MyNetwork policyEnable=Yes name=MyNetworkPolicy \
  on ServerPool name=MyServerPool

See Also