The HPOM management server uses an SQL Server instance with a
user-configurable name as core data repository. The HPOM
installation suggests the name OVOPS as default name for this
instance. The instance is also shared by other HP Software
products, which create other databases in this instance. The full
name of the database depends on the location of the database:
Local database:
If SQL Server Express is used as HPOM database, the full database
instance name is <local host>\<instance
name>.
Remote database:
If you are using a remote SQL Server database, the name is
<server name>\<instance name>.
Clustered database:
If the SQL Server database is clustered, the instance name is
<virtual SQL server name>\<instance
name>.
Scheduled task policy VP_SM_DB_Backup
HPOM self management includes the scheduled task policy
"VP_SM_DB_Backup", which schedules and performs a backup of the
openview database.
After you have installed the management server, deploy the
policy to the system where the HPOM database is installed. Before
deploying the policy, modify it as described below:
If the database resides on the management server itself, you
can remove <servername>\<instancename>
from the end of the command line. In this case the SQL Server
instance is looked up from the registry.
If the database resides on a remote server, you must replace
<servername>\<instancename> with the SQL
Server instance name of the remote database instance.
In the Task tab, edit the Execute as user and the
Specify password fields, and add the user account and
password of a user with SQL Server administrator permissions.
Optional: By default the database backup is scheduled for 0:30
a.m. every morning. If that time does not suit your needs, you can
adopt the schedule in the Schedule tab.
Deploy the policy to the system where the HPOM database is
installed.
Backup and restore related VB scripts
NOTE:
Modification to these scripts requires basic knowledge of the
Microsoft Visual Basic script language.
The following backup and restore scripts are located in the
%OvInstallDir%\Support\ directory.
backup_openview.vbs
This script performs a backup of the openview database and
stores the backup files in the directory
%OvDataDir%\datafiles\<instance
name>\backup.
restore_openview.vbs
This script restores the openview database from the backup files
created by backup_openview.vbs.
Location and housekeeping of backup files
The backup files of the openview database and the openview database
transaction log are written into the following directory:
These files are overwritten on every new execution of the
VP_SM_DB_Backup policy. If you want to keep them you have to ensure
that they are stored on a storage device or copied into another
location in the meantime.
You may change the location of the backup files by editing the
VB script file
%OvInstallDir%\Support\backup_openview.vbs.
Monitoring backup execution
The VP_SM_DB_Backup policy will send messages to the active
messages browser:
When the backup starts.
After a successful backup. (This message also contains the
backup duration time.)
After a backup failure (critical message).
Configuration on a remote database server
If the openview database runs on a remote database server you must
deploy the VP_SM_DB_Backup policy on that server instead of the
management server.
Starting the openview database backup manually
If you want to execute the backup job immediately, you can trigger
this with the command:
NOTE:
If the HPOM database is a remote database, the SQL Server instance
name must be added to the command line: %OvInstallDir%\support\backup_openview.vbs
<servername>\<instance name>