We have install VitalPBX 4 HA (running on Hyper-V) – No problem, so far everything is working. We try the Bascul command and no problem as well.
We proceed to install the add-ons SONATA Recording, SONATA Stats, SONATA Switchboard on both vm. When I try to configure SONATA Recording we setup the username and password (no problem) but when we try login it says that “user/password incorrect”
Like you mention I did install the Sonata Stats, Recording, Swichboard before running the script, but only stats gave the problem.
I did what you recommendedm, but I saw something interesting
I ran the ./vpbxha.sh destroy I did complete the process but when I check server 2, it has the floating ip and reports as the master.
at this point I al try to uninstall stats add-on from both server and then install it on both server again.
I ran the ./vpbxha.sh rebuild on server 1 at the end I gave me an error, so I ran it for a second time adn this time works. Server-1 is master and server-2 is slave. Everything seems to be running normal.
Sonata-stats remains with the same problem, but also the issue when I ran the ./vpbxha.sh destroy
We detected an Issue with access to mariadb, since it only allowed the server’s ip and not the localhost. This Issue was already corrected in the Script. However, if you want to correct it on your servers directly, we recommend editing the file:
/etc/mysql/mariadb.conf.d/50-server.cnf and configure bin-addres as follows on both servers.
bind-address = 0.0.0.0