This cluster has 2 nodes run in multi master mode
Installing cluster
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
sudo add-apt-repository 'deb http://mirror3.layerjet.com/mariadb/repo/5.5/ubuntu trusty main'
sudo apt-get update -y ; sudo apt-get install -y galera mariadb-galera-server rsync
Configuring cluster
On each of the host in the cluster add this configuration
vi /etc/mysql/conf.d/galera.cnf
[mysqld]
#mysql...
Yeah man
Popular Posts
Categories
Apple
Art of Life
backup
backuppc
Basic
Bệnh
Blackberry
Book reading
Caching
Cheatsheet
Cool Software
Daily Sysadmin
Electric
English
Foods
Funny
Giáo dục
gluster
Gnome
gsettings
Health
Kiron
LAN
Landscape
Linux
Macro
MariaDB
Martial art
memcached
Monitoring
Moodle
Movies
Music
Nginx
Nguyễn Hiến Lê
Nhạc Việt
Openstack
Perfomance
Photography
printing
Quotes
scanning
shell
Skills
Storage
Stories
Sự học
Tây Tạng
TechConfiguration
Technology
Thanh lọc
Troubleshooting
Ubuntu
Vietnam
VLAN
VMWare
Vyatta
Windchimes
Windows Server
Wordpress
Zabbix
Zen