Re: [Pacemaker] Problem with failover/failback under Ubuntu 10.04 for Active/Passive OpenNMS

2010-07-05 Thread Sven Wick
On Mon, 05 Jul 2010 18:34:24 +0300, Dan Frincu wrote: > /The errors from the log file are DRBD specific, they occur when you're > trying to mount a resource in a Secondary state. > Increase the "op start interval" for both the DRBD and Filesystem > primitives to ~15 seconds. Having configured

Re: [Pacemaker] Problem with failover/failback under Ubuntu 10.04 for Active/Passive OpenNMS

2010-07-05 Thread Dan Frincu
I'm using Thunderbird 2, but it's not the email client's fault, I had a bad filter and was not receiving the email digest, so I copy+pasted from the web. I changed the filter and set digest mode to off in the mailing list options, so I'll be receiving the emails and replying to them properly.

Re: [Pacemaker] Problem with failover/failback under Ubuntu 10.04 for Active/Passive OpenNMS

2010-07-05 Thread Andrew Beekhof
What mail client are you using Dan? Its breaking threading pretty bad if even gmail can't figure it out. On Mon, Jul 5, 2010 at 5:34 PM, Dan Frincu wrote: >> Hi, >> >> First you might want to look at the following error, see if the module >> is available on both servers. >> >> (fs-opennms-config:

[Pacemaker] Problem with failover/failback under Ubuntu 10.04 for Active/Passive OpenNMS

2010-07-05 Thread Dan Frincu
/ Hi, />/ />/ First you might want to look at the following error, see if the module />/ is available on both servers. />/ />/ (fs-opennms-config:start:stderr) FATAL: Module scsi_hostadapter not /found. / />/ Then try to run the resource manually: />/ - go to /usr/lib/ocf/resource.d/heartbea

Re: [Pacemaker] Problem with failover/failback under Ubuntu 10.04 for Active/Passive OpenNMS

2010-07-05 Thread Sven Wick
On Mon, 05 Jul 2010 14:40:55 +0300, Dan Frincu wrote: > Hi, > > First you might want to look at the following error, see if the module > is available on both servers. > > (fs-opennms-config:start:stderr) FATAL: Module scsi_hostadapter not found. > > Then try to run the resource manually: > -

Re: [Pacemaker] [patch] low: unset CFLAGS in a dash-friendly way

2010-07-05 Thread Andrew Beekhof
Applied to both branches. Thanks! On Mon, Jul 5, 2010 at 10:19 AM, Simon Horman wrote: > # HG changeset patch > # User Simon Horman > # Date 1278317844 -32400 > # Node ID e823bf55e0d875bcd9dc1668f24547345b9bdf81 > # Parent  7499efa9c2a3f8c5c6396dc6c3631e9f3898547e > low: unset CFLAGS in a dash-f

[Pacemaker] Drbd/Nfs MS don't failover on slave node

2010-07-05 Thread Dan Frincu
I see you have {symmetric-cluster="true"} in your config. But you haven't set up any location constraints. Check the log (usually /var/log/messages unless specified otherwise) with tailf while you're setting one node offline. It should give all the relevant information about why the resources

[Pacemaker] Problem with failover/failback under Ubuntu 10.04 for Active/Passive OpenNMS

2010-07-05 Thread Dan Frincu
6. Problem with failover/failback under Ubuntu 10.04 for Active/Passive OpenNMS (Sven Wick) Hi, I am trying to build an Active/Passive OpenNMS installation but have problems with failover and failback. Doing all manually (DRBD, VIP, Filesystem, ...) works just fine. I read many tuto

[Pacemaker] Drbd/Nfs MS don't failover on slave node

2010-07-05 Thread Guillaume Chanaud
Hello, i searched the list, tried lots of things but nothing works, so i try to post here. I'd like to say my configuration worked on heartbeat2/crm, but since i migrated to corosync/pacemaker i have a problem. Here is my cib : node filer1 \ attributes standby="off" node filer2 \

[Pacemaker] Problem with failover/failback under Ubuntu 10.04 for Active/Passive OpenNMS

2010-07-05 Thread Sven Wick
Hi, I am trying to build an Active/Passive OpenNMS installation but have problems with failover and failback. Doing all manually (DRBD, VIP, Filesystem, ...) works just fine. I read many tutorials, the official book and the FAQ but am still stuck with my problem. I use Ubuntu 10.04 with "pacem

Re: [Pacemaker] dependent resource reach max fail count

2010-07-05 Thread Andrew Beekhof
On Sat, Jul 3, 2010 at 5:10 AM, Michael Fung wrote: > On 2010/7/2 下午 09:16, Michael Fung wrote: >> >> It seems to indicate that pacemaker do not shutdown dependent resources >> in an orderly manner when the multi-state depended resource change >> state. The dependent resources just "crashed". Am I

Re: [Pacemaker] Active/passive cluster with Apache and drbd on rhel 5

2010-07-05 Thread pierre . casenove
Thanks a lot for the answers. I finally set up the following: - corosync and pacemaker from clusterlabs repo - drbd from centos 5 extras It works perfectly Pierre De : Andrew Beekhof A: The Pacemaker cluster resource manager Date: 05/07/2010 11:46 Objet : Re: [Pacemaker] Active/passive clus

Re: [Pacemaker] Resources restarted when second node leave/join the cluster

2010-07-05 Thread Andrew Beekhof
On Fri, Jul 2, 2010 at 6:51 AM, levin wrote: > Hi, > > I have a two node cluster (A/S) running on a SuSE 11 box with clvm on SAN > shared disk, it was found that a strange behavior on clone resource > dependency(order) which will cause the whole resources tree restarted in the > event of 1 clus

Re: [Pacemaker] Active/passive cluster with Apache and drbd on rhel 5

2010-07-05 Thread Andrew Beekhof
On Wed, Jun 30, 2010 at 10:14 AM, wrote: > Hello all, > I'm currently studying how to set up a 2 node cluster running apache 2.2 as > a reverse proxy using corosync, pacemaker and drbd on RHEL 5.5. > I've downloaded: > - Clusters from scratch PDF (which is perfect... but for fedora 13 which > inc

[Pacemaker] Active/passive cluster with Apache and drbd on rhel 5

2010-07-05 Thread Dan Frincu
Hello all, I'm currently studying how to set up a 2 node cluster running apache 2.2 as a reverse proxy using corosync, pacemaker and drbd on RHEL 5.5. I've downloaded: - Clusters from scratch PDF (which is perfect... but for fedora 13 which includes DRBD in the kernel) - the yum repo: http://w

[Pacemaker] Help with understanding CIB scores

2010-07-05 Thread Darren.Mansell
Hi all. Could anyone give me any pointers on how to easily find out what is stopping resources moving to a preferred node as expected? I'm looking at the ptest -Ls output and can see there is a greater score for a resource on another node than the node I am specifically locating. I can't se

[Pacemaker] [patch] low: unset CFLAGS in a dash-friendly way

2010-07-05 Thread Simon Horman
# HG changeset patch # User Simon Horman # Date 1278317844 -32400 # Node ID e823bf55e0d875bcd9dc1668f24547345b9bdf81 # Parent 7499efa9c2a3f8c5c6396dc6c3631e9f3898547e low: unset CFLAGS in a dash-friendly way According to the dash man page, the only way to unexport a variable is to unset it. This

Re: [Pacemaker] RFC: cluster-wide attributes

2010-07-05 Thread Tim Serong
On 7/5/2010 at 04:54 PM, Andrew Beekhof wrote: > On Mon, Jul 5, 2010 at 6:21 AM, Tim Serong wrote: > > On 6/30/2010 at 09:42 PM, Andrew Beekhof wrote: > >> On Thu, Jun 24, 2010 at 5:41 PM, Lars Marowsky-Bree > >> wrote: > >> > Hi, > >> > > >> > another idea that goes along with the previ