Parameter Name

Description

Type

 

 

 

uuid

The unique identifier/object reference for

read only

 

the PBD.

 

 

 

 

sr-uuid

the storage repository that the PBD points to

read only

 

 

 

device-config

additional configuration information that is

read only map parameter

 

provided to the SR-backend-driver of a host

 

 

 

 

currently-attached

True if the SR is currently attached on this

read only

 

host, False otherwise

 

 

 

 

host-uuid

UUID of the physical machine on which the

read only

 

PBD is available

 

 

 

 

host

The host field is deprecated. Use host_uuid

read only

 

instead.

 

 

 

 

other-config

Additional configuration information.

read/write map parameter

 

 

 

pbd-create

pbd-createhost-uuid=<uuid_of_host>sr-uuid=<uuid_of_sr>[device-config:key=<corresponding_value>...]

Create a new PBD on a XenServer host. The read-only device-configparameter can only be set on creation.

To add a mapping of 'path' -> '/tmp', the command line should contain the argument device-

config:path=/tmp

For a full list of supported device-config key/value pairs on each SR type see Storage.

pbd-destroy

pbd-destroy uuid=<uuid_of_pbd>

Destroy the specified PBD.

pbd-plug

pbd-pluguuid=<uuid_of_pbd>

Attempts to plug in the PBD to the XenServer host. If this succeeds, the referenced SR (and the VDIs contained within) should then become visible to the XenServer host.

pbd-unplug

pbd-unplug uuid=<uuid_of_pbd>

Attempt to unplug the PBD from the XenServer host.

PIF Commands

Commands for working with PIFs (objects representing the physical network interfaces).

The PIF objects can be listed with the standard object listing command (xe pif-list), and the parameters manipulated with the standard parameter commands. See the section called “Low-level Parameter Commands” for details.

140

Page 158
Image 158
Citrix Systems 6 manual PIF Commands, Pbd-create, Pbd-destroy, Pbd-plug, Pbd-unplug