Skip to content

@datacharmer datacharmer released this Mar 16, 2019 · 50 commits to master since this release

Add support for MySQL Cluster (NDB)

New features:

  • dbdeployer unpack correctly recognises MySQL Cluster flavor (ndb)
  • dbdeployer deploy replication supports --topology=ndb and --ndb-nodes=X

Examples:

$ dbdeployer unpack --prefix=ndb ~/Downloads/mysql-cluster-8.0.14-dmr-macos10.14-x86_64.tar.gz
$ dbdeployer unpack --prefix=ndb ~/Downloads/mysql-cluster-gpl-7.6.9-macos10.14-x86_64.tar.gz

$ dbdeployer deploy replication ndb8.0.14 --topology=ndb --concurrent
$HOME/sandboxes/ndb_msb_ndb8_0_14/initialize_nodes
MySQL Cluster Management Server mysql-8.0.14 ndb-8.0.14-dmr
2019-03-16 08:19:55 [ndbd] INFO     -- Angel connected to 'localhost:21400'
2019-03-16 08:19:55 [ndbd] INFO     -- Angel allocated nodeid: 2
2019-03-16 08:19:56 [ndbd] INFO     -- Angel connected to 'localhost:21400'
2019-03-16 08:19:56 [ndbd] INFO     -- Angel allocated nodeid: 3
executing 'start' on node 1
........ sandbox server started
executing 'start' on node 2
.. sandbox server started
executing 'start' on node 3
.. sandbox server started
NDB cluster directory installed in $HOME/sandboxes/ndb_msb_ndb8_0_14
run 'dbdeployer usage multiple' for basic instructions'

$ ~/sandboxes/ndb_msb_ndb8_0_14/test_replication
# master 1
# master 2
# master 3
# slave 1
ok - '3' == '3' - Slaves received tables from all masters
# slave 2
ok - '3' == '3' - Slaves received tables from all masters
# slave 3
ok - '3' == '3' - Slaves received tables from all masters
# pass: 3
# fail: 0
Assets 6
You can’t perform that action at this time.