-
1. Re: Get the list of available servers
belaban Apr 3, 2003 8:27 AM (in response to manishgupta)What do you want to do ?
The underlying disovery uses JavaGroups.
But if you want to, you can use the state service (checkout the cluster documentation) and attach some serializable info to each server. This could be done in an MBean that you start with your app.
When you want to retrieve the info you just access the local state service, because all information is replicated.
Bela -
2. Re: Get the list of available servers
slaboure Apr 3, 2003 10:10 AM (in response to manishgupta)Either use the HAPartition MBean directly or use the DistributedReplicantManager if you want to reference your own services and know on which subset of a cluster they live (aka heterogeneous deployments)
Cheers,
sacha -
3. Re: Get the list of available servers
manishgupta Apr 4, 2003 1:29 AM (in response to manishgupta)Please let me to reformat my question. Actually I want to cluster 5-6 JBoss servers. Currently i am using only 2 instances of JBoss which are running on seperate systems.
My problem is that I want to create an adminstration page (JSP page) from where I can view the list of avialable servers. Please tell me How I can do this.
Is thers any API for that. Please help me
Thanks for your reply -
4. Re: Get the list of available servers
slaboure Apr 13, 2003 7:21 PM (in response to manishgupta)yes, see my previous answer, that was it.