Hi,
I am newbie to NDB Clustering concepts.
Currently cluster config I have successfully setup is as below:
NodeA : data1, sql1
NodeB : data2, sql2
NodeC : mgmt1
In my java program I connect to NodeA on port 3306(mysqld).
Connection URL for Connector/J is:
<property name="jdbcUrl" value="jdbc:mysql://address=(type=master)(host=nodeA),address=(type=master)(host=nodeB)/db" />
When NodeA goes down, I can only execute read-only queries to NodeB.
I am unable to figure out what I am missing to achieve failover.
I am newbie to NDB Clustering concepts.
Currently cluster config I have successfully setup is as below:
NodeA : data1, sql1
NodeB : data2, sql2
NodeC : mgmt1
In my java program I connect to NodeA on port 3306(mysqld).
Connection URL for Connector/J is:
<property name="jdbcUrl" value="jdbc:mysql://address=(type=master)(host=nodeA),address=(type=master)(host=nodeB)/db" />
When NodeA goes down, I can only execute read-only queries to NodeB.
I am unable to figure out what I am missing to achieve failover.