HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 Administrator Guide (Web Version)

Restoring a database when a database is corrupted
If a database is corrupted, execute the hcmdsdbrepair command to restore the database by using
a database that was exported via the hcmdsdbtrans.
CAUTION:
During database restoration, P9000 Command View AE Suite services stop. Therefore, do not access
P9000 Command View AE Suite 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 P9000 Command View AE Suite product services.
3. Execute the hcmdsdbrepair command to restore the database.
In Windows:
installation-folder-for-Common-Component\bin\hcmdsdbrepair /trans
exported-file
In Linux:
installation-directory-for-Common-Component/bin/hcmdsdbrepair -trans
exported-file
trans
Specify the absolute path to the archive file of the database exported via the hcmdsdbtrans
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 P9000 Command View AE Suite 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) 209