HP StorageWorks XP Command View Advanced Edition software Device Manager server installation and configuration guide (web version) (T1780-96078, March 2008)

Windows systems installation
87
installation-folder-for-Common-Component\bin\hcmdsdbtrans
The format of the command is as follows:
hcmdsdbtrans /import /workpath working-folder [/file archive-file]
/type {ALL | Commnad-View-XP-AE-Suite-whose-database-will-be-migrated}
/auto
The following shows an example of executing the command:
C:\Program Files\CVXPAE\Base\bin\hcmdsdbtrans /import /workpath
D:\trans_work /file D:\trans_file\db_arc /type ALL /auto
In the hcmdsdbtrans command, you can specify the following options:
workpath
When using an archive file during the import:
Specify the absolute path to the folder used to extract the archive file. Specify a folder on
your local disk. If you use an archive file, the file option must be specified.
CAUTION: Make sure that no files or subfolders are in the folder specified for the workpath
option. If there are any files or subfolders in the folder, the import processing will be aborted. In
such a case, delete the files or subfolders in the folder, and then re-execute the hcmdsdbtrans
command.
When not using the archive file during the import:
Specify the folder that stores the database information transferred from the migration
source server. Do not change the file structure in the transferred folder. Also, do not specify
the file option.
file
Specify the absolute path to the archive file of the databases transferred from the migration
source server. If the database information transferred from the migration source server is
stored in the folder specified by workpath, you do not need to specify this option.
type
Specify the names of the XP Command View AE Suite products whose databases will be
migrated. Only the databases of the specified products are migrated.
When you migrate the Device Manager database, specify DeviceManager. For details on
the names to be specified when you migrate databases of other products, see the relevant
manual for each product. To specify multiple product names, use a comma as the delimiter
between the names.
To migrate the databases of all the installed XP Command View AE Suite products at a
time, specify ALL. The databases of the XP Command View AE Suite installed on the
migration destination server are automatically selected and migrated.
You can use the type option to migrate databases only when the databases of all the
specified products exist in the folder specified in the archive file or the workpath option,
and all the specified products are installed on the migration destination server. If any of the
products do not meet the conditions above, migration will not be performed.
auto
Specify this option to stop the XP Command View AE Suite services and to start HiRDB
automatically as preparation for processing the database. After the command is executed,
the XP Command View AE Suite services and HiRDB are stopped. Note that the services
of XP Command View AE Suite products whose versions are earlier than 5.7 are not
stopped automatically.