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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMIG and version 7.11
Выключите

Подключите внешние или локальные репозитории ОС.
Например, с инструкцией по настройке локального репозитория в Red Hat Enterprise Linux можно ознакомиться на официальном сайте (страница доступна на английском языке).

Sv translation
languageru

Чтобы минимизировать участие в процессе установки Системы, в инсталляторе предусмотрен тихий режим установки. В этом режиме инсталлятор может установить Traffic Monitor, используя параметры по умолчанию. 

В инсталляторе реализована возможность использования файла параметров (option file). В нем вы можете задать требуемые особенности установки. При запуске инсталлятора с файлом параметров, указанные в нем значения будут считаться параметрами по умолчанию.

Таким образом, использование тихого режима и подготовленного файла параметров позволяет установить Traffic Monitor практически без участия пользователя.

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

По умолчанию установка Системы не разрешена на сервере, имя которого начинается с цифры. Если необходимо разрешить наличие цифр в начале имени сервера, с помощью командной строки задайте значение 1 параметру --allow_digits_at_hostname_begin. При этом необходимо, чтобы проверка сети была активирована – параметру --skip_check_network задано значение 0 (данная проверка включена по умолчанию).

Перед установкой выполните общие действия:

  1. Введите логин и пароль, чтобы войти в операционную систему (вход выполняется от имени пользователя root).

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

    Перед началом установки убедитесь, что сервер соответствует требованиям к настройкам ОС и сети сервера.

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

    Если планируется использование удаленной базы данных Oracle, PostgreSQL, Postgres Pro Enterprise или Jatoba данных (развернутой локально или на отдельном сервере), необходимо провести предварительную подготовку.

    Работа с СУБД Postgres Pro Enterprise и Jatoba поддерживается только при установке в режиме удаленной базы данных.

    Работа с СУБД Postgres Pro Enterprise поддерживается только на ОС Red Hat Enterprise Linux и РЕД ОС.

    Перед установкой для очистки памяти рекомендуется Перед установкой для очистки памяти рекомендуется перезагрузить сервер, на котором будет развернута база данных.

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

    По умолчанию установка Системы не разрешена на сервере, имя которого начинается с цифры. Если необходимо разрешить наличие цифр в начале имени сервера, с помощью командной строки задайте значение 1 параметру --allow_digits_at_hostname_begin. При этом необходимо, чтобы проверка сети была активирована – параметру --skip_check_network задано значение 0 (данная проверка включена по умолчанию).

  2. Подключите внешние или локальные репозитории ОС.
    Например, с инструкцией по настройке локального репозитория в Red Hat Enterprise Linux можно ознакомиться на официальном сайте (страница доступна на английском языке).

Раскрыть
titleЕсли вы устанавливаете Traffic Monitor на РЕД ОС без доступа в интернет:
Раскрыть
titleЕсли вы устанавливаете Traffic Monitor на РЕД ОС без доступа в интернет:
  1. Выключите внешние репозитории:

    Раскрыть
    titleНа рабочей станции под управлением РЕД ОС версии 7.3.3 и ниже: 

    Выполните следующие команды:
    echo "enabled=0" >> /etc/yum.repos.d/RedOS-Base.repo
    echo "enabled=0" >> /etc/yum.repos.d/RedOS-Updates.repo
    sed -i -e "s/enabled=.*/enabled=0/g" /etc/yum.repos.d/RedOS-kernels.repo

    Раскрыть
    titleНа рабочей станции под управлением РЕД ОС версии 7.3.4 или 7.3.5:

    Выполните команду:
    sed -i -e "s/enabled=.*/enabled=0/g" /etc/yum.repos.d/RedOS-*.repo

  2. Подключите диск с дистрибутивом РЕД ОС к серверу.
  3. Смонтируйте диск с дистрибутивом РЕД ОС с помощью команды:
    mkdir -p /media/cdrom/ && mount /dev/cdrom /media/cdrom/
  4. Создайте файл /etc/yum.repos.d/cdrom.repo c указанием смонтированного диска в качестве репозитория. Для этого выполните команду:
    cat << EOF > /etc/yum.repos.d/cdrom.repo
    [cdrom]
    name=cdrom
    baseurl=file:///media/cdrom/
    enabled=1
    gpgcheck=0
    EOF
  5. Удалите временные файлы и удостоверьтесь, что в списке репозиториев указан репозиторий с диска:
    yum clean all && yum repolist
  6. Установите библиотеку libpq и пакет python2:
    yum install libpq python2
  7. Установите следующие пакеты:

    Название пакетаОфициальный репозиторий
    lshw-B.02.19.2-1.el7.x86_64.rpm     

    РЕД ОС – Updates

    lz4-1.9.4-1.el7.x86_64.rpm
    python3-psycopg2-2.9.3-1.el7.x86_64.rpm
    urw-base35-fonts-legacy-20170801-11.el7.noarch.rpm

    РЕД ОС – OS

    libxslt-1.1.34-1.el7.x86_64.rpm

    Для этого:

    1. Скачайте указанные пакеты из официального репозитория РЕД ОС.

    2. Скопируйте их на сервер, куда будет установлен Traffic Monitor.

    3. Перейдите в каталог, куда были скопированы указанные пакеты.

    4. Выполните следующую команду:
      yum localinstall lshw-B.02.19.2-1.el7.x86_64.rpm lz4-1.9.4-1.el7.x86_64.rpm python3-psycopg2-2.9.3-1.el7.x86_64.rpm urw-base35-fonts-legacy-20170801-11.el7.noarch.rpm libxslt-1.1.34-1.el7.x86_64.rpm

      Информация
      titleПримечание:

      Дополнительно вы можете установить утилиты для работы с операционной системой, выполнив команду:
      yum install mc vim screen telnet bind-utils mlocate net-tools iptraf sysstat iotop rsync

      Также вы можете установить утилиту htop, скачав ее из официального репозитория РЕД ОС.

  8. Убедитесь, что сетевые настройки выполнены корректно (см. Требования к настройкам ОС и сети сервера) и файл /etc/hosts содержит инструкцию преобразования имени сервера в IP-адрес. Если она отсутствует, выполните команду:
    sh -c "echo '<IP_адрес> `hostname -f` `hostname -s`' >> /etc/hosts"
Раскрыть
titleЕсли вы устанавливаете Traffic Monitor на ОС Oracle Linux без доступа в интернет:
  1. Убедитесь, что в операционной системе в качестве текущего выбрано ядро Red Hat Compatible Kernel (RHCK), а именно Oracle Linux Server Kernel 3.10.0-xxxx.el7.x86_64, а ядро UEK удалено. Подробнее см. Требования к настройкам ОС и сети сервера.
  2. Выключите внешние репозитории, выполнив следующую команду:
    find /etc/yum.repos.d/ -iname "*.repo" -exec sed -i -e "s/enabled=.*/enabled=0/g" {} \;
  3. Подключите диск с дистрибутивом ОС Oracle Linux к серверу.
  4. Смонтируйте диск с дистрибутивом ОС Oracle Linux с помощью команды:
    mkdir -p /media/cdrom/ && mount /dev/cdrom /media/cdrom/
  5. Создайте файл /etc/yum.repos.d/cdrom.repo c указанием смонтированного диска в качестве репозитория. Для этого выполните команду:
    cat << EOF > /etc/yum.repos.d/cdrom.repo
    [cdrom]
    name=cdrom
    baseurl=file:///media/cdrom/
    enabled=1
    gpgcheck=0
    EOF
  6. Удалите временные файлы и удостоверьтесь, что в списке репозиториев указан репозиторий с диска:
    yum clean all && yum repolist
  7. Установите Perl:
    yum install perl
  8. Установите следующие пакеты:

    Для этого:

    1. Скачайте перечисленные пакеты из официальных репозиториев Oracle Linux.
    2. Скопируйте их на сервер, куда будет установлен Traffic Monitor.

    3. Перейдите в каталог, куда были скопированы пакеты.

    4. Выполните следующую команду для каждого пакета:
      rpm -ivh <имя_пакета>

      Информация
      titleПримечание:

      Дополнительно вы можете установить утилиты для работы с операционной системой, выполнив команду:
      yum install mc vim screen telnet bind-utils mlocate net-tools iptraf sysstat iotop rsync

  9. Убедитесь, что сетевые настройки выполнены корректно (см. Требования к настройкам ОС и сети сервера) и файл /etc/hosts содержит инструкцию преобразования имени сервера в IP-адрес. Если она отсутствует, выполните команду:
    sh -c "echo '<IP_адрес> `hostname -f` `hostname -s`' >> /etc/hosts"
  • Создайте директорию, в которой будет располагаться инсталлятор InfoWatch Traffic Monitor. Например, для создания директории с именем distr в корне файловой системы выполните следующую команду:

    mkdir /distr

  • Скопируйте в созданную директорию файлы, поставляемые в дистрибутиве InfoWatch Traffic Monitor:
  • iwtm-installer-x.x.x.xxx-rhel7 – для установки на ОС Red Hat Enterprise Linux или Oracle Linux (где x.x.x.xxx – номер сборки);
  • iwtm-postgresql-15.5-x.x.x.xxx-rhel7.tar.gz – если будет использована:
    • СУБД PostgreSQL, Postgres Pro Enterprise или Jatoba на ОС Red Hat Enterprise Linux;
    • СУБД PosrgreSQL или Jatoba на ОС Oracle Linux.
  • iwtm-installer-x.x.x.xxx-redos-7.3 – для установки на РЕД ОС;
  • iwtm-postgresql-15.5-x.x.x.xxx-redos-7.3.tar.gz – если будет использована СУБД PostgreSQL или Jatoba на РЕД ОС;
    Раскрыть
    titleЕсли вы устанавливаете Traffic Monitor на ОС Oracle Linux 8, AlmaLinux 8 или Rocky Linux 8:
    1. Установите пакет redhat-lsb-core с помощью следующей команды:
      dnf install redhat-lsb-core
    2. Создайте резервную копию файла выпуска ОС и замените содержимое исходного файла. Для этого выполните команды в зависимости от ОС:
      • на ОС Oracle Linux 8:
        cp /etc/oracle-release /etc/release.bak
        echo "Red Hat Enterprise Linux release 8.10 (Ootpa)" > /etc/oracle-release
      • на ОС AlmaLinux 8 или Rocky Linux 8:
        cp /etc/redhat-release /etc/release.bak
        echo "Red Hat Enterprise Linux release 8.10 (Ootpa)" > /etc/redhat-release

    3. Выполните команду:
      lsb_release -a
      В результате должна быть выведена следующая информация:
      Image Added

      Информация
      titleПримечание:

      После установки Traffic Monitor восстановите исходный файл выпуска ОС. Подробнее см. ниже.

  • Создайте директорию, в которой будет располагаться инсталлятор InfoWatch Traffic Monitor. Например, для создания директории с именем distr в корне файловой системы выполните следующую команду:

    mkdir /distr

  • Скопируйте в созданную директорию файлы, поставляемые в дистрибутиве InfoWatch Traffic Monitor: инсталлятор и архив с компонентами СУБД. 

    ОСИнсталляторАрхив с компонентами СУБД 1
    PostgreSQL 2Oracle 3
    Red Hat Enterprise Linux 7

    iwtm-installer-x.x.x.xxx-rhel7

    iwtm-postgresql-15.5-x.x.x.xxx-rhel7.tar.gz

    iwtm-oracle-19.0.0.0.0-x.xx.x.tar.gz
    – если будет использована СУБД Oracle.В нашем примере: 
    Oracle Linux 7 4
    РЕД ОСiwtm-installer-
    7
    x.
    9
    x.
    0
    x.
    150-rhel7 – для установки на ОС Red Hat Enterprise Linux или Oracle Linux;
    xxx-redos-7.3iwtm-postgresql-15.5-
    7
    x.
    9
    x.
    0
    x.
    150-rhel7
    xxx-redos-7.3.tar.
    gz – если будет использована:
    СУБД PostgreSQL, Postgres Pro Enterprise или Jatoba на ОС
    gz -
    Red Hat Enterprise Linux
    ;СУБД PosrgreSQL или Jatoba на ОС Oracle Linux.
    8iwtm-installer-
    7
    x.
    9
    x.
    0
    x.
    150-redos-7.3 – для установки на РЕД ОС;
    xxx-rhel8iwtm-postgresql-15.5-
    7
    x.
    9
    x.
    0
    x.
    150
    xxx-
    redos-7
    rhel8.
    3.tar.gz – если будет использована СУБД PostgreSQL или Jatoba на РЕД ОС;iwtm-oracle-19.0.0.0.0-7.9.0.150.tar.gz – если будет использована СУБД Oracle.
    tar.gz -
    Oracle Linux 8
    AlmaLinux 8
    Rocky Linux 8
    Альт Серверiwtm-installer-x.x.x.xxx-altlinux-10iwtm-postgresql-15.8-x.x.x.xxx-altlinux-10.tar.gz.md5 -

    Якорь
    remote
    remote

    при использовании Oracle Real Application Clusters (RAC)

    :

    Установите опции монтирования в соответствии со статьей на официальном сайте (доступна на английском языке).

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

    Далее будет описана установка с использованием инсталлятора для ОС Red Hat Enterprise Linux.
    Данная инструкция актуальна и для других поддерживаемых ОС: Oracle Linux и РЕД ОС.

    Информация
    titleПримечание:

    1 Архив с компонентами СУБД необходим как при установке поставляемой в дистрибутиве СУБД (режим local), так и при использовании уже развернутой СУБД в удаленном режиме. Подробнее см. "Схемы развертывания Системы и выбор типа установки".

    2 Если вы планируете использовать уже развернутую СУБД на основе PostgreSQL, используйте архив из столбца PostgreSQL. Список поддерживаемых PostgreSQL-подобных СУБД см. в статье "Аппаратные и программные требования".

    3 Если используется СУБД Oracle и сетевая файловая система (NFS), перед запуском инсталлятора:

    Раскрыть
    title
    Раскрыть
    titleесли RAC не используется:

    Откройте настройки точки монтирования (по умолчанию /etc/fstab) и убедитесь, что опция noac не используется, а параметру actimeo не присвоено значение 0.

    Подробнее смотрите в статье на официальном сайте (доступна на английском языке).

  • Введите команду для перехода в директорию c дистрибутивами Traffic Monitor.
    В нашем примере:
    cd /distr
  • Перед запуском установки сделайте файл инсталлятора исполняемым. Для этого используйте команду вида:

    chmod u+x ./iwtm-installer-x.x.x.xxx-rhel7

    В нашем примере команда будет следующей:

    chmod u+x ./iwtm-installer-7.9.0.150-rhel7

  • Файл параметров (option file)

    В файле описание параметров имеет вид:

    <имя_параметра>=<значение_параметра>

    Допускается оставлять комментарии, используя символ #.

    Блок кода
    languagec#
    titleПример файла параметров:
    # This
      • Раскрыть
        titleпри использовании Oracle Real Application Clusters (RAC):

        Установите опции монтирования в соответствии со статьей на официальном сайте (доступна на английском языке).

      4 При установке Traffic Monitor на сервер под управлением Oracle Linux 7 не поддерживается работа с СУБД Postgres Pro Enterprise.


      Далее будет описана установка с использованием инсталлятора для ОС Red Hat Enterprise Linux 7. В нашем примере необходимо скопировать файл инсталлятора и архив с компонентами СУБД:

      • инсталлятор:
        iwtm-installer-7.11.0.97-rhel7
        где 7.11.0.97 – номер сборки, rhel7 – обозначение ОС;
      • архив с компонентами СУБД:
        • если будет использована PostgreSQL (или одна из поддерживаемых СУБД на ее базе):
          iwtm-postgresql-15.5-7.11.0.97-rhel7.tar.gz
          где postgresql-15.5 – обозначение СУБД, 7.11.0.97 – номер сборки, rhel7 – обозначение ОС;
        • если будет использована СУБД Oracle:
          iwtm-oracle-19.0.0.0.0-7.11.0.97.tar.gz
          где oracle-19.0.0.0.0 – обозначение СУБД, 7.11.0.97 – номер сборки.

      Данная инструкция актуальна и для других поддерживаемых ОС: Oracle Linux, РЕД ОС, AlmaLinux, Rocky Linux и Альт Сервер.

    1. Введите команду для перехода в директорию c дистрибутивами Traffic Monitor.
      В нашем примере:
      cd /distr
    2. Перед запуском установки сделайте файл инсталлятора исполняемым. Для этого используйте команду вида:

      chmod u+x ./iwtm-installer-x.x.x.xxx-rhel7

      В нашем примере команда будет следующей:

      chmod u+x ./iwtm-installer-7.11.0.97-rhel7

    Файл параметров (option file)

    В файле описание параметров имеет вид:

    <имя_параметра>=<значение_параметра>

    Допускается оставлять комментарии, используя символ #.

    Блок кода
    languagec#
    titleПример файла параметров:
    # This file is just an example
    product_type=tme
    installation_type=distributed
    template_database=1
    template_indexer=1
    template_web=1
    template_interceptors=0
    product_language=rus

    В данном примере указаны параметры:

    • редакция продукта – Traffic Monitor Enterprise (TME);
    • тип установки – распределенная;
    • для установки на сервер выбраны шаблоны:
      • База данных;
      • Индексер;
      • Веб-консоль.
    • основной язык продукта – русский.
    Предупреждение
    titleВажно!

    Для параметров, которые не указаны в файле, будут использованы значения по умолчанию. Полный набор параметров указан в таблице ниже.

    Чтобы использовать файл параметров, перейдите в директорию с инсталлятором и запустите его с опцией --optionfile и с указанием созданного ранее файла.

    Блок кода
    languagec#
    titleПример команды использования файла параметров:
    ./iwtm-installer-7.911.0.15097-rhel7 --optionfile /some_directory/option-file-example

    Альтернативный способ использования: назовите файл параметров тем же именем, что назван инсталлятор, но с расширением .options, и скопируйте его в директорию к инсталлятору. В этом случае при запуске инсталлятор так же будет считать параметры из файла значениями по умолчанию.

    Тихий режим установки

    Для установки в тихом режиме используйте опцию --mode unattended.

    Уровень взаимодействия с пользователем задается параметром --unattendedmodeui, который имеет следующие значения:

    • none – в процессе установки инсталлятор не выводит на экран никакую информацию и не требует взаимодействия с пользователем;
    • minimal – в процессе отображает ход выполнения установки, не требует взаимодействия с пользователем;
    • minimalWithDialogs – отображает ход выполнения установки, также в процессе могут появляться всплывающие окна, может потребоваться взаимодействие с пользователем.
    Блок кода
    languagec#
    titleПример команды запуска инсталлятора в тихом режиме без участия пользователя и с файлом параметров:
    ./iwtm-installer-7.911.0.15097-rhel7 --optionfile /some_directory/option-file-example --mode unattended --unattendedmodeui minimal
    Предупреждение
    titleВажно!

    При отсутствии настроенных и доступных репозиториев ОС, запуск инсталлятора прервется со следующей ошибкой:

    Image Modified

    При возникновении данной ошибки нажмите Enter для завершения работы инсталлятора, затем подключите стандартный репозиторий ОС, репозиторий EPEL и повторно запустите инсталлятор.

    Подробную информацию об ошибке вы можете найти в лог-файлах, указанных в предупреждении.

    Информация
    titleПримечание:

    В случае некорректной настройки службы Consul в консоли будет выведено предупреждение:

    Image Modified

    Для завершения работы инсталлятора нажмите Enter.

    Раскрыть
    titleДля корректной работы Системы выполните проверку и настройку кластера службы Consul
    1. Запустите службу Consul, выполнив команду:
      service iwtm-consul start
      Проверить статус службы можно командой:
      service iwtm-consul status
    2. Чтобы проверить службу Consul выполните команды:
      1. Для вывода IP-адреса основного сервера (лидера) кластера:
        curl --noproxy 127.0.0.1 http://127.0.0.1:8500/v1/status/leader ; echo
      2. Для вывода информации о членах кластера:
        consul members
    3. Если не будет выведен IP-адрес лидера кластера, выполните конфигурирование кластера службы Consul.
      После настройки повторите проверку (действие ii).

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

    Информация
    titleПримечание:

    Если процесс установки был прерван по какой-то причине, устраните ее и повторно запустите инсталлятор, чтобы продолжить установку с последнего успешно завершенного этапа. 
    Когда процесс завершится без ошибок, инсталлятор удалит пакеты, созданные для установки.

    Полный состав файла параметров

    В таблице приведен полный список возможных параметров и их значения по умолчанию.

    Информация
    titleПримечание:

    В значениях по умолчанию <ora|pg> означает, что должно быть выбрано одно из значений в зависимости от указанной ранее СУБД:

    • ora – для СУБД Oracle;
    • pg – для СУБД PostgreSQL, Postgres Pro или Jatoba.

    Scroll Table Layout
    widths30%, 17%, 13%, 20%, 20%

    НазваниеЗначение по умолчаниюДопустимые значенияОписаниеПримечаниеuse


    Якорь
    Alma_mv
    Alma_mv

    Раскрыть
    titleПосле окончания установки Traffic Monitor на ОС Oracle Linux 8, AlmaLinux 8 или Rocky Linux 8, восстановите исходный файл выпуска ОС.

    Для этого:

    1. Выполните команду в зависимости от ОС:
      • в ОС Oracle Linux 8:
        mv /etc/release.bak /etc/oracle-release
      • в ОС AlmaLinux 8 или Rocky Linux 8:
        mv /etc/release.bak /etc/redhat-release

    2. Подтвердите перезапись файла. Для этого введите "yes" и нажмите Enter.
    3. Убедитесь, что исходный файл выпуска успешно восстановлен. Для этого выполните команду:
      lsb_release -a
      В результате должна быть выведена информация о вашей операционной системе. Например, для ОС AlmaLinux 8 будет выведено:
      Image Added

    Полный состав файла параметров

    В таблице приведен полный список возможных параметров и их значения по умолчанию.

    Информация
    titleПримечание:

    В значениях по умолчанию <ora|pg> означает, что должно быть выбрано одно из значений в зависимости от указанной ранее СУБД:

    • ora – для СУБД Oracle;
    • pg – для СУБД PostgreSQL, Postgres Pro, Jatoba или Tantor.

    Scroll Table Layout
    widths30%, 17%, 13%, 20%, 20%

    НазваниеЗначение по умолчаниюДопустимые значенияОписаниеПримечание
    use_debug 0 0, 1Включение режима отладки для скриптов, входящих в состав инсталлятораПараметр используется для сбора расширенной диагностической информации в случае ошибок при работе инсталлятора
    skip_check_swap0 0, 1Отключение проверки объема Swap-пространства
    skip_check_space00, 1Отключение проверки объема свободного пространства на диске
    skip_check_ram00, 1Отключение проверки объема оперативной памяти (RAM)
    skip_check_network00, 1Отключение проверки доступности сети
    skip_check_tmp00, 1Отключение проверки временной директории
    skip_check_home00, 1Отключение проверки домашней директории
    setup_cron_jobs10, 1Установить задания для планировщика cron
    log_dir/var/log/infowatch/install Путь к директории для лог-файлов
    eula

    show,

    accept

    Вывести текст Лицензионного Соглашения,

    Принять Лицензионное Соглашение без предварительного просмотра

    Если вы запускаете установку не в тихом режиме и параметр не указан, то будет выведен текст Лицензионного соглашения и будет предложено принять его.

    При установке в тихом режиме значение параметра игнорируется и Лицензионное Соглашение принимается по умолчанию.

    product_typetmetme, tmsРедакция Traffic Monitor
    product_languagerusrus, engОсновной язык продукта
    installation_typeall_in_onedistributed, all_in_oneТип установкиЕсли выбрана редакция Traffic Monitor Enterprise (product_type=tme)
    template_database00, 1Установить шаблон База данныхЕсли выбрана распределенная установка (installation_type=distributed)

    template_indexer00, 1Установить шаблон Индексер
    template_web00, 1Установить шаблон Веб-консоль
    template_interceptors00, 1Установить шаблон Перехватчики
    db_classification_lang_ru10, 1Установить русский язык для базы классификации

    Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1)



    Для СУБД Postgres Pro Enterprise и , Jatoba или Tantor поддерживается только вариант remote

    db_classification_lang_en00, 1Установить английский язык для базы классификации
    db_classification_lang_ma00, 1Установить малайский язык для базы классификации
    db_installation_typelocallocal, remoteРасположение базы данных
    db_typepostgresqloracle, postgresqlВыбор СУБД

    Доступно при установке на ОС ОС Red Hat Enterprise Linux, Oracle Linux, AlmaLinux, Rocky Linux и редакции Traffic Monitor Enterprise (product_type=tme).

    Если вы будете использовать СУБД Postgres Pro Enterprise или Jatobaустанавливаете Traffic Monitor на ОС Red Hat Enterprise Linux 8, Oracle Linux 8, AlmaLinux 8 или Rocky Linux 8, выберите вариант postgresql PostgreSQL.

    Если вы будете использовать СУБД Postgres Pro Enterprise, Jatoba или Tantor, выберите вариант postgresql.

    db_server_addressiwtm Адрес сервера c шаблоном База данных или адрес сервера удаленной базой данных

    Для шаблонов Индексер, Перехватчики, Веб-консоль.

    Для типа установки All-in-One или шаблона База данных при использовании удаленной базы данных (db_installation_type=remote).

    Чтобы установить Traffic Monitor на одном сервере с уже развернутой СУБД, укажите адрес 127.0.0.1.

    db_server_port  Порт сервера с базой данных
    db_namepostgres или iwtm (в зависимости от параметра db_type) Имя базы данных
    db_sysdba_passwordxxXX1234 Пароль пользователя с правами SYSDBA
    db_scheme_owner_nameiwtm Имя владельца схемы базы данныхЕсли выбран тип установки All-in-One (installation_type=all_in_one), шаблон База данных (template_database=1) или шаблон Веб-консоль (template_web=1)
    db_scheme_owner_passwordxxXX1234 Пароль владельца схемы базы данныхЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1)
    db_linux_user_nameiwtm_linux Имя пользователя сервисов Linux 
    db_linux_user_passwordxxXX1234 Пароль пользователя сервисов Linux 
    db_web_user_nameiwtm_web Имя пользователя веб-сервисов 
    db_web_user_passwordxxXX1234 Пароль пользователя веб-сервисов 
    db_nagios_useriwtm_nagios Имя пользователя nagiosИмя пользователя Nagios 
    db_nagios_passwordxxXX1234 Пароль пользователя nagiosПароль пользователя Nagios 
    db_auth_change_defaults00, 1Изменить параметры подключения к базе данных по умолчанию 
    db_storage_typenormal

    normal, fast_slow, rotate

    Режим хранения данных 
    db_storage_main_tbs_path/u02/<ora|pg>data
    Путь к основному табличному пространству 
    db_storage_dtbs_paths_number1

    1 - 10

    Количество путей к ежедневным табличным пространствам 
    db_storage_fast_disk_path/u03/<ora|pg>data
    Путь к директории хранения данных ежедневных табличных пространств в быстром разделеЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1) и режим хранения данных fast_slow (db_storage_type=fast_slow)
    db_storage_dtbs_days_on_fast_disk7
    Период хранения данных ежедневных табличных пространств в быстром раздел, в днях
    db_storage_change_defaults00, 1Изменить параметры хранения в базе данных
    db_storage_dtbs_path_1/u02/<ora|pg>data1
    Путь к ежедневному табличному пространству №1

    Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), также зависит от значения параметра db_storage_dtbs_paths_number



    db_storage_dtbs_path_2/u02/<ora|pg>data2
    Путь к ежедневному табличному пространству №2
    db_storage_dtbs_path_3/u02/<ora|pg>data3
    Путь к ежедневному табличному пространству №3
    db_storage_dtbs_path_4/u02/<ora|pg>data4
    Путь к ежедневному табличному пространству №4
    db_storage_dtbs_path_5/u02/<ora|pg>data5
    Путь к ежедневному табличному пространству №5
    db_storage_dtbs_path_6/u02/<ora|pg>data6
    Путь к ежедневному табличному пространству №6
    db_storage_dtbs_path_7/u02/<ora|pg>data7
    Путь к ежедневному табличному пространству №7
    db_storage_dtbs_path_8/u02/<ora|pg>data8
    Путь к ежедневному табличному пространству №8
    db_storage_dtbs_path_9/u02/<ora|pg>data9
    Путь к ежедневному табличному пространству №9
    db_storage_dtbs_path_10/u02/<ora|pg>data10
    Путь к ежедневному табличному пространству №10
    db_archiving_dtbs_path/u02/arch
    Путь к директории хранения архивированных табличных пространствЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1)
    db_days_before_archiving_nonviolations45
    Сколько дней хранить события без нарушений до архивированияЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_archive_nonviolations=1
    db_archive_nonviolations00, 1Архивировать события без нарушенийЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1)
    db_days_before_archiving_violations45
    Сколько дней хранить события с нарушением до архивирования

    Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_archive_violations=1

    db_archive_violations00, 1Архивировать события с нарушениямиЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1)
    db_days_before_archiving_screenshots45 Сколько дней хранить события скриншотов до архивированияЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_archive_screenshots=1
    db_archive_screenshots00, 1Архивировать события скриншотовЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1)
    db_archiving_dtbs_change_defaults00, 1Изменить параметры архивирования по умолчанию
    db_days_before_removing_nonviolations90 Сколько дней хранить события без нарушений до удаленияЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_remove_nonviolations=1
    db_remove_nonviolations00, 1Удалять события без нарушенийЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1)
    db_days_before_removing_violations90 Сколько дней хранить события с нарушением до удаленияЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_remove_violations=1
    db_remove_violations00, 1Удалять события с нарушениемЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1)
    db_days_before_removing_screenshots90 Сколько дней хранить события скриншотов до удаленияЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_remove_screenshots=1
    db_remove_screenshots00, 1Удалять события скриншотовЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1)
    db_removing_dtbs_change_defaults00, 1Изменить параметры удаления по умолчанию
    use_data_storage
    00, 1Использовать внешнее хранилище бинарных данных Data Storage

    Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1).

    Узнать актуальное значение токена авторизации можно:

    • На сервере Data Storage с помощью командной строки. Для этого:
      1. Перейдите в директорию, куда был распакован дистрибутив Платформы;
      2. Выполните команду:
        ./setup.py tokens list
        В результате будет выведен список токенов для подключения к Платформе. Актуальный токен авторизации Data Storage будет указан напротив сущности DataStorageUser.
    • В консоли управления продукта Платформы, в разделе Основные настройки в поле Токен для Data Storage User.
      Доступно, если на сервере с Data Storage установлен платформенный продукт с веб-интерфейсом, и в нем есть данная настройка.
    ds_set_uri

    myplatform.infowatch.ru


    Имя хоста или IP-адрес сервера, на котором установлено хранилище Data Storage
    ds_set_port
    40731
    Порт подключения к Data Storage
    ds_set_token
    1exwo92iwpczl1hy6jxy

    Токен авторизации Data Storage
    consul_bind_addr<список_ip_адресов> Адрес сетевого интерфейса Consul
    consul_mode

    server – для шаблона База данных и установки All-in-One

    client – для остальных шаблонов

    server, clientРежим работы Consul, сервер или клиент
    consul_datacenter_nameiwtm Имя дата-центра Consul
    consul_node_name<hostname> Имя ноды
    consul_retryjoin_manual  Список агентов Consul
    consul_retryjoin_port8301 Порт для подключения агентов Consul
    ntp_manual_addr  Адрес NTP сервераЕсли выбрано указание NTP-сервера вручную (ntp_mode=ntp_manual_addr)
    ntp_modentp_use_systemntp_use_system, ntp_manual_addr

    Тип NTP сервера:

    • ntp_use_system – использовать системный NTP-сервер;

    • ntp_manual_addr – указать NTP-сервер вручную.


    sphinx_server_address  Адрес sphinx-сервераЕсли выбран шаблон Веб-консоль (template_web=1) и не выбран шаблон Индексер (template_indexer=0)
    sphinx_exact_match_words00, 1Включить индексацию на точное совпадение словЕсли выбран тип установки All-in-One (installation_type=all_in_one) или шаблон Индексер (template_indexer=1)
    sphinx_change_language_settings00, 1Изменить список языков sphinx
    sphinx_langsrusrus eng deu fra spa ita ara ukr ron lav bel pol aze tur srp kir uzb fin kaz msa nld vie por tat ell lit kat hye ces slk fas hin sin tgk sah zhoСписок языков sphinxПоследовательность языков определяет их приоритет
    ocr_enabled10, 1Включить использование OCR

    Если выбран тип установки All-in-One (installation_type=all_in_one), шаблон Перехватчики (template_interceptors=1) или шаблон Веб-консоль (template_web=1)

    ocr_typets

    fre, ts

    Выбор OCR-экстрактора:

    • fre – ABBYY FineReader;
    • ts – Tesseract.

    Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон Перехватчики (template_interceptors=1)

    ocr_finereader_modequalityquick, qualityРежим работы OCR ABBYY FineReader

    Если выбран OCR ABBYFineReader (ocr_type=fre)

    ocr_finereader_have_license10, 1Наличие лицензии на OCR ABBYY FineReader
    db_unpack_dir/tmp/iwtm_installer/databaseСтрока – путь к директорииВ директорию будет распакован архив БД

    Директория будет создана автоматически.
    Допускается указать существующую директорию.

    Если установка завершится без ошибок, директория будет автоматически удалена.

    packages_unpack_dir/tmp/iwtm_installer/packagesСтрока – путь к директорииВ директорию будут распакованы установочные пакеты Traffic Monitor

    Директория будет создана автоматически.
    Допускается указать существующую директорию.

    Если установка завершится без ошибок, директория будет автоматически удалена.

    When using Oracle DBMS and network file system, before running the installation:

  • Sv translation
    languageen

    To reduce a user's role The silent installation mode allows you to minimize involvement in the System installation process there is a silent mode of installation. In this mode Traffic Monitor can be installed using default parameters.

    An options file is realized to be used as a parameter The installer allows you to use an option file. In this file, you can set required installation parameters. When starting the installation via parameter with an option file, the values specified in this file will be considered the default parameters.

    Before starting the installation make sure the common actions are performed:

    To log into the System, enter login and password (you should enter as a root user).

    Thus, using the silent mode and the prepared option file allows you to install Traffic Monitor with little or no user intervention.

    Before installing, in order to clear memory, it is recommended to reboot the server on which database will be deployed
    Предупреждение
    titleWarning!

    Before running the installation make sure that the server complies with the OS and network settings requirements.

    If you plan using a remote Oracle, PostgreSQL or Postgres Pro Enterprise database (deployed locally or on a separate server), you should prepare it first.

    Working with Postgres Pro Enterprise is supported only for Red Hat Enterprise Linux and only in case of installation as remote database. 

    By default, installiing the System is not allowed on a server whose name begins with a number. If you want to allow numbers at the beginning of the server name, use the command line to set the --allow_digits_at_hostname_begin parameter value to 1. In this case, it is necessary that the network check is activated, i.e. the --skip_check_network parameter value is set to 0 (by default, the check is disabled).

    Before starting the installation, perform general steps:

    1. To log into the System, enter the login and password (log in as a root user).

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

      By default you are not allowed to install the System on server which has numbers at the beginning of its name. If you need to allow the server’s name to begin with a number, use the command line to specify the value 1 of the parameter --allow_digits_at_hostname_begin.

      Herewith, make sure that the network check is active – the parameter --skip_check_network should have the value 0 (the check is active by default).

      Connect external or local OS repositories.
      For example, you can

      Before running the installation make sure that the server complies with the OS and network settings requirements.

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

      If you plan using a remote database (deployed locally or on a separate server), you should prepare it first.

      Before the installation, in order to clear memory, we recommend rebooting the server where the database will be deployed.

    2. Connect external or local OS repositories.
      For example, you can find instructions on how to configure local Red Hat Enterprise Linux repository at the
      official web page.


      Copy the files from InfoWatch Traffic Monitor distributive into the created directory.

      • iwtm-installer-x.x.x.xxx-rhel7 – for installation on Red Hat Enterprise Linux or Oracle Linux (where x.x.x.xxx is a number of build);
      • iwtm-postgresql-15.5-x.x.x.xxx-rhel7.tar.gz – if you use PostgreSQL DBMS on Red Hat Enterprise Linux and Oracle Linux or Postgres Pro Enterprise;
      • iwtm-oracle-19.0.0.0.0-x.xx.x.tar.gz – if you use Oracle DBMS.
      As per our example:
      iwtm-installer-7.9.0.150-rhel7 – for installation on Red Hat Enterprise Linux or Oracle Linux;
    3. Make sure that, in operating system, the current kernel is Red Hat Compatible Kernel (RHCK), namely Oracle Linux Server Kernel 3.10.0-xxxx.el7.x86_64, and the UEK kernel is removed. For details, see Требования к настройкам ОС и сети сервера.
    4. Disable external repositories by running the following command:
      find
      Раскрыть
      titleIf you install Traffic Monitor on RED OS Oracle Linux with no internet access:
      1. Disable external repositories.

        Раскрыть
        titleOn a workstation running RED OS version 7.3.3 and below:

        Run the following commands:
        echo "enabled=0" >> /etc/yum.repos.d/RedOS-Base.repo
        echo "enabled=0" >> /etc/yum.repos.d/RedOS-

        iname "*

        Updates.repo

        " -exec


        sed -i -e "s/enabled=.*/enabled=0/g"

        {} \;
      2. Connect the disk with the OS Oracle Linux distributive to the server.
      3. Mount the disk with the OS Oracle Linux distributive, using the following

        /etc/yum.repos.d/RedOS-kernels.repo

        Раскрыть
        titleOn a workstation running RED OS version 7.3.4 or 7.3.5:

        Run the command:
        sed -i -e "s/enabled=.*/enabled=0/g" /etc/yum.repos.d/RedOS-*.repo


      4. Connect the disk with the RED OS distribution kit to the server.
      5. Mount the disk with the RED OS distribution kit using the command:
        mkdir -p /media/cdrom/ && mount /dev/cdrom /media/cdrom/
      6. Create the /etc/yum.repos.d/cdrom.repo file specifying and specify the the mounted disk as a the repository. For this, run use the following command:
        cat << EOF > /etc/yum.repos.d/cdrom.repo
        [cdrom]
        name=cdrom
        baseurl=file:///media/cdrom/
        enabled=1
        gpgcheck=0
        EOF
      7. Remove Delete the temporary files and make sure that repository the list of repositories contains the repository from on the disk:
        yum clean all && yum repolist
      8. Install Perl libpq library and python2 package:
        yum install
        perl
      9. Install the following packages:

        For this:

        1. Download the listed packages from the official Oracle Linux repositories.
        2. Copy them to the server where Traffic Monitor is to be installed.
        3. Go to the directory where you copied the packages.
        4. Run the following command for each package:
          rpm -ivh <package_name>

          Информация
          titleNote:

          Optionally you can install tools for work in operating system by running the command:
          yum install mc vim screen telnet bind-utils mlocate net-tools iptraf sysstat iotop rsync

      10. Make sure you have correctly configured network settings (see Требования к настройкам ОС и сети сервера) and the /etc/hosts file contains the hostname resolving setting. If it does not, run the command:
        sh -c "echo '<IP_address> `hostname -f` `hostname -s`' >> /etc/hosts"
    5. Create a directory to locate the InfoWatch Traffic Monitor installer. For example, to create a directory named distr in the root of the file system run the following command:
      mkdir /distr

      1. libpq python2
      2. Install the following packages:

        Package nameOfficial repository
        lshw-B.02.19.2-1.el7.x86_64.rpm RED OS - Updates

        lz4-1.9.4-1.el7.x86_64.rpm
        python3-psycopg2-2.9.3-1.el7.x86_64.rpm
        urw-base35-fonts-legacy-20170801-11.el7.noarch.rpmRED OS – OS
        libxslt-1.1.34-1.el7.x86_64.rpm


        For this:

        1. Download the specified packages from the official RED OS repository.

        2. Copy them to the server where you are going to install Traffic Monitor.

        3. Go to the directory where the specified packages were copied.

        4. Run the following command:
          yum localinstall lshw-B.02.19.2-1.el7.x86_64.rpm lz4-1.9.4-1.el7.x86_64.rpm python3-psycopg2-2.9.3-1.el7.x86_64.rpm urw-base35-fonts-legacy-20170801-11.el7.noarch.rpm libxslt-1.1.34-1.el7.x86_64.rpm


        Информация
        titleNote:

        Additionally, you can install utilities for working with the operating system. For this, run the command:
        yum install mc vim screen telnet bind-utils mlocate net-tools iptraf sysstat iotop rsync

        Or you can install the htop utility by downloading it from the official RED OS repository.


      3. Make sure your network settings are correct (see "Требования к настройкам ОС и сети сервера") and the /etc/hosts file contains instructions for converting a server name to an IP address. If the instructions are missing, run the command:
        sh -c "echo '<IP_адрес> `hostname -f` `hostname -s`' >> /etc/hosts"


      Раскрыть
      titleIf you install Traffic Monitor on OS Oracle Linux with no internet access:
      1. Make sure that, in operating system, the current kernel is Red Hat Compatible Kernel (RHCK), namely Oracle Linux Server Kernel 3.10.0-xxxx.el7.x86_64, and the UEK kernel is removed. For details, see Требования к настройкам ОС и сети сервера.
      2. Disable external repositories by running the following command:
        find /etc/yum.repos.d/ -iname "*.repo" -exec sed -i -e "s/enabled=.*/enabled=0/g" {} \;
      3. Connect the disk with the OS Oracle Linux distributive to the server.
      4. Mount the disk with the OS Oracle Linux distributive, using the following command:
        mkdir -p /media/cdrom/ && mount /dev/cdrom /media/cdrom/
      5. Create the /etc/yum.repos.d/cdrom.repo file specifying the mounted disk as a repository. For this, run the following command:
        cat << EOF > /etc/yum.repos.d/cdrom.repo
        [cdrom]
        name=cdrom
        baseurl=file:///media/cdrom/
        enabled=1
        gpgcheck=0
        EOF
      6. Remove temporary files and make sure that repository list contains the repository from the disk:
        yum clean all && yum repolist
      7. Install Perl:
        yum install perl
      8. Install the following packages:

        For this:

        1. Download the listed packages from the official Oracle Linux repositories.
        2. Copy them to the server where Traffic Monitor is to be installed.
        3. Go to the directory where you copied the packages.
        4. Run the following command for each package:
          rpm -ivh <package_name>

          Информация
          titleNote:

          Optionally you can install tools for work in operating system by running the command:
          yum install mc vim screen telnet bind-utils mlocate net-tools iptraf sysstat iotop rsync

      9. Make sure you have correctly configured network settings (see Требования к настройкам ОС и сети сервера) and the /etc/hosts file contains the hostname resolving setting. If it does not, run the command:
        sh -c "echo '<IP_address> `hostname -f` `hostname -s`' >> /etc/hosts"
      Раскрыть
      titleIf you install Traffic Monitor on Oracle Linux 8, AlmaLinux 8 or Rocky Linux 8 OS:
      1. Install the redhat-lsb-core package by running the following command:
        dnf install redhat-lsb-core
      2. Create a backup copy of the OS release file and replace the content of the original file. For this, run the commands depending on OS:
        • in Oracle Linux 8:
          cp /etc/oracle-release /etc/release.bak
          echo "Red Hat Enterprise Linux release 8.10 (Ootpa)" > /etc/oracle-release
        • in AlmaLinux 8 or Rocky Linux 8:
          cp /etc/redhat-release /etc/release.bak
          echo "Red Hat Enterprise Linux release 8.10 (Ootpa)" > /etc/redhat-release

      3. Run the command:
        lsb_release -a
        As a result, the following information should be displayed:
        Image Added

        Информация
        titleNote:

        After installing Traffic Monitor, recover the original OS release file. For details, see below.

    6. Create a directory to locate the InfoWatch Traffic Monitor installer. For example, to create a directory named distr in the root of the file system run the following command:
      mkdir /distr
    7. Copy the files from InfoWatch Traffic Monitor distributive – installer and archive with DBMS components – into the created directory:

      OSInstallerArchive with DBMS components 1
      PostgreSQL 2Oracle 3
      Red Hat Enterprise Linux 7

      iwtm-installer-x.x.x.xxx-rhel7

      iwtm-postgresql-15.5-x.x.x.xxx-rhel7.tar.gz

      iwtm-oracle-19.0.0.0.0-x.xx.x.tar.gz
      Oracle Linux 7 4
      RED OSiwtm-installer-x.x.x.xxx-redos-7.3iwtm-postgresql-15.5-x.x.x.xxx-redos-7.3.tar.gz -
      Red Hat Enterprise Linux 8iwtm-installer-x.x.x.xxx-rhel8iwtm-postgresql-15.5-x.x.x.xxx-rhel8.tar.gz -
      Oracle Linux 8
      AlmaLinux 8
      Rocky Linux 8
      Alt Serveriwtm-installer-x.x.x.xxx-altlinux-10iwtm-postgresql-15.8-x.x.x.xxx-altlinux-10.tar.gz.md5 -

      Якорь
      remote
      remote

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

      1 Archive with DBMS components is required both when installing DBMS distributed with the product (local mode) and when using an already deployed DBMS in remote mode. See "Схемы развертывания Системы и выбор типа установки" for details.

      2 In case you are planning to use an already deployed PostgreSQL-based DBMS, use an archive from PostgreSQL column. For the list of supported PostgreSQL-based DBMS, see "Аппаратные и программные требования".

      3 If you use Oracle DBMS and network file system (NFS), before launching the installer:

      • Раскрыть
        titleWhen not using RAC:

        Open settings of the mount point (by default, /etc/fstab) and make sure that the noac option is not used and the actimeo parameter has the 0 value.

        For details, see the article on the official site.

      • Раскрыть
        titleWhen using Oracle Real Application Clusters (RAC):

        Set the options for mounting in accordance to the article on the official site.

      4 For Traffic Monitor installed on a server running Oracle Linux 7, Postgres Pro Enterprise DBMS is not supported.

      Installation using distributive files for Red Hat Enterprise Linux 7 will be described further. In our example, we need to copy an installer file and an archive with DBMS components:

      • Installer:
        iwtm-installer-7.11.0.97-rhel7
        where 7.11.0.97 is the build number, rhel7 is the OS designation;
      • Archive with DBMS components:
        • In case of PostgreSQL (or one of supported PostgreSQL-based DBMS):
          iwtm-postgresql-15.5-7.
      9
        • 11.0.
      150
        • 97-rhel7.tar
      .gz– if you use PostgreSQL DBMS or Postgres Pro Enterprise;
        • .gz
          where postgresql-15.5 is the DBMS designation, 7.11.0.97 is the build number, rhel7 is the OS designation;
        • In case of Oracle DBMS:
          iwtm-oracle-19.0.0.0.0-7.
      9
        • 11.0.
      150.tar.gz – if you use Oracle DBMS.
      Предупреждение
      titleWarning!

      The following instruction describes installation using installer for Red Hat Enterprise Linux.
      It is also valid for Oracle Linux.

    Информация
    titleNote:
    Раскрыть
    titlewhen using Oracle Real Application Clusters (RAC):

    Install the mount options according to official website instructions.

    Раскрыть
    titleif RAC is not used:

    Open the mount points (/etc/fstab by default) and make sure the noac option is not used and the value of actimeo is not set to 0.

    For more details, please see official website info
      • 97.tar.gz
        where oracle-19.0.0.0.0 is the DBMS designation, 7.11.0.97 is the build number.

    This instruction is relevant for other supported OS: Oracle Linux, RED OS, AlmaLinux, Rocky Linux and Alt Server.

  • Enter the command to shift to Traffic Monitor distributive directory. 

    As per our example: 

    cd /distr

  • Before running the installation make the installer file is executable. To do this, use the following command:

    chmod u+x ./iwtm-installer-x.x.x.xxx-rhel7

    As per our example: 

    chmod u+x ./iwtm-installer-7.911.0.15097-rhel7


  • Parameter file (option file)

    The file contains the following parameters descriptionIn the file, parameters are described as follows:

    <parameter's_name>=<parameter's_value>

    You may leave comments using #.

    Блок кода
    languagec#
    titleParameter file example:
    # This file is just an example
    product_type=tme
    installation_type=distributed
    template_database=1
    template_indexer=1
    template_web=1
    template_interceptors=0
    product_language=rus

    The example above contains the parameters as follows:

    • Product edition type – Traffic Monitor Enterprise (TME);
    • Installation type – distributed;
    • The templates used to be installed on the server:
      • Database;
      • Indexer;
      • Web console.
    • Main product language – Russian.
    Предупреждение
    titleWarning!

    The parameters which are not specified in the file will have the default values. The full list of parameters is specified in the table below.

    To use the parameter file, go to installer directory and run it using --optionfile and specifying the file which was previosly created.

    Блок кода
    languagec#
    titleExample of using parameter file:
    ./iwtm-installer-7.911.0.15097-rhel7 --optionfile /some_directory/option-file-example

    An alternative way to use: give the parameter file the same name the installer has, but use .options extension and copy it to installer directory. In this case the running installer will consider the file parameters the default values.

    Silent mode installation

    To install in silent mode, use --mode unattended option.

    Level of interaction with user is set by --unattendedmodeui parameter, which has the following values:

    • none – no information displayed while installing and no interaction is required;
    • minimal – status of implementation is displayed while installing, no interaction is required;
    • minimalWithDialogs – status of implementation is displayed while installing, pop-up windows can be displayed and interaction with user can be required.
    Блок кода
    languagec#
    titleExample of installer running command in silent mode with no user assistance and using parameter file:
    ./iwtm-installer-7.911.0.15097-rhel7 --optionfile /some_directory/option-file-example --mode unattended --unattendedmodeui minimal
    Предупреждение
    titleWarning!

    If available configured OS repositories are missing, the preparation process will stop with the following error message:

    To fix this error, press Enter to exit, connect the standard OS repository, EPEL repository and restart the installer.

    For more details on the error, refer to the log files, specified in the error message.

    Информация
    titleNote:

    If Consul service is configured incorrectly, the following warning message will be displayed: 

    To finish installation, press Enter.

    Раскрыть
    titleFor correct work of System check and configure Consul service cluster
    1. Start Consul service with the command:
      service iwtm-consul start
      To check the service status enter the command:
      service iwtm-consul status
    2. To check Consul enter the command:
      1. To display IP address of main server (leader) of cluster:
        curl --noproxy 127.0.0.1 http://127.0.0.1:8500/v1/status/leader ; echo
      2. To display information about cluster members:
        consul members
    3. If the IP address of cluster leader is not displayed, configure cluster of Consul service.
      After configuration is complete, repeat checking (step ii).

    If the error occurs, the installer will not launch Traffic Monitor services when the installation is finished, so you need to start them manually.

    Информация
    titleNote:

    If for any reason the installation process was interrupted, eliminate the cause and restart the installer. The installation will continue from the last step that was successfully completed. 

    In case the process is over with no errors, the packages created for installation will be removed by installer.start them manually.

    Информация
    titleNote:

    If for any reason the installation process was interrupted, eliminate the cause and restart the installer. The installation will continue from the last step that was successfully completed. 

    In case the process is over with no errors, the packages created for installation will be removed by installer.

    Якорь
    Alma_mv
    Alma_mv

    Раскрыть
    titleAfter Traffic Monitor is installed on Oracle Linux 8, AlmaLinux 8 or Rocky Linux 8 OS, recover the original OS release file.

    For this:

    1. Run the command depending on OS:
      • in Oracle Linux 8:
        mv /etc/release.bak /etc/oracle-release
      • in AlmaLinux 8 or Rocky Linux 8:
        mv /etc/release.bak /etc/redhat-release

    2. Confirm overwriting of the file. For this, enter "yes" and press Enter.
    3. Check that the original release file is succesfully recovered. For this, run the command:
      lsb_release -a
      As a result, the information on your OS should be displayed. For example, for AlmaLinux 8 OS, the following will be displayed:
      Image Added

    Full composition of parameter file

    The table below contains full list of possible parameters and their default values.

    Информация
    titleNote:

    <ora|pg> in default values means you should select one value in accordance with DBMS specified earlier:

    • ora – for Oracle DBMS;
    • pg – for PostgreSQL, Postgres Pro, Jatoba or Tantor DBMS.

    Scroll Table Layout
    widths30%, 17%, 13%, 20%, 20%

    NameDefault valueValid valuesDescriptionNote
    use_debug 0 0, 1Enabling the scripts debug mode, which are a part of the installerThe parameter is used to collect the detailed logs in case of errors occured while the installer operation
    skip_check_swap0 0, 1

    Disabling the check of Swap space volume


    skip_check_space00, 1Disabling the check of free space volume on disk
    skip_check_ram00, 1Disabling the check of RAM volume
    skip_check_network00, 1Disabling the check of available network
    skip_check_tmp00, 1Disabling the check of temporary directory
    skip_check_home00, 1Disabling the check of home directory
    setup_cron_jobs10, 1Set targets for cron planner
    log_dir/var/log/infowatch/install Path to log files directory
    eula

    show,

    accept

    Display the License Agreement text,

    Accept the License Agreement without preview

    If you run the installation not in the unattended mode and do not specify the parameter, then the License Agreement text will be displayed. You will be asked to accept the agreement.

    If you run the installation in the unattended mode, this parameter value is ignored and the License Agreement is accepted by default

    product_typetmetme, tmsTraffic Monitor edition type
    product_languagerusrus, engMain product language
    installation_typeall_in_onedistributed, all_in_oneInstallation typeIn case Traffic Monitor Enterprise edition is selected (product_type=tme)
    template_database00, 1Install Database templateIn case distributed installation is selected (installation_type=distributed)

    template_indexer00, 1Install Indexer template
    template_web00, 1Install Web console template
    template_interceptors00, 1Install Interceptors template
    db_classification_lang_ru10, 1Set Russian for classification base

    In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected


    For Postgres Pro Enterprise, Jatoba and Tantor DBMS only remote variant is supported

    db_classification_lang_en00, 1Set English for classification base
    db_classification_lang_ma00, 1Malay is set for classification base
    db_installation_typelocallocal, remoteDatabase location
    db_typepostgresqloracle, postgresqlSelecting DBMS

    Available when installing to OS Red Hat Enterprise Linux and edition type is Traffic Monitor Enterprise (product_type=tme)

    If you install Traffic Monitor on Red Hat Enterprise Linux 8, Oracle Linux 8, AlmaLinux 8 or Rocky Linux 8 OS, select PostgreSQL .

    If you are going to use Postgres Pro Enterprise, Jatoba or Tantor DBMS, select postgresql.

    db_server_addressiwtm Server address with Database template or remote database server address

    For Indexer, Interceptors and Web console templates

    For All-in-One installation type and Database template when using a remote database (db_installation_type=remote)

    To install Traffic Monitor on the same server with already deployed DBMS Postgres Pro Enterprise, specify the address: 127.0.0.1.

    db_server_port  Server port with database
    db_namepostgres or iwtm (according to db_type parameter) Database name
    db_sysdba_passwordxxXX1234 Password of SYSDBA user
    db_scheme_owner_nameiwtm Name of database security scheme ownerIn case All-in-One installation type (installation_type=all_in_one), Database template (template_database=1) or Web console template (template_web=1) are selected
    db_scheme_owner_passwordxxXX1234 Пароль владельца схемы базы данныхIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected
    db_linux_user_nameiwtm_linux Name of Linux services user 
    db_linux_user_passwordxxXX1234 Password of Linux services user 
    db_web_user_nameiwtm_web Name of web services user 
    db_web_user_passwordxxXX1234 Password of web services user 
    db_nagios_useriwtm_nagios Name of nagios user 
    db_nagios_passwordxxXX1234 Password of nagios user 
    db_auth_change_defaults00, 1Change the default database connection parameters 
    db_storage_typenormal

    normal, fast_slow, rotate

    Data storage mode 
    db_storage_main_tbs_path/u02/<ora|pg>data
    Path to main tablespace 
    db_storage_dtbs_paths_number11 - 10Number of paths to daily tablespaces 
    db_storage_fast_disk_path/u03/<ora|pg>data
    Path to directory where daily tablespaces are stored on fast driveIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) and fast_slow data storage mode (db_storage_type=fast_slow) are selected
    db_storage_dtbs_days_on_fast_disk7
    Storage period of daily tablespaces data on fast drives, in days
    db_storage_change_defaults00, 1Change the database storage parameters
    db_storage_dtbs_path_1/u02/<ora|pg>data1
    Path to daily tablespace #1

    In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected. Also depends on the db_storage_dtbs_paths_number parameter value.



    db_storage_dtbs_path_2/u02/<ora|pg>data2
    Path to daily tablespace #2
    db_storage_dtbs_path_3/u02/<ora|pg>data3
    Path to daily tablespace #3
    db_storage_dtbs_path_4/u02/<ora|pg>data4
    Path to daily tablespace #4
    db_storage_dtbs_path_5/u02/<ora|pg>data5
    Path to daily tablespace #5
    db_storage_dtbs_path_6/u02/<ora|pg>data6
    Path to daily tablespace #6
    db_storage_dtbs_path_7/u02/<ora|pg>data7
    Path to daily tablespace #7
    db_storage_dtbs_path_8/u02/<ora|pg>data8
    Path to daily tablespace #8
    db_storage_dtbs_path_9/u02/<ora|pg>data9
    Path to daily tablespace #9
    db_storage_dtbs_path_10/u02/<ora|pg>data10
    Path to daily tablespace #10
    db_archiving_dtbs_path/u02/arch
    Path to directory where archived tablespaces are storedIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected
    db_days_before_archiving_nonviolations45
    Number of days to store events without violations before archivingIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected, and db_archive_nonviolations=1
    db_archive_nonviolations00, 1Archive events without violationsIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected
    db_days_before_archiving_violations45
    Number of days to store events with violations before archiving

    In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected, and db_archive_violations=1

    db_archive_violations00, 1Archive events with violationsIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected
    db_days_before_archiving_screenshots45 Number of days to store screenshots before archivingIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected, and db_archive_screenshots=1
    db_archive_screenshots00, 1Archive screenshot eventsIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected
    db_archiving_dtbs_change_defaults00, 1Change default archiving parameters
    db_days_before_removing_nonviolations90 Number of days to store events without violations before deletingIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected, and db_remove_nonviolations=1
    db_remove_nonviolations00, 1Delete events without violationsIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected
    db_days_before_removing_violations90 Number of days to store events with violations before deletingIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected, and db_remove_violations=1
    db_remove_violations00, 1Delete events with violationsIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected
    db_days_before_removing_screenshots90 Number of days to store screenshot events before deletingIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected, and db_remove_screenshots=1
    db_remove_screenshots00, 1Delete screenshot eventsIn case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected
    db_removing_dtbs_change_defaults00, 1Change default deleting parameters
    use_data_storage00, 1Use external storage of binary data – Data Storage

    In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected

    You can find the actual value of the token:

    • On the Data Storage server, via the command line. For this:
      1. Go to the directory where the Platform distribution kit was extracted.
      2. Run the command:
        ./setup.py tokens list
        As a result, you will see a list of tokens for connecting to the Platform. The actual Data Storage authorization token will be displayed opposite the DataStorageUser identity.
    • In the Platform product management console, in the Token for Data Storage User field of the Global settings section. Available if the Platform product with web interface is installed on the server with Data Storage and the web interface contains such a setting.
    ds_set_urimyplatform.infowatch.ru
    hostname or IP address of the server on which the storage is installed
    ds_set_port40731
    Port for connecting to Data Storage
    ds_set_token1exwo92iwpczl1hy6jxy
    Data Storage authorization token
    consul_bind_addr<list_of_ip_addresses> Consul network interface address
    consul_mode

    server – for Database template and All-in-One installation type

    client – for the rest of templates

    server, clientConsul operation mode, server and client
    consul_datacenter_nameiwtm Consul data center name
    consul_node_name<hostname> Node name
    consul_retryjoin_manual  List of Consul agents
    consul_retryjoin_port8301 Port to connect Consul agents
    ntp_manual_addr  NTP server addressIn case NTP server manual specification is selected (ntp_mode=ntp_manual_addr)
    ntp_modentp_use_systemntp_use_system, ntp_manual_addr

    NTP server type:

    • ntp_use_system – use system NTP-server;

    • ntp_manual_addr – specify NTP server manually.


    sphinx_server_address  Sphinx server addressIn case Web console template (template_web=1) is selected and Indexer template (template_indexer=0) is not selected
    sphinx_exact_match_words00, 1Enable exact word match indexingIn case All-in-One installation type (installation_type=all_in_one) or Indexer template (template_indexer=1) is selected
    sphinx_change_language_settings00, 1Change list of sphinx languages
    sphinx_langsrusrus eng deu fra spa ita ara ukr ron lav bel pol aze tur srp kir uzb fin kaz msa nld vie por tat ell lit kat hye ces slk fas hin sin tgk sah zhoList of sphinx languagesSequence of languages defines the priority
    ocr_enabled10, 1Enable OCR using

    In case All-in-One installation type (installation_type=all_in_one), Interceptors template (template_interceptors=1) or Web console template (template_web=1) are selected

    ocr_typets

    fre, ts

    Selecting OCR extractor:

    • fre – ABBYY FineReader;
    • ts – Tesseract.

    In case All-in-One installation type (installation_type=all_in_one) or Interceptors template (template_interceptors=1) is selected

    ocr_finereader_modequalityquick, qualityOCR ABBYY FineReader operation mode

    In case OCR ABBYFineReader (ocr_type=fre) is selected

    ocr_finereader_have_license10, 1License issued for OCR ABBYY FineReader
    db_unpack_dir/tmp/iwtm_installer/databaseLine – path to directoryDB archive will be unpacked to derictory

    Directory will be created automatically.
    You can specify an existing directory.

    In case the installation is over with no completes without errors, the directory will be removed automatically.

    packages_unpack_dir/tmp/iwtm_installer/packagesLine – path to directoryTraffic Monitor installation packages will be unpacked to directory

    Directory will be created automatically.
    You can specify an existing directory.

    In case the installation is over with no completes without errors, the directory will be removed automatically.