Re: [Pacemaker] DRBD Stacked resource timeout

2013-07-18 Thread Andrew Beekhof
On 19/07/2013, at 7:08 AM, Miles Lott wrote: > This is the part of our pacemaker config which sets up our primary/secondary > drbd resource as well as the stacked resource. Due to occasional load on the > server, the resource check will timeout, forcing a reboot of the node using > ipmi. > >

Re: [Pacemaker] libqb installed in non-standard dir causes configure failures

2013-07-18 Thread Andrew Beekhof
On 19/07/2013, at 4:37 AM, Matthew O'Connor wrote: > Hi! I'm trying to build a full pacemaker/corosync/libqb tree into a > directory other than /usr. Unfortunately the Pacemaker configure script > fails to properly validate the existence of libqb: > > checking pkg-config is at least version 0.

[Pacemaker] DRBD Stacked resource timeout

2013-07-18 Thread Miles Lott
This is the part of our pacemaker config which sets up our primary/secondary drbd resource as well as the stacked resource. Due to occasional load on the server, the resource check will timeout, forcing a reboot of the node using ipmi. I know I can adjust the timeout on the main resource below

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Gopalakrishnan N
Thank you for your valuable information. ..:) On 19 Jul 2013 02:09, "Digimer" wrote: > Be sure to enable and use stonith! > > This is extremely important to avoid split-brains, and something many > people skip at first, not properly appreciating the important role stonith > plays. > > digimer > >

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Digimer
Be sure to enable and use stonith! This is extremely important to avoid split-brains, and something many people skip at first, not properly appreciating the important role stonith plays. digimer On 18/07/13 16:29, Gopalakrishnan N wrote: ok thanks.. then let me start with basic functional A

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Gopalakrishnan N
ok thanks.. then let me start with basic functional Active/Passive node sync with example... (Apache) Once again thanks... On Fri, Jul 19, 2013 at 1:54 AM, Digimer wrote: > If periodic rsync does the job, then no, you don't need drbd. > > > On 18/07/13 16:12, Gopalakrishnan N wrote: > >> Thank

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Digimer
If periodic rsync does the job, then no, you don't need drbd. On 18/07/13 16:12, Gopalakrishnan N wrote: Thanks for your comments... Ok better I can do rync periodically in crontab. I will take up with crm itself, and still i have doubt that do I need to use DRBD... On Fri, Jul 19, 2013 at

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Gopalakrishnan N
Thanks for your comments... Ok better I can do rync periodically in crontab. I will take up with crm itself, and still i have doubt that do I need to use DRBD... On Fri, Jul 19, 2013 at 1:34 AM, Digimer wrote: > On 18/07/13 15:56, Gopalakrishnan N wrote: > >> And I have some configuration f

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Digimer
On 18/07/13 15:56, Gopalakrishnan N wrote: And I have some configuration files where it has to sync automatically and when the primary goes down, the secondary has to come UP automatically. This confuses me a little. I don't use asterix or MySQL, so I don't know what they need. If you need to

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Gopalakrishnan N
I am not going to use block level replication, Basically I have a Asterisk server running in one server, and I would like to make a failover for the same. My asterisk runs in Cent OS 6.4 64bit OS. And I have some configuration files where it has to sync automatically and when the primary goes dow

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Digimer
I don't know what you want to do, so I can't say if DRBD is right for you or not. If you need synchronous, block-level replication, then DRBD is excellent. On 18/07/13 15:49, Gopalakrishnan N wrote: Why to use DRBD? Cant I use lyncd with rsync? Any idea? On Fri, Jul 19, 2013 at 1:10 AM, Gopa

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Digimer
That is the "crm" version of the document. RHEL replaced 'crm' with 'pcs' in version 6.4. However, you can still use crm if you install it from the suse repository. http://download.opensuse.org/repositories/network:/ha-clustering/RedHat_RHEL-6/ The crm shell is more mature than PCS, so if you

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Gopalakrishnan N
Why to use DRBD? Cant I use lyncd with rsync? Any idea? On Fri, Jul 19, 2013 at 1:10 AM, Gopalakrishnan N < gopalakrishnan...@gmail.com> wrote: > Thanks for your comments. > > Am using CentOS, hope I can follow this PDF - > http://clusterlabs.org/doc/en-US/Pacemaker/1.0/pdf/Clusters_from_Scratch

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Gopalakrishnan N
Thanks for your comments. Am using CentOS, hope I can follow this PDF - http://clusterlabs.org/doc/en-US/Pacemaker/1.0/pdf/Clusters_from_Scratch/Pacemaker-1.0-Clusters_from_Scratch-en-US.pdf On Fri, Jul 19, 2013 at 12:48 AM, Digimer wrote: > On 18/07/13 15:07, Gopalakrishnan N wrote: > >> I ha

Re: [Pacemaker] Floating IP Address

2013-07-18 Thread Digimer
On 18/07/13 15:07, Gopalakrishnan N wrote: I have gone through certain links, as like the below, https://www.johncahill.net/wiki/index.php/2_Node_Active/Passive_cluster#Install_and_configure_lsyncd http://www.6tech.org/2013/03/linux-firewall-cluster-with-pacemaker-and-corosync/ http://zeldor.b

[Pacemaker] Floating IP Address

2013-07-18 Thread Gopalakrishnan N
I have gone through certain links, as like the below, https://www.johncahill.net/wiki/index.php/2_Node_Active/Passive_cluster#Install_and_configure_lsyncd http://www.6tech.org/2013/03/linux-firewall-cluster-with-pacemaker-and-corosync/ http://zeldor.biz/2010/12/activepassive-cluster-with-pacemak

Re: [Pacemaker] Fixed! - Re: Problem with dual-PDU fencing node with redundant PSUs

2013-07-18 Thread Digimer
On 28/06/13 10:20, Digimer wrote: On 06/28/2013 03:22 AM, Lars Marowsky-Bree wrote: On 2013-06-27T12:53:01, Digimer wrote: primitive fence_n01_psu1_off stonith:fence_apc_snmp \ params ipaddr="an-p01" pcmk_reboot_action="off" port="1" pcmk_host_list="an-c03n01.alteeve.ca" primitive fe

[Pacemaker] libqb installed in non-standard dir causes configure failures

2013-07-18 Thread Matthew O'Connor
Hi! I'm trying to build a full pacemaker/corosync/libqb tree into a directory other than /usr. Unfortunately the Pacemaker configure script fails to properly validate the existence of libqb: checking pkg-config is at least version 0.9.0... yes checking for libqb... yes checking qb/qbipc_common.h

[Pacemaker] CRMd exits because of internal error

2013-07-18 Thread K Mehta
Hi, I have a two node cluster. I have few resources configured on it. On vqa12, CRMd dies due to some internal error. It is not clear why CRMd decides to die on May5 at 22:14:50 on system vqa12 May 05 22:14:50 [3518] vqa12 crmd: info: do_exit: Performing A_EXIT_0 -

Re: [Pacemaker] RHEL 6.3 + fence_vmware_soap + esx 5.1

2013-07-18 Thread Mistina Michal
Hi Andrew. Thank you for a little insight. I tried to set higher timout limits within fence_vmware_soap properties in cib database. After I had altered these numbers I didn't experience SIGTERM or SIGKILL any more. However automatic fencing was still not successfull. I don't understand why "manual

Re: [Pacemaker] Question about the behavior when a pacemaker's process crashed

2013-07-18 Thread Andrew Beekhof
On 17/07/2013, at 6:53 PM, Kazunori INOUE wrote: > (13.07.16 21:18), Andrew Beekhof wrote: >> >> On 16/07/2013, at 7:04 PM, Kazunori INOUE >> wrote: >> >>> (13.07.15 11:00), Andrew Beekhof wrote: On 12/07/2013, at 6:28 PM, Kazunori INOUE wrote: > Hi, > >