HP 12000 HP 12200 Gateway Virtual Library System User Guide (BW403-10001, June - Page 140

Usage, Command, Cartridge VLS filename

Page 140 highlights

Table 17 CLI Configuration Commands (continued) Command Usage 1 -f - Force. This parameter is ignored and is present only for backward compatibility (optional) -h - Displays command usage information (optional) getCartsBySP Gets cartridges by storage pool name. Where the options are: -a - Storage pool name (StoragePool_#) (optional) -h - Displays command usage information (optional) getCartTypes Returns a list of available cartridge emulation types. Displays each cartridge emulation's name, type, and capacity information. Where the options are: -l - List only licensed types (optional) -h - Displays command usage information (optional) getCartTypesByTape Returns a list of available cartridge emulation types for the tape drive specified. Displays each cartridge emulation's name, type, and capacity information. Where the options are: -a - Name of tape drive type (required) -h - Displays command usage information (optional) createCartridge Creates the specified number of cartridges with the specified barcode and associated with the specified library. Note: If you specify more cartridges than slots defined for the library, this command only creates enough cartridges for the slots available. That is, if your library has 100 slots and you specify 125 total cartridges, this command creates 100 cartridges. Likewise, if 50 cartridges were already created for this library, this command would create only 50 more cartridges, even though 125 are specified by the command. Where the options are: -a - Cartridge name (DLT, ...) (required) -b - Barcode prefix (required) -c - Capacity in gigabytes (required) -l - Library name (Library_0, ...) (required) -n - Number of cartridges (required) -ov - Oversubscribe (0 or 1) (required) -s - Storage pool name (StoragePool_#) (optional) -y - Cartridge type (2, ...) (required) -h - Displays command usage information (optional) getCartridges Returns a list of the cartridges that have been created. All cartridges have both a VLS filename (cartridge name) and a barcode label. This command returns the following cartridge metadata: • Storage pool the cartridge resides (SD_1_0) • Cartridge VLS filename • Cartridge capacity (in GB) • Consumed capacity (in GB) • Cartridge type • Timestamp value for when it was last loaded • Whether or not it is write-enabled (0) or write-protected (1) • Library to which it belongs • Barcode label getCartsByLib Returns a list of the cartridges associated with the specified library. Where the options are: -a - Name of library (Library_0, ...) (required) 140 CLI Command Set

  • 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
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205

Table 17 CLI Configuration Commands
(continued)
Usage
1
Command
-f
- Force. This parameter is ignored and is present only for backward compatibility
(optional)
-h
- Displays command usage information (optional)
Gets cartridges by storage pool name. Where the options are:
-a
<s>
- Storage pool name (StoragePool_#) (optional)
getCartsBySP
-h
- Displays command usage information (optional)
Returns a list of available cartridge emulation types. Displays each cartridge emulation's
name, type, and capacity information. Where the options are:
-l
- List only licensed types (optional)
getCartTypes
-h
- Displays command usage information (optional)
Returns a list of available cartridge emulation types for the tape drive specified. Displays
each cartridge emulation's name, type, and capacity information. Where the options
are:
-a
<s>
- Name of tape drive type (required)
getCartTypesByTape
-h
- Displays command usage information (optional)
Creates the specified number of cartridges with the specified barcode and associated
with the specified library.
Note: If you specify more cartridges than slots defined for the library, this command only
creates enough cartridges for the slots available. That is, if your library has 100 slots
createCartridge
and you specify 125 total cartridges, this command creates 100 cartridges. Likewise, if
50 cartridges were already created for this library, this command would create only 50
more cartridges, even though 125 are specified by the command.
Where the options are:
-a
<s>
- Cartridge name (DLT, ...) (required)
-b
<s>
- Barcode prefix (required)
-c
<n>
- Capacity in gigabytes (required)
-l
<s>
- Library name (Library_0, ...) (required)
-n
<n>
- Number of cartridges (required)
-ov
<n>
- Oversubscribe (0 or 1) (required)
-s
<s>
- Storage pool name (StoragePool_#) (optional)
-y
<n>
- Cartridge type (2, ...) (required)
-h
- Displays command usage information (optional)
Returns a list of the cartridges that have been created. All cartridges have both a VLS
filename (cartridge name) and a barcode label. This command returns the following
cartridge metadata:
getCartridges
Storage pool the cartridge resides (SD_1_0)
Cartridge VLS filename
Cartridge capacity (in GB)
Consumed capacity (in GB)
Cartridge type
Timestamp value for when it was last loaded
Whether or not it is write-enabled (0) or write-protected (1)
Library to which it belongs
Barcode label
Returns a list of the cartridges associated with the specified library. Where the options
are:
-a
<s>
- Name of library (Library_0, ...) (required)
getCartsByLib
140
CLI Command Set