Re: [Pacemaker] Three questions...

2009-03-19 Thread Romi Verma
the node that the > instance cannot control must be shooted, Pacemaker will request > the useless instance to shoot the node. > > > Andrew Beekhof wrote: > >> 2009/3/16 Romi Verma : >> >>> >>>> i guess if DC fails then CRM will elect any other node for DC ro

[Pacemaker] need a help

2009-03-17 Thread Romi Verma
Hi All, can any one direct me to a link/document which can explain how to write stonith plugin. Thanks , ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] A very basic question

2009-03-17 Thread Romi Verma
> > > Indeed, a 2:2 split would be without quorum. > > However, the partition with quorum will "simply" instantiate all STONITH > resources before fencing. > i saw some previous posts that we should run a STONITH resource as clone ( it will run on all node except the one for which it is configure

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-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

Re: [Pacemaker] Three questions...

2009-03-13 Thread Romi Verma
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 &

Re: [Pacemaker] Three questions...

2009-03-12 Thread Romi Verma
s, > > > > On Fri, Mar 6, 2009 at 6:26 PM, Dejan Muhamedagic >wrote: > > > > > Hi, > > > > > > On Tue, Mar 03, 2009 at 11:07:18AM +0530, Romi Verma wrote: > > > > Dejan please reply , how do we set priority?? > > > > > > > &

Re: [Pacemaker] A very basic question

2009-03-12 Thread Romi Verma
> > In this situation, unless you have no-quorum-policy=ignore, which I hope > you don't, you will not have any node do anything, as both partitions > are not larger than half the number of nodes. > Thanks Dominik, yes the no-quorum-policy is set to ignore. or lets talk about unequal partition . w

[Pacemaker] A very basic question

2009-03-11 Thread Romi Verma
Lars , Andrew could you please reply. On Fri, Mar 6, 2009 at 3:41 PM, Priyanka Ranjan wrote: > Hi All, > i have a quesion regarding stonith on 4 nodes cluster( suse 11 openais + > pacemaker). i > suppose i am using ilo or any other stonith where one stonith cant shoot > more than one node , so

Re: [Pacemaker] Three questions...

2009-03-06 Thread Romi Verma
for nodes also Regards, On Fri, Mar 6, 2009 at 6:26 PM, Dejan Muhamedagic wrote: > 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 > w

Re: [Pacemaker] Andrew and Lars please confirm this.

2009-03-04 Thread Romi Verma
> > How does a node in Australia connect to a stonith device in Germany if > the network is down? > Or more generally, how can the nodes in Australia ensure that the > nodes in Germany are not running the same services? > > How do you even know that the nodes in Australia should take over? > ok so

Re: [Pacemaker] Andrew and Lars please confirm this.

2009-03-03 Thread Romi Verma
h. Thanks a lot again for clearing my concepts. > > >> That's why it is > >> recommend to have a local cluster ( nodes sharing same rack). > >> > >> am i right?? > >> > >> Thanks & Regards, > >> > >> On Mon,

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 &

[Pacemaker] Andrew and Lars please confirm this.

2009-03-02 Thread Romi Verma
On Mon, Mar 2, 2009 at 1:22 PM, Romi Verma wrote: > ok, so let me summarize what i understood. > we can form a openais/pacemaker cluster whose nodes span across multiple > sites. these sites can be as close as just adjacent rooms or they can be > across continent also. only proble

Re: [Pacemaker] quorum server

2009-03-01 Thread Romi Verma
any solution yet. That's why it is recommend to have a local cluster ( nodes sharing same rack). am i right?? Thanks & Regards, On Mon, Mar 2, 2009 at 12:47 PM, Andrew Beekhof wrote: > On Mon, Mar 2, 2009 at 04:27, Romi Verma wrote: > > Thanks Andrew and Lars, > > I w

Re: [Pacemaker] quorum server

2009-03-01 Thread Romi Verma
works , nothing stops us in forming a cluster. Regrards, On Sat, Feb 28, 2009 at 12:04 AM, Lars Marowsky-Bree wrote: > On 2009-02-27T13:38:02, Romi Verma wrote: > > > Thanks for reply Andrew, > > ok, then how openais-pacemaker cluster handles the cluster whose nodes > spa

Re: [Pacemaker] quorum server

2009-02-27 Thread Romi Verma
Thanks for reply Andrew, ok, then how openais-pacemaker cluster handles the cluster whose nodes span across multiple sites. On Fri, Feb 27, 2009 at 1:24 PM, Andrew Beekhof wrote: > On Fri, Feb 27, 2009 at 04:30, Romi Verma wrote: > > hi, > > can we configure quorum server in op

[Pacemaker] quorum server

2009-02-26 Thread Romi Verma
hi, can we configure quorum server in openais-pacemaker cluster (suse 11). Thanks & Regards, ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

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] Two nodes split brain case

2009-02-21 Thread Romi Verma
can we use SBD stonith to solve this issue. On Fri, Feb 20, 2009 at 1:32 PM, Priyanka Ranjan wrote: > Thanks Lars for fast reply, > RHCS uses qdisk to resolve this issue . let me explain the two node split > brain situation again , > when node1 reset node2 and node2 comes up it finds that it h

[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

Re: [Pacemaker] exclusive activation of Volume Group

2009-02-17 Thread Romi Verma
activate the VG during resource start up?? On Tue, Feb 17, 2009 at 2:40 PM, Andrew Beekhof wrote: > > On Feb 17, 2009, at 10:03 AM, Romi Verma wrote: > > Hi All, >> i have just configured LVM resouce agent in pacemaker cluster. i am kind >> of suprised as it is not

[Pacemaker] exclusive activation of Volume Group

2009-02-17 Thread Romi Verma
Hi All, i have just configured LVM resouce agent in pacemaker cluster. i am kind of suprised as it is not taking care of exclusive activation. am i missing something or LVM Resouce agent is written in this way only. can anyone put some light here. Thanks, _

Re: [Pacemaker] on_fail

2009-02-13 Thread Romi Verma
> > > It will immediately fence (turn of or reboot depending on your > configuration) the node on which the operation failed. > Thanks Dominik and Andrew, I have one more question . there is a property "requires" for any operation. it has three value "nothing" , quourm , fencing . i understand f

Re: [Pacemaker] on_fail

2009-02-13 Thread Romi Verma
> > setting on_fail=fence for a monitor op will cause the cluster to shoot the > node immediately instead of trying to stop the resource and recover it > without fencing. > u said "instead of trying to stop the resource and recover it without fencing." do you mean if on_fail is not fence then af

Re: [Pacemaker] on_fail

2009-02-13 Thread Romi Verma
On Fri, Feb 13, 2009 at 3:36 PM, Andrew Beekhof wrote: > > On Feb 13, 2009, at 11:05 AM, Romi Verma wrote: > > Hi All, >> >> pacemaker has one property "on_fail" for any operation configured for a >> resource. suppose i have set "on_fail" t

[Pacemaker] on_fail

2009-02-13 Thread Romi Verma
Hi All, pacemaker has one property "on_fail" for any operation configured for a resource. suppose i have set "on_fail" to "fence" for a monitor operation , then is it expected to fence the node in case of resource monitor failure ?? can any one explain please. Best Regards,

[Pacemaker] Is it a bug

2009-02-09 Thread Romi Verma
On Mon, Feb 9, 2009 at 7:55 PM, Priyanka Ranjan wrote: > Hi All, > I am using two nodes (suse 11) cluster. i have set no-quorum-policy= > "ignore". i have configured stonith external riloe device . i have tested > the device with stonith command it is working fine and powering off another > node.

Re: [Pacemaker] Few questions

2009-02-09 Thread Romi Verma
On Mon, Feb 9, 2009 at 5:01 PM, Andrew Beekhof wrote: > > On Feb 9, 2009, at 12:25 PM, Romi Verma wrote: > > > > On Mon, Feb 9, 2009 at 4:04 PM, Andrew Beekhof wrote: > >> On Feb 9, 2009, at 11:21 AM, Dejan Muhamedagic wrote: >> >> On Mon, Feb 09, 200

Re: [Pacemaker] Few questions

2009-02-09 Thread Romi Verma
On Mon, Feb 9, 2009 at 4:04 PM, Andrew Beekhof wrote: > On Feb 9, 2009, at 11:21 AM, Dejan Muhamedagic wrote: > > On Mon, Feb 09, 2009 at 03:09:40PM +0530, Romi Verma wrote: >> >>> >>> >>> sorry to interrupt in between. just one question from my side.

Re: [Pacemaker] no-quorum-policy

2009-02-09 Thread Romi Verma
> > > > when set to suicide, it will only shoot itself and any other nodes in its > current partition - it wont try to shoot the nodes it can't see. > when set to "ignore" (or when it has quorum), it will shoot anyone it can't > see > for any other value, it wont shoot anyone when it doesn't have q

Re: [Pacemaker] Few questions

2009-02-09 Thread Romi Verma
On Mon, Feb 9, 2009 at 2:56 PM, Dejan Muhamedagic wrote: > On Mon, Feb 09, 2009 at 02:16:42PM +0530, Glory Smith wrote: > > On Mon, Feb 9, 2009 at 2:06 PM, Dejan Muhamedagic >wrote: > > > > > Hi, > > > > > > On Mon, Feb 09, 2009 at 01:26:56PM +0530, Glory Smith wrote: > > > > Hi All, > > > > Anyb

Re: [Pacemaker] no-quorum-policy

2009-02-09 Thread Romi Verma
On Mon, Feb 9, 2009 at 2:20 PM, Glory Smith wrote: > > > On Sat, Feb 7, 2009 at 8:16 PM, Romi Verma wrote: > >> Hi all, >> >> I have one confusion . pacemaker (configuration explained ) document >> says that " if the cluster does not have quorum then

[Pacemaker] unexpected behavior

2009-02-08 Thread Romi Verma
Hi All, i had a discussion with you ppl and during that i came to know if no-quorum-policy is set to suicide the cluster partition running without quorum commit suicide. i have two nodes cluster after removing network cable , i produced split brain situation . i have configured a stonith suicide d

[Pacemaker] no-quorum-policy

2009-02-07 Thread Romi Verma
Hi all, I have one confusion . pacemaker (configuration explained ) document says that " if the cluster does not have quorum then the cluster cannot start resources or fence other nodes." i understand that when no-quorum-policy is set to "stop" then cluster will not be able to start it's exi

Re: [Pacemaker] spilit brain situation

2009-02-06 Thread Romi Verma
On Fri, Feb 6, 2009 at 3:24 PM, Andrew Beekhof wrote: > > On Feb 6, 2009, at 10:49 AM, Romi Verma wrote: > > > > On Fri, Feb 6, 2009 at 3:09 PM, Andrew Beekhof wrote: > >> >> On Feb 6, 2009, at 10:29 AM, Romi Verma wrote: >> >> > i want the par

Re: [Pacemaker] spilit brain situation

2009-02-06 Thread Romi Verma
On Fri, Feb 6, 2009 at 3:09 PM, Andrew Beekhof wrote: > > On Feb 6, 2009, at 10:29 AM, Romi Verma wrote: > > > i want the partition without quorum to reset the nodes instead of >> killing . >> > is it possible. >> >> define the difference between reset

Re: [Pacemaker] spilit brain situation

2009-02-06 Thread Romi Verma
On Fri, Feb 6, 2009 at 2:47 PM, Dominik Klein wrote: > Romi Verma wrote: > > On Fri, Feb 6, 2009 at 2:28 PM, Andrew Beekhof > wrote: > > > >> On Feb 6, 2009, at 9:53 AM, Romi Verma wrote: > >> > >> Thanks Dominic, > >> i have two questions

Re: [Pacemaker] spilit brain situation

2009-02-06 Thread Romi Verma
On Fri, Feb 6, 2009 at 2:28 PM, Andrew Beekhof wrote: > > On Feb 6, 2009, at 9:53 AM, Romi Verma wrote: > > Thanks Dominic, > i have two questions now. > > 1) what does no-quorum-policy= suicide means then?? does it remove the > resource completely. > > > no, th

Re: [Pacemaker] spilit brain situation

2009-02-06 Thread Romi Verma
dont have any stonith configured in my cluster . do i need stonith to handle spilit brain situation. On Fri, Feb 6, 2009 at 1:59 PM, Dominik Klein wrote: > Romi Verma wrote: > > Thanks for fast reply , > > Ok, Let me explain the situation. i have two nodes cluster . i pulled out

Re: [Pacemaker] spilit brain situation

2009-02-06 Thread Romi Verma
held to determine the DC when the partitions reform. > Can you be more specific please? > On Feb 6, 2009, at 4:54 AM, Romi Verma wrote: > > > > hi all, >> how does openais + pacemaker (suse 11) cluster handles spilit brain >> situ

Re: [Pacemaker] spilit brain situation

2009-02-05 Thread Romi Verma
hi all, > how does openais + pacemaker (suse 11) cluster handles spilit brain > situation . can any one explain. > > Thanks, > Romi. > ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker