| Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Чтобы минимизировать участие в процессе установки Системы, в инсталляторе предусмотрен тихий режим установки. В этом режиме инсталлятор может установить Traffic Monitor, используя параметры по умолчанию. В инсталляторе реализована возможность использования файла параметров (option file). В нем вы можете задать требуемые особенности установки. При запуске инсталлятора с файлом параметров, указанные в нем значения будут считаться параметрами по умолчанию. Таким образом, использование тихого режима и подготовленного файла параметров позволяет установить Traffic Monitor практически без участия пользователя.
Перед установкой выполните общие действия:
Файл параметров (option file)В файле описание параметров имеет вид:
Допускается оставлять комментарии, используя символ Блок кода | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| Блок кода | ||||
|---|---|---|---|---|
| ||||
# 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);
- тип установки – распределенная;
- для установки на сервер выбраны шаблоны:
- База данных;
- Индексер;
- Веб-консоль.
- основной язык продукта – русский.
| Предупреждение | ||
|---|---|---|
| ||
Для параметров, которые не указаны в файле, будут использованы значения по умолчанию. Полный набор параметров указан в таблице ниже. |
Чтобы использовать файл параметров, перейдите в директорию с инсталлятором и запустите его с опцией --optionfile и с указанием созданного ранее файла.
| Блок кода | ||||
|---|---|---|---|---|
| ||||
./iwtm-installer-7.11.0.97-rhel7 --optionfile /some_directory/option-file-example |
Альтернативный способ использования: назовите файл параметров тем же именем, что назван инсталлятор, но с расширением .options, и скопируйте его в директорию к инсталлятору. В этом случае при запуске инсталлятор так же будет считать параметры из файла значениями по умолчанию.
Тихий режим установки
Для установки в тихом режиме используйте опцию --mode unattended.
Уровень взаимодействия с пользователем задается параметром --unattendedmodeui, который имеет следующие значения:
none– в процессе установки инсталлятор не выводит на экран никакую информацию и не требует взаимодействия с пользователем;minimal– в процессе отображает ход выполнения установки, не требует взаимодействия с пользователем;minimalWithDialogs– отображает ход выполнения установки, также в процессе могут появляться всплывающие окна, может потребоваться взаимодействие с пользователем.
| Блок кода | ||||
|---|---|---|---|---|
| ||||
./iwtm-installer-7.11.0.97-rhel7 --optionfile /some_directory/option-file-example --mode unattended --unattendedmodeui minimal |
| Предупреждение | ||
|---|---|---|
| ||
При отсутствии настроенных и доступных репозиториев ОС, запуск инсталлятора прервется со следующей ошибкой: При возникновении данной ошибки нажмите Enter для завершения работы инсталлятора, затем подключите стандартный репозиторий ОС, репозиторий EPEL и повторно запустите инсталлятор. Подробную информацию об ошибке вы можете найти в лог-файлах, указанных в предупреждении. |
| Информация | |||||
|---|---|---|---|---|---|
| |||||
В случае некорректной настройки службы Consul в консоли будет выведено предупреждение: Для завершения работы инсталлятора нажмите Enter.
При данной ошибке инсталлятор не запустит сервисы Traffic Monitor при завершении работы, их нужно будет запустить вручную. |
| Информация | ||
|---|---|---|
| ||
Если процесс установки был прерван по какой-то причине, устраните ее и повторно запустите инсталлятор, чтобы продолжить установку с последнего успешно завершенного этапа. |
| Якорь | ||||
|---|---|---|---|---|
|
| Раскрыть | ||
|---|---|---|
| ||
Для этого:
|
Полный состав файла параметров
В таблице приведен полный список возможных параметров и их значения по умолчанию.
| Информация | ||
|---|---|---|
| ||
В значениях по умолчанию
|
| Scroll Table Layout | ||
|---|---|---|
|
| Название | Значение по умолчанию | Допустимые значения | Описание | Примечание |
|---|---|---|---|---|
use_debug | 0 | 0, 1 | Включение режима отладки для скриптов, входящих в состав инсталлятора | Параметр используется для сбора расширенной диагностической информации в случае ошибок при работе инсталлятора |
skip_check_swap | 0 | 0, 1 | Отключение проверки объема Swap-пространства | |
skip_check_space | 0 | 0, 1 | Отключение проверки объема свободного пространства на диске | |
skip_check_ram | 0 | 0, 1 | Отключение проверки объема оперативной памяти (RAM) | |
skip_check_network | 0 | 0, 1 | Отключение проверки доступности сети | |
skip_check_tmp | 0 | 0, 1 | Отключение проверки временной директории | |
skip_check_home | 0 | 0, 1 | Отключение проверки домашней директории | |
setup_cron_jobs | 1 | 0, 1 | Установить задания для планировщика cron | |
log_dir | /var/log/infowatch/install | | Путь к директории для лог-файлов | |
eula |
| Вывести текст Лицензионного Соглашения, Принять Лицензионное Соглашение без предварительного просмотра | Если вы запускаете установку не в тихом режиме и параметр не указан, то будет выведен текст Лицензионного соглашения и будет предложено принять его. При установке в тихом режиме значение параметра игнорируется и Лицензионное Соглашение принимается по умолчанию. | |
product_type | tme | tme, tms | Редакция Traffic Monitor | |
product_language | rus | rus, eng | Основной язык продукта | |
installation_type | all_in_one | distributed, all_in_one | Тип установки | Если выбрана редакция Traffic Monitor Enterprise (product_type=tme) |
template_database | 0 | 0, 1 | Установить шаблон База данных | Если выбрана распределенная установка (installation_type=distributed) |
template_indexer | 0 | 0, 1 | Установить шаблон Индексер | |
template_web | 0 | 0, 1 | Установить шаблон Веб-консоль | |
template_interceptors | 0 | 0, 1 | Установить шаблон Перехватчики | |
db_classification_lang_ru | 1 | 0, 1 | Установить русский язык для базы классификации | Если выбран тип установки All-in-One ( Для СУБД Postgres Pro Enterprise, Jatoba или Tantor поддерживается только вариант |
db_classification_lang_en | 0 | 0, 1 | Установить английский язык для базы классификации | |
db_classification_lang_ma | 0 | 0, 1 | Установить малайский язык для базы классификации | |
db_installation_type | local | local, remote | Расположение базы данных | |
db_type | postgresql | oracle, postgresql | Выбор СУБД | Доступно при установке на ОС Red Hat Enterprise Linux, Oracle Linux, AlmaLinux, Rocky Linux и редакции Traffic Monitor Enterprise ( Если вы устанавливаете Traffic Monitor на ОС Red Hat Enterprise Linux 8, Oracle Linux 8, AlmaLinux 8 или Rocky Linux 8, выберите вариант Если вы будете использовать СУБД Postgres Pro Enterprise, Jatoba или Tantor, выберите вариант |
db_server_address | iwtm | | Адрес сервера c шаблоном База данных или адрес сервера удаленной базой данных | Для шаблонов Индексер, Перехватчики, Веб-консоль. Для типа установки All-in-One или шаблона База данных при использовании удаленной базы данных ( Чтобы установить Traffic Monitor на одном сервере с уже развернутой СУБД, укажите адрес |
db_server_port | | | Порт сервера с базой данных | |
db_name | postgres или iwtm (в зависимости от параметра db_type) | | Имя базы данных | |
db_sysdba_password | xxXX1234 | | Пароль пользователя с правами SYSDBA | |
db_scheme_owner_name | iwtm | | Имя владельца схемы базы данных | Если выбран тип установки All-in-One (installation_type=all_in_one), шаблон База данных (template_database=1) или шаблон Веб-консоль (template_web=1) |
db_scheme_owner_password | xxXX1234 | | Пароль владельца схемы базы данных | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1) |
db_linux_user_name | iwtm_linux | | Имя пользователя сервисов Linux | |
db_linux_user_password | xxXX1234 | | Пароль пользователя сервисов Linux | |
db_web_user_name | iwtm_web | | Имя пользователя веб-сервисов | |
db_web_user_password | xxXX1234 | | Пароль пользователя веб-сервисов | |
db_nagios_user | iwtm_nagios | | Имя пользователя Nagios | |
db_nagios_password | xxXX1234 | | Пароль пользователя Nagios | |
db_auth_change_defaults | 0 | 0, 1 | Изменить параметры подключения к базе данных по умолчанию | |
db_storage_type | normal |
| Режим хранения данных | |
db_storage_main_tbs_path | /u02/<ora|pg>data | Путь к основному табличному пространству | ||
db_storage_dtbs_paths_number | 1 |
| Количество путей к ежедневным табличным пространствам | |
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_disk | 7 | Период хранения данных ежедневных табличных пространств в быстром раздел, в днях | ||
db_storage_change_defaults | 0 | 0, 1 | Изменить параметры хранения в базе данных | |
db_storage_dtbs_path_1 | /u02/<ora|pg>data1 | Путь к ежедневному табличному пространству №1 | Если выбран тип установки All-in-One ( | |
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_nonviolations | 45 | Сколько дней хранить события без нарушений до архивирования | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_archive_nonviolations=1 | |
db_archive_nonviolations | 0 | 0, 1 | Архивировать события без нарушений | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1) |
db_days_before_archiving_violations | 45 | Сколько дней хранить события с нарушением до архивирования | Если выбран тип установки All-in-One ( | |
db_archive_violations | 0 | 0, 1 | Архивировать события с нарушениями | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1) |
db_days_before_archiving_screenshots | 45 | | Сколько дней хранить события скриншотов до архивирования | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_archive_screenshots=1 |
db_archive_screenshots | 0 | 0, 1 | Архивировать события скриншотов | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1) |
db_archiving_dtbs_change_defaults | 0 | 0, 1 | Изменить параметры архивирования по умолчанию | |
db_days_before_removing_nonviolations | 90 | | Сколько дней хранить события без нарушений до удаления | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_remove_nonviolations=1 |
db_remove_nonviolations | 0 | 0, 1 | Удалять события без нарушений | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1) |
db_days_before_removing_violations | 90 | | Сколько дней хранить события с нарушением до удаления | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_remove_violations=1 |
db_remove_violations | 0 | 0, 1 | Удалять события с нарушением | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1) |
db_days_before_removing_screenshots | 90 | | Сколько дней хранить события скриншотов до удаления | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1), а также db_remove_screenshots=1 |
db_remove_screenshots | 0 | 0, 1 | Удалять события скриншотов | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон База данных (template_database=1) |
db_removing_dtbs_change_defaults | 0 | 0, 1 | Изменить параметры удаления по умолчанию | |
| 0 | 0, 1 | Использовать внешнее хранилище бинарных данных Data Storage | Если выбран тип установки All-in-One ( Узнать актуальное значение токена авторизации можно:
|
|
| Имя хоста или IP-адрес сервера, на котором установлено хранилище Data Storage | ||
| 40731 | Порт подключения к Data Storage | ||
| | Токен авторизации Data Storage | ||
consul_bind_addr | <список_ip_адресов> | | Адрес сетевого интерфейса Consul | |
consul_mode |
| server, client | Режим работы Consul, сервер или клиент | |
consul_datacenter_name | iwtm | | Имя дата-центра Consul | |
consul_node_name | <hostname> | | Имя ноды | |
consul_retryjoin_manual | | | Список агентов Consul | |
consul_retryjoin_port | 8301 | | Порт для подключения агентов Consul | |
ntp_manual_addr | | | Адрес NTP сервера | Если выбрано указание NTP-сервера вручную (ntp_mode=ntp_manual_addr) |
ntp_mode | ntp_use_system | ntp_use_system, ntp_manual_addr | Тип NTP сервера:
| |
sphinx_server_address | | | Адрес sphinx-сервера | Если выбран шаблон Веб-консоль (template_web=1) и не выбран шаблон Индексер (template_indexer=0) |
sphinx_exact_match_words | 0 | 0, 1 | Включить индексацию на точное совпадение слов | Если выбран тип установки All-in-One (installation_type=all_in_one) или шаблон Индексер (template_indexer=1) |
sphinx_change_language_settings | 0 | 0, 1 | Изменить список языков sphinx | |
sphinx_langs | rus | rus 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_enabled | 1 | 0, 1 | Включить использование OCR | Если выбран тип установки All-in-One ( |
ocr_type | ts |
| Выбор OCR-экстрактора:
| Если выбран тип установки All-in-One ( |
ocr_finereader_mode | quality | quick, quality | Режим работы OCR ABBYY FineReader | Если выбран OCR ABBYFineReader ( |
ocr_finereader_have_license | 1 | 0, 1 | Наличие лицензии на OCR ABBYY FineReader | |
db_unpack_dir | /tmp/iwtm_installer/database | Строка – путь к директории | В директорию будет распакован архив БД | Директория будет создана автоматически. Если установка завершится без ошибок, директория будет автоматически удалена. |
packages_unpack_dir | /tmp/iwtm_installer/packages | Строка – путь к директории | В директорию будут распакованы установочные пакеты Traffic Monitor | Директория будет создана автоматически. Если установка завершится без ошибок, директория будет автоматически удалена. |
| Sv translation | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
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.
For example, you can find instructions on how to configure local Red Hat Enterprise Linux repository at the official web page.
| ||||||||||||||||||||||||
Before running the installation make sure that the server complies with the OS and network settings requirements. If you plan using a remote database (deployed locally or on a separate server), you should prepare it first. Before installing, in order to clear memory, it is recommended to reboot the server on which database will be deployed. | ||||||||||||||||||||||||
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 |
Before starting the installation, perform general steps:
To log into the System, enter the login and password (log in as a root user).
Предупреждение title Warning! Before running the installation make sure that the server complies with the OS and network settings requirements.
Предупреждение title Warning! 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.
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.Раскрыть title If you install Traffic Monitor on RED OS with no internet access Disable external repositories.
Раскрыть title On a workstation running RED OS version 7.3.3 and below: Run the following commands:
echo "enabled=0" >> /etc/yum.repos.d/RedOS-Base.repoecho "enabled=0" >> /etc/yum.repos.d/RedOS-Updates.reposed -i -e "s/enabled=.*/enabled=0/g" /etc/yum.repos.d/RedOS-kernels.repoРаскрыть title On 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- Connect the disk with the RED OS distribution kit to the server.
- Mount the disk with the RED OS distribution kit using the command:
mkdir -p /media/cdrom/ && mount /dev/cdrom /media/cdrom/ - Create the
/etc/yum.repos.d/cdrom.repofile and specify the the mounted disk as the repository. For this, use the command:cat << EOF > /etc/yum.repos.d/cdrom.repo[cdrom]name=cdrombaseurl=file:///media/cdrom/enabled=1gpgcheck=0EOF - Delete the temporary files and make sure that the list of repositories contains the repository on the disk:
yum clean all && yum repolist - Install
libpqlibrary andpython2package:yum install libpq python2 Install the following packages:
Package name Official repository lshw-B.02.19.2-1.el7.x86_64.rpmRED OS - Updates lz4-1.9.4-1.el7.x86_64.rpmpython3-psycopg2-2.9.3-1.el7.x86_64.rpmurw-base35-fonts-legacy-20170801-11.el7.noarch.rpmRED OS – OS libxslt-1.1.34-1.el7.x86_64.rpm
For this:Download the specified packages from the official RED OS repository.
Copy them to the server where you are going to install Traffic Monitor.
Go to the directory where the specified packages were copied.
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
Информация title Note: 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 rsyncOr you can install the htop utility by downloading it from the official RED OS repository.
- Make sure your network settings are correct (see "Требования к настройкам ОС и сети сервера") and the
/etc/hostsfile 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"
Раскрыть title If you install Traffic Monitor on OS Oracle Linux with no internet access: - 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 Требования к настройкам ОС и сети сервера.
- Disable external repositories by running the following command:
find /etc/yum.repos.d/ -iname "*.repo" -exec sed -i -e "s/enabled=.*/enabled=0/g" {} \; - Connect the disk with the OS Oracle Linux distributive to the server.
- Mount the disk with the OS Oracle Linux distributive, using the following command:
mkdir -p /media/cdrom/ && mount /dev/cdrom /media/cdrom/ - Create the
/etc/yum.repos.d/cdrom.repofile specifying the mounted disk as a repository. For this, run the following command:cat << EOF > /etc/yum.repos.d/cdrom.repo[cdrom]name=cdrombaseurl=file:///media/cdrom/enabled=1gpgcheck=0EOF - Remove temporary files and make sure that repository list contains the repository from the disk:
yum clean all && yum repolist - Install
Perl:yum install perl - Install the following packages:
perl-List-MoreUtils-0.33-9.el7.x86_64.rpm(you can download the package from the official Oracle Linux 7 Latest repository)perl-Dist-CheckConflicts-0.06-2.el7.noarch.rpm(you can download the package from the official Oracle Linux 7 Optional Latest repository)urw-base35-fonts-legacy-20170801-10.el7.noarch.rpm(you can download the package from the official Oracle Linux 7 Optional Latest repository)
For this:
- Download the listed packages from the official Oracle Linux repositories.
- Copy them to the server where Traffic Monitor is to be installed.
- Go to the directory where you copied the packages.
Run the following command for each package:
rpm -ivh <package_name>Информация title Note: 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
- Make sure you have correctly configured network settings (see Требования к настройкам ОС и сети сервера) and the
/etc/hostsfile contains the hostname resolving setting. If it does not, run the command:sh -c "echo '<IP_address> `hostname -f` `hostname -s`' >> /etc/hosts"
Copy the files from InfoWatch Traffic Monitor distributive into the created directory.
iwtm-installerРаскрыть title If you install Traffic Monitor on Oracle Linux 8, AlmaLinux 8 or Rocky Linux 8 OS: - Install the
redhat-lsb-corepackage by running the following command:dnf install redhat-lsb-core - 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
- in Oracle Linux 8:
Run the command:
lsb_release -a
As a result, the following information should be displayed:Информация title Note: After installing Traffic Monitor, recover the original OS release file. For details, see below.
- Create a directory to locate the InfoWatch Traffic Monitor installer. For example, to create a directory named
distrin the root of the file system run the following command:mkdir /distr Информация title Note: After installing Traffic Monitor, recover the original OS release file. For details, see below.
- Create a directory to locate the InfoWatch Traffic Monitor installer. For example, to create a directory named
distrin the root of the file system run the following command:mkdir /distr Copy the files from InfoWatch Traffic Monitor distributive – installer and archive with DBMS components – into the created directory:
rhel7 – for installation on Red Hat Enterprise Linux 7 or Oracle Linux 7 (whereOS Installer Archive with DBMS components 1 PostgreSQL 2 Oracle 3 Red Hat Enterprise Linux 7 iwtm-installer-x.x.x.xxx-rhel7iwtm-postgresql-15.5-x.x.x.xxx-rhel7.tar.gziwtm-oracle-19.0.0.0.0-x.xx.x.tar.gzOracle Linux 7 4 RED OS iwtm-installer-x.x.x.xxx-redos-7.3iwtm-postgresql-15.5-x.x.x.xxx-is a number of build);iwtmredos-7.3.tar.gz-Red Hat Enterprise Linux 8 iwtm-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 Server iwtm-installer-x.x.x.xxx5-altlinux-10iwtm-postgresql-15..x.x.xxx-rhel7.tar.gz – if you use:8-x.x.x- PostgreSQL, Postgres Pro Enterprise, Jatoba or Tantor DBMS on Red Hat Enterprise Linux 7;
- PostgreSQL, Jatoba or Tantor DBMS on Oracle Linux 7.
iwtm-oracle-19.0.0.0.0-x.xx.x.tar.gz– if you use Oracle DBMS;iwtm-installer-x.x.x.xxx-rhel8– for installation on Red Hat Enterprise Linux 8, Oracle Linux 8, AlmaLinux 8 or Rocky Linux 8;Раскрыть title When not using RAC: Open settings of the mount point (by default,
/etc/fstab) and make sure that thenoacoption is not used and theactimeoparameter has the0value.For details, see the article on the official site.
Раскрыть title When using Oracle Real Application Clusters (RAC): Set the options for mounting in accordance to the article on the official site.
- Installer:
iwtm-installer-7.11.0.97-rhel7 where7.11.0.97- is
- the build number
- ,
-
rhel7is the OS designation; - Archive with DBMS components:
- In case of PostgreSQL (or one of supported PostgreSQL-based DBMS):
iwtm-postgresql-15.5-7.11.0.97-rhel7
- In case of PostgreSQL (or one of supported PostgreSQL-based DBMS):
.tar.gz
wherepostgresql-15.5
- is the DBMS designation,
-
7.11.0.97
-
- is the build number,
rhel7is the OS designation; - In case of Oracle DBMS:
iwtm-oracle-19.0.0.0.0-7.11.0.97.tar.gz
- is the build number,
Раскрыть title when using Oracle Real Application Clusters (RAC): Install the mount options according to official website instructions.
whereoracle-19.0.0.0.0is the DBMS designation,7.11.0.97is the build number.
Enter the command to shift to Traffic Monitor distributive directory.
As per our example:
cd /distrBefore 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-rhel7As per our example:
chmod u+x ./iwtm-installer-7.11.0.97-rhel7
iwtm-postgresql-15.5-x.x.x.xxx-rhel8.tar.gz – for installation on Red Hat Enterprise Linux 8, Oracle Linux 8, AlmaLinux 8 or Rocky Linux 8.| title | Warning! |
|---|
.xxx-altlinux-10.tar.gz.md5 | - |
| Якорь | ||||
|---|---|---|---|---|
|
| Предупреждение | ||
|---|---|---|
| ||
1 Archive with DBMS components is required both when installing DBMS distributed with the product ( 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: 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
the filesan installer file and an archive with DBMS components:
rhel7" - an In this case, "
rhel7" - an This instruction is relevant for other supported OS: Oracle Linux, AlmaLinux and Rocky Linux.
| title | Note: |
|---|
When using Oracle DBMS and network file system, before running the installation:
| title | if 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.
This instruction is relevant for other supported OS: Oracle Linux, RED OS, AlmaLinux, Rocky Linux and Alt Server.
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 #.
| Блок кода | ||||
|---|---|---|---|---|
| ||||
# 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.
| Предупреждение | ||
|---|---|---|
| ||
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.
| Блок кода | ||||
|---|---|---|---|---|
| ||||
./iwtm-installer-7.11.0.97-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.
| Блок кода | ||||
|---|---|---|---|---|
| ||||
./iwtm-installer-7.11.0.97-rhel7 --optionfile /some_directory/option-file-example --mode unattended --unattendedmodeui minimal |
| Предупреждение | ||
|---|---|---|
| ||
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. |
| Информация | |||||
|---|---|---|---|---|---|
| |||||
If Consul service is configured incorrectly, the following warning message will be displayed: To finish installation, press Enter.
If the error occurs, the installer will not launch Traffic Monitor services when the installation is finished, so you need to start them manually. |
| Информация | ||
|---|---|---|
| ||
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. |
| Якорь | ||||
|---|---|---|---|---|
|
| Раскрыть | ||
|---|---|---|
| ||
For this:
|
Full composition of parameter file
The table below contains full list of possible parameters and their default values.
| Информация | ||
|---|---|---|
| ||
|
| Scroll Table Layout | ||
|---|---|---|
|
| Name | Default value | Valid values | Description | Note |
|---|---|---|---|---|
use_debug | 0 | 0, 1 | Enabling the scripts debug mode, which are a part of the installer | The parameter is used to collect the detailed logs in case of errors occured while the installer operation |
skip_check_swap | 0 | 0, 1 | Disabling the check of Swap space volume | |
skip_check_space | 0 | 0, 1 | Disabling the check of free space volume on disk | |
skip_check_ram | 0 | 0, 1 | Disabling the check of RAM volume | |
skip_check_network | 0 | 0, 1 | Disabling the check of available network | |
skip_check_tmp | 0 | 0, 1 | Disabling the check of temporary directory | |
skip_check_home | 0 | 0, 1 | Disabling the check of home directory | |
setup_cron_jobs | 1 | 0, 1 | Set targets for cron planner | |
log_dir | /var/log/infowatch/install | | Path to log files directory | |
eula |
| 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_type | tme | tme, tms | Traffic Monitor edition type | |
product_language | rus | rus, eng | Main product language | |
installation_type | all_in_one | distributed, all_in_one | Installation type | In case Traffic Monitor Enterprise edition is selected (product_type=tme) |
template_database | 0 | 0, 1 | Install Database template | In case distributed installation is selected (installation_type=distributed) |
template_indexer | 0 | 0, 1 | Install Indexer template | |
template_web | 0 | 0, 1 | Install Web console template | |
template_interceptors | 0 | 0, 1 | Install Interceptors template | |
db_classification_lang_ru | 1 | 0, 1 | Set Russian for classification base | In case All-in-One installation type ( For Postgres Pro Enterprise, Jatoba and Tantor DBMS only remote variant is supported |
db_classification_lang_en | 0 | 0, 1 | Set English for classification base | |
db_classification_lang_ma | 0 | 0, 1 | Malay is set for classification base | |
db_installation_type | local | local, remote | Database location | |
db_type | postgresql | oracle, postgresql | Selecting DBMS | Available when edition type is Traffic Monitor Enterprise ( If you install Traffic Monitor on Red Hat Enterprise Linux 8, Oracle Linux 8, AlmaLinux 8 or Rocky Linux 8 OS, select If you are going to use Postgres Pro Enterprise, Jatoba or Tantor DBMS, select |
db_server_address | iwtm | | 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 ( To install Traffic Monitor on the same server with already deployed DBMS Postgres Pro Enterprise, specify the address: |
db_server_port | | | Server port with database | |
db_name | postgres or iwtm (according to db_type parameter) | | Database name | |
db_sysdba_password | xxXX1234 | | Password of SYSDBA user | |
db_scheme_owner_name | iwtm | | Name of database security scheme owner | In 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_password | xxXX1234 | | Пароль владельца схемы базы данных | In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected |
db_linux_user_name | iwtm_linux | | Name of Linux services user | |
db_linux_user_password | xxXX1234 | | Password of Linux services user | |
db_web_user_name | iwtm_web | | Name of web services user | |
db_web_user_password | xxXX1234 | | Password of web services user | |
db_nagios_user | iwtm_nagios | | Name of nagios user | |
db_nagios_password | xxXX1234 | | Password of nagios user | |
db_auth_change_defaults | 0 | 0, 1 | Change the default database connection parameters | |
db_storage_type | normal |
| Data storage mode | |
db_storage_main_tbs_path | /u02/<ora|pg>data | Path to main tablespace | ||
db_storage_dtbs_paths_number | 1 | 1 - 10 | Number of paths to daily tablespaces | |
db_storage_fast_disk_path | /u03/<ora|pg>data | Path to directory where daily tablespaces are stored on fast drive | In 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_disk | 7 | Storage period of daily tablespaces data on fast drives, in days | ||
db_storage_change_defaults | 0 | 0, 1 | Change 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 ( | |
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 stored | In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected | |
db_days_before_archiving_nonviolations | 45 | Number of days to store events without 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_nonviolations=1 | |
db_archive_nonviolations | 0 | 0, 1 | Archive events without violations | In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected |
db_days_before_archiving_violations | 45 | Number of days to store events with violations before archiving | In case All-in-One installation type ( | |
db_archive_violations | 0 | 0, 1 | Archive events with violations | In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected |
db_days_before_archiving_screenshots | 45 | | Number of days to store screenshots 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_screenshots=1 |
db_archive_screenshots | 0 | 0, 1 | Archive screenshot events | In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected |
db_archiving_dtbs_change_defaults | 0 | 0, 1 | Change default archiving parameters | |
db_days_before_removing_nonviolations | 90 | | Number of days to store events without violations before deleting | In 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_nonviolations | 0 | 0, 1 | Delete events without violations | In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected |
db_days_before_removing_violations | 90 | | Number of days to store events with violations before deleting | In 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_violations | 0 | 0, 1 | Delete events with violations | In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected |
db_days_before_removing_screenshots | 90 | | Number of days to store screenshot events before deleting | In 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_screenshots | 0 | 0, 1 | Delete screenshot events | In case All-in-One installation type (installation_type=all_in_one) or Database template (template_database=1) is selected |
db_removing_dtbs_change_defaults | 0 | 0, 1 | Change default deleting parameters | |
use_data_storage | 0 | 0, 1 | Use external storage of binary data – Data Storage | In case All-in-One installation type ( You can find the actual value of the token:
|
ds_set_uri | myplatform.infowatch.ru | hostname or IP address of the server on which the storage is installed | ||
ds_set_port | 40731 | Port for connecting to Data Storage | ||
ds_set_token | 1exwo92iwpczl1hy6jxy | Data Storage authorization token | ||
consul_bind_addr | <list_of_ip_addresses> | | Consul network interface address | |
consul_mode |
| server, client | Consul operation mode, server and client | |
consul_datacenter_name | iwtm | | Consul data center name | |
consul_node_name | <hostname> | | Node name | |
consul_retryjoin_manual | | | List of Consul agents | |
consul_retryjoin_port | 8301 | | Port to connect Consul agents | |
ntp_manual_addr | | | NTP server address | In case NTP server manual specification is selected (ntp_mode=ntp_manual_addr) |
ntp_mode | ntp_use_system | ntp_use_system, ntp_manual_addr | NTP server type:
| |
sphinx_server_address | | | Sphinx server address | In case Web console template (template_web=1) is selected and Indexer template (template_indexer=0) is not selected |
sphinx_exact_match_words | 0 | 0, 1 | Enable exact word match indexing | In case All-in-One installation type (installation_type=all_in_one) or Indexer template (template_indexer=1) is selected |
sphinx_change_language_settings | 0 | 0, 1 | Change list of sphinx languages | |
sphinx_langs | rus | rus 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 | List of sphinx languages | Sequence of languages defines the priority |
ocr_enabled | 1 | 0, 1 | Enable OCR using | In case All-in-One installation type ( |
ocr_type | ts |
| Selecting OCR extractor:
| In case All-in-One installation type ( |
ocr_finereader_mode | quality | quick, quality | OCR ABBYY FineReader operation mode | In case OCR ABBYFineReader ( |
ocr_finereader_have_license | 1 | 0, 1 | License issued for OCR ABBYY FineReader | |
db_unpack_dir | /tmp/iwtm_installer/database | Line – path to directory | DB archive will be unpacked to derictory | Directory will be created automatically. In case the installation is over with no completes without errors, the directory will be removed automatically. |
packages_unpack_dir | /tmp/iwtm_installer/packages | Line – path to directory | Traffic Monitor installation packages will be unpacked to directory | Directory will be created automatically. In case the installation is over with no completes without errors, the directory will be removed automatically. |




