2 Replies Latest reply on Oct 7, 2009 12:59 PM by Rafael Soares (Tuelho)

    excluding a pluging from all agents?

    Rafael Soares (Tuelho) Novice

      Hello all!

      I'm using Jon 2.3 an when I try remove some plugin from server (JON_HOME/jbossas/server/default/deploy/rhq.ear/rhq-downloads/rhq-plugins/), at jon-server restart time this pluging (removed) back to the server again. I guess this occur because the server scan for plugins on agents and update the plugin server directory.

      If I need delete some plugins from all agents at same time... How can I do? There isn't a "Delete operation" on server UI for this...

      Regards.

        • 1. Re: excluding a pluging from all agents?
          mazz Master

          Known limitation. It is something we've always wanted to do and still need to do, but haven't had the time yet to do it.

          In fact, its one of the first two JIRAs ever :)

          http://jira.rhq-project.org/browse/RHQ-2

          There are issues with this that make it hard to implement correctly.
          Mainly dealing with existing inventory - what if I already have resources in inventory and I decide to delete a plugin that managed those resources? What if I had a plugin that depended on the plugin I'm deleting? All of those dependent resources would no longer work. Lots of little things like this to think about when implementing RHQ-2.

          • 2. Re: excluding a pluging from all agents?
            Rafael Soares (Tuelho) Novice

            Ok Mazz!

            Thanks by this JIRA ref.!

            Just a comment about this issues:
            "what if I already have resources in inventory and I decide to delete a plugin that managed those resources?"
            IMHO I think if you want delete a plugin then you don't need more its inventory. The delete operation could ask admin user to confirm deletion and thus remove the plugin and the inventory associated with this plugin...

            "What if I had a plugin that depended on the plugin I'm deleting?"
            This operation could be available initially only for plugins without dependence (This could be verified at delete moment... Jopr knows the plugin's dependence graph).