Supported Commands; Translating Batch Files; Using The Cli Migration Tool; Cli Migration Tool Procedure - HP XP1024 User Manual

Migration user guide for the hp command view xp portfolio and hp xp remote web console (t1780-96005, july 2005)
Hide thumbs Also See for XP1024:
Table of Contents

Advertisement

Supported commands

The CLI Migration Tool supports the following features:
LUN Management
Volume Management (LUSE, CVS)
LUN Security

Translating batch files

The CLI Migration Tool provides a way for you to automatically translate batch files that contain Command
View CLI commands to Command View AE CLI commands. The commands are processed in two steps:
1.
Command translation: Translates the CV CLI commands to equivalent Command View AE CLI
commands
2.
Data translation: Translates the data portions (input parameters) to Command View AE CLI command
parameters
Command View CLI command parameters or data portions need to be translated because the Command
View CLI and Command View AE CLI are different.
This is an example of a Command View CLI command:
create lun 1A, 16dec1, 9, 3, 48
where create lun is the command portion, and the arguments 1A, 16dec1, 9, 3, 48 are the data
portion for the migration tool.
The CLI Migration Tool execution status appears on the console.
See
Error codes

Using the CLI Migration Tool

CLI Migration Tool procedure

Input the batch file that contains only Command View CLI commands for the CLI migration tool (for
example,
cmt –f < inputFileName > -type <array Type> –slno <arraySerialNo> [-p
<arrayserialNo.properties>])
An error message appears if the CLI Migration Tool identifies any syntax errors.
After the Command View CLI command(s) pass the syntax check, an output file documents the
conversion to Command View AE CLI commands. This process of generating the commands
automatically is called command translation.
The tool will not convert unsupported or invalid command syntax, which is marked with the following
text message:
" ### line##<line number> <inputCommand> <Error code>
supported for this command.
" ### line##<line number> <inputCommand> : Invalid command syntax. Please refer
to command mapping table ### "
• If you encounter this error message in the output file, manually edit the CLI command using the
command mapping table (see
Because of the differences in the Command View CLI and Command View AE CLI, data translation
might create errors marked as (<*** ErrorCode dataportion ***> and
<***errorcode***>) . See
If you encounter the error (<*** ErrorCode dataportion ***>), supply the optional parameter
<arrayserialNo>.properties to the CLI Migration Tool.
Use the CLI Migration Data Collection Tool to generate the property file
<arrayserialNo>.properties. See
Use the generated command file directly in the Command View AE CLI working environment.
32
CLI migration
on page 69 for detailed success/failure messages.
Manual CLI command mapping
Error codes
Please refer to command mapping table ### "
on page 69 for more details.
CLI Migration Data Collection Tool (cmdct)
:
Translation not
on page 38).
on page 37.

Advertisement

Table of Contents
loading

Table of Contents