Milestone Version 0.2

Completed 14 months ago (10/04/07)

100%

Closed tickets:
1
Active tickets:
0
/ Total tickets:
1
ndb installer

1 / 1

Version 0.2

New Features:

  • Non-root installation of MySQL Cluster possible.
  • Enable binlog on MySQL Servers to allow them act as cluster replication Master Servers
  • Install and start/stop MySQL servers on remote hosts.
  • init.d startup scripts
    • /etc/init.d/{ndb_mgmd, ndb_node-1, ndb_node-2, }
  • Script to generate a backup of a MySQL Cluster
  • Script to copy backups from the different NDBD hosts to a single backup directory at the Management Server
  • Scripts to make the cluster enter and exit single user mode
  • Option to select the mirror from which to download binaries
  • Support for many ndbds (>1) on the same host
  • Command-line switches to supply default installation parameters
  • Monit Support
    • /etc/monit/monitrc patched with logic to manage ndb_mgmd and ndbd processes

Features:

  • Download of Binaries from MySQL Mirror Site
  • Creation of directories for mysql binaries; ndb and mysql data directories; unified logging to a single logs directory
    • For a normal user, mysql binaries are installed to ~/.mysql/mysql/ and the ndb data and mysql data directory are installed in ~/.mysql/ndb/
    • For a root user, mysql binaries are installed to /usr/local/mysql and the ndb data and mysql data directory are installed in /var/lib/mysql-cluster/
  • Provides installation options for setting the cluster configuration variables, and generates the resultant MySQL Cluster configuration file: config.ini
  • Generates a MySQL Server configuration file, my.cnf, that works with the generated MySQL Cluster configuration file. NDB is the default table type.
  • Generates scripts for managing a cluster: starting/stopping the cluster (mgmt server and data nodes), starting a MySQL client, starting/stopping MySQL Servers, starting the NDB management client, performing a rolling restart.
    • The management scripts are found in the $NDB_HOME/ndb/scripts/ directory, and are the easiest way to manage your cluster configuration.
  • Maintenance of multiple installations of different versions of MySQL Cluster
  • Support for multiple Data Nodes (ndbds) on the same host, through starting ndbds with node-ids.
  • Localhost Installation Features:
    • Creation of 2-node and 4-node configurations for MySQL Cluster
    • Initialisation and startup of the cluster at end of installation.
    • For user-level installations, the data nodes run in no-daemon mode.
  • Distributed Installation Features:
    • Creates a configuration file containing the hostnames for the management server and data nodes.
    • Generates scripts for starting/stopping a cluster from a single host, based on ssh-keys and a common user account.
    • Creates the UNIX user account (default: mysql user account) and ssh-keys for the account, to allow scripts to start/stop NDB nodes remotely.
    • Optionally installs the my.cnf and mysql.server files to /etc and /etc/init.d/, respectively.
Note: See TracRoadmap for help on using the roadmap.