Re: [Pacemaker] apche cannot run anywhere

2011-08-27 Thread Shravan Mishra
try checking if stonith is enabled if it is then disable it: crm_attribute -G -t crm_config -n stonith-enabled Or define stonith resources before running your resources. Thanks Shravan On Sat, Aug 27, 2011 at 12:18 PM, leopoldo tosi leopoldot...@yahoo.itwrote: I'm doing some test with

[Pacemaker] fencing

2011-06-15 Thread Shravan Mishra
Hi all, We are using idrac6 ipmi as stonith device on our 2 node cluster. When one of the nodes power cords are being yanked out, both main and the backup, the secondary node is not taking over as primary meaning the fencing operation didn't happen successfully from secondary to the abruptly

Re: [Pacemaker] primary role not being taken by secondary on hard shutdown of the original primary

2011-06-10 Thread Shravan Mishra
at 03:47:17PM -0400, Shravan Mishra wrote: Hi guys, I'm facing weird problem, I'm not sure if anyone else has seen this. Basically I have a pair and when I do a hard shutdown like ---ipmitool chassis power off --- of primary then secondary is just sitting as it is and drbd is not becoming master

[Pacemaker] drbd log messages

2011-05-25 Thread Shravan Mishra
Hello, I'm running following version of drbd on Linux 2.6.29.6-0.6.smp.gcc4.1.x86_64 #1 SMP version: 8.3.8.1 (api:88/proto:86-94) GIT-hash: 0d8589fcc32c874df57c930ca1691399b55ec893 build by rmake-chroot@localhost.localdomain, 2010-09-22 23:08:46 I'm seeing lots of these messages :

[Pacemaker] clone specific configuration options

2011-05-03 Thread Shravan Mishra
Hi, globally-unique --- Does each copy of the clone perform a different function? Allowed values: true, false I was looking for some more explanation because of my weak understanding of the above statement: Let's say I have pure clones like ping vs master/slave clones running on 2 machines.

Re: [Pacemaker] Drbd dstate to trigger failover

2011-04-21 Thread Shravan Mishra
Thanks, I understand now. -Shravan On Thu, Apr 21, 2011 at 8:06 AM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Wed, Apr 20, 2011 at 09:49:13PM -0400, Shravan Mishra wrote: Wherever there is estates/estate it should be dstates/dstate. Thanks Shravan On Wed, Apr 20, 2011 at 9:46 PM

[Pacemaker] Drbd dstate to trigger failover

2011-04-20 Thread Shravan Mishra
Hi, I'm using following config for io errors: resource resource { disk { on-io-error detach; ... } ... } The above leads to following state in case of disk errors: Diskless/UpToDate Under drbd documentation there is a following line: STMT -- If the disk failure has occured

Re: [Pacemaker] Drbd dstate to trigger failover

2011-04-20 Thread Shravan Mishra
Wherever there is estates/estate it should be dstates/dstate. Thanks Shravan On Wed, Apr 20, 2011 at 9:46 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi, I'm using following config for io errors: resource resource {  disk {    on-io-error detach;    ...  }  ... } The above

[Pacemaker] large number of pe-input-* files

2011-04-05 Thread Shravan Mishra
Hi guys, penguin process creates a large number of files under /var/lib/pengine. We are using HA on a very high per box which is processing large amount of data fed fro an external source. There is a large number of files creation and IO taking place. We ran out of inodes because there were

Re: [Pacemaker] Corosync IPAddr problems(?)

2011-02-07 Thread Shravan Mishra
Try using IPAddr2 -Shravan On Mon, Feb 7, 2011 at 8:01 AM, Stephan-Frank Henry frank.he...@gmx.netwrote: Hello again, I am having some possible problems with Corosync and IPAddr. To be more specific, when I do a /etc/init.d/corosync stop, while everything shuts down more or less

Re: [Pacemaker] Problems with Pacemaker + Corosync after reboot

2010-12-22 Thread Shravan Mishra
Hi, What's happening is that corosync is forking but the exec is not happening. I used to see this problem in my case when syslog-ng process was not running. Try checking that and starting it and then start corosync. Sincerely Shravan On Wed, Dec 22, 2010 at 4:43 AM, Daniel Bareiro

Re: [Pacemaker] stonith resource issue

2010-10-10 Thread Shravan Mishra
Awesome, thanks a lot. -Shravan On Sun, Oct 10, 2010 at 12:43 PM, Andrew Beekhof and...@beekhof.net wrote: On Sun, Oct 10, 2010 at 6:41 PM, Andrew Beekhof and...@beekhof.net wrote: Well you don't want _all_ the tracing. Set PCMK_trace_functions=some_function_name before starting pacemaker

Re: [Pacemaker] stonith pacemaker problem

2010-10-10 Thread Shravan Mishra
the lrmd's logs, they only show what happened not why. On Thu, Oct 7, 2010 at 11:02 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi, Description of my environment:   corosync=1.2.8   pacemaker=1.1.3   Linux= 2.6.29.6-0.6.smp.gcc4.1.x86_64 #1 SMP We are having a problem with our

Re: [Pacemaker] stonith resource issue

2010-10-08 Thread Shravan Mishra
Muhamedagic deja...@fastmail.fm wrote: Hi, On Wed, Oct 06, 2010 at 01:32:06PM -0400, Shravan Mishra wrote: Please fine hb_report. hb_report couldn't find the logs, probably because you have both syslog and to file logging. Anyway, it could be that stuff such as external/safe/ipmi cannot work

Re: [Pacemaker] stonith resource issue

2010-10-08 Thread Shravan Mishra
Sorry forgot to mention the environment: pacemaker=1.0.9 corosync=1.1.1 2.6.29.6-0.6.smp.gcc4.1.x86_64 Thanks On Fri, Oct 8, 2010 at 12:54 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Looks like I found the issue but I don't know how to fix it: I looked into run_stonith_agent

[Pacemaker] stonith pacemaker problem

2010-10-07 Thread Shravan Mishra
Hi, Description of my environment: corosync=1.2.8 pacemaker=1.1.3 Linux= 2.6.29.6-0.6.smp.gcc4.1.x86_64 #1 SMP We are having a problem with our pacemaker which is continuously canceling the monitoring operation of our stonith devices. We ran: stonith -d -t external/safe/ipmi

Re: [Pacemaker] pacemaker version

2010-10-06 Thread Shravan Mishra
That is what I heard too, that's the reason for this question. Thanks Shravan On Wed, Oct 6, 2010 at 7:51 AM, Vadym Chepkov vchep...@gmail.com wrote: On Oct 6, 2010, at 2:48 AM, Andrew Beekhof wrote: On Tue, Oct 5, 2010 at 7:53 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi, I

[Pacemaker] stonith resource issue

2010-10-06 Thread Shravan Mishra
Hi guys, I'm having a weird problem with my stonith resources.They are constantly starting and stopping. I'm using: pacemaker=1.1.3 corosync=1.2.8 glue=glue_1.0-10 2.6.29.6-0.6.smp.gcc4.1.x86_64 My configuration looks like this: === node ha1.itactics.com node

Re: [Pacemaker] stonith resource issue

2010-10-06 Thread Shravan Mishra
Please fine hb_report. Thanks Shravan On Wed, Oct 6, 2010 at 1:14 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi, Please find the stonith and crmd logs attached. I have pruned stonith.logs as it contained lots of repeatable messages. I 'm in the process of installing Date::parse

[Pacemaker] pacemaker version

2010-10-05 Thread Shravan Mishra
Hi, I was interested in knowing that if I have to choose between pacemaker 1.0 vs 1.1 which one should I use. Thanks Shravan ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home:

Re: [Pacemaker] cib

2010-10-01 Thread Shravan Mishra
at 6:26 AM, Shravan Mishra shravan.mis...@gmail.com wrote: Thanks Raoul for the response. Changing the permission to hacluster:haclient did stop that error. Now I'm hitting another problem whereby cib is failing to start Very strange logs. Which distribution

Re: [Pacemaker] cib

2010-09-29 Thread Shravan Mishra
will not exist. Then why is it looking for this file on startup. Sincerely Shravan On Tue, Sep 28, 2010 at 10:24 AM, Shravan Mishra shravan.mis...@gmail.com wrote: Sorry forgot to attach my corosync.conf. = totem {        version: 2 #       token: 3000

Re: [Pacemaker] cib

2010-09-29 Thread Shravan Mishra
/lib64/heartbeat/pengine 82 14175 14166 0 12:23 ?00:00:00 /usr/lib64/heartbeat/crmd --lrmd is running as nobody when it should have been root. I'm not sure why that would happen. Thanks Shravan On Wed, Sep 29, 2010 at 10:29 AM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi

Re: [Pacemaker] cib

2010-09-28 Thread Shravan Mishra
, Shravan Mishra shravan.mis...@gmail.com wrote: Hi Andrew, I'm attaching another log file as I reflashed my machine started everything from scratch. Looks like my old system got little messed up as I was trying to install old HA libraries - corosyc/pacemaker that was initially working for me

[Pacemaker] cib

2010-09-24 Thread Shravan Mishra
Hi All, We recently upgraded to /usr/sbin/corosync -v Corosync Cluster Engine, version '1.2.1' SVN revision '2723:2724' Copyright (c) 2006-2009 Red Hat, Inc. In my logs I see the following lines: crmd[20612]: 2010/09/24_15:29:57 ERROR: crm_log_init_worker: Cannot change active directory to

[Pacemaker] (no subject)

2010-01-21 Thread Shravan Mishra
Hi all, I have an active-passive 2 node cluster. Whenever the active/primary node is powered off the services nicely failover and continue but once the powered off node is brought back online, instead of staying as secondary/passive node it is again becoming primary thus leading to a unnecessary

Re: [Pacemaker] (no subject)

2010-01-21 Thread Shravan Mishra
(property). Check with ptest -sL the scores to confirm, test and get the correct values. Also for most humans it's easier to read outout of crm configure show instead of XML, so i didn't read your config. Regards, M. Shravan Mishra wrote: Hi all, I have an active-passive 2 node cluster

Re: [Pacemaker] errors in corosync.log

2010-01-19 Thread Shravan Mishra
cibadmin 1.0.5 for OpenAIS and Heartbeat (Build: 9e9faaab40f3f97e3c0d623e4a4c47ed83fa1601) -Shravan On Tue, Jan 19, 2010 at 8:29 AM, Andrew Beekhof and...@beekhof.net wrote: On Sat, Jan 16, 2010 at 9:20 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi Guys, I'm running the following

Re: [Pacemaker] errors in corosync.log

2010-01-19 Thread Shravan Mishra
Corosync Cluster Engine, version '1.1.1' SVN revision '2534' Copyright (c) 2006-2009 Red Hat, Inc. Shravan On Tue, Jan 19, 2010 at 10:59 AM, Shravan Mishra shravan.mis...@gmail.com wrote: cibadmin 1.0.5 for OpenAIS and Heartbeat (Build: 9e9faaab40f3f97e3c0d623e4a4c47ed83fa1601) -Shravan

Re: [Pacemaker] errors in corosync.log

2010-01-18 Thread Shravan Mishra
and this came up. Thanks for the help. Shravan On Mon, Jan 18, 2010 at 2:58 AM, Andrew Beekhof and...@beekhof.net wrote: On Sat, Jan 16, 2010 at 9:20 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi Guys, I'm running the following version of pacemaker and corosync corosync=1.1.1

[Pacemaker] mcast vs broadcast

2010-01-18 Thread Shravan Mishra
Hi all, Following is my corosync.conf. Even though broadcast is enabled I see mcasted messages like these in corosync.log. Is it ok? even when the broadcast is on and not mcast. == Jan 18 09:50:40 corosync [TOTEM ] mcasted message added to pending queue Jan 18 09:50:40 corosync [TOTEM ]

Re: [Pacemaker] coroync not able to exec services properly

2010-01-04 Thread Shravan Mishra
and token such that consensus must be 1.2* token. Your consensus is 1/2 token which will cause corosync to exit at start. Regards -steve On Mon, 2009-12-28 at 12:58 +0100, Dejan Muhamedagic wrote: Hi, On Thu, Dec 24, 2009 at 02:35:01PM -0500, Shravan Mishra wrote: Hi Guys, I had

Re: [Pacemaker] coroync not able to exec services properly

2010-01-01 Thread Shravan Mishra
of the story is that when you cannot start corosync properly where the processes are spawned and can't exec properly this might be one thing to check. Thanks Shravan On Mon, Dec 28, 2009 at 6:58 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Thu, Dec 24, 2009 at 02:35:01PM -0500, Shravan Mishra

Re: [Pacemaker] Two node DRBD cluster will not automatically failover to the secondary

2009-12-17 Thread Shravan Mishra
Hi, For stateful resources like drbd you will have to setup stonith resources for them to function properly or at all. stonith-enabled is true by default. Sincerely Shravan On Thu, Dec 17, 2009 at 6:29 AM, Tom Pride tom.pr...@gmail.com wrote: Hi there, I have setup a two node DRBD culster

Re: [Pacemaker] pacemaker's logging level

2009-12-07 Thread Shravan Mishra
, Dec 7, 2009 at 6:29 AM, Andrew Beekhof and...@beekhof.net wrote: On Thu, Dec 3, 2009 at 10:02 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi guys, Is there a way to increase the logging level of the pacemaker. Yes, but how depends on whether you're using heartbeat or openais

Re: [Pacemaker] pacemaker's logging level

2009-12-07 Thread Shravan Mishra
Thanks Shravan On Mon, Dec 7, 2009 at 1:59 PM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi, On Mon, Dec 07, 2009 at 11:59:54AM -0500, Shravan Mishra wrote: I'm using corosync, I assume I have to get cluster-glue for logd daemon, is that correct? Yes. You need cluster-glue

Re: [Pacemaker] Openais: Corosync Executive couldn't open configuration component 'openaisserviceenable'

2009-12-03 Thread Shravan Mishra
check if /usr/libexec/lcrso/openaisserviceenable.lcrso exisits on your machine. Regards Shravan On Thu, Dec 3, 2009 at 7:00 AM, Martin Gombac( mar...@isg.si wrote: Hi guys, i just installed openais from clusterlabs repo. Configured it, but am unable to start it. The error doesn't really

[Pacemaker] pacemaker's logging level

2009-12-03 Thread Shravan Mishra
Hi guys, Is there a way to increase the logging level of the pacemaker. I wish to see debug messages under /var/log/messages in addition to the messages being logged under this file. Thanks Shravan ___ Pacemaker mailing list

Re: [Pacemaker] orphaned resource

2009-12-01 Thread Shravan Mishra
the raw xml. Orphan resources are those for which there are entry in the status section, but no definition in the resources section. The cluster basically thinks you haven't defined the vip resource for some reason. On Sun, Nov 29, 2009 at 5:07 AM, Shravan Mishra shravan.mis...@gmail.com

Re: [Pacemaker] logging related information- pacemaker

2009-11-30 Thread Shravan Mishra
Thanks a lot. On Mon, Nov 30, 2009 at 10:42 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Sat, Nov 28, 2009 at 08:45:26PM -0500, Shravan Mishra wrote: Hi, I'm using pacemaker and trying to configure logging for various subsytems like pengine, attrd, crmd etc. On starting

[Pacemaker] logging related information- pacemaker

2009-11-28 Thread Shravan Mishra
Hi, I'm using pacemaker and trying to configure logging for various subsytems like pengine, attrd, crmd etc. On starting corosync the only logs I see are for e.g Nov 29 00:38:13 corosync [MAIN ] Corosync Cluster Engine ('1.1.1'): started and ready to provide service. Nov 29

Re: [Pacemaker] Fwd: virtual IP

2009-11-21 Thread Shravan Mishra
Thanks Tim, that was the problem. Thanks to everyone who replied to help me. -Shravan On Fri, Nov 20, 2009 at 9:36 PM, Tim Serong tser...@novell.com wrote: On 11/21/2009 at 06:25 AM, Shravan Mishra shravan.mis...@gmail.com wrote: This is my exact output: Last updated: Fri Nov

[Pacemaker] virtual IP

2009-11-20 Thread Shravan Mishra
H i guys, I'm trying to bring up my vitrual ip on eth1 interface but I'm getting when I do crm_mon I get :invalid parameter error That part of the config is : primitive id=vip class=ocf type=IPaddr2 provider=heartbeat operations op id=op-vip-1 name=monitor timeout=30s

[Pacemaker] Fwd: virtual IP

2009-11-20 Thread Shravan Mishra
=cidr_netmask value=16/ /instance_attributes /primitive Can somebody help me what's the problem here. Thanks Shravan -- Forwarded message -- From: Shravan Mishra shravan.mis...@gmail.com Date: Fri, Nov 20, 2009 at 3:30 PM Subject: virtual IP To: pacemaker

Re: [Pacemaker] trying to import a constraint

2009-10-29 Thread Shravan Mishra
-rule score=-INFINITY expression id=no-sticky-no-run-exp attribute=crole operation=ne value=sticky/ /rule /rsc_location END Shravan On Thu, Oct 29, 2009 at 1:57 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi guys, Below is a partial snippet of my config

Re: [Pacemaker] resource's start/stop not getting called

2009-10-28 Thread Shravan Mishra
. If you are not the intended recipient (or authorised to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message. -Original Message- From: Shravan Mishra [mailto:shravan.mis...@gmail.com] Sent: Thursday 29 October 2009 8:11 AM

Re: [Pacemaker] resource's start/stop not getting called

2009-10-28 Thread Shravan Mishra
, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorised to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message. -Original Message- From: Shravan Mishra [mailto:shravan.mis

[Pacemaker] crm_uuid

2009-10-26 Thread Shravan Mishra
Hi guys, On doing crm_uuid -w , I get crm_uuid: option requires an argument -- w crm_uuid [-r|-w new_ascii_value] When I do crm_uuid -w uid_file_name I get Invalid ASCII UUID supplied: [uid_file_name] ASCII UUIDs must be of the form ---- and contain only letters

[Pacemaker] heartbeat 3.0.0

2009-10-23 Thread Shravan Mishra
Hello guys, I was looking for heartbeat 3.0.0 source. Will this url give me the 3.0.0. source http://hg.linux-ha.org/dev/archive/tip.tar.bz2 thanks shravan ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org

[Pacemaker] pacemaker unable to start

2009-10-21 Thread Shravan Mishra
Hello guys, We are running corosync-1.0.0 heartbeat-2.99.1 pacemaker-1.0.4 the corosync.conf under /etc/corosync/ is # Please read the corosync.conf.5 manual page compatibility: whitetank aisexec { user: root group: root } totem { version: 2 secauth: