The installation may be interrupted by the installer crash, power outage, etc. In this case, the System is installed incorrectly. If this happens, we recommend resetting the System settings and then repeat the installation steps. After the reset, all data is saved in the System. So, when you are prompted to delete the existing data during re-installation, select No. To reset the installation: - Stop all scanning tasks in the Data Discovery web interface.
- Open the directory to which you unpacked the distribution archive during the installation.
- Run the command:
./setup.py reset
Resetting the installation does not delete results of the System operation. You can use them after reinstalling the SystemSystem installation: - In case of joint installation of Data Discovery and Prediction, stop Prediction data calculation. For details, see the Required steps to update products that are installed on Platform together with Prediction article in the knowledge base.
Memorize or save the paths to the current data storing directories. To get a list of the directories, run the command: | Блок кода |
|---|
| cat /var/lib/iwplatform/data/volumes.txt |
Memorize or save node labels. To view the list of labels in the cluster, run the command: | Блок кода |
|---|
| kubectl get node -n infowatch -o jsonpath="{range .items[*]}{.metadata.annotations.flannel\.alpha\.coreos\.com/public\-ip} {.metadata.labels.kubernetes\.io/hostname} {.metadata.labels.iwnode}{'\n'}{end}" |
- Go to the directory with the unpacked distribution kit of the product.
Run the reset command: - After the reset, assign the same labels to the cluster nodes as they had before the update.
| Предупреждение |
|---|
| Resetting the System installation automatically resets all other Platform products installed on the server. If you reset the installation on the Platform central node, components of all products in the cluster will become unavailable. In this case, reset the installation on each office node. After installing Data Discovery, you should reinstall other products in the cluster. |
|