A.49 edit ServerPool

Edits a server pool.

Syntax

edit ServerPool instance [keymapName=value] [migrateUsingSsl= { yes | no }] [startPolicy= { BEST_SERVER | CURRENT_SERVER }] [masterServer=value] [name=value] [description=value]

Where instance is:

{ id=id | name=name }

Description

This command edits a server pool. Use this command to change the master Oracle VM Server, change the keyboard mapping and set whether to use secure migration of virtual machines.

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

It is not possible to edit the cluster enable flag or the virtual IP address for a server pool if there are servers in the server pool already. Attempts to edit these attributes for a server pool that already contain servers fail and result in an error.

Options

The following table shows the available options for this command.

Option

Description

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. The default is CURRENT_SERVER.

masterServer=value

The master Oracle VM Server to use for the server pool.

name=value

A name to identify the server pool.

description=value

Optional description for the server pool.

{ id=id | name=name }

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

Examples

Example A.65 Editing a server pool

OVM> edit ServerPool name=MyServerPool name=MyOtherServerPool migrateUsingSsl=yes

Example A.66 Changing the master Oracle VM Server

OVM> edit ServerPool id=0004fb000002000037db5e362c85a3fe masterServer=MyServer

Example A.67 Changing the virtual machine start policy

OVM> edit ServerPool name=MyServerPool startPolicy=BEST_SERVER

See Also