HP StorageWorks XP Replication Monitor software installation and configuration guide (T1784-96008, November 2006)
Maintaining and tuning the system 90
Specify a folder for temporarily storing database information. Specify a folder on the local disk by
using the absolute path.
NOTE: Specify an empty folder in the workpath option. If the specified folder is not empty, export
processing is canceled. If this happens, specifying an empty folder, and then re-execute the
hcmdsdbtrans command.
file
Specify the archive file of the database you are exporting by using the absolute path.
The following table lists and describes the actions that you need to take when an error message appears. If
the message has an ID other than those in the following table, take the action recommended in the
message.
4. Transfer the archive file to the destination server.
If you cannot create an archive file, transfer all the files stored in the folder specified by using the
workpath option.
6-8-1-3 Import the database at the destination server
To import the database at the destination server:
1. Execute the following command at the command prompt to stop the Common Component service:
Common-Component-installation-folder\bin\hcmdssrv /stop
Supplementary explanation:
Stop all other Command View XP AE products, if any are running.
2. Execute the following command at the command prompt to start HiRDB:
Common-Component-installation-folder\bin\hcmdsdbsrv /start
An example of command execution is shown below:
C:\Program Files\CVXPAE\Base\bin\hcmdsdbsrv /start
3. Execute the hcmdsdbtrans command at the command prompt:
The default folder of the hcmdsdbtrans command is as follows:
Common-Component-installation-folder\bin\hcmdsdbtrans
The command format is as follows:
hcmdsdbtrans /import /workpath work-folder /[/file archive-file][/type.
] {ALL
| name-of-Command-View-XP-AE-product-whose-database-is-to-be-migrated}]
An example of command execution is shown below:
C:\Program Files\CVXPAE\Base\bin\hcmdsdbtrans /import /workpath D:\trans_work
/file D:\db arc /type ALL
The hcmdsdbtrans command has the following options.
workpath:
When importing by using an archive file:
Table 6-1 Actions to take when an error mesage appears during export (in Windows)
Message ID Action Taken
KAPM05909-E Collect maintenance information, and then contact HP technical support.
KAPM05910-E Make sure that the product is installed correctly, and take appropriate action. If you cannot resolve the
problem after taking the action, collect maintenance information, and then contact HP technical support.
KAPM05922-E Free up enough disk space for the folder in which the archive file is stored. If you cannot resolve the
problem even after doing this, collect maintenance information, and then contact Customer Support.
KAPM05923-E Transfer the data stored in the folder specified by using the workpath option to the destination server,
instead of the archive file.