Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Sv translation
languageru

При перехвате копии трафика через Sniffer для увеличения производительности Системы можно создавать кластеры серверов Traffic Monitor.

Предупреждение
titleВажно!

При использовании кластера сетевое соединение между Sniffer и сервером Traffic Monitor должно обеспечивать скорость передачи, в два раза превышающую ту скорость, с которой трафик поступает на Sniffer.

Чтобы создать кластер серверов Traffic Monitor, на каждом экземпляре сервера Traffic Monitor, который будет входить в кластер, в конфигурационном файле /opt/iw/tm5/etc/sniffer.conf задайте параметры кластеризации:

  1. Убедитесь, что в конфигурационном файле секция Usedareas имеет следующий вид:
    "UsedAreas": [
    "capstack",
    "http",
    "icq",
    "smtp"
    ]
    По умолчанию данная настройка выполнена.
  2. В конфигурационном файле proxy.conf, в разделе Iscp секций Smtp, Icq, Http укажите значение параметров Host и Port.
    Например,
    Для настройки взаимодействия с компьютером, имеющим IP-адрес 10.20.30.40 и порт 4301 (по умолчанию), раздел Iscp для перехватчика ICQ будет выглядеть следующим образом:
    "iscp": {
    "ListenArea": "icq",
    "Host": 10.20.30.40,
    "Port": 4301
    }
  3. В конфигурационном файле sniffer.conf для каждой из секций Smtp, Icq, Http укажите значение параметра Balancer. Возможные значения:
  • Easy. Для каждого нового TCP-соединения выбирается экземпляр Traffic Monitor Server с iw_proxy. Таким образом, поочередно задействуются все экземпляры сервера Traffic Monitor.
  • IpPref. Распределение трафика между несколькими экземплярами сервера Traffic Monitor с iw_proxy выполняется на основании IP-адреса клиента. Это значит, что все данные с одинаковым IP-адресом клиента будут передаваться на один экземпляр сервера Traffic Monitor.

По умолчанию указан параметр IpPref.

Пример. Создание кластера из нескольких (до трех) экземпляров сервера Traffic Monitor
Система перехватывает копию SMTP-, ICQ- и HTTP-трафика через Sniffer. Для повышения производительности создается кластер из нескольких (в данном случае - трех) экземпляров сервера Traffic Monitor. С помощью параметра Balancer выбирается оптимальный тип нагрузки серверов Traffic Monitor. Эта опция позволяет избежать задержек в обработке данных и потерь пакетов данных. Сервера анализируют трафик с помощью технологий, и затем происходит запись данных в БД для дальнейшего использования.   
 

Sv translation
languageen

If the traffic copy is intercepted by Sniffer, then you can create clusters of Traffic Monitor servers in order to increase the System performance.

Предупреждение
titleWarning!

If a cluster is used, then the speed of a network connection between Sniffer and Traffic Monitor server should be twice as large as the speed at which traffic arrives at Sniffer.

To create a cluster of Traffic Monitor servers, in the /opt/iw/tm5/etc/sniffer.conf configuration file on each TM server instance, specify clusterization parameters:

  1. Make sure that Usedareas section looks like this:
    "UsedAreas": [
    "capstack",
    "http",
    "icq",
    "smtp"
    ]
    By default, this parameter is specified.
  2. In the proxy.conf configuration file, in Iscp part of Smtp, Icq, and Http sections, specify values of Host and Port parameters.
    For example,
    To set up interaction with a computer which has an IP address of 10.20.30.40 and port 4301 (by default), the Iscp part for ICQ interceptor will look like this:
    "iscp": {
    "ListenArea": "icq",
    "Host": 10.20.30.40,
    "Port": 4301
    }
  3. In the sniffer.conf configuration file, specify the value of the Balancer parameter for Smtp, Icq, and Http sections. Possible values:
  • Easy. For each new TCP connection, an instance of Traffic Monitor Server with iw_proxy is chosen. Thus, all Traffic Monitor Server instances are used one in a turn.
  • IpPref. The traffic is distributed between several instance of Traffic Monitor server with iw_proxy based on an IP address of the client. This means, that all data with the same IP address of the client is transmitted to the same instance of Traffic Monitor server.

By default, the IpPref parameter is used.

Example. Creating a cluster of several (up to three) Traffic Monitor server instances

The System intercepts a copy of SMTP, ICQ and HTTP traffic via Sniffer. To increase the performance, you can create a cluster of several (three in this case) Traffic Monitor Server instances. With the Balancer parameter,  you can choose the optimal type of load on  Traffic Monitor servers. This option allows you to avoid delays in processing data and losing data packages. The servers analyze traffic, then the data is saved to the database for further usage.