Working in Multipoint Mode
To build behavioral models, the Nemesida AI MLC module requires a significant amount of free RAM. When using more than one server with the Nemesida WAF module, you can save hardware resources by using the point-to-multipoint operation scheme (one server with the Nemesida AI MLC module installed interacts with many servers with Nemesida WAF modules installed).
On a server with the Nemesida WAF module installed
Create a user of the RabbitMQ service:
# rabbitmqctl add_user USER PASSWORD
# rabbitmqctl set_permissions -p / USER ".*" ".*" ".*"
# rabbitmqadmin declare user name=USER password=PASSWORD tags=user
# rabbitmqadmin declare permission vhost=/ user=USER configure=".*" write=".*" read=".*"
PASSWORD are the username and password for connecting the Nemesida AI MLC module.
Make changes to the configuration file
Allow access from the server on which the Nemesida AI MLC module is installed to the RabbitMQ port (by default 5672 TCP). and complete the RabbitMQ setup:
# service rabbitmq-server restart
On a server with the Nemesida AI MLC module installed
Create additional configuration files in the
/opt/mlc/conf/ directory by copying the
Make changes to the new configuration files to work with the remote RabbitMQ server. After making the changes, restart the service:
# systemctl restart mlc_main rabbitmq-server memcached
# systemctl status mlc_main rabbitmq-server memcached
In additional configuration files
nwaf_license_key is a required parameter. The license key used in the Nemesida AI MLC settings and the remote Nemesida WAFs must have the same
WAF ID. When using additional configuration files, it is recommended to delete the
Using remote RabbitMQ services, the Nemesida AI MLC module will collect queries and then train models in the same way as in normal operation.
After configuration, you must check the error information contained in the event logs for each server