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
137
4. Import the databases into the destination server by using the hcmdsdbtrans command.
The following sections describe each step.
9-4-2-1 On the migration destination server, install the XP Command View
AE Suite products
On the migration source server, install the XP Command View AE Suite products whose databases
will be migrated. The versions of the XP Command View AE Suite products installed on the
migration destination server must be the same as or later than the ones on the migration source
server.
9-4-2-2 Exporting the databases from the migration source server
To export the Device Manager database, a directory for temporarily storing the database data and a
directory for storing the archive file are required. These directories require as much capacity as the
total size of the following two directories:
The directory of the Device Manager database
The directory of the Common Component database (other than the SYS directory and its
subdirectories)
The above estimate applies if only Device Manager is installed. If other XP Command View AE
Suite products are installed, add the capacities of their databases to your estimate.
CAUTION: Databases are exported as archive files. If the total capacity of databases exceeds 2
GB, creation of the archive file fails when the database data is exported. In this case, instead of
using the archive file, transfer the exported database data to the migration destination.
To export the databases from the migration source 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 export the databases.
In Windows:
installation-folder-for-Common-Component\bin\hcmdsdbtrans /export
/workpath working-folder /file archive-file /auto
In Linux:
installation-directory-for-Common-Component/bin/hcmdsdbtrans -
export -workpath working-directory -file archive-file –auto
The following options can be specified for the hcmdsdbtrans command:
workpath
Specify the absolute path to the working directory where you want to temporarily store
database data. In Linux, do not specify a path that includes a space. Specify a directory on
your local disk.
CAUTION: Make sure that no files or subdirectories are in the directory specified for the
workpath option. If any are, the export will be aborted. In this case, delete the files and
subdirectories in that directory, and then retry the hcmdsdbtrans command.
file
Using an absolute path, specify the name of the archive file to be output. In Linux, do not
include a space in this path.
auto
This option automatically changes the XP Command View AE Suite product services and
the HiRDB service to the statuses required for exporting the databases. After the command