Installing the AI score and asset status service
To install the service:
The mlservice-installer-0.1.54.XX.tgz archive contains scripts for installing and removing the service, as well as the config.yaml configuration file.
kuma_address
setting, specify the FQDN of the host on which KUMA Core is installed and the port on which the KUMA Core is to listen for AI service connections.In a high availability configuration, you must specify port 7226. You can keep default values for the rest of the settings. After installation, the service starts with the settings specified in the config.yaml file.
./install <path to inventory.yaml>
Y
. If you do not accept the terms and conditions of the EULA, you cannot proceed with the installation of the service. You can find the file with the text of the EULA in the mlservice-installer/eula directory.In the KUMA web interface, in the Settings → AI service section, in the AI score and asset status window, fill in the following fields:
For a KUMA installation in high availability configuration, the URL field is not displayed in the interface, the port value is taken from the KUMA_APPRAISER_AI_API_PORT environment variable and the port is opened for all IP addresses of the KUMA Core host.
Immediately after installation, the service will make attempts to connect to KUMA for 15 minutes with 1-minute intervals. If no certificate is added in the KUMA web interface, the connection will fail and the service will stop. In this case, you can add a certificate and restart the AI service; the service will make new attempts to connect.
After saving the settings, get the log of the Core server and make sure it does not contain the "<port number>: bind: address already in use" error
The AI service is installed.
Removing the AI score and asset status service
To remove the AI service, change to the directory with the AI service files, and from that directory, run the following:
./uninstall <path to inventory.yaml>