Hi Preeti, yes; minor correction below.
The daemon initialization will take some time depending on the resources found
in the enclosure, anytime between few seconds to few minutes. The OpenHPI
framework ABI calls (discovery)are executed every 3 minutes till the openhpid
is killed/shutdown; not only during initialization.
You can also execute the openhpid using -v option to see what is going on, if
that helps.
Thanks,
Elango
From: Preeti Sharma [mailto:[email protected]]
Sent: Thursday, June 16, 2011 11:56 AM
To: Chinnaswamy, Elangoraja
Cc: [email protected]
Subject: RE: [Openhpi-devel] Traffic bet openhpi daemon and OA??
Hi Elangoraja,
Just confirming, what I understood (is this correct?):
During Daemon initialization OpenHPI framework calls discover ABI every 3
minutes. Once initialization is done, OAs sends event for any changes and OAs
specific thread in Daemon handles it. How much time Daemon takes to initialize?
I came across method oh_evtget_thread_loop timer:
#define OH_EVTGET_THREAD_SLEEP_TIME 3 * G_USEC_PER_SEC
Looks like this method is checking for OA events after every three second and
passing this to plugin handler
Regards,
Preeti
From: Chinnaswamy, Elangoraja [mailto:[email protected]]
Sent: Thursday, June 16, 2011 1:23 PM
To: Preeti Sharma
Cc: [email protected]
Subject: RE: [Openhpi-devel] Traffic bet openhpi daemon and OA??
Hi Preeti,
As said, the OpenHPI framework calls the discover ABI every 3 minutes. The
oa_soap plug-in returns a success, instead of doing a re_discover on the OA's.
This holds good as long as the initial discovery (after the plug-in is
initialized) is completed successfully once. The subsequent changes in the
resources are handled by events.
This should clarify, let me know.
Thanks,
Elango
From: Preeti Sharma [mailto:[email protected]]
Sent: Thursday, June 16, 2011 11:16 AM
To: Chinnaswamy, Elangoraja
Cc: [email protected]
Subject: [Openhpi-devel] Traffic bet openhpi daemon and OA??
Hi Elangoraja,
Thanks, for the response. Just I am not clear what below line means (if you can
please clarify it further):
"the oa_soap plugin ignores and returns success if the discover is complete
after the initial discovery."
Regards,
Preeti
Date: Tue, 14 Jun 2011 17:14:05 +0000
From: "Chinnaswamy, Elangoraja" <[email protected]>
Subject: Re: [Openhpi-devel] Traffic bet openhpi daemon and OA??
To: "[email protected]"
<[email protected]>
Message-ID:
<1be8d981ba123b47a1d153beb20d1fbbb46ca07...@gvw1087exb.americas.hpqcorp.net>
Content-Type: text/plain; charset="us-ascii"
Hi Preeti,
Without any openhpi client running. At first the 'discovery' takes place on the
OA (active and standby). The OpenHPI framework executes the discover ABI every
3 minutes, the oa_soap plugin ignores and returns success if the discover is
complete after the initial discovery. After this any change to the resources
are handled by the event thread (one thread for each OA). Now the traffic
between the oa_soap plugin and the OA is only when an event occurs in the OA
(change in resources).
Hope this clarifies?
Thanks,
Elango
-----Original Message-----
From: Preeti Sharma [mailto:[email protected]]
Sent: Monday, June 13, 2011 2:29 PM
To: [email protected]
Subject: [Openhpi-devel] Traffic bet openhpi daemon and OA??
Hi,
I want to know detail about continuous traffic between openhpi daemon and OA
(without any openhpi clients running). What messages are exchanged? Who is
sender and who responds...? Or basically when a Deamon is started what
interaction happens between daemon and OA initially, and at regular intervals.
Regards,
Preeti
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel