Erik Hoekstra, from Daisycon, has pointed out this problem
related to Replication in general and with a specific example on
MySQL Cluster and Replication in 5.1.
In the manual for 5.1 there's an entry about scripting the
failover for MySQL Cluster Replication.
In this part of the manual they speak about fetching the needed
variables, like the filename and position, and place them into
the CHANGE MASTER TO statement.
The example is here:
CHANGE MASTER TO
MASTER_LOG_FILE='@file',
MASTER_LOG_POS=@pos;
I'm now trying to do the following:
On a slave I've created a Federated tables, 1 pointing to the
current master, and 1
to the stand-in master, should the current master fail.
Federated table 1, let's say F1, is …
Q from Olivier - Are the data nodes MySQL servers too
?
No, the data node is handled by a separate process, ndbd, that
only manages data.
Q from Olivier: So, what is MySQL Cluster? A MySQL AB
product ?
Technically speaking, MySQL Cluster is a storage engine, based on
a network distributed database. From a commercial point of view,
we refer at MySQL Cluster as a product. We also provide APIs to
access to the Cluster database directly, bypassing the MySQL
Server and the storage engine architecture.
Q from Ludovico: Are there load balancing mechanisms to
balance sql requests between active sql server
nodes?
Yes, absolutely. The SQL nodes all see the same data, and load
may well be balanced between them, if necessary.
The only caveat is that transactions must be locked into the same
SQL server for the duration of the transaction.
In real …