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

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

Ключ

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

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

  1. Программа установки написана на языке Python 3. Установите интерпретатор этого языка версии 3.6 или более поздней.
    Пакет с интерпретатором не входит в состав дистрибутива Платформы.

  2. На некоторых дистрибутивах ОС не установлена часть стандартных модулей Python 3, в том числе importlib-metadata и pyyaml. Установите их с помощью следующих команд:

    • Блок кода
      languagetext
      titleдля Red Hat Enterprise Linux, Oracle Linux и РЕД ОС
      yum install python3-importlib-metadata
      yum install python3-pyyaml
    • Блок кода
      languagetext
      titleдля ОС Альт
      apt-get install python-modules-json
      apt-get install python-modules-distutils
      apt-get install python3-modules-sqlite3
      apt-get install python3-module-importlib-metadata
      apt-get install python3-module-yaml
    • Блок кода
      languagetext
      titleдля Мос.ОС
      zypper install python3-importlib-metadata
      zypper install python3-PyYAML
      Информация
      titleПримечание:

      Пакеты не входят в состав дистрибутива Платформы.

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

  3. Раскрыть
    titleНа сервере под управлением МОС Мос.ОС:

    Убедитесь, что доступны официальные репозитории ОС:

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

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

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

      Блок кода
      dnfyum 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
  6. Настройте правила POD сети или отключите межсетевой экран (см. Конфликты при взаимодействии службы firewalld и Kubernetes и Полное отключение межсетевого экрана). В противном случае установка Платформы будет невозможна.
  7. Если вы используете антивирус, настройте его для совместной работы с Платформой (см. Настройка антивируса для продуктов Платформы).
  8. Платформа использует компонент Kubernetes. Для корректной установки Платформы и работы Kubernetes на сервере должен быть установлен пакет conntrackдолжны быть установлены следующие пакеты:

    • conntrack или conntrack-tools (пакет необходимо установить, даже если libnetfilter_conntrack уже установлен).
      Убедитесь, что пакет установлен. Для этого введите в командной строке:

      Блок кода
      conntrack

      В результате будут выведены сведения о работе с модулем conntrack и его установленная версия.
      Image Modified
      Если conntrack не установлен, установите его с помощью команды:

      • Red Hat Enterprise Linux, Oracle Linux, РЕД ОС:

        Блок кода
        languagetext
      dnf
      • yum install conntrack
      • ОС Альт Сервер:

        Блок кода
        languagetext
        apt-get install conntrack-tools
      МОС
      • Мос.ОС:

        Блок кода
        languagetext
        zypper install conntrack-tools

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

      • Red Hat Enterprise Linux, Oracle Linux, РЕД ОС

      :
      Блок кода
      languagetext
      rpm -Uhv ./<имя_пакета>
      • , ОС Альт

      Сервер
      • :

        Блок кода
        languagetext
        rpm -Uhv ./<имя_пакета>
      МОС
      • Мос.ОС:

        Блок кода
        languagetext
        zypper install <имя_пакета>
    • socat – аналогично пакету conntrack.
  9. Раскрыть
    titleНа сервере под управлением МОС Мос.ОС:

    Установите пакеты socat, ethtool, app_armor и sysctl с зависимостями:

    Блок кода
    languagetext
    zypper install socat
    zypper install ethtool
    zypper install patterns-base-apparmor
    zypper install procps
    zypper install libprocps7
  10. Раскрыть
    titleНа сервере под управлением ОС Альт Сервер:

    Установите пакеты:

    • python-modules-json

    • python-modules-distutils

    • python-modules-sqlite3

    Раскрыть
    titleЕсли вы устанавливаете Платформу на сервер, где уже установлен 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 вставьте строку:

        Блок кода
        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 3. Install Python interpreter version 3.6 or higher.
    The distribution kit does not include the interpreter package.

  2. Some OS distributives may lack certain standard Python 3 modules, including importlib-metadata and pyyaml. Install them using the following commands:

    • Блок кода
      languagetext
      titleFor Red Hat Enterprise Linux, Oracle Linux and for RED OS:
      yum install python3-importlib-metadata
      yum install python3-pyyaml
    • Блок кода
      languagetext
      titleFor Alt OS:
      apt-get install python-modules-json
      apt-get install python-modules-distutils
      apt-get install python3-modules-sqlite3
      apt-get install python3-module-importlib-metadata
      apt-get install python3-module-yaml
    • Блок кода
      languagetext
      titleFor Mos.OS:
      zypper install python3-importlib-metadata
      zypper install python3-PyYAML
      Информация
      titleNote:

      Platform distribution kit does not include the packages.

      The packagesmay not be availablein the repositories of someoperatingsystems. In this case, download and install the required packages manually.

  3. Раскрыть
    titleOn a server running MOS Mos.OS:

    Make sure that the official OS repositories are available:

    • software
    • update
    • oss
  4. 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.
  5. Раскрыть
    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:

      Блок кода
      dnfyum 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
  6. Configure the POD network rules or disable the firewall (see Firewalld and Kubernetes interaction conflicts and Firewall complete shutdown). Otherwise, you will not be able to install the Platform.
  7. If you are using an antivirus, configure it to work with the Platform (see Antivirus configuration for Platform products).
  8. The Platform uses the Kubernetes component. For the correct installation of the Platform and operation of the Kubernetes, the conntrack package following packages should be installed on the server:

    • conntrack or conntrack-tools (install the package, even if libnetfilter_conntrack is already installed).
      Make sure that the package is installed. For this, in the command line, enter:

      Блок кода
      conntrack

      You will see information about working with the conntrack module and the module version.
      Image Modified

      If

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

      • Red Hat Enterprise Linux, Oracle Linux, RED OS:

        Блок кода
        languagetext
      dnf
      • yum install conntrack
      • Alt

      Server
      • OS:

        Блок кода
        languagetext
        apt-get install conntrack-tools
      MOS
      • Mos.OS:

        Блок кода
        languagetext
        zypper install conntrack-tools

      If the package is not available in the repository, then download it, go to the directory with the package, and install it manually using the command:

      MOS
      • Red Hat Enterprise Linux, Oracle Linux, RED OS, Alt OS:

        Блок кода
        languagetext
        rpm -Uhv ./<package_name>
    • Alt Server:

      Блок кода
      languagetext
      rpm -Uhv ./<package_name>
      • Mos.OS:

        Блок кода
        languagetext
        zypper install <package_name>
    • socat – similar to the conntrack package.

  9. Раскрыть
    titleOn a server running MOS Mos.OS:

    Install the packages socat, ethtool, app_armor, and sysctl with dependencies:

    Блок кода
    languagetext
    zypper install socat
    zypper install ethtool
    zypper install patterns-base-apparmor
    zypper install procps
    zypper install libprocps7
    Раскрыть
    titleOn a server running Alt Server:

    Install the packages:

  10. python-modules-json

  11. python-modules-distutils

  12. python-modules-sqlite3
  13. Раскрыть
    titleIf you are installing the Platform on the server where Traffic Monitor with a 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 Huge Pages parameter to zero:

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

        Блок кода
        vm.nr_hugepages=0
      • Save and apply the changes by running the command:

        Блок кода
        sysctl -p
        Информация
        titleNote:

        To view the current value of Huge Pages, run 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 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