Invoking The Cli Migration Data Collection Tool; Invoking The Cli Migration Tool; Format Of Input File; Format Of Property File <Arrayserialno>.Properties: Optional Parameter - 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

NOTE:
The generated command file from the CLI Migration Tool cannot be fed to the Command View AE
CLI with the –i option
See
Sample commands for CLI migration

Invoking the CLI Migration Data Collection Tool

Run the CLI Migration Data Collection Tool from a workstation that has access to the array for which the
data is being collected. For XP512/XP48 arrays with IP Security enabled, the IP address of the workstation
needs to be added to the IPSecurity in the SVP. For the XP128/XP1024/XP12000/XP10000 arrays, the
workstation should have access to the SVP, even if a firewall has been set up.
Invoke the CLI Migration Data Collection tool by executing the following command under the
migrationtool directory. (The tool takes ArrayIPAddress and ArrayType [integer value] as
parameters.)
cmdct -ip <ArrayIPAddress> -type <ArrayType>
The tool communicates with the array to collect the data and store it in the output file in a format that the
CLI Migration Tool understands. The output file is created under the working directory of the tool as
<arraySerialNo>.properties.

Invoking the CLI Migration Tool

Translate the commands in the Command View CLI file to equivalent Command View AE CLI commands by
invoking the CLI Migration Tool in the command prompt. This tool takes Command View CLI commands file
names, array serial number, and ArrayType [integer value] as parameters.
Under the CVCLIMigTool (migrationtool) directory, execute the following command:
cmt –f <inputFileName> -slno <arraySerialNo> -type <arrayType> [-p
<arrayserialNo.properties>]

Format of input file

The file must contain only Command View CLI commands. The CLI Migration Tool (cmt) can take any type
of file as an input (for example, *.bat, *.sh,*.txt,*.pl, and others).
NOTE:
The tool does not alter or modify the input data.
Format of property file <arrayserialNo>.properties: optional parameter
The property file contains details such as the HG name to HG ID mapping, and the WWN name to
WWN nickname mapping. These details should be encoded, as shown below. The file name should be
the serial number of the array. The file can be generated by using the CLI Migration Data Collection Tool
(cmdct).
The property file contains two sections:
System section (**DO NOT EDIT**): Applicable for all arrays
• The cmdct tool generates this portion and files all of the required fields. This portion should not be
edited.
User section (optional): Not applicable for the XP512/XP48 arrays
• This portion is reserved for values that depend on a specific condition. Supply the values if you
intend to use the following commands for translation (such as "cmt").
You will need to edit the "user" section of the .properties file only. Also, you will need to add entries
describing any entities that do not exist in the array at the time the migration tool is to be run.
For example, when a script being translated creates a new host group, details of that group will need to be
supplied. See
Sample commands for CLI migration
Migration User Guide for the HP Command View XP Portfolio and HP XP Remote Web Console
on page 73 for a description of sample commands.
on page 73 for additional guidance.
33

Advertisement

Table of Contents
loading

Table of Contents