The first thing to mention is that the config.ini file applies to the Cluster as a whole
- you provide its location when starting the management node (ndb_mgmd) and then the
management node will provide the config information to the rest of the nodes as they join
the cluster. The my.cnf file is specific to an individual mysqld.
To get your first Cluster started, here are a few resources:
1) Quick start guide:
http://downloads.mysql.com/tutorials/cluster/mysql_wp_cluster_quickstart_linux.pdf if you
want to get it quickly up and running by hand
manually get a cluster running over multiple hosts
3) Auto-installer: http://www.clusterdb.com/mysql-cluster/auto-installer-labs-release/ to
use a browser-based GUI (not yet GA but a really nice tool)
4) Use MySQL Cluster Manager:
if you want a commercial tools which will help you with the ongoing management of your
Cluster as well as the initial configuration. Available to try for free for 30 days.
> -----Original Message-----
> From: Aitor Cedres [mailto:zerpetofficial@stripped]
> Sent: 25 February 2013 15:05
> To: MySQL Cluster
> Subject: Configuration for ndbd
> Hi all.
> I am new to MySQL Cluster, and I'm doing a basic installation in some
> VMs with Debian 6 just to test if we actually want to migrate from
> MySQL Server to Cluster. My doubt is related to Data nodes
> configuration. In the installation
> an example for */etc/mysql/my.cnf *with this basic directives for Data
> > # Options for mysqld process:
> > ndbcluster
> > # Options for MySQL Cluster processes:
> > ndb-connectstring=10.0.1.10
> Are these directives just enough for a production environment? I know
> *ndbd* reads
> also the configuration from the management node, but I feel like there
> are something missing here (in my.cnf of data node).
> I've been googling for some more directives to add here, but everything
> I found is about adding stuff to *config.ini* in management node. Am I
> missing something? What would you add to a *default* my.cnf in data
> Thanks in advance.
> *Aitor Pérez*
> Junior Web Developer at *Global Incubator*