Feedback from MySQL Cluster tutorial

Way back on Monday (at the MySQL Conference and Expo), I gave a full day tutorial on MySQL Cluster. I awoke early in the morning to a “oh ha ha” URL in an IM; but no, it wasn’t jetlag playing tricks with me. Luckily, this didn’t take much (if anything) away from the purpose of the day: teaching people about NDB.

Distracting-and-this-time-really-annoying-thing-of-the-day-2: It seems that O’Reilly had cut back on power this year, and there were no power boards in the room. A full day interactive tutorial, and nowhere to plug in laptops. Hrrm.. Luckily, having over the many years I’ve been speaking at this event, I’ve gotten to know the AV guys okay, and asked them. They totally deserve a medal. Tutorial started at 8:30, I noticed at 7:30, and it was all fixed by 7:45. The front half of the room (enough for everyone coming) had enough power for everyone. It was quite okay to bunch everybody up – means I have to run around less.

This years tutorial was modified from last year (and that does take time, even though I’ve given it many times before). I wanted to remove out of date things, trim bits down (to better fit into the time we have, based on more experience on how long it takes to get interactive parts done) and add a bit.

When we got to the end of the day (yes, I ran over… and everybody stayed, so either I’m really scary or the material is really interesting) I pleaded for feedback. It’s amazingly scary doing an interactive tutorial. You’re placing the success of the session not so much on you, but on everyone who’s come to it.

Sometimes I’ve gotten not much feedback at all; this time was different. I spoke to a number of people afterwards (and some via email) and got some really good suggestions for small changes that would have greatly enhanced the day for them. I was pleased that they also really enjoyed the tutorial and liked the interactivity. I (and it seems a great many others) do not much like tutorials that are just long talks.

People walked out of my tutorial with a good overview of what MySQL Cluster was, how to set one up, use one, do a bit of admin and some of how it works.

I even dragged Jonas up to explain in great detail the 2 phase commit protocol for transactions. Of course, this is detail you don’t ever need to know to deploy – but people are intersted in internals.

So far the session has received an average of 4 stars in evaluations (four five star, two four star and one two star). I’d be really interested in feedback from the person who gave two stars, as this may mean I missed getting something done for them (e.g. providing information, help etc). Even though it is hard to spread yourself around a room of 60-ish-plus people, I do like to do it well. There is the other possibility of people not coming prepared, which will mean they may be bored for a lot of the day if they don’t jump in with another group and help learn that way.

So, I’m rather happy with how my first session went.

2 thoughts on “Feedback from MySQL Cluster tutorial

  1. In general the people I was helping around my end of the room seemed to get it and appeared happy. Good job!

  2. I am using following RPM for mysql and clustering
    Mysql
    ———
    MySQL-server-community-5.0.77-0.rhel5
    MySQL-client-community-5.0.77-0.rhel5

    Cluster
    ———
    MySQL-clustermanagement-community-5.0.77-0.rhel5
    MySQL-clusterstorage-community-5.0.77-0.rhel5
    MySQL-clustertools-community-5.0.77-0.rhel5

    After installing all these above rpm I create config.ini in /var/lib/mysql-cluster/
    [NDBD DEFAULT]
    NoOfReplicas=2
    [MYSQLD DEFAULT]
    [NDB_MGMD DEFAULT]
    [TCP DEFAULT]
    # Managment Server
    [NDB_MGMD]
    # the IP of THIS SERVER
    HostName=192.168.0.218
    # Storage Engines
    [NDBD]
    # the IP of the FIRST SERVER (STORAGE NODE)
    HostName=192.168.0.236
    DataDir=/var/lib/mysql-cluster
    [NDBD]
    # the IP of the SECOND SERVER (STORAGE NODE)
    HostName=192.168.0.42
    DataDir=/var/lib/mysql-cluster
    # 2 MySQL Clients
    # I personally leave this blank to allow rapid changes of the mysql clients;
    # you can enter the hostnames of the above two servers here. I suggest you dont.
    [MYSQLD]
    [MYSQLD]

    And on the other hand I configured nodes and restarted all mysql
    But in when I tried to run ndb_mgm it shows

    [root@testDev mysql-cluster]# ndb_mgm
    — NDB Cluster — Management Client —
    ndb_mgm> show
    Unable to connect with connect string: nodeid=0,localhost:1186
    Retrying every 5 seconds. Attempts left: 2
    Can u please guide me what can be the possible reasons behind that.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.