FAST Database Operations
Removing a CD from the Database
On occasion, it will be necessary to fully remove the contents of a CD from the database. Use the following steps to do this:
Log on to juneau as user lzp
cd to /disks/fast/software/integration/src/database
run script remove_CD_from_db
> remove_CD_from_db cdname
The script will prompt you for a password. Ask the system administrator for the password.
Examples of when to use this procedure would include instances where a duplicate session has made it through the production system causing an error during dbupdate. The CD can be removed from the database, and then reprocessed without the duplicate session. The duplicate session can be copied back to manitou for reprocessing (if necessary).
Reprocessing CD's
Once a CD has been removed it can be reprocessed. In ~lzp/bin, there's a script called
rerun_db. It contains previously reprocessed CD's. Just delete the current entrys, add new entries, and run the script.