Re: [Linux-ha-dev] [PATCH] SAPDatabase: Pull Request

2012-03-29 Thread Dejan Muhamedagic
Hi Alex, On Mon, Mar 26, 2012 at 04:22:19PM +0200, alexander.kra...@basf.com wrote: Hi, just want to point your attention to this changed pull-request. It was reviewed once by Dejan and afterwards changed by me. I'm just uncertain, if github has notifed the repo owners about this

Re: [Linux-ha-dev] Patch : slapd : Even if kill command fails in terminate, return success.

2012-03-29 Thread Dejan Muhamedagic
Hi Tomo, On Tue, Mar 27, 2012 at 10:27:36AM +0900, nozawat wrote: Hi Even if kill fails in terminate, return success. When kill fails, this is the patch which I revised to return an error definitely. This patch doesn't look right. What if the first kill(1) fails (because, say, the

Re: [Linux-ha-dev] Patch : slapd : Even if kill command fails in terminate, return success.

2012-03-29 Thread nozawat
Hi Dejan Thank you for your reply. This patch doesn't look right. What if the first kill(1) fails (because, say, the process just exited)? And if '$result' is -ne 0, then the while loop will finish anyway. Yes,And output an error in an origin of summons and retry it. because kill repaid return

Re: [Linux-ha-dev] Patch : slapd : Even if kill command fails in terminate, return success.

2012-03-29 Thread nozawat
Hi Dejan Can we also do a global replace s/result/rc/? OK,I contribute a patch again. I made this patch, I attach it. Regards, Tomo 2012年3月30日12:03 nozawat noza...@gmail.com: Hi Dejan Thank you for your reply. This patch doesn't look right. What if the first kill(1) fails (because, say,

Re: [Linux-HA] pacemaker+drbd promotion delay

2012-03-29 Thread Andrew Beekhof
On Wed, Mar 28, 2012 at 9:12 AM, William Seligman selig...@nevis.columbia.edu wrote: The basics: Dual-primary cman+pacemaker+drbd cluster running on RHEL6.2; spec files and versions below. Problem: If I restart both nodes at the same time, or even just start pacemaker on both nodes at the

[Linux-HA] ERROR: do_recover: Action A_RECOVER (0000000001000000) not supported

2012-03-29 Thread Ulrich Windl
Hi! We had a problem when crmd crashed. Obviously, crmd after being restarted tried to recover, but it seems recovery is not implemented yet: kernel: [ 2523.296059] crmd[17500]: segfault at 14 ip 00418110 sp 7fffe415d370 error 4 in crmd[40+3a000] cib: [17496]: WARN:

Re: [Linux-HA] ERROR: do_recover: Action A_RECOVER (0000000001000000) not supported

2012-03-29 Thread Lars Marowsky-Bree
On 2012-03-29T11:31:38, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: pengine: [17043]: WARN: pe_fence_node: Node h07 will be fenced because it is un-expectedly down Th software bind used is basically SLES11 SP1 with a newer corosync (corosync-1.4.1-0.3.3.3518.1.PTF.712037). Were

Re: [Linux-HA] pacemaker+drbd promotion delay

2012-03-29 Thread William Seligman
On 3/29/12 3:19 AM, Andrew Beekhof wrote: On Wed, Mar 28, 2012 at 9:12 AM, William Seligman selig...@nevis.columbia.edu wrote: The basics: Dual-primary cman+pacemaker+drbd cluster running on RHEL6.2; spec files and versions below. Problem: If I restart both nodes at the same time, or even

Re: [Linux-HA] ERROR: do_recover: Action A_RECOVER (0000000001000000) not supported

2012-03-29 Thread Andrew Beekhof
On Thu, Mar 29, 2012 at 8:31 PM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Hi! We had a problem when crmd crashed. Obviously, crmd after being restarted tried to recover, but it seems recovery is not implemented yet: Recovery is implemented, just not graceful recovery without a

Re: [Linux-HA] pacemaker+drbd promotion delay

2012-03-29 Thread Andrew Beekhof
On Fri, Mar 30, 2012 at 2:57 AM, William Seligman selig...@nevis.columbia.edu wrote: On 3/29/12 3:19 AM, Andrew Beekhof wrote: On Wed, Mar 28, 2012 at 9:12 AM, William Seligman selig...@nevis.columbia.edu wrote: The basics: Dual-primary cman+pacemaker+drbd cluster running on RHEL6.2; spec