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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space DML and version 7.21
Sv translation
languageru

Возможные режимы установки Device Monitor:

  • Установка "Все-в-одном" предполагает размещение Сервера Device Monitor и Платформы с веб-интерфейсом Центра расследований и Центра администрирования на одном сервере.

  • Распределенная установка

...

  • Серверов Device Monitor

...

  • как совместно с другими продуктами InfoWatch на разных нодах Платформы, так и в разных филиалах компании.

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

    При распределенной установке примите во внимание следующие ключевые аспекты:

    • Продукты в кластере должны быть установлены на одной версии Платформы. Если вы установите в кластер продукт на новой версии Платформы, для корректной работы вам будет необходимо обновить все продукты.
    • В одном кластере можно развернуть только одну центральную ноду Платформы и каждый продукт в режиме central только в единственном экземпляре.
    • Если в кластере уже установлен продукт в режиме central, еще одна установка этого продукта в режиме central в том же кластере будет прервана ошибкой.
    • Device Monitor поддерживает установку только в режиме central. При этом он поддерживает установку как на центральную, так и на офисные ноды Платформы.

    Продукты в одном кластере имеют:

    • доступ ко всей функциональности в в интерфейсе Центра расследований, едином для всех продуктов;
    • общие настройки;
    • общую ролевую модель;
    • общий доступ к данным независимо от того, на каком из них выполнена интеграция с источником, а также доступ к обработанным данным.


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

При переходе с ОС Windows на Device Monitor for Linux вы можете сохранить данные, т.е. продолжить использовать ту же базу данных, которая использовалась с сервером Device Monitor for Windows. Во время миграции автоматически модифицируется структура и содержимое базы данных. Для корректной миграции:

Установка в режиме "Все-в-одном"

Режим подходит для установки веб-интерфейса, Сервера Device Monitor и базы данных на одном сервере, а также при переходе на Device Monitor for Linux с ОС Windows.

Чтобы установить Device Monitor в режиме "все-в-одном":

  1. Убедитесь, что сервер соответствует аппаратным и программным требованиям ("Аппаратно-программные требования").

  2. Выполните шаги по подготовке сервера к установке Device Monitor (см. "Подготовка окружения").
  3. Скопируйте архив с дистрибутивом Сервера Device Monitor на жесткий диск.
  4. Создайте директорию и распакуйте в нее содержимое архива. В примере архив будет распакован в директорию /dmsl_distr:

    Блок кода
    mkdir -p /dmsl_distr && tar xvf dmsl_setup_7.21.0.310.tar.gz -C /dmsl_distr
  5. Перейдите в созданную директорию.
  6. Запустите скрипт setup.sh, который входит в состав дистрибутива:

    Блок кода
    ./setup.sh
    Информация
    titleПримечание:

    В случае ошибки доступа при запуске скрипта, сделайте файл исполняемым, используя команду:

    Блок кода
    languagetext
    chmod +x ./setup.sh

    Затем запустите скрипт.

    После этого будут доступны действия:

    • Install – новая установка
    • Update – обновление установленных компонентов
    • Utilities – переход в меню утилит
    • Exit – выход из программы
  7. Выберите тип установки Install. Будет доступен список компонентов:
    • DM Server Service, Front End – установка "все-в-одном", т.е. установка Сервера Device Monitor и компонента Front End

      Информация
      titleПримечание:
      Компонент Front End необходим для работы Центра администрирования и его необходимо устанавливать, даже если на сервере уже установлен какой-либо продукт на базе Платформы.
    • Front End only – установка только Платформы и веб-интерфейса
    • DM Server Service only – установка только Сервера Device Monitor
  8. Чтобы установить "все-в-одном", выберите DM Server Service, Front End.
  9. Выберите опцию установки сервера Device Monitor:
    • Host, чтобы установить сервер на хосте, или
    • Container (podman), чтобы установить сервер с поддержкой контейнеризации.
  10. Будут предложены режимы установки Платформы с веб-интерфейсом Центра расследований и Центра администрирования:

    • Central – предназначен для установки на основную ноду или в случае отсутствия уже установленного веб-интерфейса.
    • Office – предназначен для распределенной установки. 
  11. Выберите режим Central.
  12. Ознакомьтесь с условиями лицензионного соглашения. Оно содержит несколько страниц. Для перехода на следующую страницу используйте клавишу Enter. 
  13. Введите y, чтобы принять лицензионное соглашение, и нажмите Enter.
  14. Введите IP-адрес сервера в формате IPv4: "xxx.xxx.xxx.xxx" и нажмите Enter.
  15. Выделите объем оперативной памяти для размещения данных ClickHouse (по умолчанию 80%) и нажмите Enter.
  16. Укажите путь для размещения данных ClickHouse (по умолчанию: /opt/chdata) и нажмите Enter.
  17. Укажите путь для размещения данных PostgreSQL (по умолчанию: /opt/pgdata) и нажмите Enter.
  18. Укажите путь для размещения данных NATS (по умолчанию: /opt/natsdata) и нажмите Enter.
  19. Укажите путь для хранения данных (по умолчанию /opt/dsdata) и нажмите Enter.
  20. Укажите путь для временного хранения событий Traffic Monitor перед их загрузкой в Платформу (по умолчанию: /opt/factsldrtmdata) и нажмите Enter.
  21. Укажите порт подключения к веб-интерфейсу (по умолчанию 443) и нажмите Enter.
  22. Дождитесь окончания процесса установки Платформы. Далее будет произведена установка Сервера Device Monitor. При этом:
    1. Будут созданы каталоги:
      • /var/log/iwdms – каталог логов выполнения сервера Device Monitor
      • /opt/iw/dmserver/bin – каталог с файлами сервера Device Monitor
      • /opt/iw/dmserver/queue – каталог файловой очереди
      • /opt/iw/dmserver/log – символическая ссылка на каталог /var/log/iwdms
    2. Добавлен пользователь iwdms с ключом --system, что позволяет запустить под этим пользователем службу, но не дает авторизоваться под этим пользователем в Центра расследований
    3. Распакован zip-файл из data/iwdms инсталляционного пакета в требуемые каталоги. Для вышеуказанных папок в качестве владельца буден назначен пользователь iwdms
    4. В каталоге systemd служб /etc/systemd/system будет добавлен файл манифеста службы Сервера Device Monitor iwdms.service, а также службы синхронизации c Active Directory – iwdms_ldap.service 
  23. Выберите язык устанавливаемого сервера и нажмите Enter. Это определит названия предустановленных групп, политик и правил.
  24. Ознакомьтесь с лицензионным соглашением и выберите необходимое действие. Для продолжения установки необходимо принять лицензионное соглашение. Выберите Accept and continue и нажмите Enter
  25. Выберите, какой тип сервера необходимо установить: Primary (основной) или Secondary (второстепенный).
    Если вы устанавливаете Систему впервые или переходите с Device Monitor, установленном на ОС Windows, выберите Primary.
  26. Настройте взаимодействие с базой данных:
    • Create a new database – чтобы создать новую базу данных. Используйте этот вариант для чистой установки;
    • Update an existing database – чтобы настроить существующую базу данных. Используйте этот вариант для установки с миграцией данных.
  27. Укажите имя или IP-адрес сервера, на котором располагается СУБД PostgreSQL. Если вы устанавливаете Device Monitor с миграцией данных, используйте СУБД PostgreSQL, ранее используемую для установки Сервера Device Monitor на ОС Windows.
    Если ранее вы выбрали опцию установки Container (podman) и разместили базу данных на одном сервере с Device Monitor, то введите адрес сетевого интерфейса этого сервера. Предварительно настройте базу данных (подробнее см. "Подготовка окружения").

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

    При выбранной опции установки Container (podman) нельзя вводить в качестве IP-адреса localhost и 127.0.0.1.

  28. Укажите порт для настройки взаимодействия. Если порт не указан, будет использован порт по умолчанию – 5432.
  29. Введите имя базы данных. По умолчанию – iwdm.
  30. Введите имя пользователя СУБД. По умолчанию – postgres.

  31. Введите пароль.
  32. Выберите Yes, чтобы установить сервис распространения дистрибутивов. В этом случае точка распространения сможет распространять дистрибутивы агентов на рабочие станции. Если вы ранее выбрали опцию установки сервера Container (podman), то сервис распространения дистрибутивов будет также установлен с поддержкой контейнеризации.
  33. Если ранее вы выбрали Primary (основной сервер), то укажите путь до PFX-файла ключа шифрования канала между Сервером Device Monitor и агентами. Если путь не указывать, то будет использован путь, предложенный по умолчанию, – /opt/iw/dmserver/ssl.pfx .
  34. Если вы устанавливаете Сервер на новую БД, то ключ шифрования необходимо создать. Выберите Yes.
  35. Далее можно выбрать тип развертывания:
    1. Interact with Traffic Monitor – с возможностью отправки событий в Traffic Monitor;
    2. Operate autonomously – работать автономно, без интеграции с Traffic Monitor.

      Предупреждение
      titleВажно!
      При выборе автономного режима работы в политиках по умолчанию не будут созданы предустановленные правила.
      Информация
      titleПримечание:

      После установки вы можете переключить автономный режим в веб-интерфейсе в разделе Настройки → Серверы

      Multiexcerpt include
      MultiExcerptNameDM_Short_Name
      PageWithExcerptExcerpt Source
      .

  36. Если на предыдущем шаге вы выбрали Interact with Traffic Monitor, то введите имя сервера или его IP-адрес.

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

    Имя сервера может содержать латинские буквы от «a» до «z» (без учета регистра), цифры от «0» до «9» и знак дефиса "-". Оно не должно состоять только из цифр. Рекомендуется использовать имя сервера, начинающееся с буквы.

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

    Если после установки необходимо изменить адрес InfoWatch Traffic Monitor, вы можете сделать это в базе данных сервера Device Monitor:

    • поле TRAFFIC_MONITOR_POLICY_SERVER_ADDRESS таблицы Settings – содержит адрес сервера Traffic Monitor, который используется всеми серверами пула Device Monitor – основным и вспомогательными – для получения политики Traffic Monitor и ее распространения на агенты;
    • поле TmAddress таблицы ServerOption – содержит адрес сервера Traffic Monitor, на который отправляются события из Device Monitor. В этой таблице поле TmAddress может присутствовать несколько раз (по количеству серверов в пуле).
  37. Если запрошен токен доступа к Traffic Monitor, введите его значение.
    Для успешного соединения Сервера Device Monitor с Сервером Traffic Monitor необходимо настроить проверку сертификата удаленного сервера (подробнее см. далее в разделе "Настройка проверки сертификатов удаленных серверов").

  38. Если вы выбрали Update an existing database, то запускается проверка на наличие неподдерживаемых для настройки правил в новой версии Device Monitor. В случае, если обнаружено неподдерживаемые правила, то миграция завершится с ошибкой. В этом случае рекомендуем обратиться в службу технической поддержки InfoWatch.

  39. Если вы выбрали Update an existing database и планируете использовать модуль Device Control, правила и белые списки, выберите Using Device Control is required, migrate rules and white lists. Подождите, пока правила Device Control и белые списки будут мигрированы на новую версию. Если использование Device Control не планируется, выберите Using Device Control is not required, delete rules and white lists.
  40. Введите IP-адрес Сервера Device Monitor.
  41. При первичной установке Сервера Device Monitor и базы данных доступна загрузка пользовательского файла конфигурации с политиками и настройками по умолчанию. Чтобы загрузить файл, введите путь до него, например, /root/configuration.zip. В этом случае все существующие настройки и элементы конфигурации будут заменены на импортированные.
    Чтобы пропустить этот шаг, нажмите Enter.

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

    Файл конфигурации должен быть расположен на локальном диске или внешнем носителе. Не поддерживается загрузка файла из сетевой папки.

  42. Дождитесь окончания установки.
    Если вы устанавливаете "все-в-одном" и ранее выбрали опцию установки DM Server Service, Front End, то будут автоматически:

    • получен и записан в Device Monitor открытый ключ службы guard Платформы, необходимый для корректного взаимодействия веб-интерфейса с Сервером;
    • исправлен файл n.yaml.

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

      Любой продукт, который будет установлен в Центре расследований после Device Monitor, сгенерирует новый файл n.yaml, и из него будет удалена секция, которая необходима для корректного взаимодействия веб-интерфейса с Сервером. Чтобы восстановить n.yaml, выполните шаги 43a-43d.

  43. Если вы устанавливаете веб-интерфейс на базе Платформы и Сервер Device Monitor по очереди, используя опции установки Front End only и DM Server Service only, то действия с ключом службы guard Платформы и файлом n.yaml из предыдущего шага не будут выполнены автоматически. После установки Платформы и Сервера осуществите их с помощью инсталлятора. Для этого:

    1. Запустите скрипт установки:

      Блок кода
      ./setup.sh 
    2. Выберите в меню пункт Utilities. Раздел содержит утилиты:
      1. Fix n.yaml file – утилита для автоматического внесения в n.yaml необходимых настроек. Выберите этот пункт, если на текущем компьютере установлена Платформа с веб-интерфейсом Центра расследований и основной сервер Device Monitor. Это действие также следует производить после установки любого продукта в Центр расследований;

      2. Save platform guard public key to IWDM Service – если на текущем компьютере установлен Device Monitor в роли основного сервера, а также Платформа (в любом из режимов central или office), то с помощью запуска этой утилиты можно автоматически получить открытый ключ службы guard Платформы и сохранить его в каталог сервера;
      3. Show IWDM Service version – утилита показывает версию установленного сервера;
      4. Export ssl key – утилита позволяет экспортировать ключ защиты канала "агент-сервер". 
    3. Выберите Fix n.yaml file.
    4. Введите IP-адрес Сервера Device Monitor и дождитесь окончания процесса.
    5. Запустите скрипт установки:

      Блок кода
      ./setup.sh 
    6. Выберите в меню пункт Utilities и далее Save platform guard public key to IWDM Service. Дождитесь окончания процесса.
    7. Перезапустите службу iwdms:

      Блок кода
      systemctl restart iwdms
Предупреждение
titleВажно!

Для подключения к веб-интерфейсу Центра расследований всегда используйте адрес или имя сервера, на котором установлена Платформа в режиме central

Распределенная установка Device Monitor

Распределенная установка нужна, когда организация использует также и другие продукты InfoWatch и/или имеет структуру с центральным офисом и филиалами. В этом случае можно установить

...

основной Сервер Device Monitor на

...

компьютер с

...

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

Чтобы установить основной сервер Device Monitor в режиме распределенной установки:

  1. Убедитесь, что сервер соответствует аппаратным и программным требованиям ("Аппаратно-программные требования").

  2. Выполните шаги по подготовке сервера к установке Device Monitor (см. "Подготовка окружения").
  3. Скопируйте архив с дистрибутивом Сервера Device Monitor на жесткий диск другого компьютера.
  4. Создайте директорию и распакуйте в нее содержимое архива. В примере архив будет распакован в директорию /dmsl_distr:

    Блок кода
    mkdir -p /dmsl_distr && tar xvf dmsl_setup_7.21.0.310.tar.gz -C /dmsl_distr
  5. Перейдите в созданную директорию.
  6. Запустите скрипт setup.sh, который входит в состав дистрибутива:

    Блок кода
    ./setup.sh
    Информация
    titleПримечание:

    В случае ошибки доступа при запуске скрипта, сделайте файл исполняемым, используя команду:

    Блок кода
    languagetext
    chmod +x ./setup.sh

    Затем запустите скрипт.

  7. Выберите тип установки Install. Будет доступен список компонентов:
    • DM Server Service, Front End – установка "все-в-одном", т.е. установка Сервера Device Monitor и компонента Front End

      Информация
      titleПримечание:
      Компонент Front End необходим для работы Центра администрирования и его необходимо устанавливать, даже если на сервере уже установлен какой-либо продукт на базе Платформы.
    • Front End only – установка только Платформы и веб-интерфейса
    • DM Server Service only – установка только Сервера Device Monitor
  8. Выберите DM Server Service, Front End.
  9. Выберите опцию установки сервера Device Monitor:
    • Host, чтобы установить сервер на хосте, или
    • Container (podman), чтобы установить сервер с поддержкой контейнеризации.
  10. Будут предложены режимы установки Платформы с веб-интерфейсом Центра расследований и Центра администрирования:

    • Central – предназначен для установки на основную ноду или в случае отсутствия уже установленного веб-интерфейса.
    • Office – предназначен для распределенной установки. 
  11. Выберите режим Office.
  12. Ознакомьтесь с условиями лицензионного соглашения. Оно содержит несколько страниц. Для перехода на следующую страницу используйте клавишу Enter. 
  13. Введите y, чтобы принять лицензионное соглашение, и нажмите Enter.
  14. Введите IP-адрес центральной ноды Платформы, установленной ранее.
  15. Получите токен центральной ноды. Для этого на сервере с центральной нодой выполните команду:

    Блок кода
    kubeadm token list
  16. Скопируйте полученный токен.
  17. Введите полученный токен на офисной ноде Платформы и нажмите Enter.
  18. Укажите лейбл для офисной ноды Платформы.
  19. Выделите объем оперативной памяти для размещения данных ClickHouse (по умолчанию 80%) и нажмите Enter.
  20. Укажите путь для размещения данных ClickHouse (по умолчанию: /opt/chdata) и нажмите Enter.
  21. Укажите путь для размещения данных PostgreSQL (по умолчанию: /opt/pgdata) и нажмите Enter.
  22. Укажите путь для размещения данных NATS (по умолчанию: /opt/natsdata) и нажмите Enter.
  23. Укажите путь для хранения данных (по умолчанию /opt/dsdata) и нажмите Enter.
  24. Укажите путь для временного хранения событий Traffic Monitor перед их загрузкой в Платформу (по умолчанию: /opt/factsldrtmdata) и нажмите Enter.
  25. Дождитесь окончания процесса установки офисной ноды Платформы. Далее будет произведена установка Сервера Device Monitor. При этом:
    1. Будут созданы каталоги:
      • /var/log/iwdms – каталог логов выполнения сервера Device Monitor
      • /opt/iw/dmserver/bin – каталог с файлами сервера Device Monitor
      • /opt/iw/dmserver/queue – каталог файловой очереди
      • /opt/iw/dmserver/log – символическая ссылка на каталог /var/log/iwdms
    2. Добавлен пользователь iwdms с ключом --system, что позволяет запустить под этим пользователем службу, но не дает авторизоваться под этим пользователем в Центра расследований
    3. Распакован zip-файл из data/iwdms инсталляционного пакета в требуемые каталоги. Для вышеуказанных папок в качестве владельца буден назначен пользователь iwdms
    4. В каталоге systemd служб /etc/systemd/system будет добавлен файл манифеста службы Сервера Device Monitor iwdms.service, а также службы синхронизации c Active Directory – iwdms_ldap.service
  26. Выберите язык устанавливаемого сервера и нажмите Enter. Это определит названия предустановленных групп, политик и правил.
  27. Ознакомьтесь с лицензионным соглашением и выберите необходимое действие. Для продолжения установки необходимо принять лицензионное соглашение. Выберите Accept and continue и нажмите Enter
  28. Выберите основной (Primary) тип сервера для установки.
  29. Настройте взаимодействие с базой данных:
    • Create a new database – чтобы создать новую базу данных. Используйте этот вариант для чистой установки;
    • Update an existing database – чтобы настроить существующую базу данных. Используйте этот вариант для установки с миграцией данных.
  30. Укажите имя или IP-адрес сервера, на котором располагается СУБД PostgreSQL. Если вы устанавливаете Device Monitor с миграцией данных, используйте СУБД PostgreSQL, ранее используемую для установки Сервера Device Monitor на ОС Windows.
    Если ранее вы выбрали опцию установки Container (podman) и разместили базу данных на одном сервере с Device Monitor, то введите адрес сетевого интерфейса этого сервера. Предварительно настройте базу данных (подробнее см. "Подготовка окружения").

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

    При выбранной опции установки Container (podman) нельзя вводить в качестве IP-адреса localhost и 127.0.0.1.

  31. Укажите порт для настройки взаимодействия. Если порт не указан, будет использован порт по умолчанию – 5432.
  32. Введите имя базы данных. По умолчанию – iwdm.
  33. Введите имя пользователя СУБД. По умолчанию – postgres.

  34. Введите пароль.
  35. Выберите Yes, чтобы установить сервис распространения дистрибутивов. В этом случае точка распространения сможет распространять дистрибутивы агентов на рабочие станции. Если вы ранее выбрали опцию установки сервера Container (podman), то сервис распространения дистрибутивов будет также установлен с поддержкой контейнеризации.
  36. Укажите путь до PFX-файла ключа шифрования канала между Сервером Device Monitor и агентами. Если путь не указывать, то будет использован путь, предложенный по умолчанию, – /opt/iw/dmserver/ssl.pfx
  37. Если вы устанавливаете Сервер на новую БД, то ключ шифрования необходимо создать. Выберите Yes.
  38. Далее можно выбрать тип развертывания:
    1. Interact with Traffic Monitor – с возможностью отправки событий в Traffic Monitor;
    2. Operate autonomously – работать автономно, без интеграции с Traffic Monitor.

      Предупреждение
      titleВажно!
      При выборе автономного режима работы в политиках по умолчанию не будут созданы предустановленные правила.
      Информация
      titleПримечание:

      После установки вы можете переключить автономный режим в веб-интерфейсе в разделе Настройки → Серверы

      Multiexcerpt include
      MultiExcerptNameDM_Short_Name
      PageWithExcerptExcerpt Source
      .

  39. Если на предыдущем шаге вы выбрали Interact with Traffic Monitor, то введите имя сервера или его IP-адрес.

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

    Имя сервера может содержать латинские буквы от «a» до «z» (без учета регистра), цифры от «0» до «9» и знак дефиса "-". Оно не должно состоять только из цифр. Рекомендуется использовать имя сервера, начинающееся с буквы.

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

    Если после установки необходимо изменить адрес InfoWatch Traffic Monitor, вы можете сделать это в базе данных сервера Device Monitor:

    • поле TRAFFIC_MONITOR_POLICY_SERVER_ADDRESS таблицы Settings – содержит адрес сервера Traffic Monitor, который используется всеми серверами пула Device Monitor – основным и вспомогательными – для получения политики Traffic Monitor и ее распространения на агенты;
    • поле TmAddress таблицы ServerOption – содержит адрес сервера Traffic Monitor, на который отправляются события из Device Monitor. В этой таблице поле TmAddress может присутствовать несколько раз (по количеству серверов в пуле).
  40. Если запрошен токен доступа к Traffic Monitor, введите его значение.
    Для успешного соединения Сервера Device Monitor с Сервером Traffic Monitor необходимо настроить проверку сертификата удаленного сервера (подробнее см. далее в разделе "Настройка проверки сертификатов удаленных серверов").

  41. Если вы выбрали Update an existing database, то запускается проверка на наличие неподдерживаемых для настройки правил в новой версии Device Monitor. В случае, если обнаружено неподдерживаемые правила, то миграция завершится с ошибкой. В этом случае рекомендуем обратиться в службу технической поддержки InfoWatch.

  42. Если вы выбрали Update an existing database и планируете использовать модуль Device Control, правила и белые списки, выберите Using Device Control is required, migrate rules and white lists. Подождите, пока правила Device Control и белые списки будут мигрированы на новую версию. Если использование Device Control не планируется, выберите Using Device Control is not required, delete rules and white lists.
  43. Введите IP-адрес Сервера Device Monitor.
  44. При первичной установке Сервера Device Monitor и базы данных доступна загрузка пользовательского файла конфигурации с политиками и настройками по умолчанию. Чтобы загрузить файл, введите путь до него, например, /root/configuration.zip. В этом случае все существующие настройки и элементы конфигурации будут заменены на импортированные.
    Чтобы пропустить этот шаг, нажмите Enter.

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

    Файл конфигурации должен быть расположен на локальном диске или внешнем носителе. Не поддерживается загрузка файла из сетевой папки.

  45. Дождитесь окончания установки.
    Если вы устанавливаете "все-в-одном" на офисную ноду Платформы и выбрали опцию установки DM Server Service, Front End, то будут автоматически:

    • получен и записан в Device Monitor открытый ключ службы guard Платформы, необходимый для корректного взаимодействия веб-интерфейса с Сервером;
    • исправлен файл n.yaml.

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

      Любой продукт, который будет установлен в Центре расследований после Device Monitor, сгенерирует новый файл n.yaml, и из него будет удалена секция, которая необходима для корректного взаимодействия веб-интерфейса с Сервером. Чтобы восстановить n.yaml, выполните шаги 46a-46d.

  46. Если вы устанавливаете веб-интерфейс на базе Платформы и Сервер Device Monitor по очереди, используя опции установки Front End only и DM Server Service only, то действия с ключом службы guard Платформы и файлом n.yaml из предыдущего шага не будут выполнены автоматически. После установки осуществите их с помощью инсталлятора. Для этого:

    1. Запустите скрипт установки:

      Блок кода
      ./setup.sh 
    2. Выберите в меню пункт Utilities.
    3. Выберите Fix n.yaml file.
    4. Введите IP-адрес Сервера Device Monitor и дождитесь окончания процесса.
    5. Запустите скрипт установки:

      Блок кода
      ./setup.sh 
    6. Выберите в меню пункт Utilities и далее Save platform guard public key to IWDM Service. Дождитесь окончания процесса.
    7. Перезапустите службу iwdms:

      Блок кода
      systemctl restart iwdms

      Далее установите вспомогательный сервер Device Monitor. 

Установка вспомогательного сервера

...

Если вы хотите контролировать большое количество рабочих станций, в том числе находящихся в разных филиалах компании, в дополнение к основному серверу

...

, установите один или несколько вспомогательных серверов.

...

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

Чтобы установить вспомогательный сервер Device Monitor:

  1. Убедитесь, что сервер соответствует аппаратным и программным требованиям ("Аппаратно-программные требования").

  2. Выполните шаги по подготовке сервера к установке Device Monitor (см. "Подготовка окружения").
  3. Скопируйте архив с дистрибутивом Сервера Device Monitor на жесткий диск.
  4. Создайте директорию и распакуйте в нее содержимое архива. В примере архив будет распакован в директорию /dmsl_distr:

    Блок кода
    mkdir -p /dmsl_distr && tar xvf dmsl_setup_7.21.0.310.tar.gz -C /dmsl_distr
  5. Перейдите в созданную директорию.
  6. Запустите скрипт setup.sh, который входит в состав дистрибутива:

    Блок кода
    ./setup.sh
    Информация
    titleПримечание:

    В случае ошибки доступа при запуске скрипта, сделайте файл исполняемым, используя команду:

    Блок кода
    languagetext
    chmod +x ./setup.sh

    Затем запустите скрипт.

  7. Выберите Install.
  8. Выберите DM Server Service only.
  9. Выберите опцию установки сервера Device Monitor:
    • Host, чтобы установить сервер на хосте, или
    • Container (podman), чтобы установить сервер с поддержкой контейнеризации.
  10. Выберите язык устанавливаемого сервера и нажмите Enter. Это определит названия предустановленных групп, политик и правил.
  11. Ознакомьтесь с лицензионным соглашением и выберите необходимое действие. Для продолжения установки необходимо принять лицензионное соглашение. Выберите Accept and continue и нажмите Enter
  12. Выберите вспомогательный (Secondary) тип сервера для установки.
  13. Укажите имя или IP-адрес сервера, на котором располагается СУБД PostgreSQL.
    Здесь и далее указывайте те же параметры СУБД, которые вы указали при установке основного сервера.

  14. Укажите порт для настройки взаимодействия. Если порт не указан, будет использован порт по умолчанию – 5432.
  15. Введите имя базы данных. По умолчанию – iwdm.
  16. Введите имя пользователя СУБД. По умолчанию – postgres.

  17. Введите пароль.
  18. Выберите Yes, чтобы установить сервис распространения дистрибутивов. В этом случае точка распространения сможет распространять дистрибутивы агентов на рабочие станции. Если вы ранее выбрали опцию установки сервера Container (podman), то сервис распространения дистрибутивов будет также установлен с поддержкой контейнеризации.
  19. Дождитесь окончания установки.


В случае успешной установки будет запущена служба Сервера Device Monitor. Служба будет помечена как запускаемая автоматически. Чтобы проверить, запущена ли служба сервера Device Monitor, выполните команду:

Блок кода
systemctl status iwdms

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


Sv translation
languageen


Possible Device Monitor installation options:

  • All‑in‑one option involves hosting the Device Monitor Server and the Platform with the web interface of the Investigation Centre and the Administration Centre on a single server.

  • Distributed installation of the Device Monitor Server on the office node of the Platform.

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

    When using a distributed installation, take into account the following key aspects:

    • Products in the cluster must be installed on the same version of the Platform. If you install a product in the cluster on a new version of the Platform, you will need to update all products for them to work correctly.
    • In a single cluster, you can deploy only one central node of the Platform, and each product in central mode can exist in only one instance.
    • If a product is already installed in the cluster in central mode, another installation of this product in the central mode in the same cluster will fail with an error.
    • Device Monitor supports installation only in the central mode. At the same time, it supports installation on both the central and office nodes of the Platform.

    Products in the same cluster have:

    • access to all functionality in the Investigation Centre interface, which is the same for all products;
    • common settings;
    • common role model;
    • shared access to data regardless of which product is integrated with the source, as well as access to processed data.


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

When migrating from Windows to Device Monitor for Linux, you can save the data, meaning you can continue using the same database that was used with the server of Device Monitor for Windows. During the migration, the structure and contents of the database are automatically modified. To ensure correct migration:

"All‑in‑one" installationmode

This mode is suitable for installing the web interface, the Device Monitor Server, and the database on a single server, as well as when transitioning to Device Monitor for Linux from Windows.

To install Device Monitor in "All‑in‑one" mode:

  1. Make sure the server meets the hardware and software requirements (see Аппаратно-программные требования).

  2. Follow the steps to prepare the server for Device Monitor installation (see Подготовка окружения).

  3. Copy the archive containing the Device Monitor Server distribution kit to the hard drive.

  4. Create a directory and unpack the contents of the archive into it. In the example, the archive will be unpacked into the /dmsl_distr directory:

    Блок кода
    mkdir -p /dmsl_distr && tar xvf dmsl_setup_7.21.0.310.tar.gz -C /dmsl_distr
  5. Go to the created directory.
  6. Run the setup.sh script, which is included in the distribution kit:

    Блок кода
    ./setup.sh
    Информация
    titleNote:

    If you encounter a permission error when running the script, make the file executable using the command:

    Блок кода
    languagetext
    chmod +x ./setup.sh

    Then run the script.

    After that, the following actions will be available:

    • Install – new installation;
    • Update – updating installed components;
    • Utilities – going to the utilities menu;
    • Exit – exiting the program.
  7. Select the installation type Install. A list of components will be available:
    • DM Server Service, Front End – "All‑in‑one" installation, meaning the installation of the Device Monitor Server and the Front End component;

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

      The Front End component is required for the work of the Administration Centre and needs to be installed even if another Platform-based product is already installed on the server.

    • Front End only – installation of the Platform and the web interface only;
    • DM Server Service only – installation of the Device Monitor Server only.
  8. For "All‑in‑one" installation, select DM Server Service, Front End.
  9. Select the Device Monitor server installation option:
    • Host, to install the server on a host; or
    • Container (podman), to install the server with containerisation support.
  10. Installation modes for the Platform with the web interface of the Investigation Centre and the Administration Centre will be proposed to you:

    • Central – intended for installation on the primary node or if there is no already installed web interface;
    • Office – intended for distributed installation.
  11. Select the mode Central.
  12. View the terms of the license agreement. It contains several pages. To go to the next page, press Enter. 
  13. Type "y" to accept the license agreement and press Enter.
  14. Enter the IP-address of the server in the IPv4 format: "xxx.xxx.xxx.xxx" and press Enter.
  15. Allocate RAM to host ClickHouse data (by default, 80%) and press Enter.
  16. Specify the path to place ClickHouse data (by default: /opt/chdata) and press Enter.
  17. Specify the path to place PostgreSQL data (by default: /opt/pgdata) and press Enter.
  18. Specify the path to place NATS data (by default: /opt/natsdata) and press Enter.
  19. Specify the path to place data (by default: /opt/dsdata) and press Enter.
  20. Specify the path to temporarily place Traffic Monitor events before loading them to the Platform (by default: /opt/factsldrtmdata) and press Enter.
  21. Specify the port for connecting to the web interface (by default, 443) and press Enter.
  22. Wait for the Platform installation to complete. The Device Monitor Server will be installed next. At the same time:
    1. Folders will be created:
      • /var/log/iwdms – folder for the Device Monitor server execution logs;
      • /opt/iw/dmserver/bin – folder with the Device Monitor server files;
      • /opt/iw/dmserver/queue – file queue folder;
      • /opt/iw/dmserver/log – symbolic link to the folder /var/log/iwdms
    2. iwdms user with the key --system will be added, making it possible to run the service under this user, but not allowing to log in as this user in the Investigation Centre.
    3. A ZIP file from data/iwdms of the installation package will be unpacked into the required folders. The iwdms user will be assigned as an owner for the aforementioned folders.
    4. In the systemd folder of the services /etc/systemd/system, the file of the manifest of the Device Monitor Server service iwdms.service will be added, as well as services for syncing with Active Directory – iwdms_ldap.service.
  23. Select the language of the server being installed and press Enter. This will determine the names of the preinstalled groups, policies, and rules.
  24. Read the license agreement and select the required action. To continue the installation, you need to accept the license agreement. Select Accept and continue and press Enter.
  25. Select the type of server you need to install: Primary or Secondary.
    If you are installing the System for the first time or switch from Device Monitor that is installed on Windows, select Primary.
  26. Configure interaction with the database:
    • Create a new database – to create a new database. Use this option for a clean installation;
    • Update an existing database – to configure the existing database. Use this option to install with data migration.
  27. Specify the name or the IP address of the server where the PostgreSQL DBMS is located. If you are installing Device Monitor with data migration, use the PostgreSQL DBMS that was used to install the Device Monitor Server on Windows.
    If you previously selected the installation option Container (podman) and placed the database on the same server with Device Monitor, then enter the address of the network interface of this server. Before this, configure the database (see Подготовка окружения).

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

    If you selected the installation option Container (podman), you cannot enter localhost or 127.0.0.1 as an IP address.

  28. Specify the port for configuring interaction. If you do not specify it, the default 5432 port will be used.
  29. Enter the name of the database. By default – iwdm.
  30. Enter the name of the DBMS user. By default – postgres.

  31. Enter the password.
  32. Select Yes to install the distribution service. In this case, the distribution point will be able to spread the agent distribution kits to workstations. If you previously selected the Container (podman) server installation option, then the distribution service will also be installed with the containerisation support.
  33. If you previously selected the Primary server, then specify the path to the PFX file of the key that encrypts the channel between the Device Monitor Server and the agents. If you do not specify the path, then the default /opt/iw/dmserver/ssl.pfx path will be used.
  34. If you are installing the Server to the new database, then you need to create the encryption key. Select Yes.
  35. Next, you can select the deployment type:
    1. Interact with Traffic Monitor – with the option to send events to Traffic Monitor;
    2. Operate autonomously – autonomous work without integration with Traffic Monitor.

      Предупреждение
      titleImportant!
      When selecting the autonomous work mode, no predefined rules will be created in the policies by default.
      Информация
      titleNote:

      After the installation, you can switch the autonomous mode in the section Settings →

      Multiexcerpt include
      MultiExcerptNameDM_Short_Name
      PageWithExcerptExcerpt Source
      useIncluderPageContexttrue
      servers.

  36. If you selected Interact with Traffic Monitor on the previous step, then enter the name of the server or its IP address.

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

    The server name may contain Latin letters from "a" to "z" (case-insensitive), numbers from "0" to "9", and the hyphen "-". It cannot consist of numbers only. We recommend using the server name that starts with a letter.

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

    If you need to change the InfoWatch Traffic Monitor address after the installation, you can do it in the Device Monitor server database:

    • the field TRAFFIC_MONITOR_POLICY_SERVER_ADDRESS of the table Settings contains the address of the Traffic Monitor server that is used by all servers of the Device Monitor pool (both primary and secondary) to obtain the Traffic Monitor policy and distribute it to the agents;
    • the TmAddress field in the ServerOption table contains the address of the Traffic Monitor server to which events from Device Monitor are sent. In this table, the TmAddress field may appear multiple times (depending on the number of servers in the pool).
  37. If an access token to Traffic Monitor is requested, enter its value.
    To successfully connect the Device Monitor Server with the Traffic Monitor Server, you need to configure the remote server certificate validation (see Настройка проверки сертификатов удаленных серверов).

  38. If you selected Update an existing database, a check if there are rules that do not support configuration in the new version of Device Monitor is launched. If unsupported rules are detected, the migration will fail. In this case, we recommend contacting the InfoWatch technical support.

  39. If you selected Update an existing database and plan to use the Device Control module, rules, and white lists, select Using Device Control is required, migrate rules and white lists. Wait until the Device Control rules and white lists are migrated to the new version. If you do not plan to use Device Control, select Using Device Control is not required, delete rules and white lists.
  40. Enter the IP address of the Device Monitor server.
  41. During the initial installation of the Device Monitor Server and the database, you can load a custom configuration file with default policies and settings. To load the file, enter the path to it, such as /root/configuration.zip. In this case, all existing settings and configuration elements will be replaced with the imported ones.
    To skip this step, press Enter.

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

    The configuration file needs to be placed on a local disk or external storage device. Loading the file from a network folder is not supported.

  42. Wait for the installation to complete.
    If you are installing in "All-in-one" mode and have previously selected the DM Server Service, Front End option, the following actions will be performed automatically:

    • the public key of the guard service of the Platform will be obtained and recorded in Device Monitor. The key is required for the correct interaction between the web interface and the Server;
    • the n.yaml file will be corrected.

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

      Any product that will be installed in the Investigation Centre after Device Monitor will generate a new n.yaml file, and the section that is necessary for the correct interaction of the web interface with the Server will be deleted from it. To restore n.yaml, follow the steps 43a–43d.

  43. If you install the web interface on the Platform basis and the Device Monitor Server in sequence, using the Front End only and DM Server Service only installation options, the actions involving the Platform's guard service key and the n.yaml file from the previous step will not be performed automatically. After installing the Platform and the Server, perform them using the installer. To do this:

    1. Run the installation script:

      Блок кода
      ./setup.sh
    2. Select Utilities from the menu. The section contains utilities:
      1. Fix n.yaml file – the utility for automatically adding the required settings to n.yaml. Select this option if the Platform with the web interface of the Investigation Centre and the primary Device Monitor server are installed on the current computer. You also need to perform this action after installing any product in the Investigation Centre;

      2. Save platform guard public key to IWDM Service – if Device Monitor is installed on the current computer as the primary server, and the Platform is also installed (in either the central or office mode), then, by running this utility, you can automatically get the public key of the guard service of the Platform and save it to the server directory;
      3. Show IWDM Service version – the utility displays the version of the installed server;
      4. Export ssl key – the utility allows you to export the agent‑server channel protection key.
    3. Select Fix n.yaml file.
    4. Enter the IP address of the Device Monitor server and wait for the process to complete.
    5. Run the installation script:

      Блок кода
      ./setup.sh 
    6. Select Utilities from the menu and then Save platform guard public key to IWDM Service. Wait for the process to complete.
    7. Restart the iwdms service:

      Блок кода
      systemctl restart iwdms
Предупреждение
titleImportant!

To connect to the Investigation Centre web interface, always use the address or name of the server where the Platform is installed in the central mode.

Distributed installation of Device Monitor

A distributed installation is required when an organization also uses other InfoWatch products and/or has a structure with a central office and branches. In this case, you can install one or more Device Monitor Servers on computers with the Platform office nodes, where other InfoWatch products may also be installed.

To install the primary Device Monitor server in the distributed mode:

  1. Make sure the server meets the hardware and software requirements (see Аппаратно-программные требования).

  2. Follow the steps to prepare the server for the Device Monitor installation (see Подготовка окружения).
  3. Copy the archive containing the Device Monitor Server distribution kit to the hard drive of another computer.
  4. Create a directory and unpack the contents of the archive into it. In the example, the archive will be unpacked into the /dmsl_distr directory:

    Блок кода
    mkdir -p /dmsl_distr && tar xvf dmsl_setup_7.21.0.310.tar.gz -C /dmsl_distr
  5. Go to the created directory.
  6. Run the setup.sh script, which is included in the distribution kit:

    Блок кода
    ./setup.sh
    Информация
    titleNote:

    If you encounter a permission error when running the script, make the file executable using the command:

    Блок кода
    languagetext
    chmod +x ./setup.sh

    Then run the script.

  7. Select the installation type Install. A list of components will be available:
    • DM Server Service, Front End – "All‑in‑one" installation, that is installing the Device Monitor Server and the Front End component;

      Информация
      titleNote:
      The Front End component is required for the work of the Administration Centre and needs to be installed even if another Platform-based product is already installed on the server.
    • Front End only – installing only the Platform and the web interface;
    • DM Server Service only – installing only the Device Monitor Server.
  8. Select DM Server Service, Front End.
  9. Select the Device Monitor server installation option:
    • Host, to install the server on the host; or
    • Container (podman), to install a server with containerization support.
  10. Installation modes for the Platform with a web interface of the Investigation Centre and the Administration Centre will be provided:

    • Central – intended for installation on the primary node or in the absence of an already installed web interface;
    • Office – intended for distributed installation. 
  11. Select the Office mode.
  12. View the terms of the license agreement. It contains several pages. To go to the next page, press Enter. 
  13. Type "y" to accept the license agreement and press Enter.
  14. Enter the IP address of the central node of the Platform that was installed earlier.
  15. Get the token for the central node. To do this, run the following command on the server with the central node:

    Блок кода
    kubeadm token list
  16. Copy the received token.
  17. Enter the token on the Platform office node and press Enter.
  18. Specify the label for the Platform office node.
  19. Allocate RAM to host ClickHouse data (by default, 80%) and press Enter.
  20. Specify the path to place ClickHouse data (by default: /opt/chdata) and press Enter.
  21. Specify the path to place PostgreSQL data (by default: /opt/pgdata) and press Enter.
  22. Specify the path to place NATS data (by default: /opt/natsdata) and press Enter.
  23. Specify the path to place data (by default: /opt/dsdata) and press Enter.
  24. Specify the path to temporarily place Traffic Monitor events before loading them to the Platform (by default: /opt/factsldrtmdata) and press Enter.
  25. Wait for the installation of the office node of the Platform to complete. Next, the Device Monitor Server will be installed. At the same time:
    1. Folders will be created:
      • /var/log/iwdms – folder for the Device Monitor server execution logs;
      • /opt/iw/dmserver/bin – folder with the Device Monitor server files;
      • /opt/iw/dmserver/queue – file queue folder;
      • /opt/iw/dmserver/log – symbolic link to the folder/var/log/iwdms
    2. iwdms user with the key --system will be added, making it possible to run the service under this user, but not allowing to log in as this user in the Investigation Centre.
    3. A ZIP file from data/iwdms of the installation package will be unpacked into the required folders. The iwdms user will be assigned as an owner for the aforementioned folders.
    4. In the systemd folder of the services /etc/systemd/system, the file of the manifest of the Device Monitor Server service iwdms.service will be added, as well as services for syncing with Active Directory – iwdms_ldap.service.
  26. Select the language of the server being installed and press Enter. This will determine the names of the preinstalled groups, policies, and rules.
  27. Read the license agreement and select the required action. To continue the installation, you need to accept the license agreement. Select Accept and continue and press Enter.
  28. Select the Primary server type to install.
  29. Configure the interaction with the database:
    • Create a new database – to create a new database. Use this option for a clean installation;
    • Update an existing database – to configure the existing database. Use this option to install with data migration.
  30. Specify the name or the IP address of the server where the PostgreSQL DBMS is located. If you are installing Device Monitor with data migration, use the PostgreSQL DBMS that was used to install the Device Monitor Server on Windows.
    If you previously selected the installation option Container (podman) and placed the database on the same server with Device Monitor, then enter the address of the network interface of this server. Before this, configure the database (see Подготовка окружения).

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

    If you selected the installation option Container (podman), you cannot enter localhost or 127.0.0.1 as an IP address.

  31. Specify the port for configuring interaction. If you do not specify it, the default 5432 port will be used.
  32. Enter the name of the database. By default – iwdm.
  33. Enter the name of the DBMS user. By default – postgres.
  34. Enter the password.
  35. Select Yes to install the distribution service. In this case, the distribution point will be able to spread the agent distribution kits to workstations. If you previously selected the Container (podman) server installation option, then the distribution service will also be installed with the containerisation support.
  36. Specify the path to the PFX file of the key that encrypts the channel between the Device Monitor Server and the agents. If you do not specify the path, then the default /opt/iw/dmserver/ssl.pfx path will be used.
  37. If you are installing the Server to the new database, then you need to create the encryption key. Select Yes.
  38. Next, you can select the deployment type:
    1. Interact with Traffic Monitor – with the option to send events to Traffic Monitor;
    2. Operate autonomously – autonomous work without integration with Traffic Monitor.

      Предупреждение
      titleImportant!
      When selecting the autonomous work mode, no predefined rules will be created in the policies by default.
      Информация
      titleNote:

      After the installation, you can switch the autonomous mode in the section Settings →

      Multiexcerpt include
      MultiExcerptNameDM_Short_Name
      PageWithExcerptExcerpt Source
      useIncluderPageContexttrue
       servers.

  39. If you selected Interact with Traffic Monitor on the previous step, then enter the name of the server or its IP address.

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

    The server name may contain Latin letters from "a" to "z" (case-insensitive), numbers from "0" to "9", and the hyphen "-". It cannot consist of numbers only. We recommend using the server name that starts with a letter.

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

    If you need to change the InfoWatch Traffic Monitor address after the installation, you can do it in the Device Monitor server database:

    • the field TRAFFIC_MONITOR_POLICY_SERVER_ADDRESS of the table Settings contains the address of the Traffic Monitor server that is used by all servers of the Device Monitor pool (both primary and secondary) to obtain the Traffic Monitor policy and distribute it to the agents;
    • the TmAddress field in the ServerOption table contains the address of the Traffic Monitor server to which events from Device Monitor are sent. In this table, the TmAddress field may appear multiple times (depending on the number of servers in the pool).
  40. If an access token to Traffic Monitor is requested, enter its value.
    To successfully connect the Device Monitor Server with the Traffic Monitor Server, you need to configure the remote server certificate validation (see Настройка проверки сертификатов удаленных серверов).

  41. If you selected Update an existing database, a check if there are rules that do not support configuration in the new version of Device Monitor is launched. If unsupported rules are detected, the migration will fail. In this case, we recommend contacting the InfoWatch technical support.
  42. If you selected Update an existing database and plan to use the Device Control module, rules, and white lists, select Using Device Control is required, migrate rules and white lists. Wait until the Device Control rules and white lists are migrated to the new version. If you do not plan to use Device Control, select Using Device Control is not required, delete rules and white lists.
  43. Enter the IP address of the Device Monitor server.
  44. During the initial installation of the Device Monitor Server and the database, you can load a custom configuration file with default policies and settings. To load the file, enter the path to it, such as /root/configuration.zip. In this case, all existing settings and configuration elements will be replaced with the imported ones.
    To skip this step, press Enter.

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

    The configuration file needs to be placed on a local disk or external storage device. Loading the file from a network folder is not supported.

  45. Wait for the installation to complete.
    If you are installing in "All-in-one" mode to the office node of the Platform and have previously selected the DM Server Service, Front End option, the following actions will be performed automatically:

    • the public key of the guard service of the Platform will be obtained and recorded in Device Monitor. The key is required for the correct interaction between the web interface and the Server;
    • the n.yaml file will be corrected.

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

      Any product that will be installed in the Investigation Centre after Device Monitor will generate a new n.yaml file, and the section that is necessary for the correct interaction of the web interface with the Server will be deleted from it. To restore n.yaml, follow the steps 46a-46d.

  46. If you install the web interface on the Platform basis and the Device Monitor Server in sequence, using the Front End only and DM Server Service only installation options, the actions involving the Platform's guard service key and the n.yaml file from the previous step will not be performed automatically. After installation, perform them using the installer. To do this:

    1. Run the installation script:

      Блок кода
      ./setup.sh 
    2. Select Utilities from the menu.
    3. Select Fix n.yaml file.
    4. Enter the IP address of the Device Monitor server and wait for the process to complete.
    5. Run the installation script:

      Блок кода
      ./setup.sh 
    6. Select Utilities from the menu and then Save platform guard public key to IWDM Service. Wait for the process to complete.
    7. Restart the iwdms service:

      Блок кода
      systemctl restart iwdms

Installation of a secondary server

Regardless of the installation mode, you can install one or more secondary servers in addition to the primary one.

To install the Device Monitor secondary server:

  1. Make sure the server meets the hardware and software requirements (see Аппаратно-программные требования).

  2. Follow the steps to prepare the server for Device Monitor installation (see Подготовка окружения).
  3. Copy the archive containing the Device Monitor Server distribution kit to the hard drive.
  4. Create a directory and unpack the contents of the archive into it. In the example, the archive will be unpacked into the /dmsl_distr directory:

    Блок кода
    mkdir -p /dmsl_distr && tar xvf dmsl_setup_7.21.0.310.tar.gz -C /dmsl_distr
  5. Go to the created directory.
  6. Run the setup.sh script, which is included in the distribution kit:

    Блок кода
    ./setup.sh
    Информация
    titleNote:

    If you encounter a permission error when running the script, make the file executable using the command:

    Блок кода
    languagetext
    chmod +x ./setup.sh

    Then run the script.

  7. Select Install.
  8. Select DM Server Service only.
  9. Select the Device Monitor server installation option:
    • Host, to install the server on a host; or
    • Container (podman), to install the server with containerisation support.
  10. Select the language of the server being installed and press Enter. This will determine the names of the preinstalled groups, policies, and rules.
  11. Read the license agreement and select the required action. To continue the installation, you need to accept the license agreement. Select Accept and continue and press Enter.
  12. Select the Secondary server type to install.
  13. Specify the name or the IP address of the server where the PostgreSQL DBMS is located.
    Here and below, specify the same DBMS parameters that you specified when installing the primary server.

  14. Specify the port for configuring interaction. If you do not specify it, the default 5432 port will be used.
  15. Enter the name of the database. By default – iwdm.
  16. Enter the name of the DBMS user. By default – postgres.
  17. Enter the password.
  18. Select Yes to install the distribution service. In this case, the distribution point will be able to spread the agent distribution kits to workstations. If you previously selected the Container (podman) server installation option, then the distribution service will also be installed with the containerisation support.
  19. Wait for the installation to complete.

If the installation is successful, the Device Monitor Server service will be started. The service will be marked as automatically starting. To check whether the Device Monitor server service is running, run the command:

Блок кода
systemctl status iwdms

Next, go to the Investigation Centre. To connect to the web interface of the Investigation Centre, always use the address or name of the server where the Platform is installed in central mode. If the product in central mode is installed on the office node of the Platform, still use the central node of the Platform for work.