Skip to main content
Version: 4.2.3

Easy Auditor Database Install

Deploy the latest versions of Eyeglass and ECA OVF. After downloading, install the Easy Auditor for each, and run the installation.

In release 4.0, we introduced SQL-based Easy Auditor support for VAST and Qumulo clusters. This feature supports two SQL variants: PostgreSQL and MS SQL. You will need to select one of these options.

note

Database retention is only supported for PostgreSQL starting with the 4.0 release.

To get Easy Auditor running with your VAST Clusters, follow the steps below. For more detailed instructions, refer to the accompanying documentation.

info

Recommendation: We recommend creating an SQL user specifically for Eyeglass with general permissions to process tables (read, write, and alter the database). This user needs to be manually added to both Eyeglass and ECA, as these applications require the user credentials to decrypt and access the database.

Prerequisites - Easy Auditor

  • A Linux server with SUSE 15.5 (recommended) and an installed database.
  • Network access between the database server, Eyeglass, and ECA appliances.
VAST DB Support

VAST DB can not yet be used as the database for Easy Auditor. While it was introduced in a recent version of VAST, an external database is required to implement Easy Auditor. Future support and integration of VAST DB are under evaluation.

Using an Existing SQL Database

  1. MSSQL Database:

    • User: Your Database User
    • Password: Your Database Password
    • Database Name: Your Database Name
    • IP Address: Your Database IP Address
    • Ensure the database IP is reachable from both the Eyeglass and ECA appliances.
  2. PostgreSQL Database:

    • User: Your Database User
    • Password: Your Database Password
    • Database Name: Your Database Name
    • IP Address: Your Database IP Address
    • Ensure the database IP is reachable from both Eyeglass and ECA appliances.

ECA Environment Variables and Configuration

After completing the server setup, follow these steps to configure the environment variables on ECA. These settings will enable the use of the SQL server for saving events from VAST:

  1. Enable VAST Auditing:

    • Mount the VAST audit folder, similar to the RWD solution.
    • Set the environment variable to enable SQL-based event archiving:
    export ECA_EVTARCHIVE_USE_SQL=true
    warning

    This should be set to true only if you plan to add a VAST cluster that supports Easy Auditor. If this is set to true but the server is not configured correctly, the evtarchive service will restart in a loop.

  2. Configure the SQL Batch Size:

    • Set the batch size for SQL performance. This defines the maximum number of events that can be written at once:
    export ECA_EVTARCHIVE_SQL_BATCH_SIZE=10000
    • The value of 10000 is near the optimal setting for efficient writing in both MSSQL and PostgreSQL.
  3. Set the SQL Time Window:

    • Define the time window in seconds for batching events:
    export ECA_EVTARCHIVE_SQL_TIME_WINDOW_SECS=5
    • If the batch is not filled within this time, a write operation will be sent regardless.

Commands to Add SQL to Eyeglass and ECA

Once the environment variables are changed as described above, you can proceed to cluster up and add your configured servers to both Eyeglass and ECA separately. This allows them to connect and save/get user events and reports.

info

If the parameters for the server are incorrect, it will result in a connection error, and the server will be skipped. Additionally, at any given time, you can have only one server configured.

The DbType will be either POSTGRES or MSSQL.

ECA

Run the following command on your master ECA node:

ecactl db add --ip <IP on which SQL Server is hosted> --port <PORT> --username eyeglass --dbname eyeglass --db-type POSTGRES --dbparams encrypt=<dbParms needed to make connection>

You will be prompted for the password here.

Eyeglass

Run the following command on your Eyeglass. Make sure SCA is running:

igls adv sqldb add --ip <IP on which SQL Server is hosted> --port <PORT> --username <USERNAME> --dbname <DATABASE NAME> --dbparams=<dbParms needed to make connection> --dbType MSSQL --dbpass <PASSWORD>