Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am new to mysql as well as mattkit . I want to know how to set up mk-heartbeat in master server or slave server? which query I have to execute and where to install mattkit in the master server or slave server?

Any help is appreciated.

Thanks

Kuku

share|improve this question

1 Answer 1

create a mattkitdb database on each host, then:

On the master server:

mk-heartbeat --database mattkitdb --table heartbeat_table --user mattkit --interval 30 --update --host localhost &

On the slave server:

mk-heartbeat --database mattkitdb --table heartbeat_table --user mattkit --interval 30 --monitor --host localhost --file /tmp/heartbeat &

share|improve this answer
    
Thanks of bunch. once again thanks for helping –  kuku Jan 7 '10 at 4:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.