Re: [Pacemaker] MySQL Master/Slave replication issue

2012-07-27 Thread quanta
On 07/26/2012 03:37 PM, quanta wrote: > Moreover, i would prefer to avoid an auto failback (master/slave role). When > the master switches, how can i do to tell me to stay ? (like with the > stickiness) I don't want a command after to use (because if the server is up > b

Re: [Pacemaker] MySQL Master/Slave replication issue

2012-07-26 Thread quanta
On 07/24/2012 10:23 PM, l...@netcourrier.com wrote: > I have mysql in master/slave replication on 2 nodes > (centreon-failover-dbmaster and centreon-failover-dbslave). In normal state, > role 'master' is on 'centreon-failover-dbmaster' and 'slave' role is on > 'centreon-failover-dbslave'. The p

[Pacemaker] corosync init script doesn't invoke cib?

2012-07-21 Thread quanta
Distro: CentOS corosync-1.4.3-1 pacemaker-1.0.12-1.el5.centos On one node when I starts the corosync, it doesn't invoke cib and attrd: # ps -ef | grep [h]eartbeat root 7821 7815 0 22:59 ?00:00:00 /usr/lib64/heartbeat/stonithd root 7823 7815 0 22:59 ?00:00:00 /usr/lib

Re: [Pacemaker] Cannot start the failed MySQL master as a new slave?

2012-07-12 Thread quanta
: info: process_lrm_event: LRM operation p_mysql:1_start_0 (call=4, rc=1, cib-update=10, confirmed=true) unknown error Any thoughts? On 07/10/2012 09:27 AM, quanta wrote: > > On 07/10/2012 05:08 AM, Andreas Kurz wrote: >> and you also use the latest mysql RA from resource-a

Re: [Pacemaker] Cannot start the failed MySQL master as a new slave?

2012-07-09 Thread quanta
On 07/10/2012 05:08 AM, Andreas Kurz wrote: > and you also use the latest mysql RA from resource-agents github? Yes. > Not enough logs ... at least for me ... to give more hints. Regards, > Andreas Sorry, here for you: http://fpaste.org/AyOZ/ ___ Pac

[Pacemaker] Pacemaker cannot start the failed master as a new slave?

2012-07-08 Thread quanta
Related thread: http://oss.clusterlabs.org/pipermail/pacemaker/2011-December/012499.html I'm going to setup failover for MySQL replication (1 master and 1 slave) follow this guide: https://github.com/jayjanssen/Percona-Pacemaker-Resource-Agents/blob/master/doc/PRM-setup-guide.rst Here're the outp