Skip to main content
Migration Notice
We're migrating documentation from the old portal into this one. Some things may look a little different or out of place in the meantime — we know, and we're working to get it right. If something's unclear or doesn't look right, let us know.
Version: 4.5.0

ECA VM Installation

Introduction​

The Eyeglass Clustered Agent (ECA) is a tool that facilitates auditing and ransomware defense through the deployment of virtual machines (VMs) across different platforms, including Hyper-V and VMware. This guide provides step-by-step instructions for deploying the ECA VM on various environments, ensuring that the auditing of critical data is carried out efficiently.

Deployment Scenarios​

Centralized with NFS over WAN​

In this setup, a central ECA cluster accesses audit data from remote managed clusters over a WAN link using NFS. This configuration is ideal for metro WAN environments where latency is low.

Prerequisites​

The Eyeglass appliance is required for installation and configuration. The ECA Cluster operates in a separate group of VMs from Eyeglass.

Before you deploy, review node counts, VM sizing, host requirements, and firewall ports in ECAs: Topology and Sizing and Eyeglass: Topology and Sizing.

ECA Hyper-V​

The ECA appliance uses two disks: one for the OS and one for data.

  • OS Disk: Requires 20 GB (default disk).
  • Data Disk: Requires 80 GB. (Read the instructions below on how to create the data disk).

OVA Install Prerequisites​

info

The OVA file will deploy 3 VMs. To build a 6-node cluster, deploy the OVA twice and move the VMs into the first Cluster object in vCenter. Follow the instructions below to correctly move the VMs into a single vApp in vCenter.

Configuration Item
See ECAs: Topology and Sizing
vSphere 6.x or higher
1x IP address on the same subnet for each node
Gateway
Network Mask
DNS IP
NTP server IP
IP Address of Eyeglass
API token from Eyeglass
Unique cluster name (lower case, no special characters)

ECA VM Deployment​

alt text

Step-by-Step Guide for Hyper-V Deployment​

Create ECA Hyper-V Virtual Machine​

Follow the steps below to create an Eyeglass Clustered Agent (ECA) Virtual Machine on Hyper-V:

  1. Download ECA VHDX File:

  2. Deploy a New Virtual Machine:

    • Open Hyper-V Manager and start the process to create a new Virtual Machine.

    Download ECA VHDX File

  3. Configure the Virtual Machine:

    • Enter a Name for the virtual machine. Configure VM Name
    • Select Generation 1 for the virtual machine generation. Select Generation 1
    • Set the Startup Memory to 16384 MB (16 GB). Set Startup Memory
  4. Configure Network:

    • Select the appropriate Network Adapter for the virtual machine. Configure Network Adapter
  5. Attach the ECA VHDX:

    • In the virtual hard disk options, choose Use an existing virtual hard disk.
    • Browse to and select the downloaded ECA vhdx file. Attach ECA VHDX File
  6. Complete the Wizard:

    • Follow the prompts to complete the virtual machine creation process. Complete VM Creation

Configure ECA Data Disk​

After deploying the Eyeglass Clustered Agent (ECA) Virtual Machine, follow the steps below to configure the data disk:

  1. Open VM Settings:

    • Go to the new VM in Hyper-V Manager.
    • Right-click the VM and select Settings. Open VM Settings in Hyper-V
  2. Add a Hard Drive:

    • Under IDE Controller 0, click Add and select Hard Drive. Add Hard Drive
  3. Create a New Virtual Hard Disk:

    • Choose Create New to configure a new virtual hard disk. Create New Virtual Hard Disk
  4. Configure Disk Format and Type:

    • Disk Format: Select VHDX. Select VHDX Format
    • Disk Type: Select Fixed size. Choose Fixed Size Disk
  5. Name and Size the Data Disk:

    • Enter a Name for the data disk. Enter Data Disk Name
    • Set the size to 80 GB for the new blank virtual hard disk. Set Data Disk Size
  6. Complete the Wizard:

    • Follow the prompts to complete the data disk creation process. Complete Data Disk Setup

Configuration of ECA cluster​

SSH Access​

  • Username: <your-username>
  • Password: <your-password>

Steps to Configure the ECA Cluster​

  1. Power Up the VM:

    • Start the ECA VM and wait 5-10 minutes for the Superna on-boot script to run.

    • To monitor the script, use the following command:

      tail -2 /var/log/superna-on-boot.log
    • Wait for the script to finish and follow the on-screen instructions.

    Monitor On-Boot Script

  2. Setup the First Node (Node 1):

    • Run the command to set up your ECA Hyper-V node 1:

      sudo spy-hypervisor-setup
    • When prompted, enter the following network configuration details:

      • Admin password
      • IP Address
      • Netmask
      • Gateway
      • Hostname
      • DNS
      • NTP

    Setup Node 1 Network Configuration

  3. Configure the Cluster (Node 1):

    • Follow the instructions carefully:
      • Do not press y until Node 2-N is configured.
      • Move on to the next step for Node 2-N setup.

    Cluster Configuration Instructions

  4. Setup Additional Nodes (Node 2-N):

    • Repeat STEP 1 and STEP 2 on Node 2-N for each additional node you wish to deploy.
    • When prompted for the master node during setup on Node 2-N, enter n.

    Setup Node 2-N

  5. Complete Setup on the Master Node (Node 1):

    • Return to Node 1 (the master node) and press y to complete the setup.
    • Enter the following details:
      • ECA Cluster Name (use lowercase, no uppercase, underscores, or special characters).
      • Child Nodes IPs (space-separated).

    Complete Master Node Setup

  6. Verify Completion:

    • After setup is complete, verify that all nodes are configured properly.
    • You will see a "Setup complete" message once everything is successfully configured.

    Verify Cluster Setup Completion

VMware OVA Installation Procedure​

Installation ECA Vmware OVA​

The deployment involves three ECA appliances. Follow the steps below to complete the installation.

  1. Download the Superna Eyeglass™ OVF:

  2. Unzip the OVF File:

    • Extract the downloaded file into a directory on a machine with vSphere Client installed. Unzip OVF File
  3. OVA Contents:

    • The unzipped download contains 1, 3, 6, and 9 VM OVF files.

    • Use the 1 VM OVF if you do not have a VMware license for vAppliance objects and need to deploy N x VMs.

    • Select the 3, 6, 9 OVF + VMDK files to deploy an ECA cluster, matching the VM count from the scaling table in this guide.

  4. Install the OVF using HTML vCenter Web Interface:

    warning

    Access vCenter with an FQDN DNS name, not an IP address. A bug in vCenter will generate an error during OVA validation.

  5. MANDATORY STEP: Power on the vApp After Deployment to Ensure IP Addresses Get Assigned:

    • DO NOT remove the VMs from the vApp before powering them on.
  6. First Boot Verification:

    • Make sure the first boot steps complete by reviewing the logs. Run the following commands on each ECA VM:

      • Check the status of the boot process:
      sudo systemctl status superna-on-boot
      • Verify the process has completed:
      cat /var/log/superna-on-boot.log
      • Ensure the log shows "done" before proceeding. Do not proceed until this step is complete.
  7. Procedures After First Boot:

    • Once the VMs are pingable, you can move the VMs from the vApp object if needed to rename each VM according to your naming convention.
      note

      Make sure the first boot script has completed using the procedures above on each VM. This can take up to 10 minutes per VM on the first boot as it sets up docker containers and must complete successfully along with SSH key creation.

      Verify First Boot Steps
  8. Deploy from a File or URL:

    • Deploy the OVA from the file or URL where it was saved.
  9. Configure VM Settings:

    • Using vCenter Client, set the required VM settings for datastore and networking.

    • NOTE: Leave the setting as Fixed IP address.

  10. Complete the Networking Sections:

    • ECA Cluster Name:

      • The name must be lowercase, less than 8 characters, and contain no special characters, with only letters.

        warning

        The ECA cluster name cannot include underscores (_) as this will cause some services to fail.

    • Ensure that all VMs are on the same subnet.

    • Enter the Network Mask (this will be applied to all VMs).

    • Enter the Gateway IP.

    • Enter the DNS Server:

      • The DNS server must be able to resolve igls.<your domain name here>. Use the nameserver IP address.
      note

      Agent node 1 is the master node where all ECA CLI commands are executed for cluster management.

    • Enter all IP information for each ECA VM in the vCenter UI.

  11. vCenter Windows client example

    vCenter Windows Client Example

    1. vCenter HTML Client Example vCenter HTML Client Example
  12. Example OVA vAPP after deployment OVA vApp Deployment Example

  13. After Deployment is Complete:

    • Power on the vApp (Recommended to stop here and wait for services to complete the remaining steps).

    • Ping each IP address to make sure each node has finished booting.

    • Login to the Master Node:

      • Login via SSH to Node 1 (the Master Node) using the ecaadmin account.
      • Enter the ecaadmin password when prompted.
    • Configure Keyless SSH:

      • Run the following command to configure keyless SSH for the ecaadmin user to manage the cluster:

        ecactl components configure-nodes
    • Generate API Token on Eyeglass Appliance:

      • On the Eyeglass Appliance, generate a unique API Token from the Superna Eyeglass REST API Window.
      • Once the token is generated for the ECA Cluster, it will be used in the ECA startup command for authentication.
    • Login to Eyeglass:

      • Go to the main menu and navigate to the Eyeglass REST API menu item.

      • Create a new API token, which will be used in the startup file for the ECA cluster to authenticate with the Eyeglass VM and register ECA services.

      Generate API Token in Eyeglass

  14. On ECA Cluster Master node ip 1

    1. Login to that VM using SSH as the ecaadmin user and enter the password when prompted. From this point on, commands will only be executed on the master node.

    2. On the master node, edit the file nano /opt/superna/eca/eca-env-common.conf, and change these five settings to reflect your environment. Replace the variables accordingly.

    3. Set the IP address or FQDN of the Eyeglass appliance and the API Token (created above), uncomment the parameter lines before saving the file. For example:

      export EYEGASS_LOCATION=ip_addr_of_eyeglass_appliance
      export EYEGASS_API_TOKEN=Eyeglass_API_token
    4. Verify the IP addresses for the nodes in your cluster. It is important that NODE_1 be the master (i.e., the IP address of the node you're currently logged into).

      info

      Add additional ECA_LOCATION_NODE_X=x.x.x.x for an additional node in the ECA cluster depending on ECA cluster size. All nodes in the cluster must be listed in the file. Copy a line and paste to add additional ECA nodes and make sure to change the node number example to add the 4th ECA VM, it would look like this:

      export ECA_LOCATION_NODE_4=
      export ECA_LOCATION_NODE_1=ip_addr_of_node_1  # set by first boot from the OVF
      export ECA_LOCATION_NODE_2=ip_addr_of_node_2 # set by first boot from the OVF
      export ECA_LOCATION_NODE_3=ip_addr_of_node_3 # set by first boot from the OVF
    5. Add the following TurboAudit settings for FlashBlade and FlashArray:

      ## TURBOAUDIT
      export TURBOAUDIT_FB_SERVER_ENABLED=true
      export TURBOAUDIT_FA_SERVER_ENABLED=true
  15. Done: Continue on to Setting Up Audit Data Ingestion below.

Start up the ECA Cluster​

  1. Start up the cluster:

    • At this point, you can start up the cluster.
  2. SSH to ECA node 1:

    • SSH to ECA node 1 as <your-username> and run the following command:
      • ecactl cluster up
      • Note: This process can take 5-8 minutes to complete.
  3. Verify startup and post-startup status:

    • Refer to the troubleshooting section below for commands to verify startup and post-startup status.

Network and Storage Setup​

Setting Up Audit Data Ingestion​

Audit data ingestion setup is platform-specific. Follow the steps in the installation guide for your platform:

Final Configuration​

Verifying the Installation and Network Setup​

Verify ECA Remote Monitoring Connection from the Eyeglass Appliance​

  1. Login to Eyeglass as the admin user.
  2. Check the status of the ECA Cluster. Click the Manage Services icon and then click the + to expand the container or services for each ECA node (review the image below).
  3. Verify the IP addresses of the ECA nodes are listed.
  4. Verify that all cluster nodes and all Docker containers show green health.
note

HBase status can take up to 5 minutes to transition from warning to green.

Monitoring

How to Upgrade the ECA cluster Software For Easy Auditor , Data Security and Performance Auditor​

Important Notes for Upgrading

note
  • Contact support first before upgrading the cluster to ensure compatibility with the Eyeglass version. Both Eyeglass and ECA must be running the same version.

  • Upgrade assistance is scheduled and is a service not covered under 24/7 support. Please review the EULA terms and conditions.

  • Always take a VM-level snapshot before any upgrade steps to allow for rollback to the previous release if needed.

Steps to Carrier Grade Upgrade - No downtime​

  1. Requirements:

    • 2.5.8.2 or later release
  2. Login to node 1 as <your-username> and copy the run file to node 1.

  3. Change file permissions:

    chmod 777 xxxx (name of the run file)
  4. Run the upgrade with the following command:

    ./eca-xxxxx.run --rolling-upgrade
  5. Provide the password for <your-username> when prompted.

  6. Nodes will be upgraded in a manner that allows audit data and all ECA products to continue operating fully.

  7. The upgrade will manage all node upgrades and will exit when done. The final state will have all containers running the new code.

Steps to Upgrade​

  1. Take a Hypervisor-level VM snapshot to enable a rollback if needed. This is a mandatory step.

  2. Disable Data Security, Easy Auditor, and Performance Auditor functionality before beginning the upgrade – required first step:

    • Log in to ECA Node 1 using <your-username> credentials.
    • Issue the following command: ecactl cluster down.
    • Wait for the procedure to complete on all involved ECA nodes.
    • Done!
  3. Upgrade Eyeglass VM first and download the latest release.

    note

    Eyeglass and ECA cluster software must be upgraded to the same version.

    • Follow the guide.
    • Double-check that licenses are assigned to the correct clusters based on the information.
    • Double-check that Data Security, Easy Auditor, and Performance Auditor settings match the ones before the upgrade.
  4. Download the latest GA Release for the ECA upgrade, following instructions.

  5. Log in to ECA Node 1 using <your-username> credentials.

  6. note

    ECA is in a down state – ecactl cluster down was already done in step 1.

  7. Verify by executing the following command:

    ecactl cluster status
  8. Ensure no containers are running.

  9. If containers are still running, stop them by executing the command and waiting for it to complete on all nodes:

    ecactl cluster down
  10. Once the above steps are complete:

    • Use WinSCP to transfer the run file to Node 1 (Master Node) in /home/ecaadmin directory.

    • SSH to ECA Node 1 as <your-username>:

      ssh ecaadmin@x.x.x.x
      cd /home/ecaadmin
      chmod +x ecaxxxxxxx.run (xxxx is the name of the file)
      ./ecaxxxxxxx.run
    • Enter the <your-username> password when prompted.

    • Wait for the installation to complete.

    • Capture the upgrade log for support if needed.

  11. Complete the software upgrade.

  12. Bring up the ECA cluster:

    • Execute:

      ecactl cluster exec "sudo systemctl enable --now zkcleanup.timer"

      (Enter the <your-username> password for each node.)

    • Start the cluster:

      ecactl cluster up
    • Wait until all services start on all nodes. If there are any errors, copy the upgrade log and use WinSCP to transfer it to your PC or attach it to a support case.

  13. Once completed, log in to Eyeglass, open the Manage Services icon, and verify that all ECA nodes show green and are online. If any services show a warning or are inactive, wait at least 5 minutes. If the condition persists, open a support case. Centralized_NFS_WAN_Deployment

  14. If all steps pass and all ECA nodes show green:

    • Use the Security Guard test in Data Security or run the RoboAudit feature in Easy Auditor to validate that audit data ingestion is functioning.
  15. Consult the admin guide for each product to start a manual test of these features.

How to Migrate ECA cluster settings to a new ECA cluster deployment - To upgrade Open Suse OS​

To upgrade an ECA cluster OS, it is easier to migrate the settings to a new ECA cluster deployed with the new OS. Follow these steps to deploy a new ECA cluster and migrate configuration to the new ECA cluster.

  1. Retrieve the ECA Cluster Name:

    • The ECA cluster has a logical name shared between nodes. When deploying a new OVA, the deployment will prompt for the ECA cluster name. This should be the same as the previous ECA cluster name.
    • To get the ECA cluster name:
      1. Log in to ECA Node 1 via SSH as <your-username> (e.g., ssh ecaadmin@x.x.x.x).

      2. Run the following command:

        cat /opt/superna/eca/eca-env-common.conf | grep ECA_CLUSTER_ID
      3. Use the value returned after the = sign when deploying the new ECA cluster.

      4. Use WinSCP to copy the following files from ECA Node 1 of the existing ECA cluster (logged in as <your-username>):

        • /opt/superna/eca/eca-env-common.conf
        • /opt/superna/eca/docker-compose.overrides.yml
        • /opt/superna/eca/conf/common/overrides/ThreatLevels.json
        • /opt/superna/eca/data/audit-nfs/auto.nfs
    note

    This procedure assumes the IP addresses will stay the same, so the cluster NFS export doesn't need to be changed, and there will be no impact on any firewall rules.

  2. Deploy a New OVA:

    • Deploy a new OVA ECA cluster using the latest OS OVA, following the instructions
    • Follow the deployment instructions and use the same ECA cluster name captured earlier when prompted during the installation of the OVA.
    note

    Use the same IP addresses as the current ECA cluster.

  3. Shutdown the Old ECA Cluster:

    1. Log in to Node 1 as <your-username>.

    2. Run the following command:

      ecactl cluster down
    3. Wait for the shutdown to finish.

    4. Using the vCenter UI, power off the VApp.

  4. Startup the New ECA Cluster:

    1. Power on the VApp using the vCenter UI.

    2. Ping each IP address in the cluster until all VMs respond.

      warning

      Do not continue if you cannot ping each VM in the cluster.

    3. Using WinSCP, log in as <your-username> and copy the files from the steps above into the new ECA OVA cluster.

    4. On Node 1, replace the files with the backup copies:

      • /opt/superna/eca/eca-env-common.conf
      • /opt/superna/eca/docker-compose.overrides.yml
      • /opt/superna/eca/conf/common/overrides/ThreatLevels.json
      • /opt/superna/eca/data/audit-nfs/auto.nfs
    5. On Nodes 1 to X (where X is the last node in the cluster):

      1. On each node, complete the following steps:
        • SSH to the node as <your-username>:

          ssh ecaadmin@x.x.x.x
        • Run the following commands:

          sudo -s
          mkdir -p /opt/superna/mnt/audit/<cluster GUID/cluster name>

          Example:

          /opt/superna/mnt/audit/0050569960fcd70161594d21dd22a3c10cbe/prod-cluster-8
        • Repeat for each cluster managed by this ECA cluster. View the contents of the auto.nfs file to get the cluster GUID and name.

    6. Restart the Autofs process to read the auto.nfs file and mount all clusters:

      • Run the following commands on each node:

        ecactl cluster exec "sudo systemctl restart autofs"
        ecactl cluster exec "mount"
      • Verify that the mount is present on all nodes in the output from the mount command.

    7. Start up the new ECA cluster:

      • Log in to ECA Node 1 as <your-username>:

        ecactl cluster up
      • Review startup messages for errors.

    8. Done.

Monitor Health and Performance of an ECA Cluster - Optional​

The sections below provide instructions on how to monitor the health and performance of an ECA cluster. Always contact support before taking any actions. Note that ECA clusters are designed to consume high CPU resources for most operations, and it is expected to see high CPU usage on all nodes most of the time.

Verifying ECA Cluster Status​

To check the status of an ECA cluster, follow these steps:

  1. Access the master node and run the following command:

    ecactl db shell
  2. Once in the shell, execute the command:

    status
  3. The output should show:

    • 1 active master
    • 2 backup master servers

Mini_ECA_Configuration

Verifying ECA Containers are Running​

To verify that ECA containers are running, execute the following command:

ecactl containers ps

ECA_Cluster_Status_Screenshot

Check Cluster Status and Verify Analytics Tables - Optional​

This section explains how to check the status of the cluster and ensure all analytics tables are available for Data Security, Easy Auditor, and Performance Auditor.

  1. Run the following command to check the cluster status:

    ecactl cluster status

    This command verifies:

    • All containers are running on every node.
    • Each node can mount the necessary tables in the Analytics database.
  2. If any errors are encountered, follow these steps:

    • Open a support case to resolve the issue.
    • Alternatively, retry the cluster commands below:
    ecactl cluster down
    ecactl cluster up
  3. Once the cluster is back up, send the ECA cluster startup log to support for further assistance.

Check ECA Node Container CPU and Memory Usage - Optional​

To monitor the real-time CPU and memory usage of containers on an ECA node, follow these steps:

  1. Log in to the ECA node as the <your-username> user.

  2. Run the following command to view the real-time resource utilization of the containers:

    ecactl stats

Enable Real-time Monitoring of ECA Cluster Performance (If Directed by Support)​

Follow this procedure to enable container monitoring and ensure that CPU GHz are set correctly for query and writing performance to the managed cluster.

Steps to Enable Monitoring​

  1. To enable cadvisor across all cluster nodes, add the following line to the eca-env-common.conf file:

    export LAUNCH_MONITORING=true

    This will launch cadvisor on all ECA cluster nodes.

  2. If you need to launch cadvisor on a single node, log in to that specific node and run the following command:

    ecactl containers up -d cadvisor
  3. Once the cadvisor service is running, you can access the web UI by navigating to:

    http://<IP OF ECA NODE>:9080

    Replace <IP OF ECA NODE> with the actual IP address of the node.

Done! You can now monitor the real-time performance of the ECA cluster.

ECA Cluster Modification Procedures - Optional​

How to Expand Easy Auditor Cluster Size​

note

Always contact support before proceeding. Support will determine if your installation requires expansion.

To enhance analytics performance for handling higher event rates or long-running queries in a large database, follow these steps to add 3 or 6 more VMs:

  1. Deploy the ECA OVA.
  2. Copy the new VMs into the vAPP.
  3. Remove the vAPP created during the deployment.
note

The ECA name during the OVA deployment is not important, as it will be synchronized from the existing ECA cluster during the cluster startup procedures.

  1. Log in to the master ECA node.

  2. Run the following command to take the cluster down:

    ecactl cluster down
  3. Deploy one or two more ECA clusters. No special configuration is needed on the newly deployed ECA OVA.

  4. Edit the configuration file to add more nodes:

    nano /opt/superna/eca/eca-env-common.conf
  5. Add the IP addresses of the new nodes, for example:

    ECA_LOCATION_NODE_4: <IP>
    ECA_LOCATION_NODE_5: <IP>
  6. You can add nodes from 4 to 9, depending on the number of VMs added to the cluster.

  7. Run the following command to configure the new nodes:

    ecactl components configure-nodes
  8. Bring the cluster back up:

    ecactl cluster up
  9. This will expand the HBASE and Spark containers for faster read and analytics performance.

  10. Log in to Eyeglass and open the managed services.

  11. Now balance the load across the cluster for improved read performance:

    • Log in to the Region Master VM (typically node 1).
    • Open the UI at http://x.x.x.x:16010/ and verify that each region server (6 total) is visible.
    • Ensure each server has assigned regions and verify that requests are visible for each region server.
    • Check that the tables section shows no regions offline, and no regions are in the "other" column.
    • Example screenshots of six region servers with regions and normal table views can be used for reference.

    alt text alt text

Advanced Configurations​

How to Configure a Data Security Only Configuration (Skip if Running Multiple Products)​

Follow this procedure before starting up the cluster to ensure unnecessary Docker containers are disabled during startup.

  1. Log in to node 1 over SSH as the <your-username> user.

  2. Open the configuration file:

    nano /opt/superna/eca/eca-env-common.conf
  3. Add the following variable:

    export RSW_ONLY_CFG=true
  4. Save and exit the file:

    :wq
  5. Continue with the startup steps below.

note

Moving an NFS audit export between Access Zones is a PowerScale OneFS-specific procedure and is not applicable to VAST or Qumulo deployments.