| Предупреждение |
|---|
| Before the installation, be sure to prepare the server (see Подготовка сервера). |
Platform is installed manually via the command line. To install the Service, use the iw_platform.tar.xz archive from the Traffic Monitor distribution kit. The archive contains a full set of binary modules of container images that are necessary for deploying Platform without access to the Internet. The archive also includes the installation program. Platform have two installation modes: central (central node)office (office node)
The central and office nodes of the Platform are combined into a cluster. | Раскрыть |
|---|
| title | Installation in the central mode |
|---|
| Follow the steps to prepare the server for installing Platform (see Подготовка сервера). | Информация |
|---|
| During installation the installer will check the availability of: at least 100 GB on the hard drive for each directory that you will specify in steps 9-12. If the directories for data storing are located on different disks then the installer will check the availability of 100 GB of free space on each of them;- at least 20 GB on the disk for directories with images;
- at least 8 GB of RAM;
- at least 2 processor cores;
- support for SSE 4.2 instructions;
- the installed
conntrack package. - Create a new directory on the disk (e.g. Platform):
mkdir Platform - Copy the
iw_platform.tar.xz archive to this directory. - Open the directory where you have pasted the archive.
- Unpack the archive with Platform distribution kit to this directory:
tar -xvf iw_platform.tar.xz - Run the Platform installation program:
./setup.py install
If necessary, specify additional parameters:For archiving daily tablespaces, specify the path to the slow disk of the Data Storage server. When archiving, the System will move binary data there. For this, run the Platform installation program with the --dsslowdatapath parameter:
./setup.py install --dsslowdatapath=/root/slowdisk where/root/slowdisk is the path to the slow disk. For details on archiving tablespaces, see InfoWatch Traffic Monitor. Administration Guide. Archiving Daily Tablespaces; - To enable Data Storage backuping, run the Platform installation program with the
--dsbackupspath parameter:
./setup.py install --dsbackupspath=/opt/dsbackups
where /opt/dsbackups is the path to the storage of backups. For details on backuping Data Storage, see InfoWatch Traffic Monitor. Administration Guide. Creating Data Storage Backup.
Enter the IP address of the network interface to communicate with the cluster and press Enter. The IP address should be in IPv4 format: "xxx.xxx.xxx.xxx". | Информация |
|---|
| If you specify 0.0.0.0 as the IP address, then all available network interfaces will be used. Hereinafter, to use the default values, press Enter without entering values. |
- Allocate RAM to host Clickhouse data (by default,
80%) and press Enter. - Specify the path to place Clickhouse data (by default,
/opt/chdata) and press Enter. - Specify the path to place PostgreSQL data (by default,
/opt/pgdata) and press Enter. - Specify the path to place NATS data (by default,
/opt/natsdata) and press Enter. - Specify the path to place binary data (by default,
/opt/dsdata) and press Enter. - Specify the path to temporarily place Traffic Monitor events before uploading them into the Platform (by default,
/opt/factsldrtmdata) and press Enter. Specify the port for connecting to the Platform web interface and press Enter. | Предупреждение |
|---|
| When installing on the same server with Traffic Monitor, specify port different than 443 because port 443 is used by default for connecting to the Traffic Monitor web interface. |
- Wait for the installation of Platform to complete.
- Read the Platform installation report. The
web ui column contains the address and port to connect to the Platform web interface:

- To display information about Platform, use the command:
./setup.py showproducts - Make sure that all services are running. For this, use the command:
kubectl get pods -n infowatch
The list of services will be displayed. Each service should have the Running status.
|
| Раскрыть |
|---|
| title | Installation in the office mode |
|---|
| - the installed
conntrack packageFollow the steps to prepare the server for installing Platform (see Подготовка сервера).
| Информация |
|---|
| During installation the installer will check the availability of: - at least 100 GB on the hard drive for each directory that you will specify in steps 11-14. If the directories for data storing are located on different disks then the installer will check the availability of 100 GB of free space on each of them;
- at least 20 GB on the disk for directories with images;
- at least 8 GB of RAM;
- at least 2 processor cores;
- support for SSE 4.2 instructions;
.
- Create a new directory on the disk (e.g. Platform):
mkdir Platform - Copy the
iw_platform.tar.xz archive to this directory. - Open the directory where you have pasted the archive.
- Unpack the archive with Platform distribution kit to this directory:
tar -xvf iw_platform.tar.xz - Run the Platform installation program:
./setup.py install --nodemode=office
If necessary, specify additional parameters:For archiving daily tablespaces, specify the path to the slow disk of the Data Storage server. When archiving, the System will move binary data there. For this, run the Platform installation program with the --dsslowdatapath parameter:
./setup.py install --nodemode=office --dsslowdatapath=/root/slowdisk where/root/slowdisk is the path to the slow disk. For details on archiving tablespaces, see InfoWatch Traffic Monitor. Administration Guide. Archiving Daily Tablespaces; - To enable Data Storage backuping, run the Platform installation program with the
--dsbackupspath parameter:
./setup.py install --nodemode=office --dsbackupspath=/opt/dsbackups
where /opt/dsbackups is the path to the storage of backups. For details on backuping Data Storage, see InfoWatch Traffic Monitor. Administration Guide. Creating Data Storage Backup.
- Enter the address of the central node. You can specify it as an IP address or domain name (e.g.,
192.0.2.0 or host.example.com). - Specify a token to connect to the central node.
To get the token:- Connect to the central node server.
- On the server command line, run the following command to get the token:
kubeadm token list The token will be displayed on the screen:
 Here the token is as follows: 3wcvoz.zh2ccxzil1hiz7iy
- Specify the node label (the default value is
office) and press Enter. The label may consist of letters of the Latin alphabet and/or numbers.Label length must not exceed 32 characters. - Allocate RAM to host Clickhouse data (by default,
80%) and press Enter. - Specify the path to place Clickhouse data (by default,
/opt/chdata) and press Enter. - Specify the path to place PostgreSQL data (by default,
/opt/pgdata) and press Enter. - Specify the path to place NATS data (by default,
/opt/natsdata) and press Enter. - Specify the path to place binary data (by default,
/opt/dsdata) and press Enter. - Specify the path to temporarily place Traffic Monitor events before uploading them into the Platform (by default,
/opt/factsldrtmdata) and press Enter. - Wait for the installation of the Platform to complete.
- Read the Platform installation report.

- To display information about Platform, use the command:
./setup.py showproducts - Make sure that all services are running. For this, use the command:
kubectl get pods -n infowatch
The list of services will be displayed. Each service should have the Running status.
|
After installing Platform, follow the further instructions in the Установка Data Storage article. See also in this section: |