Configuration Files; Cli Migration Data Collection Tool (Cmdct); Xp512/Xp48; Xp128/Xp1024/Xp12000/Xp10000 - 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

3.
Run the cmt batch file under /temp/migrationtool with inputcommand filename, serial number of the
array, type of array, and the property filename (an optional parameter is the cmdct tool output file).
Syntax of cmt:
cmt -f <input command file> -type <array type>
-slno <array serial number> [-p <properties filename>]
Example:
cmt -f input_lun.txt -type 1024 -slno 10056 -p 10056.properties
Make note of the following issues:
One input command file should contain Command View CLI commands for a single array.
The tool continues to translate subsequent commands in the input file, even if the translation fails for
some commands, until it reaches the end of the file or maximum line that the tool supports (this is a
configurable value).
The output file is named <inputFileName>_out.bat for Windows operating systems and
<inputFileName>_out.sh for non-Windows operating systems (this is a configurable value).
The output of this tool can be directly executed in the hdvmcli environment.
The tool uses its XML files internally. Do not edit them. The behavior is unpredictable if the files are
edited.

Configuration files

The configuration file cmt.cfg is located in /migrationtool contains the following configurable
parameters:
The maximum line that the tool can translate in a single invocation
The name of the operating system where the output of this tool will be run
The tracelevel to get debug information for the tool
• Value ranges from 0 to 8, with 0 being the lowest and 8 being the highest tracelevel.
The configuration file cmdct.cfg, which is currently in the /migrationtool directory,contains
the following configurable parameters:
The cmdct tool trace file name
The tracelevel to get debug information for the cmdct tool
• Value ranges from 0 to 8, with 0 being the lowest and 8 being the highest tracelevel.

CLI Migration Data Collection Tool (cmdct)

You will occasionally need to collect data from the array SVP. Because of the functional differences
between the Command View CLI and Command View AE CLI, the expected input parameters for some
commands might vary. For example, the Command View AE CLI expects a particular parameter for
HostGroup ID, but the Command View CLI uses the HostGroup nickname for the same functionality.
The CLI Migration Data Collection Tool accommodates the differences in the parameters between the
Command View CLI and hdvmcli by collecting and translating the data from the array.
The following commands collect data that is needed for the translation:

XP512/XP48:

add security to lun group
add wwn to wwn group
create wwn group
delete wwn
delete wwn from wwn group
delete security from lun group

XP128/XP1024/XP12000/XP10000:

delete HostGroup
Migration User Guide for the HP Command View XP Portfolio and HP XP Remote Web Console
37

Advertisement

Table of Contents
loading

Table of Contents