beautypg.com

Management commands, Cli management commands – HP StorageWorks 6000 Virtual Library System User Manual

Page 209

background image

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 10 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

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

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

- Saves the VLS virtual library configuration and network settings to the

specified external configuration file.

-h

- Displays command usage information (optional)

saveAllConfig

HP StorageWorks 6000–series Virtual Library System User Guide

209