HP StorageWorks 300 HP StorageWorks 300 Virtual Library System user guide (AH1 - Page 115

Monitoring commands, Table 8 CLI management commands

Page 115 highlights

Table 8 CLI management commands Command Usage 1 changePassword Reset the administrative password, or change the administrative or user password. Command View VLS automatically restarts after changing the password(s) 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 Change an existing cartridge parameters. 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) -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 Restarts Command View VLS. restartSystem Shuts down and restarts the VLS node. shutdownSystem Shuts down the VLS node so it can be powered off. saveAllConfig 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) restoreAllConfig Where the options are: -in - Restores the VLS virtual library configuration and network settings from the specified external configuration file. -h - Displays command usage information (optional) 1 = string; = number; = filename Monitoring commands Use the CLI commands in to: • View the VLS health status HP StorageWorks 115

  • 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

Table 8 CLI management commands
Command
Usage
1
changePassword
Reset the administrative password, or change the
administrative or user password. Command View VLS
automatically restarts after changing the password(s) 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
Change an existing cartridge parameters. Where the
options are:
-a
<s>
- VLS
lename 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)
-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)
restartEmulations
Restarts the VLS device emulations.
restartCommandViewVLS
Restarts Command View VLS.
restartSystem
Shuts down and restarts the VLS node.
shutdownSystem
Shuts down the VLS node so it can be powered off.
saveAllConfig
Where the options are:
-o
<s>
- Saves the VLS virtual library con
guration
and network settings to the speci
ed external
con
guration
le.
-h
- Displays command usage information (optional)
restoreAllConfig
Where the options are:
-in
<s>
- Restores the VLS virtual library con
guration
and network settings from the speci
ed external
con
guration
le.
-h
- Displays command usage information (optional)
1
<s> = string; <n> = number; <f> =
lename
Monitoring commands
Use the CLI commands in to:
View the VLS health status
HP StorageWorks
115