Ok so before we go any further I guess I should draw a little picture (I hate using visio so he’s my best drawing)
So on ‘pi1’ we’ll be configuring the following services:
ndb_mgmd (MySQL Management Service Daemon) – monitors the MySQL Cluster
ndbd (Network Database Daemon) – The Network database storage engine
mysqld (MySQL client) – The client allowing you to query the database.
On pi2 we are just running the NDBD Daemon
So we need to configure the ndb_mgmd daemon. Ie tell it where the two data nodes are and how to connect.
mkdir …[Read more]