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

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

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space IDD and version 2.2
Sv translation
languageru
Информация
titleПримечание:

Если вы устанавливаете

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
на сервер, на котором уже установлены другие продукты Центра расследований, инсталлятор не запросит часть параметров, так как эти директории и настройки уже были указаны при первичной установке Платформы.

Чтобы установить

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
:

  1. Проверьте, соответствует ли сервер аппаратным и программным требованиям (см. Типы установки и обновления, совместимость с другими продуктами, аппаратные и программные требования).
  2. Выполните шаги по подготовке сервера к установке

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    (см. Подготовка сервера).

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

    В ходе установки инсталлятор проверит наличие:

    • не менее 100 ГБ на диске для директорий размещения данных ClickHouse, PostgreSQL, NATS и бинарных данных. Эти директории нужно указать при выполнении инструкций по установке. Если директории находятся на разных дисках, то проверится наличие 100 ГБ свободного места на каждом из них;
    • не менее 20 ГБ на диске для директорий с образами; 
    • не менее 8 ГБ ОЗУ;
    • не менее 2 ядер процессора;
    • поддержки инструкции SSE 4.2;
    • установленного пакета conntrack.
  3. Создайте новую директорию на сервере (например, distr_discovery):

    Блок кода
    mkdir distr_discovery
  4. Cкопируйте архив

    Создайте новую директорию на сервере (например, distr_discovery):

    Блок кода
    mkdir distr_discovery
  5. Скопируйте архив
    Multiexcerpt include
    MultiExcerptNameDD_setup package
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    _2.2.X.xxx.tar.xzв созданную директорию.
    В нашем примере будет использована версия 2.2.0.191, то есть архив будет
    Multiexcerpt include
    MultiExcerptNameDD_setup package
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    _2.2.X.xxx.tar.xzв созданную директорию.
    В нашем примере будет использована версия 2.2.0.191, соответственно, архив –
    Multiexcerpt include
    MultiExcerptNameDD_setup package
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    _2.2.0.191.tar.xz.
  6. Перейдите в директорию, в которую был скопирован архив.
  7. Распакуйте архив с дистрибутивом в эту директорию:

    Блок кода
    tar -xvf iw_discovery_setup_2.2.0.191.tar.xz
  8. Раскрыть
    titleДля установки продукта на ОС Альт СП 10:

    Используйте Kubernetes из репозиториев ОС.
    Для этого:

    1. Выполните действия для ОС Альт СП 10 из статьи Подготовка сервера.
      Если вы уже выполнили подготовку, пропустите этот шаг.
    2. Выполните команду:

      Блок кода
      languagebash
      kubectl taint nodes <имя_ноды> node-role.kubernetes.io/control-plane:NoSchedule-

      В нашем примере:

      Блок кода
      languagebash
      kubectl taint nodes ddnode node-role.kubernetes.io/control-plane:NoSchedule-
      
    3. На следующем шаге при запуске инсталлятора дополнительно укажите опцию --externalK8S=True
  9. Запустите программу установки c помощью команды вида:

    Блок кода
    ./setup.py install --nodemode=<режим_установки_Платформы> --productmode=<режим_установки_продукта>

    Чтобы установить:

    • Блок кода
      titleна центральную ноду Платформы продукт в режиме central:
      ./setup.py install --nodemode=central --productmode=central
    • Блок кода
      titleна центральную ноду Платформы продукт в режиме office:
      ./setup.py install --nodemode=central --productmode=office
    • Блок кода
      titleна офисную ноду Платформы продукт в режиме central:
      ./setup.py install --nodemode=office --productmode=central
    • Блок кода
      titleна офисную ноду Платформы продукт в режиме office:
      ./setup.py install --nodemode=office --productmode=office
    Информация
    titleПримечание:

    Если вы не укажете режимы установки Платформы и продукта, инсталлятор по умолчанию выберет режим central.

    Если вы устанавливаете

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    на сервер первым и укажете только параметр --nodemode, инсталлятор использует такое же значение и для параметра --productmode.

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

    Во время установки установленные на сервере продукты Платформы могут быть недоступны продукты Платформы, установленные на сервере..

  10. Ознакомьтесь с условиями лицензионного соглашения. Лицензионное соглашение содержит несколько страниц. Для перехода на следующую страницу нажимайте Enter.
  11. Чтобы принять лицензионное соглашение, введите " y " и нажмите Enter.

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

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

  12. Если вы устанавливаете центральную ноду Платформы (--nodemode=central), введите IP-адрес сетевого интерфейса для взаимодействия с кластером в формате IPv4: "xxx.xxx.xxx.xxx"  (по умолчанию: 0.0.0.0) и нажмите Enter.
    Если указать 0.0.0.0, будут использованы все доступные сетевые интерфейсы.

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

    Здесь и далее для использования значений, предложенных по умолчанию, нажмите нажимайте Enter без ввода значений.

  13. Если вы устанавливаете офисную ноду Платформы (--nodemode=office):
    1. Укажите адрес центральной ноды Платформы в формате IP-адреса или доменного имени (например: 192.0.2.0 или host.example.com).
    2. Укажите токен для подключения к центральной ноде Платформы.
      Чтобы получить токен для подключения к центральной ноде Платформы:
      1. Подключитесь по SSH к консоли управления центральной ноды Платформы по SSH.
      2. Выполните в терминале команду для получения токена:

        Блок кода
        kubeadm token list

        На экран будет выведен токен:

        Токен в нашем примере: 7tit5e.48g51shamcnn7uq5

      3. Укажите лейбл ноды (по умолчанию: office) и нажмите Enter.
        Лейбл может состоять из букв латинского алфавита и/или цифр. Длина лейбла не должна превышать 32 символа.
  14. Выделите объем оперативной памяти для размещения данных ClickHouse (по умолчанию: 80%) и нажмите Enter.
  15. Укажите путь для размещения данных ClickHouse (по умолчанию: /opt/chdata) и нажмите Enter.
  16. Укажите путь для размещения данных PostgreSQL (по умолчанию: /opt/pgdata) и нажмите Enter.
  17. Укажите путь для размещения данных NATS (по умолчанию: /opt/natsdata) и нажмите Enter.
  18. Укажите путь для размещения бинарных данных (по умолчанию: /opt/dsdata) и нажмите Enter.
  19. Укажите путь для временного хранения событий 
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    перед их загрузкой в Платформу (по умолчанию: /opt/factsldrtmdata) и нажмите Enter.
  20. Если вы устанавливаете центральную ноду Платформы, укажите порт подключения к веб-интерфейсу (по умолчанию: 443) и нажмите Enter.
  21. Дождитесь завершения установки Платформы.
  22. Ознакомьтесь с отчетом об установке Платформы.

    При установке центральной ноды Платформы в графе web ui указаны адрес и порт для подключения к веб-интерфейсу (в нашем примере – https://10.60.21.188:443).

  23. Укажите путь для хранилища просканированных файлов (по умолчанию: /opt/disctps) и нажмите Enter. Этот путь будет использоваться на всех серверах

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    кластера.

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

    Директория для хранилища должна быть пустой.

    После установки в хранилище должны находиться только файлы и директории, которые были добавлены

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Если вы добавите другие файлы или директории в хранилище,
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    может работать некорректно.

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

    Рекомендуем, чтобы хранилище сервера находилось в отдельном разделе или диске. О настройке хранилища сервера см.

    Multiexcerpt include
    MultiExcerptNameDD_Full_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Руководство администратора. Зоны и серверы.

  24. Дождитесь завершения установки
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    .
  25. Ознакомьтесь с отчетом об установке продукта:

  26. Чтобы вывести на экран информацию о Платформе и продуктах в кластере, выполните команду:

    Блок кода
    ./setup.py showproducts
  27. Для работы

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    в ОС должны быть дополнены настройки подсистемы Inotifyinotify.

    Для этого:

    1. Проверьте наличие конфигурационного файла /etc/sysctl.d/discovery.conf со следующим содержимым:

      Блок кода
      languagetext
      fs.inotify.max_user_instances = 32768
      fs.inotify.max_user_watches = 32768
      fs.inotify.max_queued_events = 262144

      При наличии конфигурационного файла пропустите два следующих шага инструкции.

    2. Если файл не был создан ранее скриптами инсталлятора, создайте его и добавьте содержимое из предыдущего шага.

    3. Чтобы применить новые настройки подсистемы, выполните команду:

      Блок кода
      sysctl --load=/etc/sysctl.d/discovery.conf
  28. Убедитесь, что все сервисы запущены, выполнив команду:

    Блок кода
    kubectl get pods -n infowatch

    Команда выведет список сервисов. Каждый сервис должен иметь статус Running.

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

    После установки

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    скрипты инсталлятора включают ротацию и удаление лог-файлов (о ротации и удалении лог-файлов см.
    Multiexcerpt include
    MultiExcerptNameDD_Full_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Руководство
    администратора, . Ротация лог-файлов).

  29. Для использования продукта подключитесь к веб-интерфейсу Центра расследований. Для этого введите в браузере адрес и порт центральной ноды Платформы.
Информация
titleПримечание:

Если в кластере с установленным

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
2.2 Платформа обновлена до версии 2.5, для повторного подключения сервиса contentbroker к базе данных перезапустите его.

Раскрыть
titleДля этого:
  1. На любой ноде

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    выполните команду перезапуска:

    Блок кода
    kubectl -n infowatch rollout restart deployment/contentbroker-central
  2. Проверьте статус сервиса с помощью команды:

    Блок кода
    kubectl -n infowatch rollout status deployment/contentbroker-central

Create a new directory on the server (for example, distr_discovery):

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

If you are installing

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
on the a server where other Investigation Centre products are already installed, the installer will not ask for some of the parameters. This happens because these directories and settings were already specified during the initial installation of the Platform.

To install

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
:

  1. Make sure that your server meets the hardware and software requirements (see Data Discovery Installation Types).
  2. Follow the steps to prepare Prepare the server for installing

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    (see Подготовка сервера).

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

    The installer checks for:

    • at least 100 GB of free space available for directories to store data for ClickHouse, PostgreSQL, NATS, as well as binary data. You will specify these directories when following the installation instructions. If the directories for storing data are located on different disks, the installer checks if 100 GB of free space is available on each of them;
    • at least 20 GB of free space available for directories to store images; 
    • at least 8 GB of RAM;
    • at least 2 processor cores;
    • support of SSE 4.2 instructions;
    • conntrack package installed.
  3. Create a new directory on the server (for example, distr_discovery):

Блок кода
Блок кода
mkdir distr_discovery
  • Copy the 
    Multiexcerpt include
    MultiExcerptNameDD_setup package
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    _2.2.X.xxx.tar.xz archive to the created directory.
    Here, we are using version 2.2.0.191, so the archive name is
    Multiexcerpt include
    MultiExcerptNameDD_setup package
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    _2.2.0.191.tar.xz.
  • Open the directory to which you have copied the archive.
  • Unpack the archive with the distribution kit to this directory:

    Блок кода
    tar -xvf iw_discovery_setup_2.2.0.191.tar.xz
  • Раскрыть
    titleTo install the product on OS Alt SP 10:

    Use Kubernetes from the OS repositories.
    To do this:

    1. Follow the steps for OS Alt SP 10 from the article Подготовка сервера.
      If you have already completed the preparation, skip this step.
    2. Run the command:

      Блок кода
      languagebash
      kubectl taint nodes <node_name> node-role.kubernetes.io/control-plane:NoSchedule-

      In our example:

      Блок кода
      languagebash
      kubectl taint nodes ddnode node-role.kubernetes.io/control-plane:NoSchedule-
      
    3. In the next step, when running the installer, additionally specify the option --externalK8S=True
  • Run the installer using the command like:

    Note:
    Блок кода
    ./setup.py install --nodemode=<Platform_installation_mode> --productmode=<product_installation_mode>
    Информация
    title

    To install:

    • Блок кода
      titlethe product in the central mode on the Platform central node:
      ./setup.py install --nodemode=central --productmode=central
    • Блок кода
      titlethe product in the office mode on the Platform central node:
      ./setup.py install --nodemode=central --productmode=office
    • Блок кода
      titlethe product in the central mode on the Platform office node:
      ./setup.py install --nodemode=office --productmode=central
    • Блок кода
      titlethe product in the office mode on the Platform office node:
      ./setup.py install --nodemode=office --productmode=office
      Информация
      titleNote:

      If you do not specify the installation modes for the Platform and the product, the installer will use the default central mode. 

      If

      Multiexcerpt include
      MultiExcerptNameDD_Short_Name
      PageWithExcerptExcerpt Source
      shouldDisplayInlineCommentsInIncludesfalse
       is the first component you are installing on the server and you specify only the --nodemode

     parameter
    • parameter,

    then
    • the installer will use the same value for the --productmode parameter.

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

      During the installation, the Platform products that are already installed on the server may be unavailable. 

  • Read the license agreement. It contains several pages. To go to the next page, press Enter. 
  • To accept the license agreement, type "y" and press Enter.

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

    If you reject the license agreement, the installer will abort the process and exit.

  • If you are installing the Platform central node (--nodemode=central), enter the IP address of the network interface to communicate with the cluster and press Enter. The IP address should be in the IPv4 format: "xxx.xxx.xxx.xxx"  (by default, 0.0.0.0). 
     If you specify 0.0.0.0, all available network interfaces will be used.

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

    Here and below, to use the default values, press Enter without entering any values.

  • If you are installing the Platform office node (--nodemode=office):
    1. Enter the address of the Platform central node in IP address or domain name format (such as , 192.0.2.0 or host.example.com).
    2. Specify the token to connect to the Platform central node.
      To get a token to connect to the Platform central nodethe token:
      1. Connect to the Platform central node management console via SSH.
      2. Run In the terminal, run the command in the terminal to get the token:

        Блок кода
        kubeadm token list

        The token will be displayed on the screen:

        Here, the token is 7tit5e.48g51shamcnn7uq5.

      3. Specify the node label (by default, office) and press Enter.
        The label may consist of letters of the Latin alphabet and/or numbers. The length of the label must not exceed 32 characters.
  • Allocate RAM to host ClickHouse data (by default, 80%) and press Enter.
  • Specify the path to place ClickHouse data (by default, /opt/chdata) and press Enter.
  • Specify the path to place PostgreSQL data (by default, /opt/pgdata) and press Enter.
  • Specify the path to place NATS data (by default, /opt/natsdata) and press Enter.
  • Specify the path to place binary data (by default, /opt/dsdata) and press Enter.
  • Specify the path to temporarily place
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
     events events before uploading them into to the Platform (by default, /opt/factsldrtmdata) and press Enter.
  • If you are installing the Platform central node, specify the port for connecting to the web interface (by default, 443) and press Enter.
  • Wait for the installation of the Platform to complete.
  • Read the Platform installation report.

    If you install the Platform central node, the web ui column contains the address and port for connecting to the web interface (here, https://10.60.21.188:443)

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

    Before installing the product components, the installer scripts create a configuration file /etc/sysctl.d/discovery.conf to change the Inotify subsystem settings with the following parameters:

    Блок кода
    fs.inotify.max_user_instances = 32768
    fs.inotify.max_user_watches = 32768
    fs.inotify.max_queued_events = 262144

    Changes to the Inotify subsystem settings are required to increase the scanning speed, so we do not recommend reducing the parameter values.

  • Specify the path for storing scanned files (by default, /opt/disctps) and press Enter. This path will be used on all servers of the Specify the path for storing scanned files (by default, /opt/disctps) and press Enter. This path will be used on all servers of the

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    cluster.

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

    The storage directory should be empty.

    After installation, the storage should contain only files and directories that were added by

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . If you add other files or directories to the storage,
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse

    cluster

    may not work correctly.

    After installation, the storage should contain only files and directories that were added by

    The storage directory should be empty.

    Предупреждениеinfo
    titleImportant!
    Note:

    We recommend placing the server storage on a separate partition or disk. For more information about configuring the server storage, see

    Multiexcerpt include
    MultiExcerptNameDD_Full_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Administration Guide. Зоны и серверы.

  • Wait for the
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    installation to complete.
  • Read the product installation report:
    Image Added
  • To display information about the Platform and products in the cluster, run the command:

    Блок кода
    . If you add other files or directories to the storage,
    ./setup.py showproducts
  • For

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source

    shouldDisplayInlineCommentsInIncludesfalse may not work correctly.
    Информация
    titleNote:

    We recommend placing the server storage on a separate partition or disk. For more information about configuring the server storage, see

    Multiexcerpt include
    MultiExcerptNameDD_Full_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Administration Guide. Зоны и серверы.

  • Wait for the
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    installation to complete.
  • Read the product installation report:
    Image Removed
  • To display information about the Platform and products in the cluster, run the command:

    Блок кода./setup.py showproducts

    to work, you need to update the settings of the inotify subsystem in the OS.

    To do this:

    1. Check if the /etc/sysctl.d/discovery.conf configuration file with the following content is available:

      Блок кода
      languagetext
      fs.inotify.max_user_instances = 32768
      fs.inotify.max_user_watches = 32768
      fs.inotify.max_queued_events = 262144

      If the configuration file is available, skip the next two steps in the instructions.

    2. If the file was not created by the installer scripts earlier, create it and add the content from the previous step.

    3. To apply the new subsystem settings, run the following command:

      Блок кода
      sysctl --load=/etc/sysctl.d/discovery.conf
  • Make sure that all services are running. For this, use the following command:

    Блок кода
    kubectl get pods -n infowatch

    The command will display a the list of services. Each service should have the status Running.

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

    After installing

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    , the installer scripts enable the rotation and deletion of log files (for more information about log file rotation and deletion, see
    Multiexcerpt include
    MultiExcerptNameDD_Full_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Administration Guide. Ротация лог-файлов).

  • To start using the product, connect to the Investigation Centre web interface. To do this, enter the address and port of the Platform central node in your browser.

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

    If on in the cluster with the

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    2.2 installed the Platform is updated to version 2.5, restart the contentbroker service to reconnect it to the database.

    Раскрыть
    titleTo do this:
    1. On any

      Multiexcerpt include
      MultiExcerptNameDD_Short_Name
      PageWithExcerptExcerpt Source
      node, run the restart command:

      Блок кода
      kubectl -n infowatch rollout restart deployment/contentbroker-central
    2. Check the service status using the command:

      Блок кода
      kubectl -n infowatch rollout status deployment/contentbroker-central