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

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

Ключ

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

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

  1. Программа установки написана на языке Python версии 2.7, поэтому для установки Платформы установите интерпретатор этого языка. Пакет с интерпретатором не входит в состав дистрибутива.
  2. В окружении Red Hat Enterprise Linux и РЕД ОС обновите политики SELinux. Для этого скачайте и установите пакет container-selinux.
    Вы можете установить пакет, выполнив команду:
    yum install container-selinux
  3. На сервере под управлением ОС Red Hat Enterprise Linux и РЕД ОС отключите систему контроля доступа 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 и его установленная версия.

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

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

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

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

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

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

    • python-modules-json

    • python-modules-distutils

    • python-modules-sqlite3

  8. Если вы устанавливаете Платформу на сервер, где уже установлен 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:
      sysctl -w vm.nr_hugepages=0

      Информация
      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 Service distribution kit does not include the interpreter package.
  2. In Red Hat Enterprise Linux and RED OS environments, update the SELinux policies.  To do this, download and install the  container-selinux  package.
    You can install the package using the command:
    yum install container-selinux
  3. On a server running Red Hat Enterprise Linux and RED OS, disable the SELinux access control system. For this:
    1. Run the following commands as  root :
      setenforce 0
      sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
    2. Restart the server using the command:
      reboot
    3. Check status of the SELinux system using the command:
      sestatus
  4. Configure 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.
  5. If you are using an antivirus, configure it to work with the Platform (see the Knowledge Base article: "Antivirus configuration for Platform products").
  6. Platform uses the Kubernetes component. For correct installation of the Platform and operation of Kubernetes, the  conntrack  package must be installed on the server.
    Make sure that the package is installed. For this, at 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 computers running Red Hat Enterprise Linux, RED OS or Oracle:
      yum install conntrack

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


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

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

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

    • python-modules-json

    • python-modules-distutils

    • python-modules-sqlite3

  8. If you are installing 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
      use the PostgreSQL DBMS
      • are using PostgreSQL on a computer running Red Hat Enterprise Linux, RED OS or Oracle, run the following commands
      of the following type
      • :
        systemctl stop pgagent-15
        systemctl stop postgresql-15
      • If you
      use the
      • 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
        1.  user:
          sqlplus / as sysdba
        2. Run the command:
          dbshut $ORACLE_HOME
    3. Set the null value for the Huge Pages parameter:
      sysctl -w vm.nr_hugepages=0

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

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

    4. Start the DBMS.For PostgreSQL DBMS:
      • If you are using PostgreSQL on computers running Red Hat Enterprise Linux, RED OS or Oracle, run the following commands
      of the following type
      • :
        systemctl start pgagent-15
        systemctl start postgresql-15
      • If you
      use the
      • are using PostgreSQL on computeres 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
        1.  user:
          sqlplus / as sysdba
        2. Run the command:
          dbstart $ORACLE_HOME
    5. Start the System:
      iwtm start