HP 12000 HP StorageWorks 12000 Gateway Virtual Library System User Guide (AH81 - Page 175

Management Commands

Page 175 highlights

Management Commands Use the CLI commands in CLI Management commands to: • Change the account passwords • Manage cartridges • Restart the VLS device emulations • Save configuration settings • Restore configuration settings Table 7 CLI management commands Command changePassword Usage 1 Resets the administrative password, or changes the administrative or user password. Command View VLS automatically restarts after changing the passwords to make the changes take effect. Where the options are: -admin - Reset the administrator password ( -u and -p are ignored) (optional) -p - Password (no spaces) (optional) -u - Username (administrator or user). Default is current user. (optional) -h - Displays command usage information (optional) editCartridge Changes parameters on an existing cartridge. Where the options are: -a - VLS filename of the cartridge (required) -b - Barcode label of the cartridge (required) -c - Current capacity of the cartridge in gigabytes (optional). Only required if changing the cartridge capacity. -l - Name of library in which the cartridge resides (Library_0, ...) (required) -nc - Desired new capacity of the cartridge in gigabytes (optional) -nl - Name of the new library if moving cartridge (Library_1, ..) (optional) -s - Storage LUN name (SLun_#) (required) -w - Write protect? (0-read/write or 1-read only) (optional) -y - Cartridge emulation type (2, 3, ...) (required) -h - Displays command usage information (optional) restartEmulations Restarts the VLS device emulations. restartCommandViewVLS restartSystem shutdownSystem shutdownNode saveAllConfig Restarts Command View VLS. Shuts down and restarts the VLS node. Shuts down the VLS node so it can be powered off. Shuts down the VLS node so it can be powered off. Where the options are: -o - Saves the VLS virtual library configuration and network settings to the specified external configuration file. -h - Displays command usage information (optional) HP StorageWorks 12000 Gateway Virtual Library System User Guide 175

  • 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
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264

Management Commands
Use the CLI commands in
CLI Management commands
to:
Change the account passwords
Manage cartridges
Restart the VLS device emulations
Save configuration settings
Restore configuration settings
Table 7 CLI management commands
Usage
1
Command
Resets the administrative password, or changes the administrative or user password.
Command View VLS automatically restarts after changing the passwords to make
the changes take effect. Where the options are:
-admin
- Reset the administrator password ( -u and -p are ignored) (optional)
-p
- Password (no spaces) (optional)
-u
- Username (administrator or user). Default is current user. (optional)
-h
- Displays command usage information (optional)
changePassword
Changes parameters on an existing cartridge. Where the options are:
-a
<s>
- VLS filename of the cartridge (required)
-b
<s>
- Barcode label of the cartridge (required)
-c
<n>
- Current capacity of the cartridge in gigabytes (optional). Only required
if changing the cartridge capacity.
-l
<s>
- Name of library in which the cartridge resides (Library_0, ...) (required)
-nc
<n>
- Desired new capacity of the cartridge in gigabytes (optional)
-nl
<s>
- Name of the new library if moving cartridge (Library_1, ..) (optional)
-s
<s>
- Storage LUN name (SLun_#) (required)
-w
- Write protect? (0-read/write or 1-read only) (optional)
-y
<n>
- Cartridge emulation type (2, 3, ...) (required)
-h
- Displays command usage information (optional)
editCartridge
Restarts the VLS device emulations.
restartEmulations
Restarts Command View VLS.
restartCommand-
ViewVLS
Shuts down and restarts the VLS node.
restartSystem
Shuts down the VLS node so it can be powered off.
shutdownSystem
Shuts down the VLS node so it can be powered off.
shutdownNode
Where the options are:
-o
<s>
- Saves the VLS virtual library configuration and network settings to the
specified external configuration file.
-h
- Displays command usage information (optional)
saveAllConfig
HP StorageWorks 12000 Gateway Virtual Library System User Guide
175