Components; Prerequisites; Running Clean_Database.sh - Novell SENTINEL RAPID DEPLOYMENT 6.1 - 12-2009 User Manual

Table of Contents

Advertisement

12.5.1 Components

<Install_directory>/bin/Clean_Database.sh
<Install_directory>/bin/BackupIncidentData.sh
delete_incidents_by_query
delete_incidents_by_rule
delete_incidents_by_id
identity_cleanup

12.5.2 Prerequisites

There are several prerequisites for running the
The user running the script must be a
so that only the
The user running the PostgreSQL script must have permission to access/execute all of
the database tools and utilities. Run the script as a
(Identity Cleanup only) The database must be in a healthy state and in good running condition
because the Identity cleanup stored procedure disables and enables foreign key constraints.
(Identity Cleanup only) All Identity/Account loaders and Collectors, such as the Identity Vault
Collector, should be stopped.
(Identity Cleanup only) Reports that are running queries against the Identity tables should be
stopped.
The Identity cleanup DDL operations are atomic, so if one DDL statement execution fails, the script
exits with errors written to the specified log file.
WARNING: If identity information is cleaned out of the database and then reloaded, the new
identity information is not synchronized with any past events that had identity information injected.
Therefore, attempts to perform identity lookups on past events (received before the cleanup) or run
reports on past events with identity information is not successful.
Use this option with extreme caution.

12.5.3 Running Clean_Database.sh

1 Open a console, go to
the script.
290 Sentinel 6.1 Rapid Deployment User Guide
(PostgreSQL)
(PostgreSQL)
(PostgreSQL)
(PostgreSQL)
novell
user is allowed to execute the cleanup script.
novell
<Install_directory>/bin
Main database cleanup script. This
calls the other scripts.
Script used to back up Incident data.
Stored procedure used to delete
incidents specified by an SQL query.
Stored procedure used to delete
incidents created by a specified
correlation rule.
Stored procedure used to delete an
incident with a specified ID.
Stored procedure used to delete
identity-related data.
script.
Clean_Database
user, and each script must have the permission set
.
dbauser
and enter
Clean_Database.sh
to start

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sentinel rapid deployment 6.1

Table of Contents