Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Puppet Ruby Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
very crude implementation for mysql clusters on a vagrant system Works for lucid32 vagrantbox. vagrant up should bring all servers online: 1 management server, 2 data nodes, 2 APIs. virtual machine IP addresses: Management: 126.96.36.199 data node 1: 188.8.131.52 data node 2: 184.108.40.206 API node 1: 220.127.116.11 API node 2: 18.104.22.168 Note: -Data nodes may get kicked off the server if the load from the 5 VMs are too much (missed heartbeat). To check connected nodes, log into the management server cd /usr/local/mysql-cluster bin/ndb_mgm --ndb-connectstring=22.214.171.124:2205 show To reconnect a data node: sudo /usr/local/mysql-cluster/bin/ndbd --ndb-connectstring=126.96.36.199:2205 -MYSQL API nodes currently may not be accessed from outside local vm. To enable SSH from anywhere: log into mysql from API nodes and update root privileges: /usr/local/mysql-cluster/bin/mysql -u root update mysql.user set host='%' where user='root' and host='localhost';flush privileges; -This build contains mysql-cluster v 7.2.5. Included in repo so as to avoid slow wget 5 times each up.