Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Yan Gao
On 09/14/10 00:05, Luana C. Rocha wrote: > > apt-get install gcc g++ make autoconf automake gawk > apt-get install gettext intltool Right. The building requires intltool > > *Error trying to start Pacemaker-Python-GUI-6318ced8e29b with heartbeat > support:* > r...@squid01:/home/luana/Pacemaker-

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Rasto Levrinc
On Mon, September 13, 2010 6:05 pm, Luana C. Rocha wrote: > Thank you all for the fast replies. > Dan, I'll take a look at DRDB, thank you. Sorry to steal the thread for my purposes again. :) By all means have a look at DRBD, but DRBD MC is DRBD GUI, Pacemaker GUI or both. It means it can be used

Re: [Pacemaker] About Quorum control at the time of the service stop.(no-quorum-policy=freeze)

2010-09-13 Thread renayama19661014
Hi Andrew, Thank you for comment. As a conclusion in case of the freeze setting * At the divided point in time, the resource maintains it. * When a node shuts it down, in divided constitution, the resource does migrate. -> Maintaining a resource in divided constitution. Is my understa

Re: [Pacemaker] A patch of crm_mon for the trouble actions.

2010-09-13 Thread renayama19661014
Hi Andrew, Thank you for comment. > Thanks for the explanation, I think you're right that we shouldn't be > showing these failed actions. > I think we want to do it in the PE though, eg. stop them from making > it into the failed_ops list in the first place. Does your answer mean that the next p

Re: [Pacemaker] Startup ordering problem

2010-09-13 Thread Brett Delle Grazie
On Mon, 2010-09-13 at 16:51 +, Jody Nickel wrote: > Andrew Beekhof writes: > > > I think you're missing brackets... ie. > > > > order stop_order inf: ( apache_group:stop \ > > tomcat_group:stop \ > > primary_group:stop ) > > > > That didn't chan

Re: [Pacemaker] Startup ordering problem

2010-09-13 Thread Jody Nickel
Andrew Beekhof writes: > I think you're missing brackets... ie. > > order stop_order inf: ( apache_group:stop \ >                      tomcat_group:stop \ >                      primary_group:stop ) > That didn't change the behavior, when the primary database node goes down and migrates, th

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Luana C. Rocha
Thank you all for the fast replies. Dan, I'll take a look at DRDB, thank you. I solved the problem with this steps: apt-get install gcc g++ make autoconf automake gawk apt-get install gettext intltool autoreconf -ifs But, now I'm stucked with this other message: *Error trying to start Pacemak

[Pacemaker] g_hash_table_lookup: assertion `hash_table != NULL' failed

2010-09-13 Thread Vladislav Bogdanov
Hi Andrew, hi all, Upgraded to todays tip and see bunch of assertion messages in logs (together with some segfaults from pengine). Here is what I see: Sep 13 16:53:43 s01-1 pengine: [4120]: ERROR: crm_abort: xpath_search: Triggered assert at xml.c:2599 : xml_top != NULL Sep 13 16:56:14 s01-1 pen

Re: [Pacemaker] kernel BUG at fs/dlm/lock.c:242! after sync of GFS2 (2 node - active/active)

2010-09-13 Thread Vladislav Bogdanov
13.09.2010 16:21, Andrew Beekhof wrote: > On Wed, Sep 8, 2010 at 6:00 AM, Vladislav Bogdanov > wrote: [...] >> Could you paste output from drbd-overview? drbd device should be in >> Primary state on node where you issue mount. >> And... >> Did you start corosync or openais? Later is required inst

Re: [Pacemaker] stop/demote order during node standby

2010-09-13 Thread Patrick Zwahlen
> > I think I was wrong in that thread, until now I didn't see the > dangling appyul1:start and thought it wasn't involved in any ordering > constraints. I'm struggling trying to reproduce, and I may have been wrong at the first place ! On top of it, my RA stop action isn't optimal yet. > Your a

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Rasto Levrinc
On Mon, September 13, 2010 3:39 pm, Michael Schhwartzkopff wrote: > > I know. The DMC will be genious if it is finished. But for now I would > not use it in a production environment. > In open source world "finished" means dead. As Florian said, if there is reason why you wouldn't use it in a pro

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Michael Schhwartzkopff
On Monday 13 September 2010 15:29:11 Rasto Levrinc wrote: > On Mon, September 13, 2010 2:34 pm, Michael Schhwartzkopff wrote: > > On Monday 13 September 2010 14:26:36 Dan Frincu wrote: > >> Why don't you use DRBD MC? http://www.drbd.org/mc/management-console/ > > > > Because I is far from beeing u

Re: [Pacemaker] Fail to switchover when pingd host list failed to reach

2010-09-13 Thread Andrew Beekhof
On Wed, Sep 8, 2010 at 1:07 PM, Alister Wong wrote: > Hi, all, > >     I encounter a problem to let my resource failover when active node > is failed to ping default gateway. Below is my configuration: > > > >     node nmc01-a > > node nmc01-b > > primitive ClusterIP ocf:heartbeat:IPaddr2

Re: [Pacemaker] About Quorum control at the time of the service stop.(no-quorum-policy=freeze)

2010-09-13 Thread Andrew Beekhof
On Fri, Sep 10, 2010 at 7:22 AM, wrote: > Hi, > > We confirmed movement of no-quorum-policy=freeze in four node constitution. > > Of course we understand that quorum control does not act in Heartbeat well. > > We confirmed the service stop of four nodes in the next procedure. > > Step1) We start

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Rasto Levrinc
On Mon, September 13, 2010 2:34 pm, Michael Schhwartzkopff wrote: > On Monday 13 September 2010 14:26:36 Dan Frincu wrote: > >> >> Why don't you use DRBD MC? http://www.drbd.org/mc/management-console/ >> > > Because I is far from beeing usable. Or did you try to enter a location > constraint regar

Re: [Pacemaker] Strange behavior when starting up Corosync in a single node setup

2010-09-13 Thread Andrew Beekhof
On Fri, Sep 10, 2010 at 1:15 PM, Stephan-Frank Henry wrote: > Hello again, > > new week new problem. :D > > Setup: > Single node setup (default via my installer) > /etc/hosts > 127.0.0.1       localhost > 172.16.0.1      cmsserver001 > > the installer basically already takes care of setting everyt

Re: [Pacemaker] kernel BUG at fs/dlm/lock.c:242! after sync of GFS2 (2 node - active/active)

2010-09-13 Thread Andrew Beekhof
On Wed, Sep 8, 2010 at 6:00 AM, Vladislav Bogdanov wrote: > 08.09.2010 05:19, Alisson Landim wrote: >> After setting up a 2 node cluster following the cluster from scratch >> guide for Fedora 13 i have to say that GFS2 filesystem (active/active) >> doesn't work! >> >> If the kernel bug described b

Re: [Pacemaker] Anyone using F13 GFS2(Active/Active) ? Yes? Describe your environment please.

2010-09-13 Thread Andrew Beekhof
On Thu, Sep 9, 2010 at 9:56 AM, Alisson Landim wrote: > After setting up a 2 node active/active GFS2 - Fedora 13 x86_64, i can't use > it because of a "kernel BUG at fs/dlm/lock.c242" and my system is up to > date. Odd, thats what I did for the clusters from scratch doc and it all worked fine. Ma

Re: [Pacemaker] reset config

2010-09-13 Thread Andrew Beekhof
On Wed, Sep 8, 2010 at 9:45 PM, Gerry Kernan wrote: > Hi > > I have run in to a problem a 2 node cluster. One of the nodes wont connect > to the cluster. When is do a crm_mon i get an error that “Connection to > cluster failed: connection failed” > > When is do cibadmin –Q i get an error “Signon

Re: [Pacemaker] stop/demote order during node standby

2010-09-13 Thread Andrew Beekhof
On Mon, Sep 13, 2010 at 8:30 AM, Patrick Zwahlen wrote: > Hi all (already posted to linux-ha, but this seems a better place), > > I am building a 2-nodes iSCSI target, using the following: > - Fedora 12 x86_64 > - drbd 8.3.8.1 (RPM built from source) > - pacemaker 1.0.9.1 (clusterlabs RPM) > - cor

Re: [Pacemaker] A patch of crm_mon for the trouble actions.

2010-09-13 Thread Andrew Beekhof
Thanks for the explanation, I think you're right that we shouldn't be showing these failed actions. I think we want to do it in the PE though, eg. stop them from making it into the failed_ops list in the first place. On Mon, Sep 13, 2010 at 10:37 AM, wrote: > Hi Andrew, > > Thank you for comment

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Florian Haas
On 2010-09-13 14:34, Michael Schhwartzkopff wrote: > On Monday 13 September 2010 14:26:36 Dan Frincu wrote: >> Hi, >> >> Why don't you use DRBD MC? http://www.drbd.org/mc/management-console/ >> >> Regards, >> >> Dan > > Because I is far from beeing usable. Or did you try to enter a location > con

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Michael Schhwartzkopff
On Monday 13 September 2010 14:26:36 Dan Frincu wrote: > Hi, > > Why don't you use DRBD MC? http://www.drbd.org/mc/management-console/ > > Regards, > > Dan Because I is far from beeing usable. Or did you try to enter a location constraint regarding the pingd? Greetings, -- Dr. Michael Schw

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Dan Frincu
Hi, Why don't you use DRBD MC? http://www.drbd.org/mc/management-console/ Regards, Dan Luana C. Rocha wrote: Hi, I'm trying to install pygui on my ubuntu server 10.04 I have done this steps: wget http://hg.clusterlabs.org/pacemaker/pygui/archive/tip.tar.bz2 tar -jxvf tip.tar.bz2 cd Pacema

[Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Luana C. Rocha
Hi, I'm trying to install pygui on my ubuntu server 10.04 I have done this steps: wget http://hg.clusterlabs.org/pacemaker/pygui/archive/tip.tar.bz2 tar -jxvf tip.tar.bz2 cd Pacemaker-Python-GUI-6318ced8e29b/ ./ConfigureMe make Configure flags for Debian GNU/Linux: --prefix=/usr --sysconfdir=/

Re: [Pacemaker] A patch of crm_mon for the trouble actions.

2010-09-13 Thread renayama19661014
Hi Andrew, Thank you for comment. > I assume this is for the stonith-enabled=true case, since offline > nodes are ignored for stonith-enabled=false. > Once the node is shot, then its status section is erased and no failed > actions will be shown... so why do we need this patch? I know that troub

Re: [Pacemaker] quorum forum

2010-09-13 Thread Andrew Beekhof
On Fri, Sep 10, 2010 at 10:36 PM, Brandon DeYoung wrote: > Hi Clusterlabs mailing list, > > Some of my co-workers are frustrated with ricci and luci. Hence, I am on a > Quixotic quest for something "better". > > I'm following the Pacemaker Cluster from Scratch guide. > > In the example setup of a

Re: [Pacemaker] Startup ordering problem

2010-09-13 Thread Andrew Beekhof
On Thu, Sep 9, 2010 at 5:43 PM, Jody Nickel wrote: > I'm attempting to deliver my first clustering solution and > I'm making progress but I'm having trouble with getting > things to start in the proper order. > > Here is what I'd like it to do: > > The two database services run on "special" nodes

Re: [Pacemaker] A patch of crm_mon for the trouble actions.

2010-09-13 Thread Andrew Beekhof
2010/9/13 : > Hi, > > I contribute the patch of the crm_mon command. > > A node was offline and, in the case of the shutdown, revised it not to > display a trouble action. > > Please confirm a patch. > And, without a problem, please take this revision in a development version. Hmmm. I'm not sure