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

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

Ключ

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

Для работы

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

    Убедитесь, что все сервисы запущены, выполнив команду:

    Блок кода
    kubectl get pods -n infowatch
    Команда выведет список сервисов. Каждый сервис должен иметь статус Running.
Информация
titleПримечание:
Multiexcerpt include
MultiExcerptName
Multiexcerpt include
MultiExcerptNameDD_Short_Name
PageWithExcerptExcerpt Source

shouldDisplayInlineCommentsInIncludesfalse скрипты инсталлятора:
  • Включают ротацию и удаление лог-файлов (о ротации и удалении лог-файлов см.
    Multiexcerpt include
    MultiExcerptNameDD_Full_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Руководство администратора. Ротация лог-файлов
    ).
  • Для увеличения скорости сканирования создают конфигурационный файл /etc/sysctl.d/discovery.conf, чтобы изменить настройки подсистемы Inotify следующими параметрами:

    Блок кодаfs.inotify.max_user_instances = 32768 fs.inotify.max_user_

    в ОС должны быть дополнены настройки подсистемы inotify.

    Для этого:

    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

    Рекомендуем не понижать значения параметров.

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

    The Data Discovery installer allows you to install the product with minimal user interaction. To do this, run the installation program specifying all the required parameters on the command line.

    Before running the Data Discovery 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 server for installation ("Подготовка сервера"). 
    3. Create a new directory on the disk (e.g., distr_discovery):

      Блок кода
      mkdir distr_discovery
    4. Copy the iw_discovery_setup_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_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 default, the values that the installer offers interactively are specified.

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

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

    KeyDefault valueAvailable valuesDescription--nodemodecentralcentral, officeThe Platform installation mode--productmodecentralcentral, officeThe product installation mode--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 free disk space check:

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

    Note: 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 check for 8 GB of RAM--chmemsize80%1-100% or a numeric value
    If you do not specify %, then the specified value will be treated as the volume in GBAmount of RAM used for Clickhouse data--chdbpath/opt/chdataPath for placing ClickHouse data--natspath/opt/natsdataPath for placing NATS data--pgdbpath/opt/pgdataPath for placing PostgreSQL data --dsdatapath/opt/dsdataPath for placing binary data--advertise0.0.0.0IP 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

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

    --nodelabelofficeThe node label.
    Specify the value when installing the Platform office node--tpspath/opt/disctpsSpecify the path for storing scanned files. This path will be used on all servers of the Data Discovery cluster.
    Specify the value when installing the Platform 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:
      ./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
      Блок кода
      titleExample command to install the branch Platform and Data Discovery in the office mode:
      ./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
    1. 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.
    2. Wait for the Data Discovery installation to complete.

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

      Блок кода
      ./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:

    3. 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").
    4. 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
      1. При наличии конфигурационного файла пропустите два следующих шага инструкции.

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

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

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

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

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

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

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

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

    6. Для использования продукта подключитесь к веб-интерфейсу Центра расследований. Для этого введите в браузере адрес и порт центральной Платформы.
    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 in the command line.

    Before running the

    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
      Multiexcerpt include
      MultiExcerptNameDD_Short_Name
      PageWithExcerptExcerpt Source
      shouldDisplayInlineCommentsInIncludesfalse
      server for installation (see Подготовка сервера). 
    3. Create a new directory on the disk (for example, distr_discovery):

      Блок кода
      mkdir distr_discovery
    4. Copy the
      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
      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. The specified default values are the values offered by the installer in interactive mode.

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

    If you do not specify 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 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% 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 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

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

    To install

    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 central Platform and Data Discovery in the central mode:
      ./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
      Блок кода
      titleExample command to install the office Platform and Data Discovery in the office mode:
      ./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. 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
      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


    5. 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
    6. 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. Ротация лог-файлов
      ).

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