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

Linux systems installation
120
dir
Specify the absolute path of the directory, on the local disk, that stores backup files of the
Device Manager server database. Do not specify a path that includes a space.
CAUTION: Make sure that no files or subdirectories are in the directory specified for the dir
option. If there are any files or subdirectories in the directory, the backup processing will be
aborted. In such a case, delete the files or subdirectories in the directory, and then re-execute the
hcmdsbackups command.
auto
Specify this option to stop the XP Command View AE Suite services and to start HiRDB
automatically as preparation for processing the database. After the command is executed,
the XP Command View AE Suite services and HiRDB are started. Note that the services of
XP Command View AE Suite products whose versions are earlier than 5.7 are not started
and stopped automatically.
NOTE: When you execute the hcmdsbackups command, a directory named database will be
created in the target directory for storing backup files, and the database backup file will be stored
with the name backup.hdb.
4. If you have stopped Common Component in step 2, execute the following command to start
Common Component:
<common component installation directory>/bin/hcmdssrv -start
5. If XP Command View AE Suite products whose versions are earlier than 5.7 have been
installed, start their services as needed.
For details about how to start these services, see the manual for your product version.
4-5-2 Restoring the server database
WARNING: Before restoring the database, be sure to confirm that the following are the same in
the backup source Device Manager server and the restore destination Device Manager server. If
the following are not the same, the database cannot be restored.
Types, versions, and revisions of the installed XP Command View AE Suite
Installation location for each XP Command View AE Suite product, Common Component, each XP
Command View AE Suite product database, and Common Component database
The IP address and host name of the machines
To restore a database:
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. Execute the hcmdsdb command from the terminal window:
<common component installation directory>/bin/hcmdsdb -restore backup-
file -type name-of-XP-Command-View-AE-Suite-to-be-restored -auto
The following shows an example of executing the command:
# /opt/CVXPAE/Base/bin/hcmdsdb -restore
/opt/db_bkup01/database/backup.hdb -type DeviceManager -auto
The following shows the specifiable options for the hcmdsdb command:
restore
Specify the absolute path of the Device Manager server database backup file
(backup.hdb) acquired by the hcmdsbackups command. Do not specify a path that
includes a space.