To reduce a user's role in the Platform installation process there is a silent mode of installation. To start the installation in silent mode: - Create a new directory on the disk (e.g.
Platform):
mkdir Platform - Copy the
iw_platform.tar.xz archive to this directory. - Go to the directory where you have pasted the archive.
Unpack the archive to this directory:
tar -xvf iw_platform.tar.xz - Run the command
./setup.py install with the specified installation parameters.
You can specify the following parameters: ПараметрKey | ОписаниеDescription |
|---|
--nodemode
| The mode of installation: central or office. To install the Platform in the office mode, specify the office value for this parameter. For the installation in the central mode, you do not need to specify this parameter | --advertise
| IP address of the network interface to communicate with the cluster. The default value: 0.0.0.0
Do not specify in case of installation in the office mode
| --chmemsize
| RAM to host Clickhouse data. The default value: 80% | --chdbpath
| Path for placing Clickhouse data. The default value: /opt/chdata | --pgdbpath
| Path for placing PostgreSQL data. The default value: /opt/pgdata | --natspath
| Path for placing NATS data. The default value: /opt/natsdata | --dsdatapath
| Path for placing binary data. The default value: /opt/dsdata | --factsldrtmdatapath | Path for temporary placing Traffic Monitor events before loading them into the Platform. The default value: /opt/factsldrtmdata | --disable-check-free-disk | Disabling the check of availability of free space on the disk: - 20 GB for storing images;
- 100 GB for storing data in the directories specified above
Note: 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 | --disable-check-total-ram | Disabling the check of availability of 8 GB of RAM on the computer | --guiport
| The port for connecting to theweb interface. The default value: 443.
Do not specify in case of installation in the office mode. Important! When installing on the same server with Traffic Monitor, specify port different than 443 because port 443 used by default for connecting to the Traffic Monitor web interface
| --cluster
| The address of central node in cluster. Specify in case of office mode of installation | --clustertoken
| A token to connect to the central office. Specify in case of office mode of installation. In the central office you can: - get a connection token by running the command:
kubeadm token list - create a token using the command:
kubeadm token create
| --nodelabel
| The node label. Specify in case of office mode of installation. The label may consist of letters of the Latin alphabet and/or numbers. Label length must not exceed 32 characters | --dsslowdatapath | The way to the slow disk if you plan to store archived daily tablespaces on it. Example:
--dsslowdatapath=/root/slowdisk | Example: ./setup.py install \
--advertise=0.0.0.0 \
--chmemsize=60% \
--chdbpath=/opt/chdata \
--pgdbpath=/opt/pgdata \
--natspath=/opt/natsdata \
--dsdatapath=/opt/dsdata \
--guiport=444
After the installation, 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. |