Backing up and restoring HP SIM 5.2 or greater data files in an HP-UX and Linux environment
HP Systems Insight Manager (HP SIM) uses a PostgreSQL server database to store collected
information about the systems on your network. Always back up your database using an appropriate
backup schedule. In the event of a catastrophic database problem, this backup can be restored to
return HP SIM to operation.
IMPORTANT: The procedures in this paper are for backing up and restoring HP SIM core data only
from/to the same PostgreSQL database. It is not intended to be used as an example for reinstallation
of HP SIM or for data migration. HP does not guarantee the integrity of partner data if you attempt to
use these procedures for reinstallation or data migration.
Backing up and restoring data files for a PostgreSQL
database
Backing up data files for a PostgreSQL database
Backing up the database with PostgreSQL requires changing the HP SIM database user’s password
and saving the database and associated files.
Note: When executing PostgreSQL commands, file path names depend on how and where
PostgreSQL is installed. Your actual path name might differ from those provided in the following
example.
1. If HP SIM is running, enter mxstop in the command line to stop the HP SIM daemons.
2. To verify that all HP SIM mx processes have stopped, run the command ps -ef | grep mx.
3. Using the file management utility of your choice, back up the configuration files listed below.
Table 1. Configuration files that must be backed up
Directory of file Description
/etc/opt/mx/config
Directory of configuration files
/var/opt/mx/config/
Additional configuration files
/etc/opt/hp/sslshare/
Shared OpenSSL certificate directory
/var/opt/mx/logs/mx.log
Audit file
/opt/mx/patch
Program updates (required if HP SIM is to be reinstalled)
/opt/mx/bin/server_cert.pem
Certificate used by the command line interface (CLI)
/opt/mx/bin/CLIClientConfig
CLI configuration file
/var/opt/mx/output
(optional) Contains job result output
Note: The file permissions must be prepared during the backup process. The Tape Archive (TAR)
utility preserves file permissions.
4. Save any existing user-supplied (custom) files contained in the HP SIM directory tree, such as tool
definition files (TDEFs), Management Information Bases (MIBs), sign-in prompt, and actions.