Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alert-only mode instead of failover #113

Open
GoogleCodeExporter opened this issue Jul 30, 2015 · 0 comments
Open

alert-only mode instead of failover #113

GoogleCodeExporter opened this issue Jul 30, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

Hi,

Very happy with MHA.  I've been using masterha_master_switch for error-free 
slave promotions, and it works great!  Now I'm slowly moving toward automated 
failover with masterha_manager.  As a first step in automation, I'd like to 
implement an alert-only mode for masterha_manager.  When master failure is 
detected, send alerts, but don't take action.

I can use `master_ip_failover_script` to generate alerts.  However, in "Phase 
2: Dead Master Shutdown Phase", MHA stops slave IO threads before calling 
`master_ip_failover_script`.  This is not desirable for alert-only mode.

Is it possible to disable this action?  Is there a better way to implement 
alert-only mode?

Currently using the following versions:
mha4mysql-node 0.53
mha4mysql-manager 0.53

Dane

Original issue reported on code.google.com by [email protected] on 8 May 2015 at 9:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant