HP XP7 Command View Advanced Edition Administrator Guide (Web Version) (TK981-96004, May 2014)

Exporting databases from the migration-source server
To export the databases of HP XP7 Command View Advanced Edition products, a directory for
temporarily storing the database data and a directory for storing archive files are required. For each
directory, ensure that a comparable capacity to the total size of the following directories is available.
Storage directory of each database for the installed HP XP7 Command View Advanced Edition
products
Storage directory of the Common Component database (excluding the SYS directory and its sub-
directories)
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.
During database export, HP XP7 Command View Advanced Edition services stop. Therefore, do
not access HP XP7 Command View Advanced Edition while the export is in progress.
Exporting databases in a non-cluster configuration
This section explains how to export the databases from the migration source server when the OS of
the management server is not in a cluster configuration.
To export databases from the migration-source server in a non-cluster configuration:
1. Log on to the management server as a user with Administrator permissions or root permissions.
2. Execute the hcmds64dbtrans command to export the databases.
In Windows:
installation-folder-for-HP-XP7-Command-View-Advanced-Edi-
tion\Base64\bin\hcmds64dbtrans /export /workpath working-folder /
file archive-file /auto
In Linux:
installation-directory-for-HP-XP7-Command-View-Advanced-Edition/
Base64/bin/hcmds64dbtrans -export -workpath working-directory -file
archive-file -auto
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.
Make sure that no files or subdirectories are in the directory specified for the workpath
option.
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
Automatically starts or stops HP XP7 Command View Advanced Edition services.
Managing the database186