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

Install and configure for FlashBlade

This guide walks you through deploying Data Security Edition for a Pure Storage FlashBlade: you deploy the services, create an API token, configure file audit over syslog, and add the FlashBlade to Eyeglass.

Before you begin​

Complete the prerequisites. Confirm that your FlashBlade runs version 4.6.6, that you use SMB, NFSv3, or NFSv4.1, and that you have the following values ready:

ValueExample
FlashBlade management IP address or URL10.152.1.50
ECA node IP addresses10.152.1.166, 10.152.1.167, 10.152.1.168
PostgreSQL server IP address10.152.1.170
File systems to protectfs-finance, fs-engineering

Step 1: Deploy Eyeglass and the ECA cluster​

  1. Deploy and license the Eyeglass appliance.
  2. An ECA cluster can be deployed as a 3-node, 6-node, 9-node, or 12-node cluster. Deploy the ECA in vSphere using the 6-node option. Access vCenter by FQDN, not by IP address, to avoid a known validation error.
  3. Configure the ECA cluster to work with Eyeglass. On ECA node 1, in /opt/superna/eca/eca-env-common.conf, add the line export TURBOAUDIT_FB_SERVER_ENABLED=true and change RSW_ONLY_CFG to false.

Step 2: Deploy the PostgreSQL database​

Follow Deploy the PostgreSQL database, then return to this page.

Step 3: Create an API token for Eyeglass​

Eyeglass uses an API token to manage the FlashBlade (for example, to apply lockout rules and take snapshots).

  1. Log in to the FlashBlade management console as an administrator.
  2. Go to Settings > Users.
  3. Create a user named superna with the array_admin role.
  4. Create a new API token for the newly created user and copy it. You will need it in Step 6.

Step 4: Configure file audit and syslog​

Configure the FlashBlade to send file audit events to the ECA cluster over syslog.

  1. Open an SSH session to the FlashBlade command line.

  2. Create the syslog server. Replace the IP address with an ECA node address.

    purelog create --uri tcp://10.152.1.166 --services data-audit superna-syslog-server

    FlashBlade supports tcp:// and udp://. Use TCP so events are not lost in transit.

  3. Create a file audit policy that sends events to the syslog server.

    purepolicy audit file create superna-syslog-audit --log-targets superna-syslog-server
  4. Apply the audit policy to each file system you want to protect.

    purepolicy audit file add superna-syslog-audit --fs fs-finance
    purepolicy audit file add superna-syslog-audit --fs fs-engineering
  5. In the FlashBlade console, go to Settings > Monitoring and confirm the syslog server is listed.

note

FlashBlade sends syslog to one ECA node only. That node can be any ECA node, but use a node other than node 1. Turbo Audit on that node converts the audit logs into events and puts them on Kafka, and Fast Analysis on every ECA node processes them. Because only one node receives the syslog, audit ingestion isn't highly available. If that node goes down, the audit stream is lost until you point the syslog target to a different ECA node.

Step 5: Configure SMB auditing permissions​

Without audit events, Eyeglass can't see any file activity, so the audit policy from Step 4 must audit the right operations. How you choose what to audit depends on your FlashBlade version. The audit policy has a control type, and the two options are mutually exclusive.

From Purity//FB 4.8.0, the audit policy audits SMB and NFS through its own list of operations (control type policy). You don't set NTFS SACLs on the shares. A single policy covers the whole file system, so you can't audit different operations for different directories. The policy applies to all users, with no exceptions. On large file systems, it's much faster than setting SACLs.

note

NFS file systems, and file systems that use both SMB and NFS, require the policy control type. The sacl control type works only on SMB-only file systems.

If you upgraded from an earlier version, your audit policy still uses the sacl control type. Pure Storage doesn't convert your existing Windows auditing entries into policy operations, so you must select the operations yourself. Switching the control type replaces sacl auditing. It doesn't interrupt active connections, and no audit gap opens between the two.

Change the control type in the FlashBlade console:

  1. Go to Policies > File System Audit.
  2. Next to your audit policy, click the three-dot icon and select Edit.
  3. Set Control Type to policy.
  4. In Success Operations, select the operations to audit when they succeed.
  5. In Failure Operations, select the operations to audit when they fail.
  6. Click Save, and confirm the policy is enabled and attached to your file systems.

Or change it from the FlashBlade command line. This example audits read, write, create, remove, and rename operations that succeed, and read, write, create, and remove operations that fail:

purepolicy audit file setattr \
--control-type policy \
--success-operations read,write,create,remove,rename \
--failure-operations read,write,create,remove \
superna-syslog-audit

To list the policies and the file systems they're attached to, run purepolicy audit file list and purefs list --policy.

note

If you switch the control type back to sacl and then to policy again, Pure Storage doesn't restore the previous operation lists. Select the operations again before you save.

Step 6: Add the FlashBlade to Eyeglass​

  1. Open the Eyeglass interface and add a new managed storage device.
  2. Select FlashBlade as the device type.
  3. Enter the management address and the API token from Step 3.
  4. Save the device.

Step 7: Verify the installation​

  1. Confirm the FlashBlade appears as a managed device in Eyeglass with a healthy status.
  2. From a test Windows client, create and delete a file on an audited SMB share.
  3. Confirm the events arrive in Eyeglass. Open Health Check > Manage Services and check the Grafana dashboards.
  4. Run Security Guard to confirm alerts, snapshots, lockout, and connectivity to the FlashBlade. See Security Guard.

Troubleshooting​

SymptomWhat to check
No events arrive in EyeglassConfirm the syslog server is listed under Settings > Monitoring, the audit policy is applied to the file system, and the ECA node accepts connections on the syslog port.
SMB events are missingOn FlashBlade earlier than 4.8.x, confirm the Windows auditing entry from Step 5 exists on the share. On 4.8.x and later, confirm the audit policy control type is policy and that its success and failure operation lists aren't empty.
Eyeglass cannot reach the FlashBladeConfirm the API token is valid and the management address is reachable from Eyeglass.
Events arrive but the database is emptyConfirm Eyeglass and every ECA node can connect to PostgreSQL. See Deploy the PostgreSQL database.

Next steps​