Dominik Klein | 1 Apr 10:34 2009
Picon

Re: [Linux-HA] showscores.sh for pacemaker 1.0.2

So here's an update. Michael Schwartzkopf pointed out a bug regarding
groups. That has been fixed now and the appropriate values should be
shown. Thanks!

There's not been a lot of feedback, is it because nobody uses the script
or does it just work for you?

Regards
Dominik

Dominik Klein wrote:
> Hi
> 
> I made the necessary changes to the showscores script to work with
> pacemaker 1.0.2.
> 
> Please test and report problems. Has been reported to work by some
> people and should go into the repository soon. Still, I'd like more
> people to test and confirm.
> 
> Important changes:
> * correctly fetch stickiness and migration-threshold for complex
> resources (master and clone)
> * adjust column-width according to the length of resources' and nodes' names
> 
> Regards
> Dominik
Attachment (showscores.sh): application/x-sh, 4521 bytes
(Continue reading)

Bruno Voigt | 1 Apr 20:22 2009
Picon

Re: [Linux-HA] showscores.sh for pacemaker 1.0.2

Hi Dominik,

I use your script occasionally,
together with Pacemaker packaged for Debian by  martin.loschwitz <at> linbit.com.

When running the new version I get as first output line:
tail: cannot open `+2' for reading: No such file or directory
and then the resource scores overview as expected.

Thanks a lot for this useful script,
I wonder if it could be included in some pacemaker/pacemaker-contrib
package ? :-)

WR,
Bruno

Dominik Klein wrote:
> So here's an update. Michael Schwartzkopf pointed out a bug regarding
> groups. That has been fixed now and the appropriate values should be
> shown. Thanks!
>
> There's not been a lot of feedback, is it because nobody uses the script
> or does it just work for you?
>
> Regards
> Dominik
>
> Dominik Klein wrote:
>   
>> Hi
(Continue reading)

Dominik Klein | 2 Apr 07:55 2009
Picon

Re: [Linux-HA] showscores.sh for pacemaker 1.0.2

Bruno Voigt wrote:
> Hi Dominik,
> 
> I use your script occasionally,
> together with Pacemaker packaged for Debian by  martin.loschwitz@...
> 
> When running the new version I get as first output line:
> tail: cannot open `+2' for reading: No such file or directory
> and then the resource scores overview as expected.

How did that slip in there again? I fixed that like weeks ago. Sorry.
See attached version. It's a thing with the version of "tail".

> Thanks a lot for this useful script,
> I wonder if it could be included in some pacemaker/pacemaker-contrib
> package ? :-)

There is a version in the sources. It lives in extra/ but I doubt it is
of any use as it is really old and it is not installed anywhere.

Regards
Dominik
Attachment (showscores.sh): application/x-sh, 4524 bytes
_______________________________________________
Pacemaker mailing list
Pacemaker@...
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
(Continue reading)

Raoul Bhatia [IPAX] | 2 Apr 10:36 2009
Picon

Re: [Linux-HA] showscores.sh for pacemaker 1.0.2

Dominik Klein wrote:
> So here's an update. Michael Schwartzkopf pointed out a bug regarding
> groups. That has been fixed now and the appropriate values should be
> shown. Thanks!
> 
> There's not been a lot of feedback, is it because nobody uses the script
> or does it just work for you?

hello dominik,

as you know i also use this script. i'm currently knee deep into work
and my cluster is running so i'm not touching it ;)

cheers,
raoul
--

-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia@...
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office@...
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
Glory Smith | 3 Apr 05:57 2009
Picon

maximum no. of RA

Hi All,

Does Pacemaker has any limit in terms of no. of RA ( maximum no. of RA that can be configured in pacemaker cluster).

_______________________________________________
Pacemaker mailing list
Pacemaker@...
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Dejan Muhamedagic | 3 Apr 09:10 2009

Re: maximum no. of RA

Hi,

On Fri, Apr 03, 2009 at 09:27:55AM +0530, Glory Smith wrote:
> Hi All,
> 
> Does Pacemaker has any limit in terms of no. of RA ( maximum no. of RA that
> can be configured in pacemaker cluster).

No. Apart from practical limits in terms of
time/space/(computing)resources.

Thanks,

Dejan

> _______________________________________________
> Pacemaker mailing list
> Pacemaker@...
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Andrew Beekhof | 3 Apr 12:55 2009
Picon

Re: maximum no. of RA

On Fri, Apr 3, 2009 at 09:10, Dejan Muhamedagic <dejanmm@...> wrote:
> Hi,
>
> On Fri, Apr 03, 2009 at 09:27:55AM +0530, Glory Smith wrote:
>> Hi All,
>>
>> Does Pacemaker has any limit in terms of no. of RA ( maximum no. of RA that
>> can be configured in pacemaker cluster).
>
> No. Apart from practical limits in terms of
> time/space/(computing)resources.

Actually we're bound by the IPC and cluster messaging limits imposed
by heartbeat and openais.
At a certain point, the CIB gets too big for them to handle.

We're working on getting that addressed.
Andrew Beekhof | 3 Apr 13:36 2009
Picon

Re: migration-threshold question

On Sat, Mar 21, 2009 at 17:04, Juha Heinanen <jh@...> wrote:
> i have a resource that used to have this crm definition:
>
> primitive test lsb:test \
>        op monitor interval="30s" timeout="5s" \
>        meta target-role="Started"
>
> if i stopped the resource by
>
> /etc/init.d/test stop
>
> pacemaker restarted as i was expecting it to do.
>
> then i modified "test" init script so that starting of the resource
> always failed.  the result was that pacemaker kept on trying to restart
> it forever without migrating the group of primitives of which "test" is
> the last member to the other node.
>
> i searched archives and found about parameter migration-threshold:
>
>  If you used pacemaker 1.0 you would not have to deal with
>  failure-stickiness anymore, but could use the very nice new
>  "migration-threshold" feature. Set this to 1 and after 1 failure, the
>  resource will failover, regardless of its score.
>
> so i went and set migration-threshold to value 3 hoping that after three
> failed attempts to restart the resource the group would migrate to the
> other node:

nope - starts are considered special
by default they count as INFINITY failures (as in, they (should)
immediately cause the node to no longer be allowed to run the
resources).

if you want them to count as only 1 you need to run:
   crm_attribute -n start-failure-is-fatal -v false

> primitive test lsb:test \
>        op monitor interval="30s" timeout="5s" \
>        meta target-role="Started" migration-threshold="3"
>
> the result, however, was that after 3 restart attempts, the resource
> has stayed "Stopped" on the node where it failed:
>
> ============
> Last updated: Sat Mar 21 19:02:07 2009
> Current DC: lenny2 (f13aff7b-6c94-43ac-9a24-b118e62d5325)
> Version: 1.0.2-ec6b0bbee1f3aa72c4c2559997e675db6ab39160
> 2 Nodes configured.
> 2 Resources configured.
> ============
>
> Node: lenny1 (8df8447f-6ecf-41a7-a131-c89fd59a120d): online
> Node: lenny2 (f13aff7b-6c94-43ac-9a24-b118e62d5325): online
>
> Master/Slave Set: ms-drbd0
>    drbd0:0     (ocf::heartbeat:drbd):  Master lenny1
>    drbd0:1     (ocf::heartbeat:drbd):  Slave lenny2
> Resource Group: sip-proxy-group
>    fs0 (ocf::heartbeat:Filesystem):    Started lenny1
>    mysql-server        (lsb:mysql):    Started lenny1
>    radius-server       (lsb:freeradius):       Started lenny1
>    virtual-ip  (ocf::heartbeat:IPaddr2):       Started lenny1
>    test        (lsb:test):     Stopped
>
> Failed actions:
>    test_monitor_30000 (node=lenny1, call=30, rc=7, status=complete): not running
>
> the question:  what i'm missing here, i.e., what should add to the crm
> config in order to get the group migrated to the other node if
> restarting of "test" fails 3 times?
>
> -- juha
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker@...
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
Infos E-Blokos | 4 Apr 10:01 2009

newbie question

Hi Andrew,
 
congratulations for your pacemaker work and docs, very useful and clear.
also I d like to know how to manage ip aliases onto an openais cluster,
I really don't know how to do it and no example on the net.
is CLUSTERIP useful ?
 
Thank you
 
Franck

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Pacemaker mailing list
Pacemaker@...
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Infos E-Blokos | 6 Apr 05:26 2009

problem compiling on Fedora 8

hello,
 
xml.c: In function 'string2xml':
xml.c:486: warning: argument 2 of 'xmlSetGenericErrorFunc' might be a candidate for a format attribute
xml.c: In function 'filename2xml':
xml.c:622: warning: argument 2 of 'xmlSetGenericErrorFunc' might be a candidate for a format attribute
gmake[2]: *** [xml.lo] Error 1
gmake[2]: Leaving directory `/usr/src/LAST_CLUSTER/pacemaker/stable-1.0/lib/common'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/src/LAST_CLUSTER/pacemaker/stable-1.0/lib'
make: *** [all-recursive] Error 1
is there any xml lib missing ?
 
Thanks
 
Franck

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Pacemaker mailing list
Pacemaker@...
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Gmane