Sample Executions Of The Cli Migration Tool (Xp128/Xp1024/Xp10000/Xp12000); Sample Execution Of The Cli Migration Data Collection Tool; Sample Execution Of The Cli Migration Tool - 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

Sample executions of the CLI Migration Tool
(XP128/XP1024/XP10000/XP12000)
This section provides sample execution of instances where success, failure, and errors (with error#)
occurred for the XP128/XP1024/XP10000/XP12000.
Unsupported commands for automatic translation and an insufficient data portion for the Command View
AE CLI are the major causes of failure or error when using the CLI Migration Tool.

Sample execution of the CLI Migration Data Collection Tool

NOTE:
In the following example, you can create host groups by editing the user section of the property
file (see the green text in the example for the 10033.properties file) before running the cmt tool. In the cmt
tool output, the command will be translated without any errors (see the command in green font in the
example for the 10033_out.sh file).
C:\ migrationtool> cmdct -ip 15.43.212.61 -type 1024
Output property file 10033. properties contains the following commands:
# System generated file!.Generated @2005-05-20T12:34:18
# User section
# User editable portion
# NOTE- Each name value pair should start in a new line.
#hostGroupId=portId:HostGrpNickName:HGID:WWN_name:WWN_nickname
# WWN_name and WWN_nickname are optional
hostGroupId=2:oapp11C:1
# System section!.
# User should not edit this section.
# example port_name:HostGrpNickName:HGID:WWN_name:WWN_nickname
#hostGroupId=portId:HostGrpNickName:HGID:WWN_name:WWN_nickname
hostGroupId=0:1A-G00:0
hostGroupId=0:CVXP:1
hostGroupId=0:16dec1:2

Sample execution of the CLI Migration Tool

C:\ migrationtool> cmt -slno 10033 -f 10033.txt -p 10033.properties -type
1024 cmt.cfg contains the following commands:
#Maximum line for automatic translation
MAX_LINE= 2000
# OS_NAME= WINDOWS/HP-UX
OS_NAME= HP-UX
TRACE_LEVEL=8
Input command file 10033.txt contains the following Command View CLI commands:
connect 10033
list lun -o c:\mapdev\data\wpschq4h_10033_listlun.txt
list port -hostgrp -l -o c:\mapdev\data\wpschq4h_10033_listport.txt
list wwn -o c:\mapdev\data\wpschq4h_10033_wwn.txt
modify lun_security 1A,ON
create host_group 1A,oapp11A
create host_group 1C,oapp11C
modify host_mode 1B,oapp11B,08
create lun 1A,oapp11A,00,02,2B
Output command file 10033_out.sh contains the following Command View AE CLI commands:
Migration User Guide for the HP Command View XP Portfolio and HP XP Remote Web Console
79

Advertisement

Table of Contents
loading

Table of Contents