Re: [Pacemaker] Need help!!! resources fail-over not taking place properly...

2010-02-18 Thread Jayakrishnan
Yes sir, the slony resource problem is solved.. I added another resource and give colocation to my cluster-ip. Thus my first slon-script (resource) is not influencing the functioning of the second one. I have also added a cleanup command at the end of each slony-resource --- let it be there!!!.. M

Re: [Pacemaker] Frustrating fun with Pacemaker / CentOS / Apache

2010-02-18 Thread Tim Serong
On 2/19/2010 at 08:40 AM, Paul Graydon wrote: > >> I started looking into this today to find out whether it was > >> possible to use another URL for testing. According to the heartbeat > >> script you can specify the parameter statusurl and as long as it has > >> a body and html tag on the pa

Re: [Pacemaker] Frustrating fun with Pacemaker / CentOS / Apache

2010-02-18 Thread Paul Graydon
On 2/18/2010 2:10 AM, Dejan Muhamedagic wrote: Hi, On Wed, Feb 17, 2010 at 04:59:16PM -1000, Paul Graydon wrote: On 2/16/2010 1:04 PM, Angie T. Muhammad wrote: On Wed, Feb 17, 2010 at 12:21 AM, Paul Graydonmailto:p...@ehawaii.gov>> wrote: On 2/16/2010 10:48 AM, Andrew Beekhof

Re: [Pacemaker] Seeking for advice after cluster freeze

2010-02-18 Thread Patrick Zwahlen
Hi Dejan, and thanks for the super quick response. > Please upgrade to 1.0.3. Not sure, but those versions you have > may have a bad bug. I didn't want to do too many changes before having some people have a look at it. I agree there are some new pacemaker/cluster-glue revisions, though. > > cor

Re: [Pacemaker] Seeking for advice after cluster freeze

2010-02-18 Thread Dejan Muhamedagic
Hi, On Thu, Feb 18, 2010 at 05:15:42PM +0100, Patrick Zwahlen wrote: > Dear list, > > I am looking for some advice regarding a freeze that we experienced. My > project is a 2-nodes active-passive NFS cluster on two virtual machines. > I am using CentOS 5.4 x86_64, drbd, xfs, corosync and pacemake

Re: [Pacemaker] Need help!!! resources fail-over not taking place properly...

2010-02-18 Thread Dejan Muhamedagic
Hi, On Thu, Feb 18, 2010 at 09:53:13PM +0530, Jayakrishnan wrote: > Sir, > > You got the point.. I thought that there is some mistakes in my > configurations after 2 weeks trying... If I enable stonith and manage to > shut down the failed machine, most of my problems will be solved.. Now I >

Re: [Pacemaker] cli configuration and resource sets

2010-02-18 Thread Dejan Muhamedagic
Hi, On Thu, Feb 18, 2010 at 05:33:53PM +0100, Cristian Mammoli - Apra Sistemi wrote: > Dejan Muhamedagic wrote: > > >>Last packages from clusterlabs repo: should be ok? > > > >I'm really not sure. See the bugzilla above. The problem is that > >at the time of 1.0.7 the CRM and the shell were out o

Re: [Pacemaker] cli configuration and resource sets

2010-02-18 Thread Cristian Mammoli - Apra Sistemi
Dejan Muhamedagic wrote: Last packages from clusterlabs repo: should be ok? I'm really not sure. See the bugzilla above. The problem is that at the time of 1.0.7 the CRM and the shell were out of sync on the matter. My package has build date: Wed 10 Feb 2010 It should be fixed, indeed the x

Re: [Pacemaker] Need help!!! resources fail-over not taking place properly...

2010-02-18 Thread Jayakrishnan
Sir, You got the point.. I thought that there is some mistakes in my configurations after 2 weeks trying... If I enable stonith and manage to shut down the failed machine, most of my problems will be solved.. Now I feel much confident... But sir I need to clear the resource failures for my s

Re: [Pacemaker] Need help!!! resources fail-over not taking place properly...

2010-02-18 Thread Dejan Muhamedagic
Hi, On Thu, Feb 18, 2010 at 08:22:26PM +0530, Jayakrishnan wrote: > Hello Dejan, > > First of all thank you very much for your reply. I found that one of my node > is having the permission problem. There the permission of /var/lib/pengine > file was set to "999:999" I am not sure how!! Howeve

Re: [Pacemaker] Questions about 2-node cluster with mysql, apache, tomcat and shared partition

2010-02-18 Thread Glauber Cabral
Hi Andrew. I've followed your tutorial, but as I'm using ocfs2 and shared disk, I really got some doubts about mysql config been cloned or not. So, I've set up the mysql service without clone and I guess it's ok now. I'll try to configure the STONITH, now. And latter I make another test with apac

Re: [Pacemaker] Need help!!! resources fail-over not taking place properly...

2010-02-18 Thread Jayakrishnan
Hello Dejan, First of all thank you very much for your reply. I found that one of my node is having the permission problem. There the permission of /var/lib/pengine file was set to "999:999" I am not sure how!! However i changed it... sir, when I pull out the interface cable i am getting only

Re: [Pacemaker] Need help!!! resources fail-over not taking place properly...

2010-02-18 Thread Dejan Muhamedagic
Hi, On Thu, Feb 18, 2010 at 05:09:09PM +0530, Jayakrishnan wrote: > sir, > > I have set up a two node cluster in Ubuntu 9.1. I have added a cluster-ip > using ocf:heartbeat:IPaddr2, clonned lsb script "postgresql-8.4" and also > added a manually created script for slony database replication. > >

Re: [Pacemaker] Frustrating fun with Pacemaker / CentOS / Apache

2010-02-18 Thread Andrew Beekhof
On Wed, Feb 17, 2010 at 8:22 PM, Paul Graydon wrote: > On 2/17/2010 4:12 AM, Andrew Beekhof wrote: >> The core part of openais split off to become corosync. >> Not all the docs (or logs) have been updated for this. >> >> > > Would there be any benefit in installing the full openais?  The only thi

Re: [Pacemaker] Cluster-IP

2010-02-18 Thread Michael Schwartzkopff
Am Donnerstag, 18. Februar 2010 13:05:17 schrieb Ingmar: > Hi Michael, > > in my eyes it was the same ... But I guess you're right. > I want an IP address that points to a node and in case of failure it should > be migrated to the other node. > > So... could you give me an how-to for configure an I

Re: [Pacemaker] Frustrating fun with Pacemaker / CentOS / Apache

2010-02-18 Thread Dejan Muhamedagic
Hi, On Wed, Feb 17, 2010 at 04:59:16PM -1000, Paul Graydon wrote: > On 2/16/2010 1:04 PM, Angie T. Muhammad wrote: > > > > > >On Wed, Feb 17, 2010 at 12:21 AM, Paul Graydon >> wrote: > > > >On 2/16/2010 10:48 AM, Andrew Beekhof wrote: > >>The first error doesn't c

Re: [Pacemaker] Cluster-IP

2010-02-18 Thread Ingmar
Hi Michael, in my eyes it was the same ... But I guess you're right. I want an IP address that points to a node and in case of failure it should be migrated to the other node. So... could you give me an how-to for configure an IPaddr2-resource? greets "Michael Schwartzkopff" schrieb im Newsb

[Pacemaker] Need help!!! resources fail-over not taking place properly...

2010-02-18 Thread Jayakrishnan
sir, I have set up a two node cluster in Ubuntu 9.1. I have added a cluster-ip using ocf:heartbeat:IPaddr2, clonned lsb script "postgresql-8.4" and also added a manually created script for slony database replication. Now every thing works fine but I am not able to use the ocf resource scripts. I

[Pacemaker] [PATCH 0 of 2] More RPM spec fixes

2010-02-18 Thread Florian Haas
Andrew, another couple of patches to the RPM spec: 1. Require net-snmp 5.4. As discussed on IRC, netsnmp_transport_open_client is not available in 5.3. This currently creates and awkward situation where crm_mon is being linked against the net-snmp libraries, but it can't actually send

[Pacemaker] [PATCH 1 of 2] Low: build: add --without snmp flag to RPM spec

2010-02-18 Thread Florian Haas
# HG changeset patch # User Florian Haas # Date 1266490897 -3600 # Branch stable-1.0 # Node ID cc3c3e83e77fbde81186c0b9ca95b08402942092 # Parent 9600297d047874796cbebf3fcfb679e2fd412b98 Low: build: add --without snmp flag to RPM spec SNMP traps only work from net-snmp 5.4 forward. Require net-sn

[Pacemaker] [PATCH 2 of 2] Low: build: fix Requires for libesmtp

2010-02-18 Thread Florian Haas
# HG changeset patch # User Florian Haas # Date 1266490897 -3600 # Branch stable-1.0 # Node ID ebbd9841d03a7b5205a6de4904c9474f5b76c23f # Parent cc3c3e83e77fbde81186c0b9ca95b08402942092 Low: build: fix Requires for libesmtp Add a Requires tag for esmtp conditional builds. diff -r cc3c3e83e77f -

Re: [Pacemaker] Cluster-IP

2010-02-18 Thread Michael Schwartzkopff
Am Donnerstag, 18. Februar 2010 11:26:24 schrieb Ingmar: > Hi, > > I have a cluster with KVM, heartbeat, pacemaker on CentOS 5.4. > For configuration I use primary the pacemaker-gui. > > I would like to set up a cluster IP ... for my Dom0s. First and foremost, > to administrate the cluster via one

[Pacemaker] Cluster-IP

2010-02-18 Thread Ingmar
Hi, I have a cluster with KVM, heartbeat, pacemaker on CentOS 5.4. For configuration I use primary the pacemaker-gui. I would like to set up a cluster IP ... for my Dom0s. First and foremost, to administrate the cluster via one IP. On the Internet I found conflicting instructions ... times as c

Re: [Pacemaker] Setup cluster

2010-02-18 Thread rvm
Hi, > # crm configure primitive ClusterIP ocf:heartbeat:IPaddr2 \ > params ip=192.168.9.101 cidr_netmask=32 \ > op monitor interval=30s I think, i'm not sure, that you need to add nic="eth0" (for example) and your broadcast. And your nestmask sould be 24 ? For example : primitive VIP ocf:heartbe