LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Blogs > Pyplate
User Name
Password

Notices


This blog is about the development of my various Linux based web sites, starting with raspberrywebserver.com, Banoffee Pi Server and Linux Web Servers.
Rate this Entry

Banana Pi MySQL and GlusterFS Clusters

Posted 10-04-2014 at 08:46 PM by Pyplate

I recently set up a Banana Pi MySQL cluster and a Banana Pi storage cluster using GlusterFS. Each cluster is built with four servers running Raspbian OS. The storage cluster has a hard disk connected to each node.

The MySQL cluster uses one node as a master, and the other three nodes are slaves. The first time I set up replication, I logged into each server via ssh and entered commands into the MySQL shell. I've been working on a script to automate the process. So far the script can initialize a cluster and set up replication. Now I'm working on extending that script to handle fail-overs and promote slave servers to masters.

I've done some testing with the storage cluster. I booted up the cluster and made sure I could mount it from a Banana Pi client. I've done a little work on making sure that I can recover from a disk failure. I took one disk out of the cluster and formatted it. When I put it back in the cluster, I used Gluster's rebalance command to restore data to the formatted disk, and everything seemed ok. Hopefully I'll get time to do some performance testing soon.
Posted in Uncategorized
Views 1049 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration