Is there an way to get the list of hosts(not servers) registered in JBoss master domain controller host via CLI or Rest API call?
:read-children-names(child-type=host) lists all the available hosts but not returning if a host controller is down on a particular hosts?
Like same case, if a host is down, i can not able to retrieve the server groups associated with it? How to get these results?
As soon as an slave Host Controller is stopped, it is gets unregistered. From the point of view of the domain controller, there is no such host controller in the domain, so you won't be able to list it.
:read-children-names(child-type=host) will only return registered host controllers.