How to list the status of all servers within a server group in EAP 6?
Issue
- Is there a way to check the entire server group status via CLI in EAP 6 ?
- I want to be able to get the status (either fail or success) of a restart or stop of servers in a server group by running this operation:
/server-group=group:stop-servers, but in another way than using :
/host=slavenode1/server=node1:read-attribute(name=server-state)
/host=slavenode1/server=node2:read-attribute(name=server-state)
/host=slavenode2/server=node3:read-attribute(name=server-state)
/host=slavenode2/server=node4:read-attribute(name=server-state)
- We are trying to find a way to list via CLI which are all the instance-servers that belong to a group in order to check their status before and after starting the group. Is there any easy way instead of going to every instance and see if it belongs to the server-group affected?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
