Jump to content
Sign in to follow this  
inertz

Keliru dengan mysql clustering

Recommended Posts

Mungkin dalam ni ada yang pernah deploy atau testing mysql cluster.

Setting sekarang yang tengah simulate macam ni;

[root@db1 mysql-cluster]# ndb_mgm -e show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=2    @192.168.0.134  (mysql-8.0.21 ndb-8.0.21, Nodegroup: 0, *)
id=3    @192.168.0.135  (mysql-8.0.21 ndb-8.0.21, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @192.168.0.133  (mysql-8.0.21 ndb-8.0.21)

[mysqld(API)]   2 node(s)
id=4    @192.168.0.136  (mysql-8.0.21 ndb-8.0.21)
id=5    @192.168.0.137  (mysql-8.0.21 ndb-8.0.21)

 

Soalan.

1. Kalau nak add cluster bagi high performance macam load balancing server mana perlu add, data node[ndbd(NDB)] atau mysql node[mysqld(API)]

2. Antara cluster dengan master/slave replication yg mana lebih baik untuk handle load balancing.

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...