[Pacemaker] 2 node cluster with clvm, configuration help needed...
Andrew Beekhof
andrew at beekhof.net
Wed Jun 9 06:37:38 UTC 2010
On Fri, Jun 4, 2010 at 10:03 AM, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> On Thu, Jun 03, 2010 at 07:57:59AM +0200, Andrew Beekhof wrote:
>> On Wed, Jun 2, 2010 at 1:25 PM, <Patrik.Rapposch at knapp.com> wrote:
>> >
>> >
>> >
>> >
>> >
>> > hy,
>> >
>> > thx for your reply.
>> >
>> > I installed python-curses and xml, but didn't help.
>>
>> Dejan? Thoughts?
>
> For whatever reason "import crm.main" fails. Patrik, could you
> remove the try/expect around it (in /usr/sbin/crm) and try again,
> perhaps it'll show a more specific error message.
Dejan, random thought for you...
How about something like:
crm --load
which does the loads without the try-catch block.
That way people don't need to edit anything to do this sort of diagnostic.
> Otherwise, why do you want to install opensuse 11.0 packages on
> SLES11? It probably won't work and anyway you definitely won't
> get any support for that.
>
> Thanks,
>
> Dejan
>
>> > Yeah first we used the hae extension, but as you told us, that the versions
>> > we use, are really old and this could be the problem, we tried to upgrade
>> > to newer versions to get it running.
>> >
>> > Is there maybe another way to get it running with newer versions?
>>
>> was there nothing newer from yum?
>> I'm pretty sure the packages have been updated since then.
>>
>> > or could
>> > you may please have a look on my config, which I had in the old running
>> > versions? I reattach it right now.
>> >
>> > thx.
>> >
>> > kr, patrik
>> >
>> > (See attached file: cib_aktuell.xml)
>> >
>> > Mit freundlichen Grüßen / Best Regards
>> >
>> > Patrik Rapposch
>> > System Administration
>> >
>> > KNAPP Systemintegration GmbH
>> > Waltenbachstraße 9
>> > 8700 Leoben, Austria
>> > Phone: +43 3842 805-915
>> > Fax: +43 3842 82930-500
>> > peter.wratitsch at knapp.com
>> > www.KNAPP.com
>> >
>> > Commercial register number: FN 138870x
>> > Commercial register court: Leoben
>> >
>> > The information in this e-mail (including any attachment) is confidential
>> > and intended to be for the use of the addressee(s) only. If you have
>> > received the e-mail by mistake, any disclosure, copy, distribution or use
>> > of the contents of the e-mail is prohibited, and you must delete the e-mail
>> > from your system. As e-mail can be changed electronically KNAPP assumes no
>> > responsibility for any alteration to this e-mail or its attachments. KNAPP
>> > has taken every reasonable precaution to ensure that any attachment to this
>> > e-mail has been swept for virus. However, KNAPP does not accept any
>> > liability for damage sustained as a result of such attachment being virus
>> > infected and strongly recommend that you carry out your own virus check
>> > before opening any attachment.
>> >
>> >
>> >
>> > Andrew Beekhof
>> > <andrew at beekhof.n
>> > et> An
>> > The Pacemaker cluster resource
>> > 02.06.2010 12:53 manager
>> > <pacemaker at oss.clusterlabs.org>
>> > Kopie
>> > Bitte antworten
>> > an Thema
>> > The Pacemaker Re: [Pacemaker] Antwort: Re:
>> > cluster resource Antwort: Re: 2 node cluster with
>> > manager clvm, configuration help
>> > <pacemaker at oss.cl needed...
>> > usterlabs.org>
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Wed, Jun 2, 2010 at 7:50 AM, <Patrik.Rapposch at knapp.com> wrote:
>> >>
>> >>
>> >>
>> >>
>> >> hy,
>> >>
>> >> so I tried yesterday to update to a newer version. I am using sles11. At
>> >> least it worked with the opensuse 11.0 repo
>> >> (http://www.clusterlabs.org/rpm/opensuse-11.0/x86_64/) and one additional
>> >> library, which I got as rpm.
>> >>
>> >> The problem I have now is, that if I want to run the crm command, I get
>> >> following error:
>> >>
>> >> "abort: couldn't find crm libraries in [/usr/sbin /usr/lib/python26.zip
>> >> /usr/lib64/python2.6 /usr/lib64/python2.6/plat-linux2
>> >> /usr/lib64/python2.6/lib-tk /usr/lib64/python2.6/lib-old
>> >> /usr/lib64/python2.6/lib-dynload /usr/lib64/python2.6/site-packages
>> >> /usr/lib64/python2.6/site-packages/Numeric
>> >> /usr/local/lib64/python2.6/site-packages
>> >> /usr/lib64/python2.6/site-packages/gtk-2.0]
>> >> (check your install and PYTHONPATH)"
>> >>
>> >> I don't know what libraries it is exactly searching for,
>> >
>> > you might be missing python-curses and python-xml
>> >
>> >> I tried
>> >> rearranging my PYTHONPATH to some directories, but had no access. The
>> > next
>> >> thing I saw was, that it now works with corosync (had to configure it)
>> >> instead of openais and that the gui totally disappeared, so I have no
>> >> commands like "crm_gui" or "hb_gui".
>> >
>> > Since you're on SLES, have you thought about using the HAE extension?
>> > It has all the above plus the gui.
>> >
>> >>
>> >> Do you maybe know how to fix this, or do you know a successfull way to
>> >> implement a newer version into sles11. Service pack for sles11 should be
>> >> available today, but they didn't make it available right now, so I dunno
>> > if
>> >> there is also a hae sp1, which has newer versions in it.
>> >>
>> >> Thx for your help.
>> >>
>> >> Mit freundlichen Grüßen / Best Regards
>> >>
>> >> Patrik Rapposch, Bsc.
>> >> Systemadministration
>> >>
>> >> KNAPP Systemintegration GmbH
>> >> Waltenbachstraße 9
>> >> 8700 Leoben, Austria
>> >> Phone: +43 3842 805
>> >> Mobil:
>> >> Fax: +43 3842 82930-990
>> >> patrik.rapposch at knapp.com
>> >> www.KNAPP.com
>> >>
>> >> Commercial register number: FN 138870x
>> >> Commercial register court: Leoben
>> >>
>> >>
>> >>
>> >> Andrew Beekhof
>> >> <andrew at beekhof.n
>> >> et> An
>> >> The Pacemaker cluster resource
>> >> 31.05.2010 08:46 manager
>> >> <pacemaker at oss.clusterlabs.org>
>> >> Kopie
>> >> Bitte antworten
>> >> an Thema
>> >> The Pacemaker Re: [Pacemaker] Antwort: Re: 2
>> >> cluster resource node cluster with clvm,
>> >> manager configuration help needed...
>> >> <pacemaker at oss.cl
>> >> usterlabs.org>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On Mon, May 31, 2010 at 8:37 AM, <Patrik.Rapposch at knapp.com> wrote:
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> hy,
>> >>>
>> >>> thx for your reply.
>> >>> k, i'll try that in the next few hours.
>> >>>
>> >>> is there any other possibility, why there is such a strange behaviour in
>> >>> the cluster?
>> >>>
>> >>> I short redesribe the main problem:
>> >>>
>> >>> failover between the nodes works fine, the ressources get started on the
>> >>> remaining node (let it be node2). When node1 comes back online,
>> >>> the resources on node2 get stopped and started again on node2. ---> very
>> >>> strange. I already tried a lot, but didn't find a solution.
>> >>>
>> >>> so the failback has a bug.
>> >>
>> >> Or did have a year ago when 1.0.3 was out... you might have more luck
>> >> with something a little more recent.
>> >>
>> >> _______________________________________________
>> >> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>> >>
>> >> Project Home: http://www.clusterlabs.org
>> >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>> >>
>> >> Project Home: http://www.clusterlabs.org
>> >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> >> Bugs:
>> > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>> >>
>> >
>> > _______________________________________________
>> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>> >
>> > Project Home: http://www.clusterlabs.org
>> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> > Bugs:
>> > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>> >
>> > _______________________________________________
>> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>> >
>> > Project Home: http://www.clusterlabs.org
>> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> > Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>> >
>> >
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
More information about the Pacemaker
mailing list