Skip to content

Ruby script to monitor / switch "passive" parameter of MaxScale

Notifications You must be signed in to change notification settings

goto-satoru/maxscale-failover-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDo

  1. install Ruby 2.0 and later

ref: RVM installarion https://rvm.io/ for the latest version

gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
rvm install ruby-2.6
  1. install bundler rubygem (if not installed)
gem install bundler
  1. bundle install

  2. install maxscale (to use maxctrl)

  3. run the montoring script

ruby mxs-monitor.rb

About

Ruby script to monitor / switch "passive" parameter of MaxScale

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages