On Thu, Oct 10, 2013 at 10:23 AM, Alejandro Galue <aga...@opennms.org> wrote:
>
> My feeling is that if we merge the RRD files online, this could cause
> hundreds (or thousands) of errors on Queued (and queued.log). The worst case
> is what could happen if Queued is updating a file while the Upgrading task
> is replacing the file at the same time (here is where I'm not sure what
> could happen).

Is there any way to tell Queued to flush a specific file and skip
updates until further notice - and then re-open it?

> I'm working on both solutions at the same time, I mean, the offline version
> and the online version of the SNMP Interface Upgrader. Then, we can decide
> which should be the final version to use (as I've created an annotation to
> ignore certain implementations of the OnmsUpgrade interface at runtime).

What kind of timing do you anticipate?   I have about 65k rrd files
with storegroup - about 20GB to rewrite.


> (B) Can this approach and/or tool be generalized for other rrd edit
> tasks like removing spikes or merging histories of continuing services
> that OpenNMS sees on different devices/interfaces?
>
>
> I believe so, this can be an interesting use case, anyone who wants to
> extend the updater to perform additional operations can do that without
> problems, you just need to create a class (on any package inside
> org.opennms.upgrade) that implement the OnmsUpgrade interface, and place the
> JAR on /opt/opennms/lib, and that's it.

I was thinking more of a way to tell opennms you are going to
externally modify one of the rrd files and when you are done than
embedding everything.

-- 
   Les Mikesell
      lesmikes...@gmail.com

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to