Parameter Name

Description

Type

 

 

 

sr-uuid

the storage repository that the PBD

read only

 

points to

 

 

 

 

device-config

additional configuration information that

read only map parameter

 

is provided to the SR-backend-driver of a

 

 

host

 

 

 

 

currently-attached

True if the SR is currently attached on

read only

 

this host, False otherwise

 

 

 

 

host-uuid

UUID of the physical machine on which

read only

 

the PBD is available

 

 

 

 

host

The host field is deprecated. Use

read only

 

host_uuid 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).

166

Page 186
Image 186
Citrix Systems 5.6 manual PIF commands, Pbd-create, Pbd-destroy, Pbd-plug, Pbd-unplug