Re: [Maria-developers] [GSoC'15] Running MaxScale and MariaDB servers on single machine

2015-03-09 Thread Markus Mäkelä
That does look like a proper configuration of MaxScale. I hope this is just a small issue with your setup and that you will get it fixed. I'll take a closer look at the way the tutorial configures the servers. Markus On Mar 9, 2015 10:47 PM, "sriram patil" wrote: > Hi, > > I have set up the repl

Re: [Maria-developers] [GSoC'15] Running MaxScale and MariaDB servers on single machine

2015-03-09 Thread sriram patil
Hi, I have set up the replication. I have also confirmed that is works fine. The maxadmin also displays that there are two servers. But, Master ID = -1. Here's the output from maxadmin "show servers" Server 0x39c3520 (srv1) Server: localhost Status:

Re: [Maria-developers] [GSoC'15] Running MaxScale and MariaDB servers on single machine

2015-03-09 Thread Markus Mäkelä
Hi, Is the cluster set with replication? The readwritesplit needs at least one master and one slave to work. Using the maxadmin interface should verify this. The client binary can be found in the same folder as the maxscale binary. Default user name is admin and the password is skysql. Markus On

Re: [Maria-developers] [GSoC'15] Running MaxScale and MariaDB servers on single machine

2015-03-09 Thread sriram patil
Hi Markus, I got an error. It says "Error : No Master can be determined". Here's how my config file looks like [maxscale] threads=1 log_trace=1 [srv1] type=server address=localhost port=3306 protocol=MySQLBackend [srv2] type=server address=localhost port=3307 protocol=MySQLBackend [MariaDB10

Re: [Maria-developers] [GSoC'15] Running MaxScale and MariaDB servers on single machine

2015-03-09 Thread Markus Mäkelä
Hi, The first step would be to inspect the state the servers are in. The easiest way to do is to use the maxadmin interface. To enable this, configure the following into MaxScale's config file [CLI] type=service router=cli [CLI Listener] type=liste

[Maria-developers] [GSoC'15] Running MaxScale and MariaDB servers on single machine

2015-03-09 Thread sriram patil
Hi All, I tried running 2 MariaDB servers and MaxScale on my laptop. I gave different configurations to both MariaDB servers with separate data and log directories. Referred this for it. Also have set up Ma