HP 3PAR Policy Server Administrator's Guide (QR483-96003, December 2012)

HP 3PAR Policy Server 6-3
Getting Version Information
After installation, you can see the version number in the About Policy Server popup window of the Policy
Server application (available from the menu). You can also display it through a command line utility.
Open a Command Prompt (Windows) or shell (Linux) and navigate to the following directory of the Policy
Server installation: /HP3PAR/HP3PARpolicyserver/bin or c:\<<PolicyServer_Installation>>\bin). Run the
command for your operating system:
Linux serverVersion.sh
Windows serverVersion.cmd
Note: The version scripts are available on the machine where you installed Policy Server. If you
installed the database and/or the OpenDS directory server on separate machines, the scripts are not
available on those machines.
Backing Up and Restoring the Database
HP 3PAR Policy Server and the HSQL database can run on different machines. The backup and restore
scripts provided with Policy Server perform all backup and restore operations you need for the HSQL
database. Administrators can perform interactive backups as well as scheduled backups using Windows
scheduled tasks or UNIX cron.
Important! The backup/restore options available in previous releases are NO LONGER
SUPPORTED.
Backing Up the Database
To make it easy to back up your database, use the backup_database utility, which is located in the directory,
<your_HP3PS_install_dir>/hsqldb/bin. This utility creates a backup of the HSQL database in the backup
repository <your_HP3PS_install_dir>/hsqldb/backups/<timestamp>.tar.gz.
The number of backups in the repository is limited to 30 by default. The number of backups to retain can be
overridden by specifying the desired number (an Integer) on the command line. For example, to retain 10
backups, enter the command as follows:
backup_database 10
Here is an example of the output of this utility:
$ /opt/Axeda/HP3PS/hsqldb/bin/backup_database 10
Pruning backups to preserve retained backup count of 10:
apm-20110921T174859.tar.gz
Backing up to '/opt/Axeda/HP3PS/hsqldb/backups'
Backup completed