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

Linux systems installation
123
4-5-3-4 Exporting the database at the migration source server
To export the database of Device Manager, a directory for temporarily storing the information of the
database, and a directory for storing the archive file are required. Each of these directories requires
the as much capacity as the total size of the following two directories:
The directory storing the Device Manager database.
The directory storing the Common Component database (excluding the SYS directory and the
directories beneath it).
This capacity is a guideline value applied when only the Device Manager database is installed. If XP
Command View AE Suite products other than Device Manager are also installed, take the capacities
of those databases into account as well.
CAUTION: If the total capacity of the database exceeds 2 GB, an attempt to create the archive file
fails when the database is exported. In this case, instead of using the archive file, transfer the
database information collected when exporting the database, to the migration destination.
To export the database at the migration source 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. If XP Command View AE Suite products whose versions are 5.7 or later have not been
installed, stop Common Component, and then start HiRDB.
<common component installation directory>/bin/hcmdssrv -stop
<common component installation directory>/bin/hcmdsdbsrv -start
The following shows an example of executing the commands:
# /opt/CVXPAE/Base/bin/hcmdssrv -stop
# /opt/CVXPAE/Base/bin/hcmdsdbsrv -start
3. From the terminal window, execute the hcmdsdbtrans command.
The auto option can be specified only when XP Command View AE Suite products whose
versions are 5.7 or later have been installed:
<common component installation directory>/bin/hcmdsdbtrans -export -
workpath working-directory -file archive-file -auto
The following shows an example of executing the command:
# /opt/CVXPAE/Base/bin/hcmdsdbtrans -export -workpath /opt/trans_work
-file /opt/trans_file/db_arc -auto
In the hcmdsdbtrans command, you can specify the following options:
workpath
Specify the absolute path to the working directory where you wish to temporarily store
database information. 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 there are any files or subdirectories in the directory, the export processing will
be aborted. In such a case, delete the files or subdirectories in the directory, and then re-execute
the hcmdsdbtrans command.
file
Specify the absolute path to the archive file of the database to be exported. Make sure that
the absolute path does not include a space.
auto