Redcell > Database Aging Policies (DAP)

Database Aging Policies prevent the Open Manage Network Manager database from filling up by filling up by deleting old records. You can also save designated contents to an archive file on a specified cycle. Database Aging Policies configure which contents to archive, the archive location, and the configuration of that archive file.

To view and manage such policies, right click an item with them (for example, an alarm), or click Manage > Control Panel, and under Redcell click Database Aging Policies.

Policies appear in the Aging Policies tab of this screen, with columns that indicate whether the policy is Enabled, the Policy Name, Details (description), Scheduled Intervals and icons triggering three Actions (Edit, Delete and Execute). Notice that the bottom right corner of this page also lets you Enable / Disable / Execute All policies listed.

DAP Workflow

The following are steps typical for implementing DAP:

1. From the screen listing Database Aging Policies (DAP), click Add Policy, and select a policy from the displayed list of alternatives.

2. This opens Aging Policies Editor.

3. In the Aging Policies > General tab, specify the name, schedule interval, whether this policy is Enabled, and so on.

4. Specify the Archive Location. Those listed are the Repositories listed on the Repositories tab. You can manage those on that tab.

5. In the Aging Policies Options tab, specify either the archiving and retention you want, or further specify Sub-Policies that refine the items archived, and specify archiving and retention for those sub-policy elements. Which one you can specify depends on the type of DAP you are configuring.

6. Click Apply until the displayed screen is the DAP manager.

To View / Verify DAP

DAP archives information into the specified repository under the installation root. You can open archived .xml data with dapviewer. Launch this application from a command line after setting the environment with oware in Windows or . ./etc/.dsienv in Linux.

Archived data is deleted from Open Manage Network Manager’s database. You can verify that by querying whether archived data still exist. You also can backup your database if you want to preserve records not yet archived.

Open an Archived in dapviewer.

1. First, make sure you have an archived file. One way to do this is to edit the Events DAP, make sure the archived events go to a directory you can access later, and retain them for zero days.

2. Manually run the Events DAP

3. Open a command shell. Type oware in Windows, or . ./etc/.dsienv in Linux.

4. Type dapviewer.

5. Select the file with the ellipsis (...).

dapviewer opens both compressed and uncompressed files. It does not open empty files.

6. Click the Load button.

7. Examine the archived data.