GithubHelp home page GithubHelp logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
>  nohup masterha_manager --conf=/etc/app1.cnf < /dev/null > 
/data/log/masterha/manager.log 2>&1 &;
> 
> tail -f /data/log/masterha/manager.log
> Tue Dec 27 21:39:59 2011 - [info] Reading default configuratoins from 
/etc/masterha_default.cnf..
> Tue Dec 27 21:39:59 2011 - [info] Reading application default configurations 
from /etc/app1.cnf..
> Tue Dec 27 21:39:59 2011 - [info] Reading server configurations from 
/etc/app1.cnf..
> Tue Dec 27 21:40:33 2011 - [info] Reading default configuratoins from 
/etc/masterha_default.cnf..
> Tue Dec 27 21:40:33 2011 - [info] Reading application default configurations 
from /etc/app1.cnf..
> Tue Dec 27 21:40:33 2011 - [info] Reading server configurations from 
/etc/app1.cnf..

This is strange. When MHA monitors master successfully, masterha_manager should 
print "waiting until MySQL doesn't respond.." message in the logs. What if you 
set "log_lavel=debug" in the configuration file and simply run masterha_manager 
(not using nohup, not running in backgrounds)? 

Original comment by [email protected] on 27 Dec 2011 at 2:58

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
[deleted comment]

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
Sorry, log_level=debug, not log_lavel.


Original comment by [email protected] on 28 Dec 2011 at 2:22

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
thanks for replay,  i change the below section in my app1.cnf,   it works. 
  [server default]
  user=root
  password=
  manager_workdir=/var/log/masterha/app1
  #manager_log=/var/log/masterha/app1/app1.log
  #remote_workdir=/var/log/masterha/app1
  log_level=debug

But I have a place  not sure , if  the   masterha_manager  complete the  
failover, the process will be aborted?

Original comment by [email protected] on 28 Dec 2011 at 2:29

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
The masterha_manager process ends after it processes failover. Currently I 
recommend using daemontools to run as a daemon.

http://code.google.com/p/mysql-master-ha/wiki/Runnning_Background

Original comment by [email protected] on 28 Dec 2011 at 2:31

from mysql-master-ha.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024

Original comment by [email protected] on 28 Dec 2011 at 2:32

  • Changed state: Done

from mysql-master-ha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.