3 Replies Latest reply on Oct 25, 2013 5:16 AM by tsegismont

    Is it possible to deploy a datastore (JBoss EAP6.1/WildFly7.1) as bundles via RHQ/JON 3.1?

    ehle

      We have been fighting with some datastore issues, which has required frequent recreation of the datastores on our clusters.  I'm getting push back about using JON for the creation/updates since the JBoss CLI is faster and scriptable.

       

      Is it possible to:

      • Make a deplorable  bundle out of a datastore config and deploy it to a group of RHQ/ managed Standalone JBoss instances?
      • Deploy and run a jboss/wildfly CLI script via a RHQ/JON Bundle?

      If so How? Have an example?

       

      Or failing that... is it possible to change a datastore via RHQ/JON without deleting and  re-creating it?  How are other people who manage a large number of Wildfly/JBoss standalone instances managing datastores?

       

      Thanks!

       

      David.

        • 1. Re: Is it possible to deploy a datastore (JBoss EAP6.1/WildFly7.1) as bundles via RHQ/JON 3.1?
          tsegismont

          Hi,

           

          What do you mean by "datastore"? Datasource?

           

          The JBoss CLI is faster (it works straight on the managed server) but the RHQ CLI has definitely something to do with scripting

           

          It's really possible to change datasource settings via RHQ/JON without deleting / recreating the resource.

           

          For a large number of standalone instances you can create a compatible group and apply configuration changes to the group.

           

          Thomas

          • 2. Re: Is it possible to deploy a datastore (JBoss EAP6.1/WildFly7.1) as bundles via RHQ/JON 3.1?
            ehle

            Thomas,

             

            Thank you for your response!

             

            Yes your right of course, Datasource.

             

            Let me clarify in regards to the CLI - we are trying to provide an environment where the development team uses the JON GUI as their "single pane of glass" for all their interactions with the JBoss service, now if you you can send me a good link for how to trigger CLI scritps from the GUI and some drop in tools...

             

            After posting I think I found that being unable to make changes is a XA specific bug that we were running into. For non-XA maybe life will be easier.

             

            Are you sure about the compatible group method? That is what I was trying to do but it refused.... There is no "create child" button when I'm looking at the datasources inventory for a compatible group - that's why I'm looking for another route.

            • 3. Re: Is it possible to deploy a datastore (JBoss EAP6.1/WildFly7.1) as bundles via RHQ/JON 3.1?
              tsegismont
              Let me clarify in regards to the CLI - we are trying to provide an environment where the development team uses the JON GUI as their "single pane of glass" for all their interactions with the JBoss service, now if you you can send me a good link for how to trigger CLI scritps from the GUI and some drop in tools...

              This does not exist yet, but it's a nice idea. I just filed a new feature request (Bug 1023353 - RFE: New GUI component to execute CLI scripts). Contributions welcome!

              After posting I think I found that being unable to make changes is a XA specific bug that we were running into. For non-XA maybe life will be easier.

              Which version  of RHQ / JON are you using? Can you give reproduction steps of your failing case?

              Are you sure about the compatible group method? That is what I was trying to do but it refused.... There is no "create child" button when I'm looking at the datasources inventory for a compatible group - that's why I'm looking for another route.

              You can use compatible groups to update a datasource. If you want to create a datasource on each server of a compatible group, this is possible with the CLI:

              • first, execute a criteria query to get the compatible group you're interested in
              • then for each server in the group execute a CreateResourceRequest


              Hope it helps,

              Thomas



              1 of 1 people found this helpful