-
1. Re: JBOSS Cluster Agent for Solaris Cluster Tools
brian.stansberry Oct 10, 2008 3:00 PM (in response to krabhishek)Welcome, Abhishek.
I had a quick look on the Sun site to find out a bit more about Solaris Open High Availability Cluster. Seems like it's based on applications persisting state to an HA file system? Forgive me if I'm wrong; was just a quick scan.
JBoss AS mostly provides HA for stateful services via data replication, rather than persistence to the file system. Main exception to this is persistent JMS messages, which are persisted to a shared db.
Some links to help you get going:
Clustering docs for 4.2 series (haven't updated for 5.x yet :( ) :
https://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta422/html/index.html
SVN URL for AS trunk:
http://anonsvn.jboss.org/repos/jbossas/trunk/
Two main locations for clustering code therein:
http://anonsvn.jboss.org/repos/jbossas/trunk/cluster/
http://anonsvn.jboss.org/repos/jbossas/trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/
Key classes inside the above two locations (can serve as an entry point for poking around):
http://anonsvn.jboss.org/repos/jbossas/trunk/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java (manages clustered HTTP sessions)
http://anonsvn.jboss.org/repos/jbossas/trunk/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java (provides intra-cluster group RPC services for a lot of other clustered services)
That's just a snippet; not sure what you're really looking for. -
2. Re: JBOSS Cluster Agent for Solaris Cluster Tools
krabhishek Jan 23, 2009 4:04 PM (in response to krabhishek)Hi Brian!
I am pretty close to complete porting JBOSS Application server on Sun Cluster. I am writing a GDS Agent for JBOSS.
I have two quick questions:
1. Incase JBOSS is to Run under the control of a program or script (as is the case in Sun Cluster) what are the necessary parameters would i need to validate before I ask the application to start JBOSS server (i mean fire ./bin/run.sh - )
2. I seem to be a having a little problem running the JBOSS 5 AS with custom config files.. (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=149231 i posted my query here)
Any inputs would be great!
Regards,
Abhishek -
3. Re: JBOSS Cluster Agent for Solaris Cluster Tools
brian.stansberry Jan 23, 2009 6:16 PM (in response to krabhishek)"krabhishek" wrote:
I am pretty close to complete porting JBOSS Application server on Sun Cluster. I am writing a GDS Agent for JBOSS.
Great!1. Incase JBOSS is to Run under the control of a program or script (as is the case in Sun Cluster) what are the necessary parameters would i need to validate before I ask the application to start JBOSS server (i mean fire ./bin/run.sh - <options>)
Not sure exactly what you're looking for. A good thing to do is have a look at the jboss_init_xxx.sh scripts in the bin dir; those are used to start JBoss as a service.
Also, at the bottom of https://www.jboss.org/community/docs/DOC-12928 I've attached a rough draft of some docs for AS 5. (Not the links at the top; the zip file attached at the bottom). The Quick Start section in the first chapter has some discussion of configuration parameters to pass to launch clustered JBoss.2. I seem to be a having a little problem running the JBOSS 5 AS with custom config files.. (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=149231 i posted my query here)
Sounds like PeterJ is getting things sorted for you on that thread. -
4. Re: JBOSS Cluster Agent for Solaris Cluster Tools
krabhishek Jan 24, 2009 2:39 AM (in response to krabhishek)Hey Brian,
Thanks for the pointers! Just a quick question once again (Just for confirmation, as I think I already know the answer).
Consider this scenario:
If JBoss Application Server is made highly available (ie I ensure that if JBoss AS 5 goes down on a particular node, I restart it with the same configuration on the same node or fail over on some other node of the cluster with the same confige (execute ./bin/run.sh )) then will the services running on JBoss would be restarted by JBoss itself? Also will JBoss take care of the aborted Transaction etc?
Thanks again!