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

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

Ключ

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


Инсталлятор

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
    (см. "Подготовка сервера").
  3. Создайте новую директорию на диске (например, distr_discovery):

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

    Блок кода
    tar -xvf iw_discovery_setup_2.1.0.152.tar.xz

Ознакомьтесь со списком ключей в таблице ниже, с . С их помощью вы можете можно указать инсталлятору параметры установки продукта. Указанные значения по умолчанию - – значения, предлагаемые инсталлятором в интерактивном режиме.

Информация
titleПримечание:
Если вы не укажете режимы установки Платформы и продукта, инсталлятор использует значение central.
КлючЗначение по умолчаниюДоступные значенияОписание
--nodemodecentralcentral, officeРежим установки Платформы.
--productmodecentralcentral, officeРежим установки продукта.
--externalK8S
TrueИспользование kubernetes Kubernetes из репозиториев ОС Альт СП.
--locruru, enЛокализация продукта, язык для предустановленных сущностей.
Параметр необязателен для запуска инсталлятора.
--licagreeny, yes, n, noПринятие лицензионного соглашения.
--disable-check-free-disk--

Отключение проверки свободного места на диске:

  • 20 Гбайт ГБ для размещения образов; 
  • 100 Гбайт ГБ для размещения данных в указанных директориях.

Примечание: Если если директории для хранения данных находятся на разных дисках, то проверятся проверится наличие 100 Гбайт ГБ свободного места на каждом из них.

--disable-check-total-ram--Отключение проверки объема 8 ГБ ОЗУ на компьютере в 8 ГБ.
--chmemsize80%1-100% 1–100% или числовое значение.
Если не указать %, указанное значение будет принято за объем в GBГБ.
Объем оперативной памяти, используемой для данных ClickhouseClickHouse.
--chdbpath/opt/chdata
Путь для размещения данных ClickHouse.
--natspath/opt/natsdata
Путь для размещения данных NATS.
--pgdbpath/opt/pgdata
Путь для размещения файлов базы данных PostgreSQL.
--dsdatapath/opt/dsdata
Путь, где будут располагаться бинарные данные.
--advertise0.0.0.0
IP-адрес сетевого интерфейса, на котором работает сервис kubelet.
Указывайте при установке центральной ноды Платформы.
--guiport443

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

--cluster

Адрес центральной ноды Платформы в кластере.
Указывайте при установке офисной ноды Платформы.
--clustertoken

Токен для подключения к центральной ноде Платформы.
Чтобы получить токен, в терминале центральной ноды Платформы выполните команду:

Блок кода
kubeadm token list

Указывайте при установке офисной ноды Платформы.

--nodelabeloffice
Лейбл ноды.
Указывайте при установке офисной ноды Платформы.
--tpspath/opt/disctps

Укажите путь для хранилища просканированных файлов. Этот путь будет использоваться на всех серверах

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
кластера.
Указывайте при установке центральной ноды
Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
.

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

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
:

  1. Раскрыть
    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
  2. Запустите программу установки

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    с указанием параметров.

    Блок кода
    titleПример команды установки центральной Платформы и продукта в режиме central:
    ./setup.py install --nodemode=central --productmode=central --licagree=yes --advertise=0.0.0.0 --chmemsize=80% --chdbpath=/opt/chdata --pgdbpath=/opt/pgdata --dsdatapath=/opt/dsdata --guiport=443 --natspath=/opt/natsdata --tpspath=/opt/disctps
    Блок кода
    titleПример команды установки офисной Платформы и продукта в режиме office:
    ./setup.py install --nodemode=office --productmode=office --licagree=yes --nodelabel=lv-426 --cluster=10.60.21.188 --clustertoken=bvp2e1.e9zilgwg7v2urtsr --chdbpath=/opt/chdata --chmemsize=80% --natspath=/opt/natsdata --pgdbpath=/opt/pgdata --dsdatapath=/opt/dsdata
  3. Если вы указали все обязательные параметры, инсталлятор запустит установку.
    Если вы не указали часть параметров, инсталлятор запустит интерактивный режим и попросит задать значения.
  4. Дождитесь завершения установки
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    .

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

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

    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
  6. Убедитесь, что все сервисы запущены, выполнив команду:

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

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

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

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

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

  7. Для использования продукта подключитесь к веб-интерфейсу Центра расследований. Для этого введите в браузере адрес и порт центральной Платформы.
The Data Discovery installer allows you to ./setup.py install --nodemode=central --productmode=central --licagree=yes --advertise=0.0.0.0 --chmemsize=80% --chdbpath=/opt/chdata --pgdbpath=/opt/pgdata --dsdatapath=/opt/dsdata --guiport=443 --natspath=/opt/natsdata --tpspath=/opt/disctps

Sv translation
languageen

With the

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
installer, you can install the product with minimal user interaction. To do this, run the installation program specifying all the required parameters on in the command line.

Before running the Data Discovery

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
installer:

  1. Make sure that your server meets the hardware and software requirements (see "Data Discovery Installation Types").
  2. Follow the steps to prepare the Data Discovery
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    server for installation ("see Подготовка сервера"). 
  3. Create a new directory on the disk (e.g., for example, distr_discovery):

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

    Блок кода
    tar -xvf iw_discovery_setup_2.1.0.152.tar.xz

Check out the list of keys in the table below. You can use these keys to specify the product installation parameters for the installer. By The specified default , values are the values that offered by the installer offers interactively are specifiedin interactive mode.

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

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

KeyDefault valueAvailable valuesDescription
--nodemodecentralcentral, officeThe Platform installation mode.
--productmodecentralcentral, officeThe product installation mode.
--externalK8S
TrueUsing Kubernetes from the OS Alt SP repositories.
--locruru, enProduct localization, the language that is used for pre-installed entities.
The parameter is optional to run the installer.
--licagreeny, yes, n, noAccepting the license agreement.
--disable-check-free-disk--

Whether to disable the free disk space check:

  • 20 GB to store images;
  • 100 GB to store data in specified directories.

Note: If if directories for storing data are located on different disks, the installer checks if 100 GB of free space is available on each of them.

--disable-check-total-ram--Whether to disable the check for 8 GB of RAM.
--chmemsize80%1-100% 1–100% or a numeric value.
If you do not specify %, then the specified value will be treated as the volume in GB.
Amount of RAM used for Clickhouse ClickHouse data.
--chdbpath/opt/chdata
Path for placing ClickHouse data.
--natspath/opt/natsdata
Path for placing NATS data.
--pgdbpath/opt/pgdata
Path for placing PostgreSQL data .
--dsdatapath/opt/dsdata

Path for placing binary data.

--advertise0.0.0.0
IP address of the network interface on which the kubelet service is running.
Specify the value when installing the Platform central node.
--guiport443

Web interface connection port.
Specify the value when installing the Platform central node.

--cluster

Address of the Platform central node in the cluster.
Specify the value when installing the Platform office node.
--clustertoken

The token to connect to the Platform central node.
To get the token, in the Platform central node terminal, run the command:

Блок кода
kubeadm token list

Specify the value when installing the Platform office node.

--nodelabeloffice
The node label.
Specify the value when installing the Platform office node.
--tpspath/opt/disctps

Specify the path for storing scanned files. This path will be used on all servers of the

Data Discovery

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
cluster.
Specify the value when installing the

Platform

Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
central node

To install Data Discovery:

Run the Data Discovery installer with specifying parameters.

Блок кода
titleExample command to install the cental Platform and Data Discovery in the central mode:
Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
:

  1. Раскрыть
    titleTo install the product on OS Alt SP 10:

    Use Kubernetes from the OS repositories.
    To do this:

    1. Follow the steps for 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
  2. Run the

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    installer with these parameters specified.

    Блок кода
    titleExample command to install the branch central Platform and Data Discovery in the office central mode:
    ./setup.py install --nodemode=officecentral --productmode=officecentral --licagree=yes --nodelabel=lv-426 --cluster=10.60.21.188advertise=0.0.0.0 --clustertokenchmemsize=bvp2e1.e9zilgwg7v2urtsr80% --chdbpath=/opt/chdata --chmemsize=80%pgdbpath=/opt/pgdata --natspathdsdatapath=/opt/natsdatadsdata --guiport=443 --pgdbpathnatspath=/opt/pgdatanatsdata --dsdatapathtpspath=/opt/dsdata
  3. If you have specified all required parameters, the installer will start the installation.
    If you have not specified some of the parameters, the installer will start the interactive mode and ask you to specify the values.
  4. Wait for the Data Discovery installation to complete.

    To display information about the Platform and products in the cluster, run the command:

    Блок кода
    disctps
    Блок кода
    titleExample command to install the office Platform and Data Discovery in the office mode:
    ./setup.py showproducts

    Make sure that all services are running. For this, run the command:

    Блок кода
    kubectl get pods -n infowatch
    The command will display the list of services. Each service should have the Running status.
    Информация
    titleNote:

    After installing Data Discovery, the installer scripts:

  5. Enable rotation and deletion of log files (for more information about log file rotation and deletion, see "InfoWatch Data Discovery. Administration Guide", "Log File Rotation").
  6. To increase scanning speed, in the/etc/sysctl.d/discovery.conf configuration file, these scripts supplement settings of the Inotify subsystem with the following parameters:
    Блок кода
    fs.inotify.max_user_instances = 32768
    fs.inotify.max_user_watches = 32768
    fs.inotify.max_queued_events = 262144
    We recommend not decreasing the parameter values
    install --nodemode=office --productmode=office --licagree=yes --nodelabel=lv-426 --cluster=10.60.21.188 --clustertoken=bvp2e1.e9zilgwg7v2urtsr --chdbpath=/opt/chdata --chmemsize=80% --natspath=/opt/natsdata --pgdbpath=/opt/pgdata --dsdatapath=/opt/dsdata
  7. If you have specified all required parameters, the installer will start the installation.
    If you have not specified some of the parameters, the installer will start the interactive mode and ask you to specify the values.
  8. Wait for the
    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    installation to complete
    .

    To display information about the Platform and products in the cluster, run the command:

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


  9. For

    Multiexcerpt include
    MultiExcerptNameDD_Short_Name
    PageWithExcerptExcerpt Source
    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
  10. Make sure that all services are running. To do this, run the command:

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

    The command will display 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
    Multiexcerpt include
    MultiExcerptNameDD_Full_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Administration Guide. Ротация лог-файлов
    ).

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