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

Linux systems installation
124
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 started. Note that the services of
XP Command View AE Suite products whose versions are earlier than 5.7 are not started
and stopped automatically.
4. Transfer the exported file to the migration destination server.
If the archive file cannot be created, transfer all the files stored in the directory specified by the
workpath option. In that case, do not change the file structure in the directory specified by the
workpath option.
4-5-3-5 Importing the database at the migration destination server
CAUTION: If the OS of the migration destination server is Windows, follow the procedure in
subsection
3-7-3-5 .
To import the database at the migration destination server:
1. If XP Command View AE Suite products whose versions are earlier than 5.7 have been
installed, stop their services.
For details about how to stop these services, see the manual for your product version.
2. From the terminal window, execute the hcmdsdbtrans command:
<common component installation directory>/bin/hcmdsdbtrans -import -
workpath working-directory [-file archive-file] -type {ALL | XP-
Command-View-AE-Suite-whose-databases-will-be-migrated} -auto
The following shows an example of executing the command:
# /opt/CVXPAE/Base/bin/hcmdsdbtrans -import -workpath /opt/trans_work
-file /opt/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 directory used to extract the archive file. Do not specify a
path that includes a space. Specify a directory on your local disk. If you use an archive file,
the file option must be specified.
CAUTION: Make sure that no files or subdirectories are in the directory specified for the
workpath option. If there are any files or subdirectories in the directory, the import processing will
be aborted. In such a case, delete the files or subdirectories in the directory, and then re-execute
the hcmdsdbtrans command.
When not using the archive file during the import:
Specify the directory that stores the database information transferred from the migration
source server. Do not change the file structure in the transferred directory. 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. Make sure that the absolute path does not include a space. If the database
information transferred from the migration source server is stored in the directory 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