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

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

Ключ

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

Инсталлятор Платформы позволяет установить ее с минимальным участием пользователя. Для этого запустите его, указав все нужные параметры в командной строке.

Перед запуском инсталлятора Платформы:

  1. Проверьте соответствие сервера аппаратным и программным требованиям (см. Аппаратные и программные требования).
  2. Подготовьте сервер к установке Платформы (см. Подготовка сервера).
  3. Создайте новую директорию на диске (например, Platform):

    Блок кода
    mkdir Platform
  4. Скопируйте архив с дистрибутивом Платформы iw_platform.tar.xz в созданную директорию.
  5. Перейдите в директорию, в которую скопировали архив.
  6. Распакуйте архив в эту директорию:

    Блок кода
    tar -xvf iw_platform.tar.xz

Ниже приведен список ключей: с их помощью вы можете указать инсталлятору параметры установки продукта.

Ключ

Описание

--nodemode

Режим установки: центральный офис или филиал. Чтобы установить Платформу в режиме филиала, укажите этот параметр со значением office. В режиме центрального офиса параметр можно не указывать.

--chmemsize

Объем оперативной памяти, используемой для данных ClickHouse.

Доступные значения:

  • 1–100% или числовое значение
    Если не указать %, указанное значение будет принято за объем в ГБ.
--disable-check-free-disk

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

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

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

--disable-check-total-ramОтключение проверки наличия на компьютере 8 ГБ ОЗУ.

--chdbpath

Путь для размещения данных ClickHouse.

--pgdbpath

Путь для размещения данных PostgreSQL.

--natspath

Путь для размещения данных NATS.

--dsdatapath

Путь для размещения бинарных данных.

--factsldrtmdatapathПуть для временного размещения событий Traffic Monitor перед их загрузкой в Платформу.
--advertise

IP-адрес сетевого интерфейса, на котором работает сервис kubelet.

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

--guiport

Порт, по которому будет осуществляться подключение к веб-интерфейсу.
Не указывается в случае установки в режиме филиала.
Важно!
При установке на один сервер с Traffic Monitor указывайте порт, отличный от 443: по умолчанию порт 443 используется как порт подключения к веб-интерфейсу Traffic Monitor.

--cluster

Адрес центральной ноды Платформы в кластере.

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

--clustertoken

Токен для подключения к центральной ноде Платформы.

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

Блок кода
kubeadm token list

Создать токен можно с помощью команды:

Блок кода
kubeadm token create

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

--nodelabel

Лейбл ноды Платформы; уникален в пределах кластера. Значение по умолчанию для офисной ноды – office. Если в кластере более одной офисной ноды, нужно задать уникальные лейблы.

--dsslowdatapath

Путь к медленному диску

в случае, если вы планируете хранить на нем архивированные ежедневные табличные пространства

сервера Data Storage. Туда Система будет перемещать бинарные данные при архивировании ежедневных табличных пространств.

Пример:
--dsslowdatapath=/root/slowdisk

Подробнее об архивировании табличных пространств см. InfoWatch Traffic Monitor. Руководство администратора. Архивирование ежедневных табличных пространств.

--dsbackupspath

Путь к хранилищу резервных копий. Должен быть указан для возможности резервного копирования Data Storage.

Пример:
--dsbackupspath=/opt/dsbackups

Подробнее о резервном копировании Data Storage см. InfoWatch Traffic Monitor. Руководство администратора. Создание резервной копии Data Storage

Чтобы установить Платформу:

  1. Запустите инсталлятор Платформы с указанием параметров.

    Раскрыть
    titleПример команды установки центральной ноды Платформы:

    ./setup.py install \
    --advertise=0.0.0.0 \
    --chmemsize=60% \
    --chdbpath=/opt/chdata \
    --pgdbpath=/opt/pgdata \
    --natspath=/opt/natsdata \
    --dsdatapath=/opt/dsdata \
    --factsldrtmdatapath=/opt/factsldrtmdata \
    --guiport=444 \
    --dsslowdatapath=/root/slowdisk

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

  2. Дождитесь завершения установки.
  3. Чтобы вывести на экран информацию о Платформе, выполните команду:

    Блок кода
    ./setup.py showproducts
  4. Убедитесь, что все сервисы запущены, выполнив команду:

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

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

Sv translation
languageen

With Platform installer, you can install it with minimum operations performed by the user. For this, specify all the required parameters in the command line.

Before running the Platform installer:

  1. Make sure your server meets the hardware and software requirements (see Аппаратные и программные требования).
  2. Complete the steps to prepare your server for Platform installation (see Подготовка сервера).
  3. Create a new directory on the disk (such as Platform):

    Блок кода
    mkdir Platform
  4. Copy the iw_platform.tar.xz archive to this directory.
  5. Go to the directory with the copied archive.
  6. Unpack the archive to this directory:

    Блок кода
    tar -xvf iw_platform.tar.xz

Check the list of keys from the table below. You can use them to specify product installation parameters for the installer.

Key

Description

--nodemode

The mode of installation: central or office. To install the Platform in the office mode, specify the office value for this parameter. For the installation in the central mode, you do not need to specify this parameter

--advertise

IP address of the network interface to communicate with the cluster. The default value: 0.0.0.0
Do not specify in case of installation in the office mode

--chmemsize

Amount of RAM used for ClickHouse data

Available values:

  • 1-100% or a numeric value
    If you do not specify %, then the specified value will be treated as the volume in GB
--disable-check-free-disk

Disabling the check of availability of free space on the disk:

  • 20 GB for storing images; 
  • 100 GB for storing data in the directories specified above

Note: If the directories for storing data are located on different disks then the installer will check the availability of 100 GB of free space on each of them

--disable-check-total-ramDisabling the check of availability of 8 GB of RAM on the computer

--chdbpath

Path for placing Clickhouse data

--pgdbpath

Path for placing PostgreSQL data

--natspath

Path for placing NATS data

--dsdatapath

Path for placing binary data

--factsldrtmdatapathPath for temporary placing Traffic Monitor events before loading them into the Platform

--advertise

IP address of the network interface on which the kubelet service is running.

Specify the value when installing the Platform central node.

--guiport

The port for connecting to theweb interface. The default value: 443.
Do not specify in case of installation in the office mode.
Important!
When installing on the same server with Traffic Monitor, specify port different than 443 because port 443 used by default for connecting to the Traffic Monitor web interface

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

You can create a token using the command:

Блок кода
kubeadm token create

Specify the value when installing the Platform office node.

--nodelabel

Label of the Platform node (unique within the cluster). The default value for the office node is office. If the cluster has more than one office node, specify unique labels.

--dsslowdatapath

The path Path to the slow disk if you plan to store archived daily tablespaces on itof the Data Storage server. When archiving daily tablespaces, the System will move binary data there.

Example:
--dsslowdatapath=/root/slowdisk

For details on archiving tablespaces, see InfoWatch Traffic Monitor. Administration Guide. Archiving Daily Tablespaces.

--dsbackupspath

Path to the storage of backups. Specify it to enable Data Storage backuping.

Example:
--dsbackupspath=/opt/dsbackups

For details on backuping Data Storage, see InfoWatch Traffic Monitor. Administration Guide. Creating Data Storage Backup.

To install Platform:

  1. Run the Platform installation program and specify the parameters.

    Раскрыть
    titleExample of a command for installing the Platform central node:

    ./setup.py install \
    --advertise=0.0.0.0 \
    --chmemsize=60% \
    --chdbpath=/opt/chdata \
    --pgdbpath=/opt/pgdata \
    --natspath=/opt/natsdata \
    --dsdatapath=/opt/dsdata \
    --factsldrtmdatapath=/opt/factsldrtmdata \
    --guiport=444 \
    --dsslowdatapath=/root/slowdisk

    If you have not specified values for any required parameters,the installer will start the interactive mode and ask you to specify them. See Установка Платформы for details.

  2. Wait forinstallation to complete.
  3. To display the information about the Platform, run the command:

    Блок кода
    ./setup.py showproducts
  4. Make sure that all services are running. To do this, use the command:

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

    The command displays the list of services. Each service should have the statusRunning.