Re: [Pacemaker] Three questions...

2009-03-19 Thread Dejan Muhamedagic
Hi, On Thu, Mar 19, 2009 at 02:09:57PM +0530, Romi Verma wrote: > actually after going through few previous posts i am kinda confused. > > In > 2 nodes cluster , if we configure a ilo stonith (which can control > only one node at a time) for a particular node then > > 1) running it on only on

Re: [Pacemaker] Three questions...

2009-03-19 Thread Takenaka Kazuhiro
> on-fail=ignore ? I will try it, but I cannot do that immediately. Andrew Beekhof wrote: On Thu, Mar 19, 2009 at 07:23, Takenaka Kazuhiro wrote: Hello It is completely dependent on your stonith architecture. Some devices support a list of hosts which means you only need one stonith resourc

Re: [Pacemaker] Three questions...

2009-03-19 Thread Romi Verma
actually after going through few previous posts i am kinda confused. In > 2 nodes cluster , if we configure a ilo stonith (which can control only one node at a time) for a particular node then 1) running it on only one node is enough.?? or 2) we should run it as clone on all nodes except f

Re: [Pacemaker] Three questions...

2009-03-19 Thread Andrew Beekhof
On Thu, Mar 19, 2009 at 07:23, Takenaka Kazuhiro wrote: > Hello > >> It is completely dependent on your stonith architecture. >> Some devices support a list of hosts which means you only need one >> stonith resource. > > Even if there is a such device, the Pacemaker stonith mechanism > provides in

Re: [Pacemaker] Three questions...

2009-03-18 Thread Takenaka Kazuhiro
Hello It is completely dependent on your stonith architecture. Some devices support a list of hosts which means you only need one stonith resource. Even if there is a such device, the Pacemaker stonith mechanism provides insufficient support for it. Suppose: how should its plugin instance do w

Re: [Pacemaker] Three questions...

2009-03-17 Thread Andrew Beekhof
2009/3/16 Romi Verma : >> >> >> i guess if DC fails then CRM will elect any other node for DC role and >> then , this new DC  will try to fence the errant node , if it fails to fence >> then it will choose other node for this fencing task. > >  Andrew could you please confirm the above . [insert s

Re: [Pacemaker] Three questions...

2009-03-17 Thread Andrew Beekhof
On Sat, Mar 14, 2009 at 19:21, Priyanka Ranjan wrote: > Andrew : please correct me if i am wrong. >> >> This really make sense.  but  what if the DC itself fails and become >> errant node then  which node will be choosen to come forward and fence . > > i guess if DC fails then CRM will elect any o

Re: [Pacemaker] Three questions...

2009-03-16 Thread Romi Verma
> > > > i guess if DC fails then CRM will elect any other node for DC role and then > , this new DC will try to fence the errant node , if it fails to fence then > it will choose other node for this fencing task. > Andrew could you please confirm the above . one thing more related to stonith de

Re: [Pacemaker] Three questions...

2009-03-14 Thread Priyanka Ranjan
Andrew : please correct me if i am wrong. > > > > This really make sense. but what if the DC itself fails and become errant > node then which node will be choosen to come forward and fence . > i guess if DC fails then CRM will elect any other node for DC role and then , this new DC will try to

Re: [Pacemaker] Three questions...

2009-03-13 Thread Romi Verma
On Fri, Mar 13, 2009 at 7:23 PM, Andrew Beekhof wrote: > On Thu, Mar 12, 2009 at 14:11, Dejan Muhamedagic > wrote: > > Hi, > > > > On Sat, Mar 07, 2009 at 11:40:52AM +0530, Romi Verma wrote: > >> Thanks Dejan, > >> it is really good info for me . one more question, suppose we are > running a > >

Re: [Pacemaker] Three questions...

2009-03-13 Thread Andrew Beekhof
On Thu, Mar 12, 2009 at 14:11, Dejan Muhamedagic wrote: > Hi, > > On Sat, Mar 07, 2009 at 11:40:52AM +0530, Romi Verma wrote: >> Thanks Dejan, >> it is really good info for me . one more question, suppose we are running a >> stonith as clone on four nodes cluster. if one nodes fails and it needs t

Re: [Pacemaker] Three questions...

2009-03-13 Thread Romi Verma
even if all three nodes are trying to reset the errant node, dont you think it would be better if a node would have informed other 2 members after fencing the errant node that i have successfully stonith the errant node. it will save other 2 nodes in putting extra effort in fencing the errant nod

Re: [Pacemaker] Three questions...

2009-03-13 Thread Andrew Beekhof
On Fri, Mar 13, 2009 at 05:09, Romi Verma wrote: > Thanks for reply Dejan, >> >> No, there is no coordination between nodes. All of them will try >> to reset the node. > > if All of them will try then dont you think it can lead to multiple reset? > it's not good right?? Far better than corrupted

Re: [Pacemaker] Three questions...

2009-03-12 Thread Romi Verma
Thanks for reply Dejan, > > > No, there is no coordination between nodes. All of them will try > to reset the node. > if All of them will try then dont you think it can lead to multiple reset? it's not good right?? > > Thanks, > > Dejan > > > Regards, > > > > On Fri, Mar 6, 2009 at 6:26 PM, Dejan

Re: [Pacemaker] Three questions...

2009-03-12 Thread Dejan Muhamedagic
Hi, On Sat, Mar 07, 2009 at 11:40:52AM +0530, Romi Verma wrote: > Thanks Dejan, > it is really good info for me . one more question, suppose we are running a > stonith as clone on four nodes cluster. if one nodes fails and it needs to > be fenced then who will be elected among rest three nodes to

Re: [Pacemaker] Three questions...

2009-03-06 Thread Romi Verma
Thanks Dejan, it is really good info for me . one more question, suppose we are running a stonith as clone on four nodes cluster. if one nodes fails and it needs to be fenced then who will be elected among rest three nodes to fence this errant node. how this election happens. is there any priority

Re: [Pacemaker] Three questions...

2009-03-06 Thread Dejan Muhamedagic
Hi, On Tue, Mar 03, 2009 at 11:07:18AM +0530, Romi Verma wrote: > Dejan please reply , how do we set priority?? > > On Tue, Feb 24, 2009 at 1:12 PM, Andrew Beekhof wrote: > > > On Tue, Feb 24, 2009 at 06:38, Romi Verma wrote: > > > Thanks a lot Andrew for your reply, > > > i have another quest

Re: [Pacemaker] Three questions...

2009-03-02 Thread Romi Verma
Dejan please reply , how do we set priority?? On Tue, Feb 24, 2009 at 1:12 PM, Andrew Beekhof wrote: > On Tue, Feb 24, 2009 at 06:38, Romi Verma wrote: > > Thanks a lot Andrew for your reply, > > i have another question on stonith. i have configured sbd stonith and > riloe > > stonith. can i s

Re: [Pacemaker] Three questions...

2009-02-23 Thread Andrew Beekhof
On Tue, Feb 24, 2009 at 06:38, Romi Verma wrote: > Thanks a lot Andrew for your reply, > i have another question on stonith. i have configured sbd stonith and riloe > stonith.  can i set the order of execution. say i want riloe to get executed > first and if it fails then sbd to get executed. shou

Re: [Pacemaker] Three questions...

2009-02-23 Thread Romi Verma
Thanks a lot Andrew for your reply, i have another question on stonith. i have configured sbd stonith and riloe stonith. can i set the order of execution. say i want riloe to get executed first and if it fails then sbd to get executed. should i set priority?? it seems to me that suse 11 follows

Re: [Pacemaker] Three questions...

2009-02-23 Thread Andrew Beekhof
On Wed, Feb 18, 2009 at 05:13, Romi Verma wrote: > Hi All, > > do we have any way to encapsulate more than one resource into one . suppose > i have a lvm resource, ip add resource so can i combine both?  i know that > we can set constraint to make them dependent on each other but do we have > any

[Pacemaker] Three questions...

2009-02-17 Thread Romi Verma
Hi All, do we have any way to encapsulate more than one resource into one . suppose i have a lvm resource, ip add resource so can i combine both? i know that we can set constraint to make them dependent on each other but do we have any other way. second question i have , is there any way to kill