Vagrant environment to test MySQL Group Replication 0.8

GRVadim Tkachenko recently released  Docker images for Group Replication (thank you for that 😉 ).

As not everybody is already using Docker or just because having multiple choices is also nice (this is an OpenSource world isn’t it ?), I decided to share a Vagrant environment that you can use to evaluate Group Replication.

This environment provides also a module that can be used to deploy GR on any other environment managed by Puppet.

The repository is available on my github account: mysqlGR-vagrant

This is a quick demo on how to use it:

Tadam ! You have a MySQL Group of 3 members ready to use !

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

3 Comments

  1. On ubuntu 16.04 if you installed Vagrant from Xenial’s repo, it will be Vagrant 1.8.1, which will give:

    “`sh@sh-ubuntu:~/REPOS/mysqlGR-vagrant$ vagrant plugin install vagrant-hostmanager
    Installing the ‘vagrant-hostmanager’ plugin. This can take a few minutes…
    /usr/lib/ruby/2.3.0/rubygems/specification.rb:946:in `all=’: undefined method `group_by’ for nil:NilClass (NoMethodError)
    from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:275:in `with_isolated_gem’
    from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:231:in `internal_install’
    from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:102:in `install’
    from /usr/lib/ruby/vendor_ruby/vagrant/plugin/manager.rb:62:in `block in install_plugin’
    from /usr/lib/ruby/vendor_ruby/vagrant/plugin/manager.rb:72:in `install_plugin’
    from /usr/share/vagrant/plugins/commands/plugin/action/install_gem.rb:37:in `call’
    from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:34:in `call’
    from /usr/lib/ruby/vendor_ruby/vagrant/action/builder.rb:116:in `call’
    from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:66:in `block in run’
    from /usr/lib/ruby/vendor_ruby/vagrant/util/busy.rb:19:in `busy’
    from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:66:in `run’
    from /usr/share/vagrant/plugins/commands/plugin/command/base.rb:14:in `action’
    from /usr/share/vagrant/plugins/commands/plugin/command/install.rb:32:in `block in execute’
    from /usr/share/vagrant/plugins/commands/plugin/command/install.rb:31:in `each’
    from /usr/share/vagrant/plugins/commands/plugin/command/install.rb:31:in `execute’
    from /usr/share/vagrant/plugins/commands/plugin/command/root.rb:56:in `execute’
    from /usr/lib/ruby/vendor_ruby/vagrant/cli.rb:42:in `execute’
    from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:268:in `cli’
    from /usr/bin/vagrant:173:in `’
    “`

    Try to download and install directly from here ->
    `wget https://releases.hashicorp.com/vagrant/1.8.5/vagrant_1.8.5_x86_64.deb`

    The result will be:

    “`sh@sh-ubuntu:~/Downloads$ sudo vagrant plugin install vagrant-hostmanager
    Installing the ‘vagrant-hostmanager’ plugin. This can take a few minutes…
    Installed the plugin ‘vagrant-hostmanager (1.8.5)’!“`

    • Hi Shahriyar,
      Thank yoy for the info. Indeed it’s always to use the latest official release, I was using 1.8.4 and 1.8.5

Leave a Reply

Your email address will not be published. Required fields are marked *

As MySQL Community Manager, I am an employee of Oracle and the views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

You can find articles I wrote on Oracle’s blog.