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

Restoring a database when a database is corrupted
If a database is corrupted, execute the hcmds64dbrepair command to restore the database by
using a database that was exported via the hcmds64dbtrans.
CAUTION:
During database restoration, HP XP7 Command View Advanced Edition services stop. Therefore, do
not access HP XP7 Command View Advanced Edition while restoration is in progress.
Restoring a database when it is corrupted in a non-cluster configuration
To restore a database if the management server is not clustered:
1. Log on to the management server as a user with Administrator permissions or root permissions.
2. Stop the HP XP7 Command View Advanced Edition product services.
3. Execute the hcmds64dbrepair command to restore the database.
In Windows:
installation-folder-for-HP-XP7-Command-View-Advanced-Edi-
tion\Base64\bin\hcmds64dbrepair /trans exported-file
In Linux:
installation-directory-for-HP-XP7-Command-View-Advanced-Edition/
Base64/bin/hcmds64dbrepair -trans exported-file
trans
Specify the absolute path to the archive file of the database exported via the hcmds64db-
trans command. In Linux, do not specify a path that includes a space.
4. Specify true for the server.base.initialsynchro property on the Device Manager server.
5. Specify true for the server.base.initialsynchro property on the Tiered Storage Manager
server.
6. Start the HP XP7 Command View Advanced Edition product services.
7. Change the value of the server.base.initialsynchro property on the Device Manager
server back to false.
8. Change the value of the server.base.initialsynchro property on the Tiered Storage
Manager server back to false.
9. Refresh the storage system from the Device Manager GUI or CLI.
10. If you restored the management server database at the Replication Manager secondary site,
refresh the configuration information by using the Replication Manager GUI to synchronize the
Replication Manager database at the primary site and the Device Manager database at the
secondary site.
11. Check the status of Device Manager tasks from the Device Manager GUI.
If a Device Manager task is not completed or has failed, re-create the task or change the execution
schedule of the task as necessary.
Administrator Guide (Web Version) 181