Ring Buffer Configuration Guide: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 12: Line 12:
If there is no '''ring buffer''' configured, the Allegro Network Multimeter allows a '''pcap''' extraction of live traffic only.
If there is no '''ring buffer''' configured, the Allegro Network Multimeter allows a '''pcap''' extraction of live traffic only.


== Different '''ring buffer''' modes ==
== Different '''ring buffer''' storages ==


The '''ring buffer''' supports 2 different modes.  
The '''Packet Ring Buffer''' supports 2 different way to add storage space.  
The '''single shared ring buffer''' can be used if you need only one ring buffer that fits into your storage device. The '''single shared ring buffer''' uses '''one''' shared storage for the '''ring buffer''' and '''pcap to disk'''. This mode is recommended if only one storage device is used since it allows a '''ring buffer''' and space for '''pcap files''' on the same storage device. Please note that using both features at the same time may lead to a performance bottleneck.
Storage space can be allocated on active storage devices to share the space of a storage device between the Packet Ring Buffer and e.g. capture PCAPs on the storage device. If multiple Packet Ring Buffers are used they can allocate space on the same storage device. This is only recommended with fast storage devices like SSDs.


The '''cluster ring buffer''' mode allows to use multiple ring buffers where each ring buffer can have multiple disks. It allows having a separate disk for pcap files which allows fast '''ring buffer''' and fast '''pcap to disk''' writes at the same time.
The '''Packet Ring Buffer''' also allows to add one or multiple whole disks. It allows having a separate disk for pcap files which allows fast '''ring buffer''' and fast '''pcap to disk''' writes at the same time.


== '''Single shared ring buffer''' ==
== '''Single shared ring buffer''' ==


The single shared ring buffer the default setup on all Allegro Network Multimeters that are shipped with '''one''' internal or external storage device. This mode is designed for '''ONE''' internal, external or iSCSI storage device. ( Please see the section [[#iSCSI ring buffer]] for more information ). It does not allow you to use multiple ring buffers with one Allegro Network Multimeter. You can check at '''Generic''' → '''Storage''' if the Allegro Network Multimeter has detected a storage device. Here an example of ONE attached disk:
The single shared ring buffer the default setup on all Allegro Network Multimeters that are shipped with '''one''' internal or external storage device. This is designed for using '''ONE''' internal, external or iSCSI storage device. ( Please see the section [[#iSCSI ring buffer]] for more information ). You can check at '''Generic''' → '''Storage''' if the Allegro Network Multimeter has detected a storage device. Here an example of ONE attached disk:


[[File:Storage no device active.png|border|600px]]
[[File:Storage no device active.png|border|600px]]
Line 37: Line 37:
The ring buffer is now running and all pcap buttons will work for historic dates. For advanced setup, please continue at the section [[#Filter Rules]].
The ring buffer is now running and all pcap buttons will work for historic dates. For advanced setup, please continue at the section [[#Filter Rules]].


== '''Cluster ring buffer''' ==
== '''Packet Ring Buffer with multiple disks''' ==


The cluster ring buffer is the default mode on all Allegro Network Multimeters that are shipped with '''two or more''' internal or external storage devices.
The Packet Ring Buffer with multiple disks is active on all Allegro Network Multimeters that are shipped with '''two or more''' internal or external storage devices.


By default, the Allegro Network Multimeter uses '''One''' cluster ring buffer. If you need more, please open the Settings menu at the top right corner.
By default, the Allegro Network Multimeter uses '''One''' Packet Ring Buffer. If you need more, please open the Settings menu at the top right corner.


[[File:Settings button.png|border|100px]]
[[File:Settings button.png|border|100px]]


Here you can increase the number of cluster ring buffers. We will continue this tutorial with 2 ring buffers to show the full flexibility of the Allegro Network Multimeter. Please note that you need to restart the processing when you change the parameter. This can be done at '''Settings''' → '''Administration''' → '''Restart processing'''.
Here you can increase the number of Packet Ring Buffers. We will continue this tutorial with 2 Packet Ring Buffers to show the full flexibility of the Allegro Network Multimeter. Please note that you need to restart the processing when you change the parameter. This can be done at '''Settings''' → '''Administration''' → '''Restart processing'''.
 
To enable the cluster ring buffer mode, please check at '''Generic'''  → '''ring buffer''', if the tab ''cluster configuration'' is selected or not. If it is not, selected, delete the non-cluster ring buffer with:
 
[[File:Delete ring buffer button.png|border|100px]]
 
Once this is done, you should see the dialogue:
 
[[File:Select ring buffer.png|border|300px]]
 
Here you can select '''Create cluster ring buffer'''. Once this is selected, you will see all available clusters of ring buffers. By default, the first cluster is running but has no disk assigned to it. The size of the buffer is 0 Bytes and it drops all packets written into it.


[[File:Cluster ring buffer initial startup.png|border|600px]]
[[File:Cluster ring buffer initial startup.png|border|600px]]


As a next step, please select the configuration for the cluster.
As a next step, please select the configuration for the Packet Ring Buffer.


[[File:Cluster ring buffer configuration.png|border|600px]]
[[File:Cluster ring buffer configuration.png|border|600px]]


Please select here '''Add to cluster''' to format a disk and add it to the cluster. Once you have added disks to a cluster, the packets will be written to the storage device.
Please select here '''Add to cluster''' to format a disk and add it to the cluster. Once you have added disks to a Packet Ring Buffer, the packets will be written to the storage device.


[[File:Cluster ring buffer with disks.png|border|600px]]
[[File:Cluster ring buffer with disks.png|border|600px]]
122

edits