A.26 create ServerPool

Creates a server pool.

Syntax

create ServerPool virtualIP=value clusterEnable= { yes | no } filesystem=value physicalDisk=value keymapName=value migrateUsingSsl= { yes | no } [startPolicy= { BEST_SERVER | CURRENT_SERVER }] name=value [description=value]

Description

This command creates a server pool.

Options

The following table shows the available options for this command.

Option

Description

virtualIP=value

The virtual IP address for the server pool.

clusterEnable= { yes | no }

Whether to enable a clustered server pool. If this parameter is not included, the default is no, so the server pool is not clustered. If this parameter is set to yes, you must also include either the filesystem or physicalDisk option to provide a location for the server pool file system.

filesystem=value

The file system to use for the server pool file system.

physicalDisk=value

The physical disk to use for the server pool file system.

Note

You cannot create a server pool file system on a local physical disk as the server pool file system needs to be accessible by all servers in the server pool.

keymapName=value

The key mapping to be used when connecting to a virtual machine's console.

migrateUsingSsl= { yes | no }

Whether to enable secure migration of virtual machines using SSL.

startPolicy= { BEST_SERVER | CURRENT_SERVER }

The policy by which virtual machines are located when created in the server pool. If none is provided, the CURRENT_SERVER option is used by default.

name=value

A name to identify the server pool.

description=value

Optional description for the server pool.

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.34 Creating a clustered server pool

OVM> create ServerPool virtualIP=10.172.77.195 clusterEnable=yes \
  filesystem=nfs:/mnt/vol1/poolfs01 name=MyServerPool description='Clustered server pool'

Example A.35 Creating an unclustered server pool

OVM> create ServerPool virtualIP=10.172.77.195 clusterEnable=no name=MyServerPool \
  description='Unclustered server pool'

See Also