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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMIG and version 7.2
Если выбрана распределенная установка (installation_type=distributed)
Если выбран тип установки all-in-one (installation_type=all_in_one), шаблон База данных (
Sv translation
languageru

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

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

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

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

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

    Скопируйте в созданную директорию файлы, поставляемые в дистрибутиве InfoWatch Traffic Monitor:iwtm-installer-
    Предупреждение
    titleВажно!

    Перед началом установки убедитесь, что сервер соответствует требованиям к настройкам ОС и сети сервера.
    Если планируется использование удаленной базы данных, ее необходимо предварительно обновить до версии, поддерживаемой Traffic Monitor. Если будет использована СУБД PostgreSQL, ее нужно предварительно настроить.

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

    mkdir /distr

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

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

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

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

    mkdir /distr

  5. Скопируйте в созданную директорию файлы, поставляемые в дистрибутиве InfoWatch Traffic Monitor:
    • iwtm-installer-x.x.x.xxx-rhel7 (где x.x.x.xxx - номер сборки);
    • iwtm-postgresql-13.2-x.xx.x.tar.gz - если будет использована СУБД PostgreSQL;
    • iwtm-oracle-19.0.0.0.0-x.xx.x.tar.gz - если будет использована СУБД Oracle.
    В нашем примере: 
    • iwtm-installer-7.2.0.123-rhel7;
    • iwtm-postgresql-13.2-7.2.0.tar.gz - если будет использована СУБД PostgreSQL;
    • iwtm-oracle-19.0.0.0.0-7.2.0.tar.gz - если будет использована СУБД Oracle.
    Информация
    titleПримечание:

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

    • Раскрыть
      titleпри использовании Oracle Real Application Clusters (RAC):

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

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

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

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

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

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

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

    chmod u+x ./iwtm-installer-7.2.0.123-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.2.0.84-rhel7 --optionfile /some_directory/option-file-example

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

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

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

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

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

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

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

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

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

Image Added

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

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

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

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

  • ora - для СУБД Oracle;
  • pg - для СУБД PostgreSQL.

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 Путь к директории для лог-файлов 
product_typetmetme, tmsРедакция Traffic Monitor 
product_languagerusrus, engОсновной язык продукта 
installation_typeall_in_onedistributed, all_in_oneТип установкиЕсли выбрана редакция Traffic Monitor Enterprise (product_type=tme)
template_database00, 1Установить шаблон База данных
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)

db_classification_lang_en00, 1Установить английский язык для базы классификации
db_classification_lang_ma00, 1Установить малайский язык для базы классификации
db_installation_typelocallocal, remoteРасположение базы данных
db_typepostgresqloracle, postgresqlВыбор СУБДДоступно при установке на ОС Red Hat Enterprise Linux и редакции Traffic Monitor Enterprise (product_type=tme)
db_server_addressiwtm Адрес сервера c шаблоном База данных или адрес сервера удаленной базой данных

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

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

db_server_port  Порт сервера с базой данных
db_namepostgres или iwtm (в зависимости от параметра db_type) Имя базы данных
db_sysdba_passwordxxXX1234 Пароль пользователя с правами SYSDBA 
db_scheme_owner_nameiwtm Имя владельца схемы базы данных

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

Image Added

Для завершения работы инсталлятора нажмите 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.

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 Путь к директории для лог-файлов
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)

db_classification_lang_en00, 1Установить английский язык для базы классификации
db_classification_lang_ma00, 1Установить малайский язык для базы классификации
db_installation_typelocallocal, remoteРасположение базы данных
db_typepostgresqloracle, postgresqlВыбор СУБДДоступно при установке на ОС Red Hat Enterprise Linux и редакции Traffic Monitor Enterprise (product_type=tme)
db_server_addressiwtm Адрес сервера c шаблоном База данных или адрес сервера удаленной базой данных

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

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

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 
db_nagios_passwordxxXX1234 Пароль пользователя 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_number11 - 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Изменить параметры удаления по умолчанию
 

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

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

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

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.
Sv translation
languageen

To reduce a user's role 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 file. In this file you can set required installation parameters. When starting the installation via parameter file, the values specified in this file will be considered the default parameters.

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

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

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

    iwtm-installer-x.x.x.xxx-rhel7 (where
    Предупреждение
    titleWarning!

    Before running the installation make sure that the server complies with the OS and network settings requirements. If you plan using a remote database, you should update it first to the version supported by Traffic Monitor. In case of PostgreSQL DBMS using, you should preliminarily configure it.

  2. 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

  3. Before installing to clear memory, it is recommended to reboot the server on which database will be deployed.

    Предупреждение
    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).

  4. 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

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

    • iwtm-installer-x.x.x.xxx is a -rhel7 (where x.x.x.xxx is a number of build);
    • iwtm-postgresql-13.2-x.xx.x.tar.gz - if you use PostgreSQL DBMS;
    • iwtm-oracle-19.0.0.0.0-x.xx.x.tar.gz - if you use Oracle DBMS.
    As per our example:
    • iwtm-installer-7.2.0.123-rhel7;
    • iwtm-postgresql-13.2-7.2.0.tar.gz - if you use PostgreSQL DBMS;
    • iwtm-oracle-19.0.0.0.0-7.2.0.tar.gz - if you use Oracle DBMS.
    Информация
    titleNote:

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

    • Раскрыть
      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.

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

    As per our example: 

    cd /distr

  7. 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.2.0.123-rhel7


Parameter file (option file)

The file contains the following parameters description:

<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 specifying the file which was previosly created.

Блок кода
languagec#
titleExample of using parameter file:
./iwtm-installer-7.2.0.84-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.2.0.84-rhel7 --optionfile /some_directory/option-file-example --mode unattended --unattendedmodeui minimal
Информация
titleNote:
Блок кода
languagec#
titleExample of installer running command in silent mode with no user assistance and using parameter file:
./iwtm-installer-7.2.0.84-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:

Image Added

To fix this error press Enter to exit, connect the standard RHEL 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: 

Image Added

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.

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 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
 

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

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 DBMSAvailable when installing to OS Red Hat Enterprise Linux and edition type is Traffic Monitor Enterprise (product_type=tme)
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)

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 pathes 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

Если выбран тип установки 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
 

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
 

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 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 errors, the directory will be removed automatically.