[Pacemaker] hbagent of pacemaker-mgmt

Junko IKEDA ikedaj at intellilink.co.jp
Thu Jul 16 03:20:18 EDT 2009


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 <ikedaj at intellilink.co.jp> wrote:

> 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 UUID: The object/attribute does not exist
>
> I tried to add some resources using cibadmin command after this,
> but hbagent went to the segmentation fault.
> I took its gdb and attached it.
> It seems that myuuid for openAIS is still something wrong.
>
> By the way, hbagent(+ openAIS) became to be able to get LHAHBAgentOnline information with your patch.
> Great!
>
> Thanks,
> Junko
>
>
> On Wed, 15 Jul 2009 21:49:05 +0900, Yan Gao <ygao at novell.com> wrote:
>
>> 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" <ikedaj at intellilink.co.jp>
>>> 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_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_heartbeat_cluster()) {
>>> >  359             if (STRNCMP_CONST(node_id, myuuid) != 0) {
>>> >  360                 /* This change is not at my node */
>>> >  361                 free_xml(diff);
>>> >  362                 return;
>>> >  363             }
>>> >  364         }
>>> >  365 #endif
>>> >
>>> > Thanks,
>>> > Junko
>>> >
>>> > On Tue, 14 Jul 2009 16:18:03 +0900, Junko IKEDA
>>> <ikedaj at intellilink.co.jp>
>>> > wrote:
>>> >
>>> > > Sorry for missing attatchments.
>>> > >
>>> > > Thanks,
>>> > > Junko
>>> > >
>>> > > On Tue, 14 Jul 2009 16:11:20 +0900, Junko IKEDA
>>> <ikedaj at intellilink.co.jp>
>>> > wrote:
>>> > >
>>> > >> 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 came from the node which the event occurred on.
>>> > >> But with openais, all node throw the trap even if that event
>>> didn't occur
>>> > on it.
>>> > >>
>>> > >> For example,
>>> > >> primitive resource "dummy1" and "dummy2" started on "dom1".
>>> > >> In this case, only "dom1" was supposed to trap that these two
>>> resources
>>> > started on it,
>>> > >> but "dom2" (stand-by node) also notice it.
>>> > >> It looks like a duplicate.
>>> > >> Please see the attached logs.
>>> > >>
>>> > >> Should I need any additional setups?
>>> > >>
>>> > >> * version
>>> > >> openais-0.80
>>> > >> pacemaker-1.0.4
>>> > >> pacemaker-mgmt-1.99
>>> > >>
>>> > >> Thanks,
>>> > >> Junko
>>> > >
>>>
>>>
>>
>
>
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: uuid.patch
Type: application/octet-stream
Size: 835 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090716/421e29ad/attachment-0001.obj>


More information about the Pacemaker mailing list