We use an librenms dispatcher service for 2400devices / 65500 ports with DB in master-slave configuration. We have front + 7vm only for polling. When we try to looking data in web interface, graphs and others data loading little to long - because db is on the load. My question is:
it is possible to reading from slave (connect webinterface into db slave)? In my opinion not.
it is possible to migrate db to multi master server configuration? In dispatcher services locking mechanism is in use?
Maybe MariaDB MaxScale proxy can help, as i understand there is no special support required for that on LibreNMS side, as it doing routing work itself with various modes like routing only for read connector.
so today I created an maxscale configuration witch works, but not wit librenms (laravel). In log we have problem with connection to backend:
(handle_error_response): Invalid authentication message from backend ‘server1’. Error code: 1044, Msg : #42000: Access denied for user ‘libre_front’@‘XX.XX.XX.XX’ to database ‘librenms’
because db name is double quotted
How to implement this without lost update functionality?