Sending Locally Stored SDR Files to Remote Server

If you have enabled SDR local storage (as described in Storing SDRs Locally on the Device), you can also configure the device to automatically transfer the locally stored SDR files to up to two third-party, remote servers. The second server is used only as a backup if the device fails to send the file to the primary server (for whatever reason). Once the device creates an SDR file for local storage (i.e., according to the 'Rotation Period' and 'File Size' parameters), it then also sends the file to the configured remote server.

If the device fails to send the SDR files to all the configured remote servers, it sends the SNMP alarm acSDRServerAlarm. For more information, refer to the SNMP Alarm Guide.

To send locally stored SDR files to a remote server:
1. Open the Session Detail Record Settings page (Troubleshoot menu > Troubleshoot tab > Session Detail Record folder > Session Detail Record Settings), scroll down to the SDR Servers group, and then configure the following:

In the 'SDR Servers Send Period' field, configure the periodic interval (in seconds) at which the device checks if an SDR file is available for sending to the remote server. If you don't want the device to send the files to the server, configure the parameter to "0".
In the 'SDR Servers Bulk Size' field, configure the maximum number of files that the device can send to the remote server per file transfer operation (i.e., batch of files).

The 'Pending SDR files' read-only field displays the number of locally stored SDR files that have yet to be sent to the remote server(s).

If the device restarts while there are pending SDR files for transfer, after the device boots up, it attempts to send the files.
When the device operates in High-Availability (HA) mode and a switchover occurs while there are pending SDR files for transfer, when another switchover occurs to return to this same device with the pending files, the device attempts to send these pending files (in addition to any new files created) to the remote server.
2. Open the SBC SDR Remote Servers table (Troubleshoot menu > Troubleshoot tab > Session Detail Record folder > SBC SDR Remote Servers). This procedure describes how to configure remote SDR servers through the Web interface. You can also configure it through ini file [SDRRemoteServers] or CLI (configure troubleshoot > sdr-server).
3. Click New; the following dialog box appears:

4. Configure SDR servers according to the parameters described in the table below.
5. Click Apply.

SBC SDR Remote Servers Table Parameter Descriptions

Parameter

Description

'Index'

[Index]

Defines an index number for the new table row.

Note: Each row must be configured with a unique index.

'Name'

name

[Name]

Defines an arbitrary name to easily identify the rule.

The valid value is a string of up to 19 characters. By default, no value is defined.

'Priority'

priority

[Priority]

Defines the priority of the server.

The valid value is 0 to 10, where 0 is the lowest priority and 10 the highest. The default is 5.

If you configure two servers, the device considers the server with the higher priority as the primary server and always tries to send the files to this server. If file transfer to the primary server is unsuccessful (for whatever reason), the device tries to send the files to the server with the lower priority (i.e., secondary or backup server). On subsequent, new file transfer operations, the device always tries the primary server again, and the mode of operation described in this paragraph is repeated if unsuccessful.

If you configure two servers with the same priority level and file transfer to the primary server is unsuccessful (for whatever reason), the device tries to send the files to the second server and if successful, considers this server as the primary server and continues sending files to it for all subsequent file transfer operations. If a file transfer failure to this server occurs, the device tries to send the files to the first-used server and if successful, considers this server as the primary server again and continues sending files to it on all subsequent file transfer operations. This occurs until a file transfer failure occurs, and the mode of operation described in this paragraph is repeated.

'Interface Name'

interface-name

[InterfaceName]

Assigns an IP Interface, which is configured in the IP Interfaces table (see Configuring IP Network Interfaces).

By default, no value is assigned.

Note:

The IP address version (IPv4 or IPv6) of the assigned IP Interface and the configured server's address in the 'Address' field (see below) must be the same.
The parameter is mandatory.

'Address'

address

[Address]

Defines the address of the server.

The valid value is an IP address (IPv4 or IPv6) or a hostname. By default, no value is defined.

Note:

The IP address version (IPv4 or IPv6) of the server's address and the assigned IP Interface in the 'Interface Name' field (see above) must be the same.
If you configure the parameter with a hostname, the device uses the DNS server configured for the IP Interface that is assigned in the 'Interface Name' field, to resolve it into an IP address.
The parameter is mandatory.

'Port'

port

[Port]

Defines the SSH port number of the server.

The valid value is 1 to 65535. The default is 22.

'Username'

username

[Username]

Defines the username for authentication with the server.

The valid value is a string of up to 30 characters.

'Password'

password

[Password]

Defines the password for authentication with the server.

The valid value is a string of up to 50 characters.

Note:

The password is hidden and displayed in the Web interface as an asterisk (*).
The parameter cannot be configured with wide characters.

'Path'

remote-path

[Path]

Defines the directory path to the folder on the server where you want the SDR files to be sent.

You can configure the path with forward slashes (/) in the beginning (e.g., "/sdr/sbc") and/or end of the path, or without slashes.

Note: The path can contain spaces.

'Connect Time out'

connect-timeout

[ConnectTimeout]

Defines the connection timeout (in seconds) with the server. If the device doesn't receive a response from the server within this timeout, the device closes the connection with the server.

The valid value is 1 to 600. the default is 15.

Note: The equivalent command in cURL is connect-timeout.

'Max Transfer Time'

max-transfer-time

[MaxTransferTime]

Defines the maximum time (in seconds) allowed to spend for each individual SDR file transfer process.

The valid value is 1 to 65535. the default is 120.

Note: The equivalent command in cURL is max-time.

'Last Transfer Time'

(Read-only) Displays the time and date of the last successful SDR file transfer in RFC 3339 format (e.g., 2020-08-02T06:38:47Z) to the server.

'Last Transferred File'

(Read-only) Displays the name of the last successfully transferred SDR file (e.g., SDR__20.08.02-15.29.49_00035.csv.gz) to the server.