General Info

Once you select a new policy’s type (or if you have selected an existing policy and clicked Open), most screens appear, letting you select general information about the database aging policy.

Figure 13-2  DAP General Info

This screen is generic--similar, if not identical, no matter what type of policy you are creating or editing (see Order Summaries for an exception). It contains the following selections:

Name -- A unique identifier for this policy

Description -- A text description.

Record Threshold -- The number of records that must exist before archiving begins.

Primary Archive Location -- A disk location for archiving.

Secondary Archive Location -- A disk location for archiving if the primary location fails.

[spacer]

You must enter disk locations on the application server, otherwise archiving fails.

If the Primary path fails when writing the archive then if a secondary path exists the application uses the secondary path. If writing to the secondary path is successful, then the DAP job cleans up the database issuing a warning. If the secondary path is not successful, then the DAP job closes without removing database records, and issues an error. Similarly, if the secondary path is not specified then the DAP job will close with an error.

[spacer]

Currently two different notification behaviors exist. Audit DAP returns a warning when the primary path fails, however Alarm DAP does not return a warning.

Base Archive Name -- The base name for the archive (part of the filename).

Compress Archive -- A checkbox that enables compression of the archive.

Enabled -- Determines whether the policy is enabled/disabled. Check to enable.

[spacer]

The archived data is in an XML or compressed XML format in the location specified. You can use your favorite XML or text viewer to see archived data. As a convenience, Redcell supplies the dapviewer. Run this utility from a command shell where you have sourced the oware environment (run oware or . ./etc/.dsienv). Select your archived XML with the command button (...), then click Load. The Advanced settings let you customize the columns displayed. This utility does not display compressed files; you must uncompress them first. Note: You can view archived audit trails with dapviewer, but not archived Alarm or Event History.