[Pacemaker] Trying to get a mysql cluster up and running

2009-03-17 Thread Emmanuel Lesouef
Hi, First of all, I hope my question aren't silly questions. I'm trying to build a mysql cluster with heartbeat (2.99) and pacemaker (1.02). The mysql datas will reside on a drbd volume. Mysql is running, on top of the drbd mounted volume. All this by hand. Now I try to do it with heartbeat/pace

Re: [Pacemaker] pacemaker.spec for the latest code

2009-03-17 Thread Junko IKEDA
It worked! Thanks a lot. Junko > Almost... > > This is still required > %dir %attr (750, %{uname}, %{gname}) %{_var}/lib/heartbeat/crm > > And you need to add > > %dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pengine > %dir %attr (750, %{uname}, %{gname}) %{_var}/run/crm > > > > 2009/3/1

Re: [Pacemaker] multi-running attribute

2009-03-17 Thread Andrew Beekhof
On Mon, Mar 16, 2009 at 08:36, Glory Smith wrote: > Hi All, > i want to know about multi-running attribute of a resource. i have > configured a primitive resource  on node1 when i tried to migrate it to a > node2, it status changed to multirunning ( node1 ,node2). what does it mean? > i didn't exp

Re: [Pacemaker] pacemaker.spec for the latest code

2009-03-17 Thread Andrew Beekhof
Almost... This is still required %dir %attr (750, %{uname}, %{gname}) %{_var}/lib/heartbeat/crm And you need to add %dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pengine %dir %attr (750, %{uname}, %{gname}) %{_var}/run/crm 2009/3/16 Junko IKEDA : > Hi, > > I failed to build the latest pace

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] do we have nodeid?

2009-03-17 Thread Andrew Beekhof
On Sat, Mar 14, 2009 at 19:14, Priyanka Ranjan wrote: > Hi All, > i am using suse 11 (openais+pacemaker ) cluster. do we have any way to get > nodeid or any other way to uniquely identify a node in cluster. First question, why do you need it? Second question, do you want it programatically or via

[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