06.11.2014 Views

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Saving and Res<strong>to</strong>ring Data<br />

3.2 Catalogs<br />

3.2.8.3 Catalog Cleanup<br />

To clean expired entries from the catalog, there is a process that runs in the ABS$node batch<br />

queue called ABS_CLEAN_CATLG_node. This process is scheduled <strong>to</strong> run once a day at 12:30<br />

pm. The scheduled time is set in the<br />

ABS$SYSTEM:ABS$START_CATALOG_CLEANUP.COM procedure. You may modify the<br />

start time <strong>for</strong> the job or change the frequency of the job. If you do not have lot of expired entries<br />

daily, you may want <strong>to</strong> run the job less frequently.<br />

The log file generated by this cleanup process is called<br />

ABS$LOG:ABS$CATALOG_CLEANUP.LOG. A lot of in<strong>for</strong>mation about how many records<br />

were read from the catalog, how many were deleted, and any errors are kept in this log. Most<br />

errors seen should be reported <strong>to</strong> <strong>HP</strong>.<br />

The catalog cleanup process cleans up all the catalogs when executed. We can also nominate the<br />

catalogs that need <strong>to</strong> be cleaned up. Also, we can specify the interval in which this cleanup process<br />

needs <strong>to</strong> run. This would be helpful:<br />

1. If the cleanup process of all the catalogs takes a long time affecting the other daily jobs.<br />

2. Cleanup of all the catalogs need not done always.<br />

To nominate catalogs <strong>for</strong> cleanup:<br />

– S<strong>to</strong>p the catalog cleanup process.<br />

– Submit the cleanup COM file with the parameters as mentioned below:<br />

$ @ABS$SYSTEM:ABS$START_CATALOG_CLEANUP catalog_names interval<br />

catalog_names - Space delimited catalog names. Default: All Catalogs<br />

Interval - "+n-"(n denoting the frequency at which the catalogs need <strong>to</strong><br />

be cleaned). Default: Every Day<br />

Example:<br />

$ @ABS$SYSTEM:ABS$START_CATALOG_CLEANUP "CATLG1 CATLG2 CATLG3" "+2-"<br />

This command would nominate CATLG1,CATLG2,CATLG3 catalogs <strong>for</strong> cleanup and the<br />

cleanup runs with the frequency of 2 days. i.e if submitted on 01-Nov-2001, then cleanup runs<br />

on 03-Nov-2001 at 12:30, 05-Nov-2001 at 12:30 and so on.<br />

Note<br />

The cleanup of the VAOE file can be per<strong>for</strong>med only after defining the<br />

ABS_CATALOG_VAOE_CLEANUP logical <strong>System</strong>-wide.<br />

$ DEFINE/SYSTEM ABS_CATALOG_VAOE_CLEANUP 1<br />

3.2.8.4 Staging Catalog<br />

With staging enabled <strong>for</strong> a catalog ABS writes the catalog entries <strong>to</strong> a sequential file during a<br />

save operation. The save operation at the end creates a command procedure and executes it in a<br />

separate process. This unpack process moves all entries from the staging catalog <strong>to</strong> the final catalog.<br />

If all entries have been moved successfully the command procedure is deleted. If the<br />

unpack process failed <strong>for</strong> some reason you can run the command procedure manually. To do this,<br />

find the location and name of the command procedure in the logfile of the save request. Then<br />

execute the command procedure on the node where the save request was running.<br />

3-10 Saving and Res<strong>to</strong>ring Data

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!