Installing and configuring a dual master

As shown in the previous chapters, you can use Vagrantfile to easily install MariaDB:

# -*- mode: ruby -*- # vi: set ft=ruby : # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! # VAGRANTFILE_API_VERSION = "2" # Insert all your Vms with configs boxes = [ { :name => :master1, :role => 'db', :ip => '192.168.33.31' }, # master node 1 { :name => :master2, :role => 'db', :ip => '192.168.33.32' }, # master node 2 { :name => :loadbalancer, :role => 'lb', :ip => '192.168.33.33' }, # load balancer 1 { :name => :loadbalancer2, :role => 'lb', :ip => '192.168.33.34' }, # load balancer 2 { :name => :drbd1, :role => 'drbd', :ip => '192.168.33.41' }, # drbd 1 { :name => :drbd2, :role => 'drbd', ...

Get MariaDB High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.