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 |
|---|
| - 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 you want to store archived daily tablespaces on the slow disk of the Data Storage server, then run the Platform installation program with the --dsslowdatapath parameter:
./setup.py install --dsslowdatapath=/root/slowdisk
where/root/slowdisk is the way to the slow disk. For details on tablespaces, see: 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,
/mnt/chdata) and press Enter. - Specify the path to place PostgreSQL data (by default,
/mnt/pgdata) and press Enter. - Specify the path to place NATS data (by default,
/mnt/natsdata) and press Enter. - Specify the path to place binary data (by default,
/mnt/dsdata) 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 |
|---|
| - 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 you want to store archived daily tablespaces on the slow disk of the Data Storage server, then run the Platform installation program with the --dsslowdatapath parameter:
./setup.py install --nodemode=office --dsslowdatapath=/root/slowdisk
where/root/slowdisk is the way to the slow disk. For details on tablespaces, see: - 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,
/mnt/chdata) and press Enter. - Specify the path to place PostgreSQL data (by default,
/mnt/pgdata) and press Enter. - Specify the path to place NATS data (by default,
/mnt/natsdata) and press Enter. - Specify the path to place binary data (by default,
/mnt/dsdata) 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: |