Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-05-10 Thread Holger Teutsch
On Tue, 2011-05-10 at 08:24 +0200, Andrew Beekhof wrote:
> On Mon, May 9, 2011 at 8:44 PM, Holger Teutsch  wrote:
> > On Wed, 2011-04-27 at 13:25 +0200, Andrew Beekhof wrote:
> >> On Sun, Apr 24, 2011 at 4:31 PM, Holger Teutsch  
> >> wrote:
> > ...
> >> > Remaining diffs seem to be not related to my changes.
> >>
> >> Unlikely I'm afraid.  We run the regression tests after every commit
> >> and complain loudly if they fail.
> >> What is the regression test output?
> >
> > That's the output of tools/regression.sh of pacemaker-devel *without* my
> > patches:
> > Version: parent: 10731:bf7b957f4cbe tip
> >
> > see attachment
> 
> There seems to be something not quite right with your environment.
> Had you built the tools directory before running the test?
Yes, + install

> In a clean chroot it passes onboth opensuse and fedora:
> 
> http://build.clusterlabs.org:8010/builders/opensuse-11.3-i386-devel/builds/48/steps/cli_test/logs/stdio
> and
> 
> http://build.clusterlabs.org:8010/builders/fedora-13-x86_64-devel/builds/48/steps/cli_test/logs/stdio
> 
> What distro are you on?
> 
Opensuse 11.4

> Could you try running it as:
> /full/path/to/pacemaker/sources/tools/regression.sh
> 
> The PATH magic that allows the tests to be run from the source
> directory may not be fully functional.
> 
Did not help, will do further investigation.
-holger



___
Pacemaker mailing list: Pacemaker@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


Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-05-10 Thread Tim Serong
On 5/10/2011 at 08:22 PM, Holger Teutsch  wrote: 
> On Tue, 2011-05-10 at 08:24 +0200, Andrew Beekhof wrote: 
> > On Mon, May 9, 2011 at 8:44 PM, Holger Teutsch  
> > wrote: 
> > > On Wed, 2011-04-27 at 13:25 +0200, Andrew Beekhof wrote: 
> > >> On Sun, Apr 24, 2011 at 4:31 PM, Holger Teutsch   
> wrote: 
> > > ... 
> > >> > Remaining diffs seem to be not related to my changes. 
> > >> 
> > >> Unlikely I'm afraid.  We run the regression tests after every commit 
> > >> and complain loudly if they fail. 
> > >> What is the regression test output? 
> > > 
> > > That's the output of tools/regression.sh of pacemaker-devel *without* my 
> > > patches: 
> > > Version: parent: 10731:bf7b957f4cbe tip 
> > > 
> > > see attachment 
> >  
> > There seems to be something not quite right with your environment. 
> > Had you built the tools directory before running the test? 
> Yes, + install 
>  
> > In a clean chroot it passes onboth opensuse and fedora: 
> >  
> http://build.clusterlabs.org:8010/builders/opensuse-11.3-i386-devel/builds/ 
> 48/steps/cli_test/logs/stdio 
> > and 
> >  
> http://build.clusterlabs.org:8010/builders/fedora-13-x86_64-devel/builds/48 
> /steps/cli_test/logs/stdio 
> >  
> > What distro are you on? 
> >  
> Opensuse 11.4 

Works for me on openSUSE 11.4 with a clean checkout of devel tip, so
presumably isn't endemic (not that this really helps you, sorry, but
I had to test).

Regards,

Tim


-- 
Tim Serong 
Senior Clustering Engineer, OPS Engineering, Novell Inc.




___
Pacemaker mailing list: Pacemaker@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


Re: [Pacemaker] Using SCSI reservations with Pacemaker

2011-05-10 Thread Max Williams
Hi Florian,
I've installed the sg_persist RA, configured it and it works as expected with a 
Netapp iSCSI LUN, excellent!

Here is my configuration:
primitive scsi_reservation ocf:heartbeat:sg_persist params 
sg_persist_resource="scsi_reservation0" devs="/dev/dm-6 /dev/dm-7" 
required_devs_nof="2" reservation_type=1
ms ms_scsi_reservation scsi_reservation meta master-max="1" master-node-max="1" 
clone-max="2" clone-node-max="1" notify="true"
colocation service_on_scsi_reservation inf: Service_group 
ms_scsi_reservation:Master
order service_after_scsi_reservation inf: ms_scsi_reservation:promote 
Service_group:start

My "Service_group" is a group consisting of a IP addresses, file systems, LVMs 
and init scripts.
Is this configuration correct? Is sg_persist_resource just an arbitrary name?
I am not using a config file for sg_persist.

Thanks,
Max

-Original Message-
From: Max Williams [mailto:max.willi...@betfair.com] 
Sent: 06 May 2011 09:27
To: The Pacemaker cluster resource manager; Evgeny Nifontov
Subject: Re: [Pacemaker] Using SCSI reservations with Pacemaker

OK will do.
Cheers,
Max

-Original Message-
From: Florian Haas [mailto:florian.h...@linbit.com]
Sent: 06 May 2011 08:25
To: The Pacemaker cluster resource manager; Evgeny Nifontov
Subject: Re: [Pacemaker] Using SCSI reservations with Pacemaker

Hi Max,

On 2011-05-05 18:39, Max Williams wrote:
> I did see this message:
> 
> http://www.gossamer-threads.com/lists/linuxha/dev/71556
> 
> Anyone used this RA in a production system?

We are _extremely_ keen on getting user feedback on that resource agent, as it 
is functionality that we've wanted to have in Pacemaker for a long time. So if 
you can give that RA a spin and report back, that would be most appreciated.

Thanks!
Cheers,
Florian



In order to protect our email recipients, Betfair Group use SkyScan from 
MessageLabs to scan all Incoming and Outgoing mail for viruses.



___
Pacemaker mailing list: Pacemaker@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


In order to protect our email recipients, Betfair Group use SkyScan from 
MessageLabs to scan all Incoming and Outgoing mail for viruses.



___
Pacemaker mailing list: Pacemaker@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] Statefull firewall cluster Active/Pasive with conntrackd issues

2011-05-10 Thread CeR
Hi there!

I'm working on a statefull firewall HA cluster (active/pasive) with
conntrackd as a ms resource. I'm sure some of you guys remember me from the
IRC channel :P

Some questions:

I'm doing some failback/failover test with the connection tracking systems.

CASE A: One of that test do the next:

1) Initialisation of a connection with a big file transfer with SCP across
the cluster.
2) "halt" the primary node. All resources moves to another node. That works
really fine.
3) The file transfer still working. Transparent to the end user.

CASE B: I want to be sure that the failback/failover is thanks to conntrackd
flow's-state-replication, so

1) Stop the conntrackd resource. All go fine.
2) Start the file transfer across the cluster.
3) Failover the node that has the IPVs. All resources moves to another
node.
4) The file transfer still working. Transparent to the end user.
¿¿?? WTF


In the CASE B, without the conntrackd MS resource running, I supposed that
the new node being owner of IPVs will not have any knowlege about the state
of the flow (you know, NEW, ESTABLISHED,etc..). And this mean the firewall
has to block the transference.
But still transfering and the iptables rule being aplied.

Chain FORWARD (policy DROP 42 packets, 3336 bytes)
 pkts bytes target prot opt in out source
destination
 741K 1075M ACCEPT tcp  --  eth0   eth210.0.0.128
192.168.100.100 tcp spts:1024:65535 dpt:22 state NEW,ESTABLISHED
37498 2400K ACCEPT tcp  --  eth2   eth0192.168.100.100
 10.0.0.128  tcp spt:22 dpts:1024:65535 state ESTABLISHED


Any idea?

Regards!


-- 
/* Arturo Borrero Gonzalez || cer.i...@linuxmail.org */
/* Use debian gnu/linux! Best OS ever! */
___
Pacemaker mailing list: Pacemaker@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] Patrik Rapposch ist außer Haus.

2011-05-10 Thread Patrik . Rapposch

Ich werde ab  11.05.2011 nicht im Büro sein. Ich kehre zurück am
16.05.2011.

Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.


___
Pacemaker mailing list: Pacemaker@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