Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-21 Thread Junko IKEDA
Hi, I'm sorry for my delay. I tried the revision 0af0ef92b0fd, (Medium: snmp_subagent: Improved for openais support http://hg.clusterlabs.org/pacemaker/pygui/rev/0af0ef92b0fd) and it worked well! Many thanks! Regards, Junko On Thu, 16 Jul 2009 23:32:42 +0900, Yan Gao wrote: > Hi, > On Thu, 20

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-16 Thread Yan Gao
Hi, On Thu, 2009-07-16 at 20:28 +0900, Junko IKEDA wrote: > Hi, > > The new patch worked well! > and the error message also disappeared. > Thanks a lot! > I will continue the test around snmp. Okay. Attached the improved patch. If it's built only for openais (configure --without-heartbeat-support)

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-16 Thread Junko IKEDA
Hi, The new patch worked well! and the error message also disappeared. Thanks a lot! I will continue the test around snmp. Regards, Junko On Thu, 16 Jul 2009 17:22:54 +0900, Yan Gao wrote: > On Thu, 2009-07-16 at 16:20 +0900, Junko IKEDA wrote: >> Hi, >> >> Does openais need not "myuuid" but

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-16 Thread Yan Gao
On Thu, 2009-07-16 at 16:20 +0900, Junko IKEDA wrote: > Hi, > > Does openais need not "myuuid" but "myid"? Usually, a node's uuid is same as its uname for openais. Please try the new attached patch, it should work in most cases. As you know, System uname could be changed later, So we'll seek a bet

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-16 Thread Junko IKEDA
Hi, Does openais need not "myuuid" but "myid"? I still get the following error. Could not map uname=dom3 to a UUID: The object/attribute does not exist Thanks, Junko On Thu, 16 Jul 2009 11:21:59 +0900, Junko IKEDA wrote: > Hi, > > I tried your patch, > and there was no problem with compilin

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-15 Thread Junko IKEDA
Hi, I tried your patch, and there was no problem with compiling, but it complained during a start... # service openais start; export HA_cluster_type="openais"; /usr/lib64/heartbeat/hbagent -r 5 & Starting OpenAIS daemon (aisexec): starting... rc=0: OK [1] 2569 # Could not map uname=dom3 to a UUI

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-15 Thread Yan Gao
Please try the attached patch. On Wed, 2009-07-15 at 02:56 -0600, Yan Gao wrote: > Hi, > > >>>On 7/15/2009 at 3:18 PM, "Junko IKEDA" > wrote: > > Hi, > > > > hbagent detects whether or not the event occurred on that node if it > works > > with Heartbeat. > Indeed > > Can I get the "myuu

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-15 Thread Yan Gao
Hi, >>>On 7/15/2009 at 3:18 PM, "Junko IKEDA" wrote: > Hi, > > hbagent detects whether or not the event occurred on that node if it works > with Heartbeat. Indeed > Can I get the "myuuid" of openais? Theoretically, we could get openais nodeid. I'll revise hbagent later. > > > snmp_

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-15 Thread Junko IKEDA
Hi, hbagent detects whether or not the event occurred on that node if it works with Heartbeat. Can I get the "myuuid" of openais? snmp_subagent/hbagentv2.c 280 static void 281 hbagentv2_update_diff(const char *event, crm_data_t *msg) 282 { 357 #if SUPPORT_HEARTBEAT 358 if (is_hea

[Pacemaker] hbagent of pacemaker-mgmt

2009-07-14 Thread Junko IKEDA
Hi, I am trying to run hbagent with openais in the following way, # export HA_cluster_type="openais" # service openais start # /usr/lib64/heartbeat/hbagent -d hbagent could start successfully, but there is something wrong with it. When I run hbagent included in Heartbeat 2.1.4, trap events ca