Migration User Guide for the HP Command View XP Portfolio and HP XP Remote Web Console 31
2CLI migration
NOTE: These reference names are used throughout this user guide:
• HP StorageWorks Command View XP, Version 2.x, is called Command View
• HP StorageWorks Command View XP Advanced Edition is called Command View AE
• HP StorageWorks XP Remote Web Console is called Remote Web Console
CLI migration overview
Command Line Interface (CLI) migration changes Command View CLI commands to equivalent Command
View AE CLI Commands. Migration includes the following tasks:
• Automated Command View CLI migration process
• Data collection process
• Manual Command View CLI migration process
The Command View AE CLI has different syntax, output format, and interactive behavior from the
Command View CLI. Because existing Command View CLI scripts will not work directly with the Command
View AE CLI, migration is required.
Many features of the Command View AE CLI are similar to the Command View CLI, such as volume
management, LUN configuration, LUN security, LUSE, and CVS. In addition, the Command View AE CLI
supports Business Copy and Continuous Access. The Command View AE CLI is also generally easier to use
with traditional UNIX
®
-style scripting tools.
One key difference between the Command View and Command View AE CLIs is that the Command View
AE CLI currently cannot combine multiple operations into a single “config change request” to the arrays.
Essentially, Command View AE scales as a linear function of requests. (Scaling is linear because
commands to the Command View AE CLI are processed one at a time.) On the other hand, scalability for
Command View is achieved by combining similar commands internally within the Command View server.
Command View’s response time can be similar for single or multi-command batch requests.
The CLI migration procedure involves migrating scripts and Command View CLI command/batch files by
using the automated CLI translation tool and a command mapping table (Table 14).
CLI Migration Tool overview
If you are currently using automated scripts to make configuration changes on your XP array(s), then the
Command View CLI scripts will need rework. The CLI Migration Tool automatically converts the Command
View CLI commands in the command file to equivalent Command View AE CLI commands. See Manual
CLI command mapping on page 38 if manual command mapping is needed.
CLI Migration Tool requirements
The CLI Migration Tool is supported for CLI command files from Command View 2.0 or later. It supports the
following arrays: XP512/XP48/XP128/XP1024/XP12000/XP10000.
CLI Migration Tool limitations
The migration tool can automatically migrate most Command View CLI Batch files. However, the tool will
not support migration of any other script types, such as K shell.
Supported target environments
The CLI Migration Tool runs on all platforms where the Command View and Command View AE CLI are
supported:
• HP-UX
• Windows