-
1. Re: Jboss cluster being restarted by thin user
goldmann Mar 29, 2010 8:49 AM (in response to adsoko)Hi Admir,
In JBoss Cloud when the front-end address is changing, new address is being injected to all back-end's. This causes a restart of back-end to activate the changes. There could be a two issues:
- management service running on back-end appliance simply "forgets" the front-end appliance address (obviously a bug),
- front-end was really crashed and restarted with a new IP address (normal behaviour),
From CirrAS 1.0.0.Beta2 we don't require a restart of JBoss AS after front-end change. New front-end addresses are injected now using JMX calls. No matter what happens, your back-end will be still running.
--Marek
-
2. Re: Jboss cluster being restarted by thin user
adsoko Mar 29, 2010 9:27 AM (in response to goldmann)Hi Marek
We can't upgrade to the latest CirrAS because it runs on jboss 6. For various reasons we are still at jboss 5.
The 'change of address' message is received simultaneously by all back-end appliances. So the message is genuine.
If I would check the front end appliance or the management appliance for the source of the problem, where would I look for any clues ?
Thanks
Admir
-
3. Re: Jboss cluster being restarted by thin user
goldmann Mar 29, 2010 9:44 AM (in response to adsoko)We can't upgrade to the latest CirrAS because it runs on jboss 6. For various reasons we are still at jboss 5.
Yes, this could be an issue. But still IMO JBoss AS 5 is easy upgradeable to AS 6.
The 'change of address' message is received simultaneously by all back-end appliances. So the message is genuine.
If I would check the front end appliance or the management appliance for the source of the problem, where would I look for any clues ?
I would check if front-end address was really changed, so scan default.log:
grep "Asking for front-end appliance address" -A 1
When the address is same as previous it shouldn't be injected into /etc/jboss-as5.conf. If it is injected the next step is to fix this in /usr/share/jboss-cloud-management/lib/jboss-cloud/management/api/2009-05-18/handler/put/management-address-request-handler.rb. Take a look at line 79 of this file. If this is a bug, there is the good place to fix it.
Are you running more than 1 front-end appliance? This could be also the cause...
HTH
--Marek
-
4. Re: Jboss cluster being restarted by thin user
adsoko Mar 29, 2010 10:06 AM (in response to goldmann)The front end address changed in the back end appliances. found: Asking for front-end appliance address...
This was found in the back-end boxes but not in the front-end boxes.
But on the other hand we have two front end appliances. Are we doing something wrong in their configuration ? or would they cause this problem regardless.