Re: [Linux-ha-dev] In xen0, the way to check whether STONITH succeeded.

2009-05-27 Thread Serge Dubrouski
Hello, Yoshihiko - I see what the problem is but I'm disagree with proposed solutions. We can't rely on SSH return code for judging results of STONITH operation. Especially if we run xm commands in background. That code won't show real result of xm commands and won't guarantee that reset

Re: [Linux-ha-dev] In xen0, the way to check whether STONITH succeeded.

2009-05-10 Thread Serge Dubrouski
Hello - I'm on vacation right now. I'll be back on May, 19th and will take a look at all these issues then. On Fri, May 8, 2009 at 12:27 PM, Yoshihiko SATO satoyo...@intellilink.co.jp wrote: Hi, Serge. Sorry for not replying to you sooner. I consider 3 problems with STONITH operation in Xen

Re: [Linux-ha-dev] In xen0, the way to check whether STONITH succeeded.

2009-05-08 Thread Yoshihiko SATO
Hi, Serge. Sorry for not replying to you sooner. I consider 3 problems with STONITH operation in Xen environment. I would like to hear your opinion. [PROBLEM 1: About fence operation timeout] I consider the case that two or more xm commands are executed in parallel. For example, in the case

Re: [Linux-ha-dev] In xen0, the way to check whether STONITH succeeded.

2009-04-30 Thread Yoshihiko SATO
Hi, Serge. Sorry for not replying to you sooner. I have tested your patch. It is unquestionable. Thanks. Incidentally, in the case that xen config file has space before and behind = (for example, name = domain-U), It always passes through the check processing. If the TRIM processing is added,

Re: [Linux-ha-dev] In xen0, the way to check whether STONITH succeeded.

2009-04-28 Thread Serge Dubrouski
Did it work for you? Shall we ask Dejan to commit this patch? On Wed, Apr 15, 2009 at 12:13 AM, Yoshihiko SATO satoyo...@intellilink.co.jp wrote: Hello Serge, Thank you so much for your quick action! I'll test the patch. Regards, Yoshihiko SATO. Attached is a patch that checks that DomU

Re: [Linux-ha-dev] In xen0, the way to check whether STONITH succeeded.

2009-04-15 Thread Yoshihiko SATO
Hello Serge, Thank you so much for your quick action! I'll test the patch. Regards, Yoshihiko SATO. Attached is a patch that checks that DomU disappears from the xm list on Dom0 after running destroy. On Mon, Apr 13, 2009 at 10:03 PM, Serge Dubrouski serge...@gmail.com wrote: Hello - This

Re: [Linux-ha-dev] In xen0, the way to check whether STONITH succeeded.

2009-04-14 Thread Serge Dubrouski
Hello - This makes sense and I''ll think how to implement that. Thank for the suggestion. 2009/4/13 Yoshihiko SATO satoyo...@intellilink.co.jp: Hi Serge, I consider about the case that two or more plugins are set in cib.xml. For example, xen0(STONITH plugin for DomU) and ibmrsa-telnet(the

Re: [Linux-ha-dev] In xen0, the way to check whether STONITH succeeded.

2009-04-14 Thread Serge Dubrouski
Attached is a patch that checks that DomU disappears from the xm list on Dom0 after running destroy. On Mon, Apr 13, 2009 at 10:03 PM, Serge Dubrouski serge...@gmail.com wrote: Hello - This makes sense and I''ll think how to implement that. Thank for the suggestion. 2009/4/13 Yoshihiko SATO

[Linux-ha-dev] In xen0, the way to check whether STONITH succeeded.

2009-04-13 Thread Yoshihiko SATO
Hi Serge, I consider about the case that two or more plugins are set in cib.xml. For example, xen0(STONITH plugin for DomU) and ibmrsa-telnet(the one for Dom0) or something. The setting's purpose is to STONITH Dom0 when xen0 failed to STONITH DomU. Then, I found the following problem about xen0's