A.11 add Server

Adds an Oracle VM Server to an object.

Syntax

add Server instance to { AccessGroup | CpuCompatibilityGroup | Repository | ServerPool } instance

Where instance is:

{ id=value | name=value }

Description

This command adds an Oracle VM Server to either a CPU compatibility group, server pool, storage repository or access group.

When you add an Oracle VM Server to a storage repository, you are making that Oracle VM Server available to perform admin duties for that storage object.

To present a storage repository to all Oracle VM Servers in a server pool, use the add ServerPool command.

To add admin servers to a file server or storage array, use the addAdminServer command.

Options

The following table shows the available options for this command.

Option

Description

{ AccessGroup | CpuCompatibilityGroup | Repository | ServerPool }

The object on which to assign the Oracle VM Server as an admin server.

{ id=value | name=value }

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

Examples

Example A.12 Adding an Oracle VM Server to a CPU compatibility group

OVM> add Server name=MyServer to CpuCompatibilityGroup name=MyCPUGroup

Example A.13 Adding an Oracle VM Server to a server pool

OVM> add Server name=MyServer to ServerPool name=MyServerPool

Note

It is not possible to add an Oracle VM Server to a server pool if the Oracle VM Server is running software prior to the 3.4 release and the server pool has not been configured with a virtual IP address. See What is a Master Server and a Virtual IP Address? in the Oracle VM Concepts Guide for more information.


Example A.14 Adding an Oracle VM Server to an access group

OVM> add Server name=MyServer to AccessGroup name=MyAccessGroup

Example A.15 Adding (presenting) an Oracle VM Server to a storage repository

OVM> add Server name=MyServer to Repository name=MyRepository

See Also