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

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

Ключ

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

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

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

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

    • software
    • update
    • oss
  2. Программа установки написана на языке Python версии 2.7, поэтому для установки Платформы установите интерпретатор этого языка. Пакет с интерпретатором не входит в состав дистрибутива.
  3. Раскрыть
    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
  4. Настройте правила POD сети или отключите межсетевой экран (см. Конфликты при взаимодействии службы firewalld и Kubernetes и Полное отключение межсетевого экрана). В противном случае установка Платформы будет невозможна.
  5. Если вы используете антивирус, настройте его для совместной работы с Платформой (см. Настройка антивируса для продуктов Платформы).
  6. Платформа использует компонент Kubernetes. Для корректной установки Платформы и работы Kubernetes на сервере должен быть установлен пакет conntrack.
    Убедитесь, что пакет установлен. Для этого введите в командной строке:

    Блок кода
    conntrack

    В результате будут выведены сведения о работе с модулем conntrack и его установленная версия.

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

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

      Блок кода
      languagetext
      dnfyum 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 <имя_пакета>
  7. Раскрыть
    titleНа сервере под управлением МОС ОС:

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

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

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

    • python-modules-json

    • python-modules-distutils

    • python-modules-sqlite3

  9. Раскрыть
    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. Раскрыть
    titleOn a server running MOS OS:

    Make sure that the official OS repositories are available:

    • software
    • update
    • oss
  2. 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.
  3. Раскрыть
    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
  4. 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.
  5. If you are using an antivirus, configure it to work with the Platform (see Antivirus configuration for Platform products).
  6. The Platform uses the Kubernetes component. For the correct installation of the Platform and operation of the Kubernetes, the conntrack package should be installed on the server.
    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.

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

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

      Блок кода
      languagetext
      dnfyum install conntrack
    • Alt Server:

      Блок кода
      languagetext
      apt-get install conntrack-tools
    • 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:

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

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

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

      Блок кода
      languagetext
      zypper install <package_name>
  7. Раскрыть
    titleOn a server running 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
  8. Раскрыть
    titleOn a server running Alt Server:

    Install the packages:

    • python-modules-json

    • python-modules-distutils

    • python-modules-sqlite3

  9. Раскрыть
    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