Re: [Pacemaker] Listing resources running on node

2014-06-25 Thread Dennis Jacobfeuerborn
On 23.06.2014 01:14, Andrew Beekhof wrote: > > On 23 Jun 2014, at 8:35 am, Dennis Jacobfeuerborn > wrote: > >> Hi, >> what is the best way to list the resources running on the local node? >> I'm trying to create a simple monitoring script and basically want t

[Pacemaker] Listing resources running on node

2014-06-22 Thread Dennis Jacobfeuerborn
Hi, what is the best way to list the resources running on the local node? I'm trying to create a simple monitoring script and basically want to be able to simply list all the resources started on the local node. crm_resource has -l which lists all resources but not where they are running and --loc

Re: [Pacemaker] nfs4 cluster fail-over stops working once I introduce ipaddr2 resource

2014-02-14 Thread Dennis Jacobfeuerborn
On 14.02.2014 22:33, David Vossel wrote: - Original Message - From: "Dennis Jacobfeuerborn" To: "The Pacemaker cluster resource manager" Sent: Thursday, February 13, 2014 11:18:04 PM Subject: Re: [Pacemaker] nfs4 cluster fail-over stops working once I introdu

Re: [Pacemaker] nfs4 cluster fail-over stops working once I introduce ipaddr2 resource

2014-02-14 Thread Dennis Jacobfeuerborn
On 14.02.2014 23:51, Dennis Jacobfeuerborn wrote: On 14.02.2014 22:33, David Vossel wrote: - Original Message - From: "Dennis Jacobfeuerborn" To: "The Pacemaker cluster resource manager" Sent: Thursday, February 13, 2014 11:18:04 PM Subject: Re: [Pacemaker] nf

Re: [Pacemaker] nfs4 cluster fail-over stops working once I introduce ipaddr2 resource

2014-02-14 Thread Dennis Jacobfeuerborn
On 14.02.2014 22:33, David Vossel wrote: - Original Message - From: "Dennis Jacobfeuerborn" To: "The Pacemaker cluster resource manager" Sent: Thursday, February 13, 2014 11:18:04 PM Subject: Re: [Pacemaker] nfs4 cluster fail-over stops working once I introdu

Re: [Pacemaker] nfs4 cluster fail-over stops working once I introduce ipaddr2 resource

2014-02-13 Thread Dennis Jacobfeuerborn
On 14.02.2014 02:50, Dennis Jacobfeuerborn wrote: Hi, I'm still working on my NFSv4 cluster and things are working as expected...as long as I don't add an IPAddr2 resource. The DRBD, filesystem and exportfs resources work fine and when I put the active node into standby everything fai

Re: [Pacemaker] nfsv4 grace period

2014-02-09 Thread Dennis Jacobfeuerborn
On 09.02.2014 20:51, Dennis Jacobfeuerborn wrote: On 09.02.2014 13:58, Dennis Jacobfeuerborn wrote: On 09.02.2014 08:33, Michael Schwartzkopff wrote: Am Sonntag, 9. Februar 2014, 02:56:55 schrieb Dennis Jacobfeuerborn: Hi, i have setup a nfsv3 HA cluster before and that works fine but now I&#

Re: [Pacemaker] nfsv4 grace period

2014-02-09 Thread Dennis Jacobfeuerborn
On 09.02.2014 13:58, Dennis Jacobfeuerborn wrote: On 09.02.2014 08:33, Michael Schwartzkopff wrote: Am Sonntag, 9. Februar 2014, 02:56:55 schrieb Dennis Jacobfeuerborn: Hi, i have setup a nfsv3 HA cluster before and that works fine but now I'm trying to move to v4 and run into problems

Re: [Pacemaker] nfsv4 grace period

2014-02-09 Thread Dennis Jacobfeuerborn
On 09.02.2014 08:33, Michael Schwartzkopff wrote: Am Sonntag, 9. Februar 2014, 02:56:55 schrieb Dennis Jacobfeuerborn: Hi, i have setup a nfsv3 HA cluster before and that works fine but now I'm trying to move to v4 and run into problems with the lease grace period. The grace period on Cen

[Pacemaker] nfsv4 grace period

2014-02-08 Thread Dennis Jacobfeuerborn
Hi, i have setup a nfsv3 HA cluster before and that works fine but now I'm trying to move to v4 and run into problems with the lease grace period. The grace period on CentOS 6 is 90 seconds and that limits how quickly the fail-over can happen. The file /etc/sysconfig/nfs contains a variable NFS

Re: [Pacemaker] LSB openswan script monitor problems

2014-02-08 Thread Dennis Jacobfeuerborn
On 06.02.2014 00:39, Andrew Beekhof wrote: On 5 Feb 2014, at 2:57 pm, Dennis Jacobfeuerborn wrote: On 05.02.2014 04:06, Andrew Beekhof wrote: On 3 Feb 2014, at 11:34 pm, Frank Brendel wrote: As far as I know, Pacemaker does not parse STDOUT but it keeps STDERR for logging. Experts

Re: [Pacemaker] LSB openswan script monitor problems

2014-02-04 Thread Dennis Jacobfeuerborn
On 05.02.2014 04:06, Andrew Beekhof wrote: On 3 Feb 2014, at 11:34 pm, Frank Brendel wrote: As far as I know, Pacemaker does not parse STDOUT but it keeps STDERR for logging. Experts correct me if I am wrong. You are correct [snip] Does nobody have an idea? I checked this link: http://c

Re: [Pacemaker] LSB openswan script monitor problems

2014-02-03 Thread Dennis Jacobfeuerborn
On 27.01.2014 19:41, Dennis Jacobfeuerborn wrote: Hi, I'm trying to make an openswan setup redundant and this kind of works but pacemaker reports errors like this on failover: p_ipsec_monitor_15000 on node02 'not running' (7): call=113, status=complete, last-rc-change='Mon

Re: [Pacemaker] LSB openswan script monitor problems

2014-01-27 Thread Dennis Jacobfeuerborn
utput analyzed. Regards, Dennis Dennis Jacobfeuerborn wrote: Hi, I'm trying to make an openswan setup redundant and this kind of works but pacemaker reports errors like this on failover: p_ipsec_monitor_15000 on node02 'not running' (7): call=113, status=comp

[Pacemaker] LSB openswan script monitor problems

2014-01-27 Thread Dennis Jacobfeuerborn
Hi, I'm trying to make an openswan setup redundant and this kind of works but pacemaker reports errors like this on failover: p_ipsec_monitor_15000 on node02 'not running' (7): call=113, status=complete, last-rc-change='Mon Jan 27 18:32:29 2014', queued=37ms, exec=0ms The resource definitio

Re: [Pacemaker] resource priority

2013-11-08 Thread Dennis Jacobfeuerborn
On 09.11.2013 00:15, Dennis Jacobfeuerborn wrote: Hi, I'm finally moving forward with creating a redundant gateway System for a network but I'm running into trouble. This is the configuration that I'm using: node gw01 \ attributes standby="off" node gw02 \

[Pacemaker] resource priority

2013-11-08 Thread Dennis Jacobfeuerborn
Hi, I'm finally moving forward with creating a redundant gateway System for a network but I'm running into trouble. This is the configuration that I'm using: node gw01 \ attributes standby="off" node gw02 \ attributes standby="off" primitive p_ip_gw_ext ocf:heartbeat:IPaddr2 \

[Pacemaker] Pacemaker+CMAN and/vs interface config in corosync.conf

2013-10-21 Thread Dennis Jacobfeuerborn
Hi, so far I've only used Pacemaker in combination with the corosync plugin and now I want to set up a cluster using the recommended CMAN variant. I've used this as a basis: http://clusterlabs.org/quickstart-redhat.html This quickstart doesn't mention anything about the interface configuration

[Pacemaker] Optional resources?

2013-10-10 Thread Dennis Jacobfeuerborn
Hi, I'm working on a redundant NFS setup with the additional constraint that the nodes get their IPs in a private network and only the VIP is a public IP. This requires that the default route needs to change as well. On the node that is hosting the VIP the default route needs to use the router

Re: [Pacemaker] Private node IPs, public VIP and routing

2013-10-01 Thread Dennis Jacobfeuerborn
On 30.09.2013 13:24, Michael Schwartzkopff wrote: Am Montag, 30. September 2013, 13:11:28 schrieb Dennis Jacobfeuerborn: > Hi, > I am in the process of setting up a redundant NFS storage system and I'm > wondering how to best manage the systems/IPs. > The goal is that t

[Pacemaker] Private node IPs, public VIP and routing

2013-09-30 Thread Dennis Jacobfeuerborn
Hi, I am in the process of setting up a redundant NFS storage system and I'm wondering how to best manage the systems/IPs. The goal is that the nodes each get an IP in a management VLAN and the primary nodes gets a public VIP in a public facing VLAN in order to not have to allocate three public

Re: [Pacemaker] DRBD+LVM+NFS problems

2013-03-26 Thread Dennis Jacobfeuerborn
On 26.03.2013 06:14, Vladislav Bogdanov wrote: 26.03.2013 04:23, Dennis Jacobfeuerborn wrote: I have now reduced the configuration further and removed LVM from the picture. Still the cluster fails when I set the master node to standby. What's interesting is that things get fixed when I is

Re: [Pacemaker] DRBD+LVM+NFS problems

2013-03-25 Thread Dennis Jacobfeuerborn
6-394e906" \ cluster-infrastructure="classic openais (with plugin)" \ expected-quorum-votes="2" \ stonith-enabled="false" \ no-quorum-policy="ignore" \ last-lrm-refresh="1364259713" \ maintenance-mo

Re: [Pacemaker] DRBD+LVM+NFS problems

2013-03-25 Thread Dennis Jacobfeuerborn
I just found the following in the dmesg output which might or might not add to understanding the problem: device-mapper: table: 253:2: linear: dm-linear: Device lookup failed device-mapper: ioctl: error adding target to table Regards, Dennis On 25.03.2013 13:04, Dennis Jacobfeuerborn wrote

[Pacemaker] DRBD+LVM+NFS problems

2013-03-25 Thread Dennis Jacobfeuerborn
Hi, I'm currently trying create a two node redundant NFS setup on CentOS 6.4 using pacemaker and crmsh. I use this Document as a starting poing: https://www.suse.com/documentation/sle_ha/singlehtml/book_sleha_techguides/book_sleha_techguides.html The first issue is that using these instruction

Re: [Pacemaker] Corosync over DHCP IP

2013-02-12 Thread Dennis Jacobfeuerborn
On 02/13/2013 01:43 AM, Andrew Beekhof wrote: > On Wed, Feb 13, 2013 at 12:52 AM, Dennis Jacobfeuerborn > wrote: >> On 02/12/2013 03:15 AM, Andrew Beekhof wrote: >>> On Tue, Feb 12, 2013 at 1:01 PM, Dennis Jacobfeuerborn >>> wrote: >>>> On 02/12/2013 02

Re: [Pacemaker] Corosync over DHCP IP

2013-02-12 Thread Dennis Jacobfeuerborn
On 02/12/2013 03:57 PM, Dejan Muhamedagic wrote: > Hi, > > On Tue, Feb 12, 2013 at 02:52:58PM +0100, Dennis Jacobfeuerborn wrote: >> On 02/12/2013 03:15 AM, Andrew Beekhof wrote: >>> On Tue, Feb 12, 2013 at 1:01 PM, Dennis Jacobfeuerborn >>> wrote: >>&g

Re: [Pacemaker] Corosync over DHCP IP

2013-02-12 Thread Dennis Jacobfeuerborn
On 02/12/2013 03:15 AM, Andrew Beekhof wrote: > On Tue, Feb 12, 2013 at 1:01 PM, Dennis Jacobfeuerborn > wrote: >> On 02/12/2013 02:38 AM, Andrew Beekhof wrote: >>> On Tue, Feb 12, 2013 at 3:09 AM, Dennis Jacobfeuerborn >>> wrote: >>>> On 02/11/2013 11

Re: [Pacemaker] Corosync over DHCP IP

2013-02-11 Thread Dennis Jacobfeuerborn
On 02/12/2013 02:38 AM, Andrew Beekhof wrote: > On Tue, Feb 12, 2013 at 3:09 AM, Dennis Jacobfeuerborn > wrote: >> On 02/11/2013 11:30 AM, Andrew Beekhof wrote: >>> On Mon, Feb 11, 2013 at 9:24 PM, Viacheslav Biriukov >>> wrote: >>>> It is VM i

Re: [Pacemaker] Corosync over DHCP IP

2013-02-11 Thread Dennis Jacobfeuerborn
On 02/11/2013 11:30 AM, Andrew Beekhof wrote: > On Mon, Feb 11, 2013 at 9:24 PM, Viacheslav Biriukov > wrote: >> It is VM in the OpenStack. So we can't use static IP. >> Right now investigating why interface become down. > > Even if you solve that, dynamic IP addresses are fundamentally > incompa

Re: [Pacemaker] pcsd.service

2012-11-13 Thread Dennis Jacobfeuerborn
On 11/13/2012 07:04 AM, E-Blokos wrote: > > - Original Message - From: "Dennis Jacobfeuerborn" > > To: > Sent: Tuesday, November 13, 2012 12:42 AM > Subject: Re: [Pacemaker] pcsd.service > > >> On 11/13/2012 04:09 AM, E-Blokos wrote: >>

Re: [Pacemaker] pcsd.service

2012-11-12 Thread Dennis Jacobfeuerborn
On 11/13/2012 04:09 AM, E-Blokos wrote: > Hi, > > I'm trying to install pacemaker corosync > with the pdf "install pacemaker from scratch on fedora 17" > after yum install pcs > pcsd.service doesn't exist at all. > where can I find it ? How old is your pcs package? According to Fedora Koji only

Re: [Pacemaker] Pacemaker 1.1.8 is out now

2012-09-20 Thread Dennis Jacobfeuerborn
On 09/20/2012 12:25 PM, Andrew Beekhof wrote: > This has been coming for a while now, the final hold-up was some stonith > interactions in the presence of multiple clients that while strictly correct, > wasn't really good enough. > > A big thankyou to all those that tested the pre-release versio

Re: [Pacemaker] RES: "Using ldirectord" page question

2012-09-04 Thread Dennis Jacobfeuerborn
irector manager and I configured anther cluster just to manage > http/https > > Regards, > Carlos > > > -Mensagem original- > De: Dennis Jacobfeuerborn [mailto:denni...@conversis.de] > Enviada em: segunda-feira, 3 de setembro de 2012 23:28 > Para: pacemaker@oss

[Pacemaker] "Using ldirectord" page question

2012-09-03 Thread Dennis Jacobfeuerborn
Hi, I'm trying to set up a redundant load-balancer using pacemaker and ldirectord and found an example for the configuration on the following page: http://www.clusterlabs.org/wiki/Using_ldirectord What I don't understand is the following part: "This gives you the virtual IP address and ldirectord

[Pacemaker] ldirectord ocf errors

2012-06-04 Thread Dennis Jacobfeuerborn
Hi, I'm trying to get started with ldirectord on a Centos 6.2 system but things don't seem to work well at the moment. I get the following when I try to set up a ocf:heartbeat:ldirectord resource: crm(live)configure# primitive lvs ocf:heartbeat:ldirectord op monitor interval="20" timeout="10" lrm

Re: [Pacemaker] how does the exportfs resource agent work?

2012-01-16 Thread Dennis Jacobfeuerborn
What am I supposed to look for? Regards, Dennis On 01/16/2012 12:13 PM, emmanuel segura wrote: I think man nfs it's can help you Try to look your nfs client options 2012/1/15 Dennis Jacobfeuerborn mailto:denni...@conversis.de>> Hi, I'm trying to build a HA nfs syst

[Pacemaker] how does the exportfs resource agent work?

2012-01-14 Thread Dennis Jacobfeuerborn
Hi, I'm trying to build a HA nfs system based on drbd and apart from the nfs export everything is working fine. The problem is that when I force a failover things seem to work fine yet when I fail back to the original system the clients freeze for a very long time. /mnt/tmp is the mountpoint

Re: [Pacemaker] Announce: LCMC (Linux Cluster Management Console)

2011-10-02 Thread Dennis Jacobfeuerborn
On 10/02/2011 11:04 PM, Rasto Levrinc wrote: Good news everyone! I am happy to announce LCMC, Linux Cluster Management Console. LCMC is a Java GUI application that configures, manages and visualizes Linux clusters in a way that is not possible to be web-based. Specifically it manages clusters th

[Pacemaker] heartbeat vs. corosync installation confusion

2011-03-07 Thread Dennis Jacobfeuerborn
Hi, I'm planning to setup a redundant storage system using centos5, pacemaker, corosync, drbd, nfs and I'm wondering about the status of heartbeat vs. corosync when it comes to the installation of the pacemaker subsystem of the setup. From what I've learned lurking on the ML heartbeat is cons

Re: [Pacemaker] DRBD MC 0.8.8 / Pacemaker GUI

2011-01-07 Thread Dennis Jacobfeuerborn
On 01/07/2011 05:07 PM, Rasto Levrinc wrote: Hi, This is the next DRBD MC release 0.8.8. DRBD MC is DRBD, Pacemaker and Virtual Manager GUI. ... 3. Make sure you use SUN Java not the OpenJDK 1.6. Why doesn't the MC not work with openjdk? Is there maybe a way to get around this incompatabi

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Dennis Jacobfeuerborn
On 11/12/2010 01:50 PM, Dan Frincu wrote: [SNIP] server. Even the LSB script doesn't handle a Multi-Master setup. You'd have to write a custom resource agent, and it would probably fit your setup and your setup alone, meaning it couldn't be widely used for other setups, I know I had to make some