Before installing Platform, you need to prepare the server: - 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.
| Раскрыть |
|---|
| title | In the Red Hat Enterprise Linux and RED OS environments, configure SELinux. |
|---|
| For the correct operation of containerd, update the SELinux policies | .To do thisor disable the access control system: | package install the package using yum dnf install container-selinux |
| On a server running Red Hat Enterprise Linux and RED OS, disable the SELinux access control system. For this root : | Информация |
|---|
| 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:
Run the following commands
| as onbehalf of the root superuser:
|
sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config |
| Restart using with the command:
Check the status of the SELinux system
| using - 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.
- If you are using an antivirus, configure it to work with the Platform (see the Knowledge Base article: "Antivirus configuration for Platform products").
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
| Информация |
|---|
| 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> |
If you are installing the Platform on a computer running Alt Server, install the packages: python-modules-json
python-modules-distutils
python-modules-sqlite3
If you are installing the Platform on the server where Traffic Monitor with local database is already installed, then disable Huge Pages. For this: - Stop the System by running the command:
iwtm stop - 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:
- Open Oracle SQL*Plus and connect as the sysdba user:
sqlplus / as sysdba - Run the command:
dbshut $ORACLE_HOME
Set the null zero value for the Huge Pages parameter. sysctl -w | Информация |
|---|
| You can view the current Huge Pages value by running the command:
sysctl -a | grep 'huge*page' |
- 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:
- Open Oracle SQL*Plus and connect as the sysdba user:
sqlplus / as sysdba - Run the command:
dbstart $ORACLE_HOME
- Start the System:
iwtm start
|