Last active
May 19, 2020 12:28
-
-
Save wwwted/1ee83009d7344c1348aae41df655d839 to your computer and use it in GitHub Desktop.
MCM commands to create cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create site --hosts=127.0.0.1 mysite; | |
add package --basedir=/home/opc/workshop/cluster-7614 cluster7614; | |
create cluster --package=cluster7614 --processhosts=ndb_mgmd@127.0.0.1,ndbmtd@127.0.0.1,ndbmtd@127.0.0.1 mycluster; | |
add process --processhosts=mysqld@127.0.0.1,mysqld@127.0.0.1 mycluster; | |
add process --processhosts=ndbapi@127.0.0.1,ndbapi@127.0.0.1 mycluster; | |
add process --processhosts=ndbapi@127.0.0.1,ndbapi@127.0.0.1 mycluster; | |
set port:mysqld:50=3310 mycluster; | |
set port:mysqld:51=3311 mycluster; | |
set StopOnError:ndbmtd=0 mycluster; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment