Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

Cluster loadbalancing now working (no replies)

$
0
0
1. I have used 3 Linux servers for clustering
Server1 192.168.0.2 (Cluster Management Server)
Server2 192.168.0.112 (Data Node 1)
Server3 192.168.0.200 (Data Node 2)

2.

ndb_mgm> show;
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
id=2 @192.168.0.112 (Version: version number, Nodegroup: 0, Master)
id=3 @192.168.0.200 (Version: version number, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=1 @192.168.0.2 (Version: version number)

[mysqld(API)] 2 node(s)
id=4 @192.168.0.112 (Version: version number)
id=5 @192.168.0.200 (Version: version number)


With 2 NDB and 2 MySQL running no ISSUE

My Issue here is

1. I have stop 1 NDB, (lets say id=2 @192.168.0.112) and 2 MySQL are running.
a. I have done some transactions like Insert, update.

2. Now i have Stop another NDB, (id=3 @192.168.0.200) and 2 MySQL are running.
a. When i try to reterive the data which was insert or update on another node (Refer: Point 1) is not showing up.
b. I have done one more test, with same NDB started (id=3 @192.168.0.200) with two MySQL, inserted some records.

3. Stopped NDB Node (id=3 @192.168.0.200) and Started NDB Node (id=2 @192.168.0.112)
a. The records which we have in Step 2 are not displaying on this node.

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>