HP StorageWorks XP Command View Advanced Edition Software 6.4 Server Administrator Guide for Device Manager and Provisioning Manager (web) (T1780-96341, July 2010)

Table Of Contents
Managing the database
138
finishes, the XP Command View AE Suite product services and the HiRDB service will be
active.
3. Transfer the exported files to the migration destination server.
If the archive file cannot be created, transfer all the files created in the directory specified by
the workpath option. In this case, do not change the structure of the files.
9-4-2-3 Importing the databases to the migration destination server
To import the databases to the migration destination server:
1. If XP Command View AE Suite products whose versions are earlier than 5.7 are installed, stop
their services.
For details about how to stop these services, see the manual for your product version.
2. Execute the hcmdsdbtrans command to import the databases.
In Windows:
installation-folder-for-Common-Component\bin\hcmdsdbtrans /import
/workpath working-folder [/file archive-file] /type {ALL|XP-
Command-View-AE-Suite-products-whose-databases-will-be-migrated}
/auto
In Linux:
installation-directory-for-Common-Component/bin/hcmdsdbtrans -
import -workpath working-directory [-file archive-file] -type
{ALL|XP-Command-View-AE-Suite-products-whose-databases-will-be-
migrated} –auto
The following options can be specified for the hcmdsdbtrans command:
Workpath
When using the archive file for the import:
Specify the absolute path to the directory used to extract the archive file. In Linux, do not
specify a path that includes a space. Specify a directory on your local disk. If you want to
use the 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 any are, the import will be aborted. In this case, delete the files or
subdirectories in that directory, and then retry the hcmdsdbtrans command.
When not using the archive file for the import:
Specify the directory that stores the database data files transferred from the migration
source server. Do not change the structure of those files 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. In Linux, do not specify a path that includes a space. If the database data
files transferred from the migration source server are 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 will be migrated.
To migrate the Device Manager database, specify DeviceManager. For details about the
names to specify when you migrate databases of other products, see the manuals for those
products. If you specify multiple product names, use a comma to separate the names.