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

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

Ключ

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

Перед установкой Платформы подготовьте сервер:

  1. Программа установки написана на языке Python версии 2.7, поэтому для установки Платформы установите интерпретатор этого языка. Пакет с интерпретатором не входит в состав дистрибутива.
  2. Раскрыть
    titleНа сервере под управлением Red Hat Enterprise Linux и РЕД ОС настройте SELinux.

    Для корректной работы используемого containerd обновите политики SELinux или отключите систему контроля доступа:

    • Чтобы обновить политики SELinux, скачайте и установите пакет container-selinux.
      Вы можете сделать это, выполнив команду:

      Блок кода
      dnf install container-selinux
      Информация
      titleПримечание:

      Пакет не входит в состав дистрибутива продукта.

      Пакет может отсутствовать в репозиториях. В этом случае загрузите и установите его вручную.

    • Чтобы отключить SELinux:
      1. Выполните команды от имени суперпользователя root:

        Блок кода
        setenforce 0
        sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
      2. Перезагрузите сервер с помощью команды:

        Блок кода
        reboot
      3. Проверьте статус системы SELinux с помощью команды:

        Блок кода
        sestatus
  3. Настройте правила POD сети или отключите межсетевой экран (подробнее см. статьи Конфликты при взаимодействии службы firewalld и Kubernetes,  и Полное отключение межсетевого экрана). В противном случае установка Платформы будет невозможна.
  4. Если вы используете антивирус, настройте его для совместной работы с Платформой (см. статью Настройка антивируса для продуктов Платформы).
  5. Платформа использует компонент Kubernetes. Для корректной установки Платформы и работы Kubernetes на сервере должен быть установлен пакет conntrack.
    Убедитесь, что пакет установлен. Для этого введите в командной строке:
    conntrack
    В результате будут выведены сведения о работе с модулем conntrack и его установленная версия.

    Если модуль не установлен, установите его с помощью команды:

    • на компьютере под управлением OC Red Hat Enterprise Linux, РЕД ОС или Oracle:
      yum install conntrack

    • на компьютере под управлением OC Альт Сервер:
      apt-get install conntrack-tools

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

      Если пакета нет в репозитории, скачайте его, перейдите в директорию с пакетом и установите его вручную с помощью команды вида:
      rpm -Uhv ./<имя_пакета>

  6. Если вы устанавливаете Платформу на компьютер под управлением ОС Альт Сервер, установите пакеты:

    • python-modules-json

    • python-modules-distutils

    • python-modules-sqlite3

  7. Если вы устанавливаете Платформу на сервер, где уже установлен Traffic Monitor с локальной базой данных, отключите Huge Pages. Для этого:

    1. Остановите Систему, выполнив команду:
      iwtm stop
    2. Остановите работу СУБД.
      • Если вы используете СУБД PostgreSQL на компьютере под управлением ОС Red Hat Enterprise Linux, РЕД ОС или Oracle, выполните команды следующего вида:
        systemctl stop pgagent-15
        systemctl stop postgresql-15
      • Если вы используете СУБД PostgreSQL на компьютере под управлением ОС Альт Сервер, выполните команды следующего вида:
        systemctl stop pgagent
        systemctl stop postgresql
      • Если вы используете СУБД Oracle:
        1. Откройте Oracle SQL*Plus и подключитесь как пользователь sysdba:
          sqlplus / as sysdba
        2. Выполните команду:
          dbshut $ORACLE_HOME
    3. Задайте нулевое значение параметру Huge Pages.

      • В файле /etc/sysctl.conf вставьте строку:

      sysctl -w
      • vm.nr_hugepages=0

      • Сохраните и примените изменения, выполнив команду:
         sysctl -p

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

        Посмотреть текущее значение Huge Pages можно с помощью команды:
        sysctl -a | grep 'huge*page'

    4. Запустите СУБД.
      • Если вы используете СУБД PostgreSQL на компьютере под управлением ОС Red Hat Enterprise Linux, РЕД ОС или Oracle, выполните команды следующего вида:
        systemctl start pgagent-15
        systemctl start postgresql-15
      • Если вы используете СУБД PostgreSQL на компьютере под управлением ОС Альт Сервер, выполните команды следующего вида:
        systemctl start pgagent
        systemctl start postgresql
      • Если вы используете СУБД Oracle:
        1. Откройте Oracle SQL*Plus и подключитесь как пользователь sysdba:
          sqlplus / as sysdba
        2. Выполните команду:
          dbstart $ORACLE_HOME
    5. Запустите Систему:
      iwtm start

Sv translation
languageen

Before installing Platform, you need to prepare the server:

  1. The installation program is written in Python version 2.7. So to install the Platform, you need to install the Python 2.7 interpreter first. The distribution kit does not include the interpreter package.
  2. Раскрыть
    titleIn the Red Hat Enterprise Linux and RED OS environments, configure SELinux.

    For the correct operation of containerd, update the SELinux policies or disable the access control system:

    • To update the SELinux policies, download and install the package container-selinux.
      You can do it with the command:

      Блок кода
      dnf install container-selinux
      Информация
      titleNote:

      The package is not included in the product's distribution kit.

      The package may be missing in the repositories. In this case, download and install it manually.

    • To disable SELinux:
      1. Run the following commands onbehalf of the root superuser:

        Блок кода
        setenforce 0
        sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
      2. Reboot the server with the command:

        Блок кода
        reboot
      3. Check the status of the SELinux system with the command:

        Блок кода
        sestatus
  3. Configure the POD network rules or disable the firewall   (for details, see Firewalld and Kubernetes interaction conflicts and Firewall complete shutdown). Otherwise, you will not be able to install the Platform.
  4. If you are using an antivirus, configure it to work with the Platform (see the Knowledge Base article: Antivirus configuration for Platform products).
  5. The Platform uses theKubernetes component. For correct installation of the Platform and operation of Kubernetes, the   conntrack  package must should be installed on the server.
    Make sure that the package is installed. For this, at in the command line, enter:
    conntrack
    You will see information about working with the   conntrack  module and the module version. 

    If the module is not installed, install it using the following command:

    • On on computers running Red Hat Enterprise Linux, RED OS, or Oracle:
      yum install conntrack

    • On on computers running Alt Server:
      apt-get install conntrack-tools

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

    If the package is not available in  the repository, then download the packageit, go to the directory where it has been downloaded its directory, and install the package manually using the command:
    rpm -Uhv ./<package_name>

  6. If you are installing the Platform on a computer running Alt Server, install the packages:

    • python-modules-json

    • python-modules-distutils

    • python-modules-sqlite3

  7. If you are installing the Platform on the server where Traffic Monitor with local database is already installed, then disable Huge Pages. For this: 

    1. Stop the System by running the command:
      iwtm stop
    2. Stop the DBMS.
      • If you are using PostgreSQL on a computer running Red Hat Enterprise Linux, RED OS, or Oracle, run the following commands:
        systemctl stop pgagent-15
        systemctl stop postgresql-15
      • If you are using PostgreSQL on a computer running Alt Server, run the following commands:
        systemctl stop pgagent
        systemctl stop postgresql
      • If you are using Oracle DBMS:
        1. Open Oracle SQL*Plus and connect as the sysdba user:
          sqlplus / as sysdba
        2. Run the command:
          dbshut $ORACLE_HOME
    3. Set the null zero value for the Huge Pages parameter.

      • In the file /etc/sysctl.conf, insert the line:

      sysctl -w
      • vm.nr_hugepages=0

      • Save and apply the changes by running the command:
         sysctl -p

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

      You can view the current Huge Pages value by running the command:
      sysctl -a | grep 'huge*page'

    4. Start the DBMS:
      • If you are using PostgreSQL on computers running Red Hat Enterprise Linux, RED OS, or Oracle, run the following commands:
        systemctl start pgagent-15
        systemctl start postgresql-15
      • If you are using PostgreSQL on computeres computers running Alt Server, run the following commands:
        systemctl start pgagent
        systemctl start postgresql
      • If you are using Oracle DBMS:
        1. Open Oracle SQL*Plus and connect as the sysdba user:
          sqlplus / as sysdba
        2. Run the command:
          dbstart $ORACLE_HOME
    5. Start the System:
      iwtm start