-
1. Re: Jboss crash mod_cluster notification
kazaag Apr 11, 2012 6:03 AM (in response to kazaag)I have had a look a the mod_cluster protocol documentation.
Sending a wildcard REMOVE_APP command for the coresponding jvmroute should clear the failling node.
Is REMOVE_APP callable from the mod_cluster-manager handler?
François
-
2. Re: Jboss crash mod_cluster notification
rhusar Apr 11, 2012 6:17 AM (in response to kazaag)François,
what is the actual problem? The crashed node and its contexts will be removed in about a minute after the crash. Your new node will register with new route thus will not interfere with already crashed node.
Is REMOVE_APP callable from the mod_cluster-manager handler?
AFAIR yes, try the CLI interface.
In presious Jboss as there was a HASingelton managing all AS mod_cluster comunication, it is avalable in Jboss AS 7?
There is not much real-life benefit in mod_cluster usage of HASingleton service, thus it was removed.
Rado -
3. Re: Jboss crash mod_cluster notification
kazaag Apr 11, 2012 7:48 AM (in response to rhusar)Rado thanks for the reply.
I run Jboss in state less instances, when an instance crash or is removed it is removed form the vlan before the termination signal is send to JBoss process, so it can't interact with mod_cluster.
In my experience, the crashed or removed jvmroute stays on the mod_cluster-manager page is faild status. Time to time it is back to ok status (until it detect it is down). So I fear that some request try to get to the not any more existing jvmroute adding a small delay.
Over time the config on mod_cluster side will be full of not avalable jvmroute.
We already have environment change even processing, so using mod_cluster-management to update the state when the even occure will look cleaner.
When I have some time, I will retest it and provide you the mod_cluster-management details.
François