Re: [Pacemaker] [PATCH] SNMP for net-snmp5.3

2010-03-09 Thread Simon Horman
On Wed, Mar 10, 2010 at 02:57:12PM +0900, sato yuki wrote: > Hello all. > > This patch is thing to snmp version of net-snmp-5.3. > I want to for the RHEL5 default version. > > How about this patch? This looks reasonable to me. > diff -r 5e66e2b7b953 configure.ac > --- a/configure.acTue Mar

Re: [Pacemaker] DRBD and fencing

2010-03-09 Thread Martin Aspeli
Florian Haas wrote: On 03/09/2010 06:07 AM, Martin Aspeli wrote: Hi folks, Let's say have a two-node cluster with DRBD and OCFS2, with a database server that's supposed to be active on one node at a time, using the OCFS2 partition for its data store. *cringe* Which database is this? Postgres

[Pacemaker] [PATCH] SNMP for net-snmp5.3

2010-03-09 Thread sato yuki
Hello all. This patch is thing to snmp version of net-snmp-5.3. I want to for the RHEL5 default version. How about this patch? Thanks in advance. yuki sato diff -r 5e66e2b7b953 configure.ac --- a/configure.ac Tue Mar 09 15:08:00 2010 +0100 +++ b/configure.ac Wed Mar 10 14:53:31 2010

Re: [Pacemaker] ERROR: unpack_rsc_op: Hard error

2010-03-09 Thread Tim Serong
On 3/10/2010 at 09:48 AM, Werner wrote: > I have a problem with setting up a simple two node cluster with an IP address > that should fail over. > > The two systems run SLES 11 with HAE. I have done this configuration with > two > virtual machines and it works just fine in this environmen

Re: [Pacemaker] Problem : By colocations limitation, the resource appointment of the combination does not become effective.

2010-03-09 Thread renayama19661014
Hi Andrew, Thank you for comment. I asked next question before. http://www.gossamer-threads.com/lists/linuxha/pacemaker/61484 I guessed from your this answer. When I use cib.xml of the answer of before, is the limitation that it combined a start of clnPingd with after a node rebooted unreal

Re: [Pacemaker] [PATCH] crm_mon expansion patch

2010-03-09 Thread Yuusuke IIDA
Hi Andrew, thanks for reply. (2010/03/08 19:23), Andrew Beekhof wrote: Not sure about this bit: +if(failcount> 0) { + printed = TRUE; + print_as(": Resource is failure!!"); +} + Was there any reason you didn't use node->details->attrs (or utilization) directly? Because

Re: [Pacemaker] [PATCH]The change of the output level of the log.(for stonithd)

2010-03-09 Thread renayama19661014
Hi Dejan, > Andrew fixed it already. Sorry about that. All right. Thanks. Hideo Yamauchi. --- Dejan Muhamedagic wrote: > Hi, > > On Tue, Mar 09, 2010 at 04:31:22PM +0900, renayama19661...@ybb.ne.jp wrote: > > Hi Dejan, > > > > There seem to be some problems for a retouch somehow or other. >

[Pacemaker] ERROR: unpack_rsc_op: Hard error

2010-03-09 Thread Werner
I have a problem with setting up a simple two node cluster with an IP address that should fail over. The two systems run SLES 11 with HAE. I have done this configuration with two virtual machines and it works just fine in this environment. However, when I do the exact same configuration on the r

Re: [Pacemaker] DRBD and fencing

2010-03-09 Thread Florian Haas
On 03/09/2010 06:07 AM, Martin Aspeli wrote: > Hi folks, > > Let's say have a two-node cluster with DRBD and OCFS2, with a database > server that's supposed to be active on one node at a time, using the > OCFS2 partition for its data store. *cringe* Which database is this? Florian signature.a

Re: [Pacemaker] Properly fencing Postgres

2010-03-09 Thread Martin Aspeli
Hi Dejan, Thanks for all the help! - The postgres data would need fencing when failing over, from what I understand. I read the notes that using an on-board device like Dell's DRAC to implemenet STONITH is not a good idea. We don't have the option at this stage to buy a UPS-based solution (we

Re: [Pacemaker] Fencing with iDrac 6 Enterprise

2010-03-09 Thread Martin Aspeli
Dejan Muhamedagic wrote: Hi, On Mon, Mar 08, 2010 at 12:00:44PM +0800, Martin Aspeli wrote: Hi, We have a two-node cluster of Dell servers. They have an iDRAC 6 Enterprise each. The cluster is also backed up by a UPS with a diesel generator. I realise on-board devices like the DRAC are not id

[Pacemaker] DRBD and fencing

2010-03-09 Thread Martin Aspeli
Hi folks, Let's say have a two-node cluster with DRBD and OCFS2, with a database server that's supposed to be active on one node at a time, using the OCFS2 partition for its data store. If we detect a failure on the active node and fail the database over to the other node, we need to fence o

Re: [Pacemaker] Resource options for group.

2010-03-09 Thread Andrew Beekhof
On Tue, Mar 9, 2010 at 4:38 PM, Kees wrote: > Hi, > > I'm a bit confused about recource options for a group. Does a resource group > need options like 'target-role' and 'is-managed? No. They're only needed if you want the group to use different values to the other resources in the cluster. > Acc

Re: [Pacemaker] Pacemaker does not handler demote/promote atomically

2010-03-09 Thread Andrew Beekhof
On Tue, Mar 9, 2010 at 4:52 PM, hj lee wrote: > > > On Tue, Mar 9, 2010 at 12:20 AM, Andrew Beekhof wrote: >> >> On Mon, Mar 8, 2010 at 9:37 PM, hj lee wrote: >> > Hi, >> > >> > In the typical multi-state resource agent, it changes master score on >> > demote >> > or promote. Each change in mast

Re: [Pacemaker] Pacemaker does not handler demote/promote atomically

2010-03-09 Thread hj lee
On Tue, Mar 9, 2010 at 12:20 AM, Andrew Beekhof wrote: > On Mon, Mar 8, 2010 at 9:37 PM, hj lee wrote: > > Hi, > > > > In the typical multi-state resource agent, it changes master score on > demote > > or promote. Each change in master score triggers PE calculation. Suppose > the > > following s

[Pacemaker] Resource options for group.

2010-03-09 Thread Kees
Hi, I'm a bit confused about recource options for a group. Does a resource group need options like 'target-role' and 'is-managed? According to the 'Pacemake_explained' normal (simple) resources have got a default 'target-role=started', so i asume i do not have to configure those for the resour

Re: [Pacemaker] Pacemaker failover problem

2010-03-09 Thread Erich Weiler
Thanks for the reply! Yes, I have checked that my LSB scripts are compliant. If this can provide any insight, here is a clip from /var/log/messsages on genome-ldap2 when genome-ldap1 goes down (when the order constraint is in place): Mar 9 06:59:22 genome-ldap2 crmd: [2038]: info: handle_s

Re: [Pacemaker] [PATCH]The change of the output level of the log.(for stonithd)

2010-03-09 Thread Dejan Muhamedagic
Hi, On Tue, Mar 09, 2010 at 04:31:22PM +0900, renayama19661...@ybb.ne.jp wrote: > Hi Dejan, > > There seem to be some problems for a retouch somehow or other. > > An error is given unless I appoint enable-fatal-warnings=no. > > [r...@x3650e Pacemaker-1-0-efdc0d8143dd]# ./autogen.sh && ./configu

Re: [Pacemaker] [SOLVED] snmp-subagent with openais returns only LHAResource-entries

2010-03-09 Thread Tom Tux
Hi Michael Thanks for your answer. I only now recognised, that this behaviour is described in your book on page 325. Kind regards, Tom 2010/3/9 Michael Schwartzkopff : > Am Dienstag, 9. März 2010 09:43:48 schrieb Tom Tux: >> Hi all, >> >> I'm trying to get several informations with the snmp-agen

Re: [Pacemaker] Problem: No space left on device.

2010-03-09 Thread Kees
Hello Andrew/Thomas, Stupid me it was indeed an inode problem, nothing to do with the cluster-software. The /var/lib/pengine directory was a bit full. //I configured the pe-*-serires-max options so this should not happen again, thanks. On Fri, Mar 5, 2010 at 3:38 PM, Kees wrote: H

Re: [Pacemaker] snmp-subagent with openais returns only LHAResource-entries

2010-03-09 Thread Michael Schwartzkopff
Am Dienstag, 9. März 2010 09:43:48 schrieb Tom Tux: > Hi all, > > I'm trying to get several informations with the snmp-agent (hbagent) > on a sles11-system (openais & pacemaker). I've defined the global > environment-variable "HA_cluster_type=openais". > > My problem is, that I only receive snmp-va

[Pacemaker] snmp-subagent with openais returns only LHAResource-entries

2010-03-09 Thread Tom Tux
Hi all, I'm trying to get several informations with the snmp-agent (hbagent) on a sles11-system (openais & pacemaker). I've defined the global environment-variable "HA_cluster_type=openais". My problem is, that I only receive snmp-values (with snmpwalk) from the oid "enterprises.4682". This means