JBoss Community Archive (Read Only)

RHQ 4.9

Needed - DynaGroup push

In AS 7 a managed server always belongs to one server-group.

Servers can not be moved between server-groups, but if you want to e.g.
move ServerA from sg1 to sg2, you have to shut it down, delete it on sg1,
re-create on sg2 and start it again.

While many operations to an AS will happen on server group level,
monitoring of all servers in a group will be an operation on (RHQ) group
level.

Therefore it must be possible to automatically group AS instances according to their
server-groups.

One way of doing this would be to pre-populate the server with respective DynaGroup
expressions. Another way would be to define them in the plugin descriptor and load
them upon plugin deployment. This allows for upgraded group definitions upon plugin
updates without the need to modify the server.

<dyna-groups>
   <dyna-group>
      group by resource.property[group]
      resource.plugin=as7   (*)
      resource.type=As7managed
   </dyna-group>
</dyna-group>

*) The plugin expression could actually be a placeholder (%p) that is automatically filled in by the deployer to make developers life easier.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 08:02:10 UTC, last content change 2013-09-18 19:41:26 UTC.