Re: [Pacemaker] Adding VIP support for the MySQL RA

2011-11-11 Thread Yves Trudeau
Because that's not enough, if a slave lags behind too much, I want to remove the vip but not stop the slave. On 11-11-11 06:12 PM, Michael Marrotte wrote: Why don't you simply colocate VIP's with the master/slave roles? On Fri, Nov 11, 2011 at 5:18 PM, Yves Trudeau

Re: [Pacemaker] Pure-FTPd resource script is wrong (at least on ubuntu and probably debian)

2011-11-11 Thread Mailing List SVR
For your info in mysql RA script there is the following (mysql_start function): if [ ! -d $pid_dir ] ; then ocf_log info "Creating PID dir: $pid_dir" mkdir -p $pid_dir chown $OCF_RESKEY_user:$OCF_RESKEY_group $pid_dir fi no problem if you want to keep the pure-ftpd ra script as is,

Re: [Pacemaker] Adding VIP support for the MySQL RA

2011-11-11 Thread Michael Marrotte
Why don't you simply colocate VIP's with the master/slave roles? On Fri, Nov 11, 2011 at 5:18 PM, Yves Trudeau wrote: > Hi, > I created a fork of the resource-agents and modified the mysql RA to > supports VIP. The support for read/write VIPs is something that currently > limits the use of pac

[Pacemaker] Adding VIP support for the MySQL RA

2011-11-11 Thread Yves Trudeau
Hi, I created a fork of the resource-agents and modified the mysql RA to supports VIP. The support for read/write VIPs is something that currently limits the use of pacemaker to manage mysql replication. I ran some basic tests on the modified agent and it seems behaving sanely so far but

Re: [Pacemaker] [Problem]A monitor of Master stops when crm command repeat the movement of the resource.

2011-11-11 Thread renayama19661014
Hi Dejan, Thank you for comment. This correction seems to be necessary for the cancellation of the monitor of the Master/Slave resource. This correction creates right states of Master/Slave. I tested it. And the correction solved a problem. Best Regards, Hideo Yamauchi. --- On Sat, 2011/11/12,

Re: [Pacemaker] [Problem]A monitor of Master stops when crm command repeat the movement of the resource.

2011-11-11 Thread Dejan Muhamedagic
Hi Hideo-san, On Fri, Nov 11, 2011 at 12:03:28PM +0900, renayama19661...@ybb.ne.jp wrote: > Hi All, > > In the first place lrmd does not return the result of the cancellation > request that made pending. > > However, a result of the cancellation is necessary for crmd. > > Will not the followin

Re: [Pacemaker] Live migration with order constraints

2011-11-11 Thread Dmitry Golubev
Hi, > Yes, and there is a simple reason for that: it's much faster than > vzmigrate. The checkpoint and restore can be completed in a matter of > seconds, and the incurred downtime is minimal. In HA configurations, > uptime is something people care about a lot, so it made sense to > implement it t

Re: [Pacemaker] Pure-FTPd resource script is wrong (at least on ubuntu and probably debian)

2011-11-11 Thread Raoul Bhatia [IPAX]
hi! as i'm quote familiar with the pure-ftpd script, i'm stepping into this conversation. On 2011-11-10 18:40, Mailing List SVR wrote: 1) I have this primitive: primitive ftp_service ocf:heartbeat:Pure-FTPd \ params script="/usr/sbin/pure-ftpd-wrapper" daemon_type="postgresql" pidfile="/var/ru

Re: [Pacemaker] Live migration with order constraints

2011-11-11 Thread Florian Haas
On 2011-11-11 01:23, Dmitry Golubev wrote: >> ManageVE has migration support using chkpt/restore since resource-agents >> version 1.0.4. but if I understand the OpenVZ migration concept >> correct ... please someone correct me if I'm wrong! ... there is no need >> for a shared storage. >> >> T