Re: [Pacemaker] Active/Active

2015-02-12 Thread emmanuel segura
this is a command "OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/ pacemaker/controld meta-data" and print the agent meta-data http://www.linux-ha.org/wiki/STONITH 2015-02-12 13:02 GMT+01:00 José Luis Rodríguez Rodríguez : > Hi, > > I have read the file /usr/lib/ocf /usr/lib/ocf/resource.d/pacemak

Re: [Pacemaker] Active/Active

2015-02-12 Thread José Luis Rodríguez Rodríguez
Hi, I have read the file /usr/lib/ocf /usr/lib/ocf/resource.d/pacemaker/controld and and it contains the same lines that you wrote. I don't know what I must exactly do. Could you explain me the steps to do? Must I do the variable OCF_ROOT. If so, where? I don't know what to do when you say "yo

Re: [Pacemaker] Active/Active

2015-02-10 Thread emmanuel segura
try to change your controld daemon OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/pacemaker/controld meta-data The daemon to start - supports gfs_controld(.pcmk) and dlm_controld(.pcmk) The daemon to start and remember you need to configure the cluster fencing, because dlm relay on it 2015-

Re: [Pacemaker] Active/Active

2015-02-10 Thread José Luis Rodríguez Rodríguez
Hi Emmanuel, I installed this package but the result is the same when I try to mount /dev/drbd1 on /mn: gfs_controld join connect error: Connection refused error mounting lockproto lock_dlm I have installed *gfs2-tools*, *dlm-pcmk *y el que me indicastes* gfs-pcmk* My *pacemaker configuratio

Re: [Pacemaker] Active/Active

2015-02-10 Thread emmanuel segura
I'm using debian 7 apt-cache show gfs-pcmk .. This package contains the GFS module for pacemaker. ... 2015-02-10 8:55 GMT+01:00 José Luis Rodríguez Rodríguez : > Hello, > > I would like to create an active/active cluster by using pacemaker and > corosync on Debian. I have followed the do

[Pacemaker] Active/Active

2015-02-10 Thread José Luis Rodríguez Rodríguez
Hello, I would like to create an active/active cluster by using pacemaker and corosync on Debian. I have followed the documentation http://clusterlabs.org/doc/Cluster_from_Scratch.pdf. It works well until 8.2.2 Create and Populate an GFS2 Partition. When I try to mount the disk /dev/drbd1 as /m

[Pacemaker] active-active in KVM env

2013-08-01 Thread Clark Kent
Hi All, I have a problem with creating active-active Apache cluster based on 2 VM guests inside one KVM physical host. My environment and configuration is: 1. VM1 : aa-node1 : 10.0.0.243 (eth0) 2. VM2: aa-node2 : 10.0.0.213 (eth0) 3. VIP: 10.0.0.210 4. KVM Host: host: 10.0.0.1 (virbr1) I fo

Re: [Pacemaker] Active/Active Clustering using GFS2 in Centos-6.2

2012-10-04 Thread Andreas Kurz
On 09/19/2012 10:51 AM, ecfgijn wrote: > Hi All , > > I have configured active/active using pacemaker in centos-6.2 along with > gfs2. Below are configuration. > > crm configure primitive ClusterIP ocf:heartbeat:IPaddr2 params > ip="169.144.106.121" cidr_netmask="26" op monitor interval=30s > crm

[Pacemaker] Active/Active Clustering using GFS2 in Centos-6.2

2012-09-19 Thread ecfgijn
Hi All , I have configured active/active using pacemaker in centos-6.2 along with gfs2. Below are configuration. crm configure primitive ClusterIP ocf:heartbeat:IPaddr2 params ip="169.144.106.121" cidr_netmask="26" op monitor interval=30s crm configure primitive WebSite ocf:heartbeat:apache p

Re: [Pacemaker] Active-Active LDAP cluster using pacemaker over Debian Squeeze

2012-02-20 Thread Claus Denk
Nice documentation, thanx! On 17/02/12 17:39, Arturo Borrero Gonzalez wrote: Hi there! I wrote documentation about how to build an active-active LDAP cluster using pacemaker over Debian Squeeze. In the examples I use a 2 nodes cluster, but I've deployed it in a 3 nodes cluster with success. IP

[Pacemaker] Active-Active LDAP cluster using pacemaker over Debian Squeeze

2012-02-17 Thread Arturo Borrero Gonzalez
Hi there! I wrote documentation about how to build an active-active LDAP cluster using pacemaker over Debian Squeeze. In the examples I use a 2 nodes cluster, but I've deployed it in a 3 nodes cluster with success. IPv4 & IPv6 You can found the documentation here: Part 1: (isn't technical) Part

Re: [Pacemaker] Pacemaker Active-Active Load Balancing Issue

2011-12-06 Thread Brett Delle Grazie
Hi, Ensure you have enabled multicast MAC addresses on your network equipment (firewall, switch etc). Alternatively assign static multicast MAC to cluster IP address on firewall. Kind regards, Brett Sent from my mobile On Nov 16, 2011 10:41 PM, "IVAN GARCIA" wrote: > Hi Nick > > Yes I can ping o

Re: [Pacemaker] Pacemaker Active-Active Load Balancing Issue

2011-11-16 Thread IVAN GARCIA
Hi Nick Yes I can ping only from the same subnet, if I try to ping from a diferent subnet I can't reach the Virtual-IP. I've tested witch cidr 20 24 and 32 with the same result. I'ts strange. 2011/11/16 Nick Khamis > Are you pinging from same network ip? Are you sure cidr is 20, and not 32

Re: [Pacemaker] Pacemaker Active-Active Load Balancing Issue

2011-11-16 Thread Nick Khamis
Are you pinging from same network ip? Are you sure cidr is 20, and not 32. Nick. On Wed, Nov 16, 2011 at 2:38 PM, IVAN GARCIA wrote: > Hi there, > > I've changed the configuration and now it's seem I'm better, but now I've > another issue > > Now both resources ClusterIP and Squid are running in

Re: [Pacemaker] Pacemaker Active-Active Load Balancing Issue

2011-11-16 Thread IVAN GARCIA
Hi there, I've changed the configuration and now it's seem I'm better, but now I've another issue Now both resources ClusterIP and Squid are running in two nodes but I can't reach ClusterIP. Then if I get down ClusterIP in secondary node I reach well the ClusterIP. Basically I can't have up 2 Cl

Re: [Pacemaker] Pacemaker Active-Active Load Balancing Issue

2011-11-16 Thread Andreas Kurz
On 11/16/2011 10:10 AM, IVAN GARCIA wrote: > Hi there, > I'm configuring a cluster active-active for web proxy (SQUID), the proxy > will be 4 nodes but now I only have 2 nodes, I've configured Virtual-IP > with resource OCF:heartbeat:IPaddr2 and Squid in LSB resource mode, In > active pasive all wo

Re: [Pacemaker] Pacemaker Active-Active Load Balancing Issue

2011-11-16 Thread IVAN GARCIA
Hi Andreas, Have you seen anything strange? The configuration are ok? Of course Andreas, I've tested from diferent clients. Any suggestion? Best regards Ivan.- 2011/11/16 Andreas Kurz > On 11/16/2011 10:10 AM, IVAN GARCIA wrote: > > Hi there, > > I'm configuring a cluster active-active fo

Re: [Pacemaker] Pacemaker Active-Active Load Balancing Issue

2011-11-16 Thread Andreas Kurz
On 11/16/2011 10:10 AM, IVAN GARCIA wrote: > Hi there, > I'm configuring a cluster active-active for web proxy (SQUID), the proxy > will be 4 nodes but now I only have 2 nodes, I've configured Virtual-IP > with resource OCF:heartbeat:IPaddr2 and Squid in LSB resource mode, In > active pasive all wo

[Pacemaker] Pacemaker Active-Active Load Balancing Issue

2011-11-16 Thread IVAN GARCIA
Hi there, I'm configuring a cluster active-active for web proxy (SQUID), the proxy will be 4 nodes but now I only have 2 nodes, I've configured Virtual-IP with resource OCF:heartbeat:IPaddr2 and Squid in LSB resource mode, In active pasive all works fine but in active-active mode I don't know, why

Re: [Pacemaker] DRBD / KVM / Pacemaker active/active

2011-10-28 Thread Bart Coninckx
On 10/28/11 12:08, Nick Morrison wrote: Hello, Noob question again. I keep reading about people running primary/primary drbd pairs with Xen on top to do live migration. Can someone doing so please comment: is this setup safe? How do you ensure that the two hosts don't both start the same guest

[Pacemaker] DRBD / KVM / Pacemaker active/active

2011-10-28 Thread Nick Morrison
Hello, Noob question again. I keep reading about people running primary/primary drbd pairs with Xen on top to do live migration. Can someone doing so please comment: is this setup safe? How do you ensure that the two hosts don't both start the same guest? Does you use an external locking mech

Re: [Pacemaker] Active/Active firewall cluster, with load balancing

2011-05-16 Thread Michael Schwartzkopff
> Hi there! > > I'm looking for some light regarding active/active firewall clustering with > load balancing. > > I heard some references to ldirectord and LVS, but in the first's webpage ( > http://horms.net/projects/ldirectord/) there aren't any documentation, and > in the LVS site (http://www.

[Pacemaker] Active/Active firewall cluster, with load balancing

2011-05-15 Thread CeR
Hi there! I'm looking for some light regarding active/active firewall clustering with load balancing. I heard some references to ldirectord and LVS, but in the first's webpage ( http://horms.net/projects/ldirectord/) there aren't any documentation, and in the LVS site (http://www.linuxvirtualserv

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-25 Thread Marko Potocnik
On Thu, Nov 25, 2010 at 2:05 PM, Michael Schwartzkopff wrote: > On Thursday 25 November 2010 08:56:21 Marko Potocnik wrote: > (...) > > The order constraint does not affect the IP migration strategy in case of > > service failure. I agree that I missed it, but I does not affect the > > current be

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-25 Thread Michael Schwartzkopff
On Thursday 25 November 2010 08:56:21 Marko Potocnik wrote: (...) > The order constraint does not affect the IP migration strategy in case of > service failure. I agree that I missed it, but I does not affect the > current behavior of IP resource in case of service failure. Perhaps it is better i

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-25 Thread Marko Potocnik
I mistyped. Actually I want the service to be controlled by pacemaker, the service should run on both nodes (hot-standby, I achieved this using clones), service should be restarted if it fails on any node, IP should move if service on the same node fails. (and service should be restarted). On Wed,

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-24 Thread Marko Potocnik
On Wed, Nov 24, 2010 at 4:04 PM, Michael Schwartzkopff wrote: > On Tuesday 23 November 2010 10:21:04 Marko Potocnik wrote: > > On Tue, Nov 23, 2010 at 9:55 AM, Michael Schwartzkopff > > > > > > wrote: > > > > > > On Tuesday 23 November 2010 09:10:58 Marko Potocnik wrote: > > > > Hi, > > > > > >

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-24 Thread Marko Potocnik
On Wed, Nov 24, 2010 at 2:37 PM, Dejan Muhamedagic wrote: > Hi, > > On Tue, Nov 23, 2010 at 09:10:58AM +0100, Marko Potocnik wrote: > > Hi, > > > > > > > > I am trying to configure a service (ftp for proof of concept) to run in > an > > active / active configuration. A floating IP is used to acces

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-24 Thread Devin Reade
--On Tuesday, November 23, 2010 10:21:04 AM +0100 Marko Potocnik wrote: > I'm using ftp just for test. I want a service to run on both nodes and > only IP to move in case a service fails. > I don't want to stop / start service if node fails. You might be able to use the behavior of sshd as a hin

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-24 Thread Michael Schwartzkopff
On Tuesday 23 November 2010 10:21:04 Marko Potocnik wrote: > On Tue, Nov 23, 2010 at 9:55 AM, Michael Schwartzkopff > > > wrote: > > > > On Tuesday 23 November 2010 09:10:58 Marko Potocnik wrote: > > > Hi, > > > > > > > > > > > > I am trying to configure a service (ftp for proof of concept) t

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-24 Thread Dejan Muhamedagic
Hi, On Tue, Nov 23, 2010 at 09:10:58AM +0100, Marko Potocnik wrote: > Hi, > > > > I am trying to configure a service (ftp for proof of concept) to run in an > active / active configuration. A floating IP is used to access this service. > What I am trying to achieve is that a floating IP would m

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-23 Thread Marko Potocnik
I'm using ftp just for test. I want a service to run on both nodes and only IP to move in case a service fails. I don't want to stop / start service if node fails. On Tue, Nov 23, 2010 at 9:55 AM, Michael Schwartzkopff wrote: > On Tuesday 23 November 2010 09:10:58 Marko Potocnik wrote: > > Hi,

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-23 Thread Michael Schwartzkopff
On Tuesday 23 November 2010 09:10:58 Marko Potocnik wrote: > Hi, > > > > I am trying to configure a service (ftp for proof of concept) to run in an > active / active configuration. A floating IP is used to access this > service. What I am trying to achieve is that a floating IP would move to > s

[Pacemaker] Active / Active pacemaker configuration advice

2010-11-23 Thread Marko Potocnik
Hi, I am trying to configure a service (ftp for proof of concept) to run in an active / active configuration. A floating IP is used to access this service. What I am trying to achieve is that a floating IP would move to second node, if service fails on the first node. After that service should b

Re: [Pacemaker] Active-Active HA Firewall

2010-10-15 Thread Marcel Hauser
On 15.Oct 2010 13:26, Michael Schwartzkopff wrote: On Friday 15 October 2010 09:47:50 Marcel Hauser wrote: On 14.Oct 2010 22:31, Michael Schwartzkopff wrote: i do know about fwbuilder and that it's possible to use fw builder in order to build a cluster configuration. I've also read a pdf date

Re: [Pacemaker] Active-Active HA Firewall

2010-10-15 Thread Michael Schwartzkopff
On Friday 15 October 2010 09:47:50 Marcel Hauser wrote: > On 14.Oct 2010 22:31, Michael Schwartzkopff wrote: > >> i do know about fwbuilder and that it's possible to use fw builder in > >> order to build a cluster configuration. I've also read a pdf dated in > >> feb 2009 about ha firewalls by usin

Re: [Pacemaker] Active-Active HA Firewall

2010-10-15 Thread Marcel Hauser
On 15.Oct 2010 10:07, Pavlos Parissis wrote: I didn't quick search and I couldn't find it, what is the name of the book? search for "clusterbau" but it's written in german marcel ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http:

Re: [Pacemaker] Active-Active HA Firewall

2010-10-15 Thread Pavlos Parissis
On 15 October 2010 09:47, Marcel Hauser wrote: > > But that is no problem. firewalling is no hard job any more. A reasonable >> machine can firewall 1 GBit/s traffic. >> > > valid point. my only "concern" is/was that i don't like the idea of a > passive firewall because when you need it to fa

Re: [Pacemaker] Active-Active HA Firewall

2010-10-15 Thread Marcel Hauser
On 14.Oct 2010 22:31, Michael Schwartzkopff wrote: i do know about fwbuilder and that it's possible to use fw builder in order to build a cluster configuration. I've also read a pdf dated in feb 2009 about ha firewalls by using heartbeat. Yes, I know I should update that paper ;-) That would

Re: [Pacemaker] Active-Active HA Firewall

2010-10-14 Thread Michael Schwartzkopff
On Thursday 14 October 2010 19:19:39 Marcel Hauser wrote: > Hi All > > I'm very new to pacemaker... so please forgive me if i'm asking silly > questions :-) There are no silly questions, only silly answers. Or was it vice versa? > I would like to build an HA Active-Active Firewall based on: >

[Pacemaker] Active-Active HA Firewall

2010-10-14 Thread Marcel Hauser
Hi All I'm very new to pacemaker... so please forgive me if i'm asking silly questions :-) I would like to build an HA Active-Active Firewall based on: - iptables - conntrack-tools - corosync - pacemaker i do know about fwbuilder and that it's possible to use fw builder in order to build a

Re: [Pacemaker] active/active

2010-09-21 Thread Andrew Beekhof
On Wed, Sep 15, 2010 at 10:34 PM, Alan Rowe wrote: > I'm looking for recommendation for this problem: I have an n-node cluster > and in every one of the nodes, I want to know when membership changes (up or > down). > > Obviously I can do this by polling.. but is there a better way? > > Maybe snmp

[Pacemaker] active/active

2010-09-15 Thread Alan Rowe
I'm looking for recommendation for this problem: I have an n-node cluster and in every one of the nodes, I want to know when membership changes (up or down). Obviously I can do this by polling.. but is there a better way? Maybe snmp (but that section of the manual is empty)? Maybe by having cloned

Re: [Pacemaker] Active/active firewall using pacemaker ... and a helluva lot of IP addresses

2010-06-24 Thread Dejan Muhamedagic
Hi, On Wed, Jun 23, 2010 at 06:44:44PM +0200, Roberto Suarez Soto wrote: > Hi, > > we've configured several active/active two-node firewalls using > pacemaker and clusterip (an iptables extension; we use Linux), with good > results. We have several IP addresses on the firewall that we use f

[Pacemaker] Active/active firewall using pacemaker ... and a helluva lot of IP addresses

2010-06-23 Thread Roberto Suarez Soto
Hi, we've configured several active/active two-node firewalls using pacemaker and clusterip (an iptables extension; we use Linux), with good results. We have several IP addresses on the firewall that we use for NAT, both inbound and outbound, present on both nodes. They load balance traffi

Re: [Pacemaker] Active/Active issue

2010-06-11 Thread Dejan Muhamedagic
Hi, On Thu, Jun 10, 2010 at 10:47:07AM -0500, David wrote: > Got my first install of pacemaker/corosync running for a 2 node > apache cluster in active/active mode yesterday on CentOS 5.5 x86_64. > > Everything was working just fine until I tested disaster recovery by > failing both servers and r

[Pacemaker] Active/Active issue

2010-06-10 Thread David
Got my first install of pacemaker/corosync running for a 2 node apache cluster in active/active mode yesterday on CentOS 5.5 x86_64. Everything was working just fine until I tested disaster recovery by failing both servers and restarting them. When the servers came back I noticed that even th

Re: [Pacemaker] active-active setup with crm clone and load balancing

2010-06-08 Thread Dejan Muhamedagic
Hi, On Sun, Jun 06, 2010 at 03:11:10PM +0200, Tomas Kouba wrote: > Hello all, > > I am running a simple information system that does not need to have > a backend storage. > I would like to run it in two instances on two nodes and have them in > high available and load balancing setup. So the beha

[Pacemaker] active-active setup with crm clone and load balancing

2010-06-06 Thread Tomas Kouba
Hello all, I am running a simple information system that does not need to have a backend storage. I would like to run it in two instances on two nodes and have them in high available and load balancing setup. So the behaviour would be that both nodes share one IP address and requests are load bala