1 Reply Latest reply on Feb 11, 2014 12:28 PM by wdfink

    How to get all servers in a particular <server-group> via CLI

    mbecca10

      Hi,

       

      I need a  query (CLI command) to list all servers included in a <server-group> declared in a domain controller file. (I'm use JBOSS EAP 6.2)

       

      Sorry by my bad english...

       

      Thanks in advance,

       

      Matías.

        • 1. Re: How to get all servers in a particular <server-group> via CLI
          wdfink

          The only way I remember is to use

               /host=master/server-config=server-one:read-attribute(name=group)

          for each server to get the server-group for it.

           

          You might look for a feature request and open a new one if there isn't one.

          I suppose you want to list all servers which are member of a specific server-group, so a command like

             /server-group=myGroup:listServers

          might be what you want