HP BL680c XenServer Administrator's Guide 4.1.0 - Page 72

PBD commands

Page 72 highlights

Command line interface Delete the specified patch file from the XenServer Host. 5.4.8.3. patch-pool-apply patch-pool-apply uuid=patch UUID Apply the specified patch to all XenServer Hosts in the pool. 5.4.8.4. patch-precheck patch-precheck uuid=patch UUID host-uuid=host UUID Run the prechecks contained within the specified patch on the specified XenServer Host. 5.4.8.5. patch-upload patch-upload file-name=patch filename Upload a specified patch file to the XenServer Host. This prepares a patch to be applied. On success, the UUID of the uploaded patch is printed out. If the patch has previously been uploaded, a PATCH_ALREADY_EXISTS error is returned instead and the patch is not uploaded again. 5.4.9. PBD commands Commands for working with PBDs (Physical Block Devices). These are the software objects through which the XenServer Host accesses storage repositories (SRs). The PBD objects can be listed with the standard object listing command (xe pbd-list), and the parameters manipulated with the standard parameter commands. See Section 5.3.2, "Low-level param commands" for details. PBD parameters PBDs have the following parameters: Parameter Name uuid sr-uuid device-config currently-attached host-uuid Description Type The unique identifier/object reference for read only the PBD. the storage repository that the PBD points read only to additional configuration information that is provided to the XenServer Host's SRbackend-driver read only map parameter Is the SR currently attached on this host? read only True or False UUID of the physical machine on which the read only PBD is available 5.4.9.1. pbd-create pbd-create host-uuid=UUID of XenServer Host sr-uuid=UUID of SR [device-config:key=corresponding value ...] 66

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Command line interface
66
Delete the specified patch file from the XenServer Host.
5.4.8.3. patch-pool-apply
patch-pool-apply
uuid=
patch UUID
Apply the specified patch to all XenServer Hosts in the pool.
5.4.8.4. patch-precheck
patch-precheck
uuid=
patch UUID
host-uuid=
host UUID
Run the prechecks contained within the specified patch on the specified XenServer Host.
5.4.8.5. patch-upload
patch-upload
file-name=
patch filename
Upload a specified patch file to the XenServer Host. This prepares a patch to be applied. On suc-
cess, the UUID of the uploaded patch is printed out. If the patch has previously been uploaded, a
PATCH_ALREADY_EXISTS error is returned instead and the patch is not uploaded again.
5.4.9. PBD commands
Commands for working with PBDs (Physical Block Devices). These are the software objects through which
the XenServer Host accesses storage repositories (SRs).
The PBD objects can be listed with the standard object listing command (
xe pbd-list
), and the parameters
manipulated with the standard parameter commands. See Section 5.3.2, “Low-level param commands” for
details.
PBD parameters
PBDs have the following parameters:
Parameter Name
Description
Type
uuid
The unique identifier/object reference for
the PBD.
read only
sr-uuid
the storage repository that the PBD points
to
read only
device-config
additional configuration information that
is provided to the XenServer Host's SR-
backend-driver
read only map parameter
currently-attached
Is the SR currently attached on this host?
True or False
read only
host-uuid
UUID of the physical machine on which the
PBD is available
read only
5.4.9.1. pbd-create
pbd-create
host-uuid=
UUID
of
XenServer
Host
sr-uuid=
UUID
of
SR
[de-
vice-config:key=
corresponding value
...]