[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,

[Pacemaker] Postgresql streaming replication failover - RA needed

2011-11-16 Thread Attila Megyeri
Hi All, We have a two-node postgresql 9.1 system configured using streaming replicaiton (active/active with a read-only slave). We want to automate the failover process and I couldn't really find a resource agent that could do the job. All HA solutions for postgresql I have seen are based on a

Re: [Pacemaker] Regarding Stonith RAs

2011-11-16 Thread Dejan Muhamedagic
Hi, On Tue, Nov 15, 2011 at 08:44:45AM +0530, neha chatrath wrote: Hello Dejan, I am using Cluster Glue version 1.0.7. Also this does not seem to be a problem with a specific Stonith agent like IPMI, I think it is more of an issue with all the Stonith agents. I have tried configuring

Re: [Pacemaker] Postgresql streaming replication failover - RA needed

2011-11-16 Thread Florian Haas
Hi Attila, On 2011-11-16 10:27, Attila Megyeri wrote: Hi All, We have a two-node postgresql 9.1 system configured using streaming replicaiton(active/active with a read-only slave). We want to automate the failover process and I couldn’t really find a resource agent that could do the

Re: [Pacemaker] Regarding Stonith RAs

2011-11-16 Thread neha chatrath
Hello, Looks like a broken installation. I guess that metadata for other resource classes works fine. It could be some issue with stonith-ng. Did you notice any messages from stonith-ng? A Yes, metadata for other resource classes like ocf/heartbeat, ocf/linbit is working fine. Problem is seen

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 works

Re: [Pacemaker] Regarding Stonith RAs

2011-11-16 Thread Dejan Muhamedagic
Hi, On Wed, Nov 16, 2011 at 05:49:30PM +0530, neha chatrath wrote: [...] Nov 14 13:16:57 ggns2mexsatsdp17.hsc.com lrmd: [3976]: notice: on_msg_get_rsc_types: can not find this RA class stonith The PILS plugin handling stonith resources was not found. Strange, cannot recall seeing this before.

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 andr...@hastexo.com On 11/16/2011 10:10 AM, IVAN GARCIA wrote: Hi there, I'm configuring a cluster

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 works

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

Re: [Pacemaker] Postgresql streaming replication failover - RA needed

2011-11-16 Thread Attila Megyeri
Hi Florian, -Original Message- From: Florian Haas [mailto:flor...@hastexo.com] Sent: 2011. november 16. 11:49 To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Postgresql streaming replication failover - RA needed Hi Attila, On 2011-11-16 10:27, Attila Megyeri wrote:

[Pacemaker] Colocating resources on the same physical server when resources are run inside virtual servers

2011-11-16 Thread Attila Megyeri
Hi Team, Resources A and B are running within virtual servers. There are two physical servers ph1 and ph2 with two virtualized nodes on each. What would be the easiest way to have a specific resource (e.g. resource A) move to another node (From node 1 to node 2) in case when a different

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 ivan.gar...@leroymerlin.eswrote: 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

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 sym...@gmail.com Are you pinging from same network ip? Are you sure cidr

Re: [Pacemaker] Postgresql streaming replication failover - RA needed

2011-11-16 Thread Serge Dubrouski
On Wed, Nov 16, 2011 at 12:55 PM, Attila Megyeri amegy...@minerva-soft.comwrote: Hi Florian, -Original Message- From: Florian Haas [mailto:flor...@hastexo.com] Sent: 2011. november 16. 11:49 To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Postgresql streaming

Re: [Pacemaker] Postgresql streaming replication failover - RA needed

2011-11-16 Thread Takatoshi MATSUO
Hi All I create a RA for PosstgrSQL 9.1 Streaming Replication based on pgsql. RA https://github.com/t-matsuo/resource-agents/blob/pgsql91/heartbeat/pgsql Documents https://github.com/t-matsuo/resource-agents/wiki It is almost totally changed from previous patch

[Pacemaker] Prioritized failover

2011-11-16 Thread Nirmala S
Hi, I am in the process of modeling high availability for DB using Pacemaker. DB is an in-memory one with optional storage on disk. Replication is used as main form of data communication between nodes. The cluster needs to have a master-preferred slave-other slaves. Master and preferred slave