Comments - MaxScale Read/Write Splitting with Galera Cluster
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Hi
What do you think about comment out Splitter Listener socket info on maxscale.conf?
I have install a maxscale with galera cluster a few days ago.
Test Version Info OS : CentOS 6.5 64bit MariaDB Galera Cluster Version : 10.0.21 MaxScale Version : 1.2.1-1 centos6x86_64 rpm
Check log
I got a message on /var/log/maxscale/error1.log
2015-12-01 10:47:40 Error : Unable to start to listen port 0 for MySQLClient Splitter Service.
Check maxscale listeners
And I checked the list listeners like that.
% maxadmin -pmariadb list listeners
Listeners.
---------------------+--------------------+-----------------+-------+--------
Service Name | Protocol Module | Address | Port | State
---------------------+--------------------+-----------------+-------+--------
Splitter Service | MySQLClient | 10.0.0.120 | 3306 | Running
Splitter Service | MySQLClient | /tmp/ClusterMaster | 0 | Stopped
CLI | maxscaled | localhost | 6603 | Running
---------------------+--------------------+-----------------+-------+--------
Edit /etc/maxscale.conf
And I comment out [Splitter Listener] socket info on maxscale.conf Like that.
[Splitter Listener]
#socket=/tmp/ClusterMaster
And I check again listeners info
% maxadmin -pmariadb list listeners
Listeners.
---------------------+--------------------+-----------------+-------+--------
Service Name | Protocol Module | Address | Port | State
---------------------+--------------------+-----------------+-------+--------
Splitter Service | MySQLClient | 10.0.0.120 | 3306 | Running
CLI | maxscaled | localhost | 6603 | Running
---------------------+--------------------+-----------------+-------+--------
Thanks