A.48 edit Server

Edits an Oracle VM Server.

Syntax

edit Server instance [maintenanceMode= { yes | no }] [roles= { VIRTUAL_MACHINE | UTILITY }] [takeOwnership= { yes | no }] [name=value] [description=value]

Where instance is:

{ id=id | name=name }

Description

This command edits an Oracle VM Server. Use this command to place an Oracle VM Server into or out of maintenance mode, and to take or relinquish ownership of an Oracle VM Server.

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

maintenanceMode= { yes | no }

Whether to place the Oracle VM Server into maintenance mode.

roles= { VIRTUAL_MACHINE | UTILITY }

The role(s) of the Oracle VM Server. Enter options separated by commas (,), for example:

roles=VIRTUAL_MACHINE,UTILITY

takeOwnership= { yes | no }

Whether to take ownership of the Oracle VM Server.

name=value

A name to identify the Oracle VM Server.

description=value

Optional description for the Oracle VM Server .

{ id=id | name=name }

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

Examples

Example A.62 Editing an Oracle VM Server

OVM> edit Server name=MyServer description="My Oracle VM Server"

Example A.63 Taking ownership of an Oracle VM Server

OVM> edit Server name=MyServer takeOwnership=yes

Example A.64 Placing an Oracle VM Server into maintenance mode

OVM> edit Server name=MyServer maintenanceMode=yes

See Also