Re: [Linux-HA] node2 not promoted to primary after node1 standby

2011-02-08 Thread Linux Cook
hi lars, thank you for your immediate reply. I'm now sychronizing my drbd disk. will update this thread if your suggestion resolves my issue or not. thanks again! On Tue, Feb 8, 2011 at 2:10 AM, Lars Ellenberg wrote: > On Tue, Feb 08, 2011 at 04:40:04PM +0800, Linux Cook wrote: >

[Linux-HA] node2 not promoted to primary after node1 standby

2011-02-08 Thread Linux Cook
cib-bootstrap-options" \ dc-version="1.1.4-ac608e3491c7dfc3b3e3c36d966ae9b016f77065" \ cluster-infrastructure="openais" \ expected-quorum-votes="2" \ stonith-enabled="false" \ last-lrm-refresh="1297153624&q

Re: [Linux-HA] problem on ocf:linbit:drbd

2011-02-08 Thread Linux Cook
Oh! I missed that one! Thank you! Linux Cook On Mon, Feb 7, 2011 at 5:15 PM, Lars Ellenberg wrote: > On Mon, Feb 07, 2011 at 02:55:51PM +0800, Linux Cook wrote: > > Hi! Please help! > > > > I'm having issues with ocf:linbit:drbd resource. crm_mon -1 results:

[Linux-HA] slave not switching as primary after primary standby

2011-02-08 Thread Linux Cook
My slave node is not switching as primary if I try to standby my primary node. Here is my configuration: node dmcs1 \ attributes standby="on" node dmcs2 primitive postgres_IP ocf:heartbeat:IPaddr2 \ params ip="10.110.10.3" cidr_netmask="32" nic="eth1" \ op monitor interval=

[Linux-HA] problem on ocf:linbit:drbd

2011-02-06 Thread Linux Cook
Hi! Please help! I'm having issues with ocf:linbit:drbd resource. crm_mon -1 results: Master/Slave Set: ms_drbd_postgres [drbd_postgres] drbd_postgres:0(ocf::linbit:drbd): Slave node1 (unmanaged) FAILED drbd_postgres:1(ocf::linbit:drbd): Slave node2 (unmanaged) FAILED

[Linux-HA] corosync + pacemaker on FC13 problem

2011-02-03 Thread Linux Cook
hi! I need help into my corosync and pacemaker configuration. Corosync is supposed to be starting pacemaker by itself but its not what's happening whenever I start Corosync. Process shows: ps -fax| grep corosync 9032 ?Ssl0:00 corosync my Corosync configuration (/etc/corosync/corosy

Re: [Linux-HA] lsb resource not starting during bootup

2010-12-13 Thread Linux Cook
thanks pavlos, perhaps i'll recheck my configuration... missing something i guess. On Mon, Dec 13, 2010 at 4:49 AM, Pavlos Parissis wrote: > On 11 December 2010 16:48, Pavlos Parissis > wrote: > > On 9 December 2010 09:44, Linux Cook wrote: > >> Hi! > >> >

[Linux-HA] lsb resource not starting during bootup

2010-12-09 Thread Linux Cook
Hi! I have a lsb resource not running during bootup but successfully runs after issueing command: crm resource start Here's my config: primitive nuxeoctl lsb:nuxeoctl \ op monitor interval="30s" timeout="300" depth="0" \ op start interval="0" timeout="300s" \ op stop in

Re: [Linux-HA] pacemaker with dual primary drbd resource

2010-12-07 Thread Linux Cook
1.0.9.1+hg15626-1~bpo50+1 HA cluster resource manager Oliver On Wed, Dec 8, 2010 at 3:41 PM, Andrew Beekhof wrote: > On Wed, Dec 8, 2010 at 8:03 AM, Linux Cook wrote: > > Hi! > > > > Is this mean I need to enable stonith? > > No, it means your

Re: [Linux-HA] pacemaker with dual primary drbd resource

2010-12-07 Thread Linux Cook
Hi! Is this mean I need to enable stonith? On Wed, Dec 8, 2010 at 12:13 PM, Linux Cook wrote: > I've followed the steps but I'm having issues right after it with the > following logs. > > ERROR: te_connect_stonith: Sign-in failed: triggered a retry > Dec 8 12:14:17

Re: [Linux-HA] pacemaker with dual primary drbd resource

2010-12-07 Thread Linux Cook
red a retry and the server is doing stand-alone without promoting itself to both primaries. On Wed, Dec 8, 2010 at 5:08 AM, Pavlos Parissis wrote: > On 7 December 2010 21:25, Linux Cook wrote: > > hi! > > > > Where can I read a good documentation on how to configure pacemak

[Linux-HA] pacemaker with dual primary drbd resource

2010-12-07 Thread Linux Cook
hi! Where can I read a good documentation on how to configure pacemaker in order to promote dual primary drbd resource? Thanks! Oliver ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: h

[Linux-HA] start lsb resource after postgresql

2010-12-06 Thread Linux Cook
hi! I want to start a lsb resource on both servers after starting postgresql on primary. How can the lsb resource on secondary server detects if postgresql is already running on the primary node? regards, Oliver ___ Linux-HA mailing list Linux-HA@lists.

[Linux-HA] start lsb resource on both nodes

2010-12-06 Thread Linux Cook
hi! Is there any possibility to start a lsb resource on both servers wether its on a primary/secondary role? What my config's doing, the lsb resource only starts if the role is on primary. Please help! Oliver ___ Linux-HA mailing list Linux-HA@lists.li

Re: [Linux-HA] multipath'ing on debian

2010-12-06 Thread Linux Cook
sorry wrong list. On Mon, Dec 6, 2010 at 4:06 AM, Werner Flamme wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Linux Cook [06.12.2010 11:31]: > > Hi mga pluggers, > > > > I've just configured multipathing on my debian boxes (Server A and Server

[Linux-HA] multipath'ing on debian

2010-12-06 Thread Linux Cook
Hi mga pluggers, I've just configured multipathing on my debian boxes (Server A and Server B) using HP StorageWorks with Dual FCs on each server and can now mount the path alias I defined on my multipath configuration. But everytime I write a data on Server A, the data are not reflecting on Server

Re: [Linux-HA] custom jboss init script on pacemaker

2010-12-01 Thread Linux Cook
same result: primitive nuxeoctl lsb:nuxeoctl \ op monitor interval="500" timeout="500" depth="0" \ meta target-role="Started" On Wed, Dec 1, 2010 at 2:44 PM, Andrew Beekhof wrote: > On Wed, Dec 1, 2010 at 5:05 AM, Linux Cook wrote:

Re: [Linux-HA] custom jboss init script on pacemaker

2010-11-30 Thread Linux Cook
Thank you for your inputs but I have my own customed init script but it is using my jboss engine. If I command, /etc/init.d/ start/stop, its working. I added into my configuration like: primitive lsb: \ op monitor interval="30" timeout="300s" depth="0" \ meta target-role="Starte

[Linux-HA] custom jboss init script on pacemaker

2010-11-30 Thread Linux Cook
Hi How can I run jboss init script on pacemaker? Which resource should I use? thank you! Linux cook ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org

Re: [Linux-HA] pacemaker error on postgresql drbd

2010-11-30 Thread Linux Cook
I've already fixed it. I changed the data directory on pgsql resource because I'm using /usr/local/pgsql instead of /var/lib/pgsql thanks! On Tue, Nov 30, 2010 at 6:00 PM, Andrew Beekhof wrote: > On Tue, Nov 30, 2010 at 9:38 AM, Linux Cook wrote: > > h > >

[Linux-HA] pacemaker error on postgresql drbd

2010-11-30 Thread Linux Cook
hi! Whats wrong with my configuration? DBIP: 10.110.10.5 drbd resource: postgres postgres service: postgresql node1: dmcs1 node2: dmcs2 $ crm configure show node dmcs1 node dmcs2 primitive DBIP ocf:heartbeat:IPaddr2 \ params ip="10.110.10.5" cidr_netmask="24" nic="eth3" \ op mon

[Linux-HA] resource is active and should not be ERROR!

2010-11-11 Thread Linux Cook
I am having a problem when starting postgresql from heartbeat (/etc/ha.d/haresources). HA says "CRITICAL: Resource postgresql is active, and should not be!" any thoughts? Oliver ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-h

Re: [Linux-HA] heartbeat with postgresql

2010-10-18 Thread Linux Cook
se help! Thank you. Oliver On Sat, Oct 16, 2010 at 2:41 AM, Linux Cook wrote: > thanks michael and vadym, > > Will try your suggestions and will let you know. > > On Fri, Oct 15, 2010 at 4:46 AM, Vadym Chepkov wrote: > >> >> On Oct 15, 2010, at 3:28 AM, Linux Cook

Re: [Linux-HA] heartbeat with postgresql

2010-10-15 Thread Linux Cook
thanks michael and vadym, Will try your suggestions and will let you know. On Fri, Oct 15, 2010 at 4:46 AM, Vadym Chepkov wrote: > > On Oct 15, 2010, at 3:28 AM, Linux Cook wrote: > > > hi! > > > > I've just setup heartbeat + drbd with postgresql. I'm m

[Linux-HA] heartbeat with postgresql

2010-10-15 Thread Linux Cook
hi! I've just setup heartbeat + drbd with postgresql. I'm mirroring /dev/drbd0 to /var/lib/postgresql. The problem is, postgresql service can't start because everytime heartbeat mounts the /dev/drbd0 to /var/lib/postgresql, it changes it user and group ownership instead of just postgres user and g

[Linux-HA] ip takeover and drbd mount is not working

2010-10-13 Thread Linux Cook
hi! I'm trying to configure drbd with heartbeat. My configuration are as follows: *drbd.conf** global { usage-count no; } resource postgres { protocol C; startup { wfc-timeout 0; degr-wfc-timeout 120; } disk { on-io-error detach; } # or panic, ... net { cram-hmac-alg "sha1";