HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

16 Getting started
Users with modify privileges can perform changes to disk array configurations. Users with view privileges
can perform only view-only CLI operations.
Only the user “administrator” can change Command View administrative settings, such as adding new
disk arrays. The administrator is also a modify user for disk array management operations.
When users with modify privileges issue the connect command, Command View tries to acquire
exclusive access to the disk array (lock the disk array). Locking prevents other users from making any
configuration changes to the disk array. If the lock cannot be obtained (for example, if another user is
making modifications to the array), the command will fail. Users with view permission can connect to a
disk array at any time, regardless of the lock state.
Discovering disk arrays
Once you are logged in, use the list device command to determine which disk arrays are available to
be managed:
list device
Adding disk arrays to be managed
Adding and deleting disk arrays is not supported by the Command View CLI. To add and delete disk
arrays, use the Command View GUI.
Connecting to a disk array
To select a disk array to manage, execute the connect command. You can manage any disk array listed
by the list device command.
connect <array_serial_number>
<array_serial_number> is the disk array’s serial number. If a connection can’t be made, an error
message is displayed.
Updating disk array configuration information
In some cases, following a successful connect command, Command View may need to update its
configuration data for the disk array by obtaining it from the disk array. This is also known as data
retrieval.
The update command copies information from the disk array to a database on the Command View
management station. The update process also occurs after running commands that change the disk array
configuration.
You cannot issue configuration modification commands while an update is in progress. The CLI rejects
commands and reports update data retrieval in progress. You can use list commands to
see the previous configuration data, but bear in mind that information may change once the data retrieval
process completes.
You can issue administrative commands during the data retrieval process. This includes the list
array_status command to display the status of the disk array. The command can be used to determine
when the data retrieval has completed.
list array_status
Disconnecting from a disk array
When you have finished managing a disk array, issue the disconnect command:
disconnect
Ending a CLI session
To end the CLI session and terminate the CLI program, use the exit command.
exit