New storage space can be added to capture more packets and extend the depth of the indexes.
The instructions and scripts have been tested in Security Analytics 8.2.8.
The following will require root access from the command line. This will need to be done during a maintenance window due to the fact that all capture will need to be stopped and many Security Analytics services will need to be shut down.
First record the output of the following commands for configuration reference:
df -hlsblk --output 'NAME,KNAME,MAJ:MIN,WWN,MODEL,SIZE,SERIAL'multipath -ll
Shutting Down Capturing Interfaces and the services
dscapture --status Look for any interfaces with the label “CAPTURING”dscapture --stop ethX where "X" Is the number of the interfacedscapture --statusscotus stopConfiguring the new storage expansion hardware
NOTE: Do not run the powervault_clear.py command. This will delete all capture and index data. The process for expanding storage will allow you to add storage without losing any existing capture and index data.
rebootscotus stoplsblk --output 'NAME,KNAME,MAJ:MIN,WWN,MODEL,SIZE,SERIAL'The existing storage volumes will have the following group names: captureVG-captureLVindexVG-indexLV
These devices can be considered as existing capture and existing index. The new volumes on the new storage will not have any group names listed, but they should have similar volume sizes as the existing logical volumes. Double check that the new dm-<num>'s are going to be associated with the correct group-name. The new logical device names are often sequential to the old, but this is not guaranteed.
Once the new 'dm' volume devices have been identified, it is time to expand the existing storage to include the new storage.
Expand the Storage
NOTE: adding the -n (--noExec) parameter will show commands but not execute anything. Running expand-ds-storage --help will display:
Usage: expand-ds-storage -ci [-nravDh] drives [-c, --capture] expand the capture storage [-i, --index ] expand the index storage [-n, --noExec ] show commands but do not execute [-r, --reboot ] automatically reboot [-a, --allow ] allow mismatch stripe member sizes [-v, --verbose] verbose (show commands) [-D, --debug ] debugging output, show even more commands [-h, --help ] show this usage
NOTE: These dm- names are only for reference. Those on your server will be different
expand-ds-storage -c /dev/dm-5 /dev/dm-6 /dev/dm-7 /dev/dm-8expand-ds-storage -i /dev/dm-9lsblk --output 'NAME,KNAME,MAJ:MIN,WWN,MODEL,SIZE,SERIAL'rebootAfter reboot, run df -h and verify that both capture (/pfs) and index (/var/lib/solera/meta) has increased in size.
Restart capture on the previous ethX ports that were capturing before: dscapture --start ethX (where X is your port number)