Infinistream socket table: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="font-size:medium;">LET OP, ARTIKEL IS NIET VOLLEDIG</span>


=== Summary ===
=== Summary ===


In situations that the summary pane of a monitor&nbsp;show data, but drilling down towards the session pane results in "No data available" you might run into overloaded database tables. This article shows how to verify if the Infinistream is suffering from this problem.
In situations that the summary pane of a monitor&nbsp;show data, but drilling down towards the session pane results in "No data available" you might run into overloaded database tables. This article shows how to verify if the Infinistream is suffering from this problem.
&nbsp;
=== Backup configuration ===
Before proceeding backup the configuration files:
<pre># cp /opt/NetScout/rtm/config/configfile.xml ~/
# cp /opt/NetScout/rtm/bin/configfile ~/
</pre>
When the task has concluded successfully both files may be deleted from the home folder of user root.


&nbsp;
&nbsp;
Line 10: Line 19:
=== Procedure ===
=== Procedure ===


==== Verification ====
==== Verify if tables are dropping data ====


Log into the Infinistream and launch a localconsole session:
Log into the Infinistream and launch a localconsole session:
Line 23: Line 32:
Search for the lines skt_trans and skt_table. The last column of these lines show if drops were seen.
Search for the lines skt_trans and skt_table. The last column of these lines show if drops were seen.


==== Altering the table configuration ====
==== Altering the socket table configuration&nbsp; ====


The first step is altering the file .afm_mode. This file is located in /opt/Netscout/rtm/bin
The first step is altering the file .afm_mode. This file is located in /opt/Netscout/rtm/bin
<pre># isbin
<pre># isbin
# vi .afm_mode
# vi .afm_mode
</pre>
</pre>


&nbsp;
And append the following line tupple=on


Check the configuration of the socket table:
Check the configuration of the socket table:
Line 48: Line 55:
</pre>
</pre>


The maximum table size and transaction count depend on the amount of RAM that is installed in the Infinistream. Entering an unrealistic low value will result in a response that informs us about the maximum value for this specific system.
The maximum table size and transaction count depend on the amount of RAM that is installed in the Infinistream. Entering an illegal&nbsp;value will result in a response that informs us about the maximum value for this specific system.
<pre>% set skt 12 table 5
<pre>% set skt 12 table a
% set skt 12 trab_count 5
% set skt 12 tran_count a
</pre>
</pre>


Now, the maximum value will become visible on the screen.
Now, the maximum value will become visible on the screen.


As a best practice we will configure 50% of the maximum value.
As a best practice we will configure 50% of the maximum value returned by "set skt 12 table 5"


Increase the size of the socket table to allow for more traffic:
For example if the returned value is 32000000, increase the size of the socket table to allow for more traffic:
<pre>% set skt 12 table 16000000
<pre>% set skt 12 table 16000000
% set skt 12 tran_count 16000000
% set skt 12 tran_count 16000000
</pre>
</pre>
==== Altering the asr&nbsp;table configuration&nbsp; ====
In a similar fashion the values of the ASR tables can be adjusted.
First, verify the current settings:
<pre>% get xdr
</pre>
Next, the verify the maximum value that can be configured for that table:
<pre>% set xdr 12 sessions a
% set xdr 12 connections a
% set xdr 12 connection_opt a
% set xdr 12 events a
</pre>
As a best practice we will configure 50% of the maximum value returned by previous command
==== Altering the sip&nbsp;table configuration&nbsp; ====
<pre>% set sip_db 6 size 500
% set sip_db 6 trans_size 100</pre>


&nbsp;
&nbsp;

Latest revision as of 12:27, 7 July 2023

Summary

In situations that the summary pane of a monitor show data, but drilling down towards the session pane results in "No data available" you might run into overloaded database tables. This article shows how to verify if the Infinistream is suffering from this problem.

 

Backup configuration

Before proceeding backup the configuration files:

# cp /opt/NetScout/rtm/config/configfile.xml ~/
# cp /opt/NetScout/rtm/bin/configfile ~/

When the task has concluded successfully both files may be deleted from the home folder of user root.

 

Procedure

Verify if tables are dropping data

Log into the Infinistream and launch a localconsole session:

# isbin
# ./localconsole

Now, enter command-line mode by typing 11 and proceed with the following command:

% get dump tables

Search for the lines skt_trans and skt_table. The last column of these lines show if drops were seen.

Altering the socket table configuration 

The first step is altering the file .afm_mode. This file is located in /opt/Netscout/rtm/bin

# isbin
# vi .afm_mode

And append the following line tupple=on

Check the configuration of the socket table:

% get skt

Three parameters can be adjusted:

  1. age interval
  2. table size
  3. tran_count

The default value for age interval is 180 seconds. Reduce the ageout interval in the skt tables (from localconsole CLI) - since modern transactions should be completed very quickly, having an 180-second limit is well beyond the range of what would be considered a "timeout", so having the "ageout" limit of 180-seconds means we store too many entries that should expire from this table. Reducing this ageout value means the table will be cleared faster to allow for more/newer entries to be created.

% set skt 12 age_interval 30

The maximum table size and transaction count depend on the amount of RAM that is installed in the Infinistream. Entering an illegal value will result in a response that informs us about the maximum value for this specific system.

% set skt 12 table a
% set skt 12 tran_count a

Now, the maximum value will become visible on the screen.

As a best practice we will configure 50% of the maximum value returned by "set skt 12 table 5"

For example if the returned value is 32000000, increase the size of the socket table to allow for more traffic:

% set skt 12 table 16000000
% set skt 12 tran_count 16000000

Altering the asr table configuration 

In a similar fashion the values of the ASR tables can be adjusted.

First, verify the current settings:

% get xdr

Next, the verify the maximum value that can be configured for that table:

% set xdr 12 sessions a
% set xdr 12 connections a
% set xdr 12 connection_opt a
% set xdr 12 events a

As a best practice we will configure 50% of the maximum value returned by previous command

Altering the sip table configuration 

% set sip_db 6 size 500
% set sip_db 6 trans_size 100