TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'primary_server_high_availability'
And then execute:
$ bundle
Or install it yourself as:
$ gem install primary_server_high_availability
TODO: Write usage instructions here
-
mail sendor
-
config loader
hosts: primary: 192.2.0.1 secondary: - 192.168.2.0.2 - 192.168.2.0.3 health_check: check_interval: 3 retry_interval: 3 retry_times: 3 mysql: user: check_user password: port: 3306 #default failover: command: /usr/local/sbin/myfailover_command
-
manager
- watching loop
- do failover
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request