Thoughts on…

Java Middleware & Systems Management

Bidirectional Navigation of Resource Hierarchy via DynaGroups

with one comment

Here’s an interesting use case for DynaGroups.

One customer might have a few dozen/hundred JBoss AS instances, but only a handful of them have a web app deployed called, say, “someapp.war”. They want to know what set of expressions they could use to maintain a group of all appservers that have that webapp deployed.

This wasn’t possible in the 1.0.0 version of the platform, so in the upcoming 1.0.1 release of RHQ you will see DynaGroups support a new “child” expression token. Using it, you can easily satisfy the above use case. The expression set looks like:

resource.type.plugin = JBossAS = JBossAS Server = someapp

Up until now, RHQ only supported “resource.parent” and “resource.grandParent” sub-expressions, which meant that you could only traverse up the resource hierarchy. This new expression token really helps to round out hierarchical navigation using expressions, allowing traversal in either direction.

If you have suggestions for other DynaGroups features, don’t hesitate to postback to the RHQ development forums here —


Written by josephmarques

June 17, 2008 at 8:24 am

Posted in rhq

Tagged with

One Response

Subscribe to comments with RSS.

  1. Joe,
    this is cool stuff again.


    Heiko W. Rupp

    June 17, 2008 at 8:39 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: