IMHO EJB clustering is not the direction we should take, especially considering our IoC plans (see http://gerrit.ovirt.org/#/c/5575/).QuartzScheduler can be easily fixed by using a DB for Quartz configuration. We had such a discussion a few weeks ago.mod_jk is probably better for our HA.Postgres clustering should probably be a different task, as it's more infra and less code.Another thing to consider is locking, currently done using synchronized, and will need to be changed somehow (probably using Infinispan).On Aug 22, 2013, at 10:22 AM, Itamar Heim wrote:On 08/21/2013 10:27 PM, plysan wrote:2013/8/22 Itamar Heim <firstname.lastname@example.org <mailto:email@example.com>>On 08/21/2013 11:08 AM, plysan wrote:2013/8/21 Laszlo Hornyak <firstname.lastname@example.orgHi,----- Original Message -----> From: "plysan" <email@example.com> To: firstname.lastname@example.org
> Sent: Wednesday, August 21, 2013 3:49:31 PM
> Subject: [Engine-devel] Ideas about engine clustering?>> Hello, guys:
>> I'm trying to make a jboss clustering environment forengine. But
felt the> difficuty too.> So I want to know if any one is working on this? I
googled it andhaven't> found anything.>> I know there will be lots of things to do for enginemigrating toclustering> environment. I just want to know what problem need to besolved?> I would like to list the things I think that is neededto do(orsolve):> 1. run jboss in standalone-ha mode or domain mode.> 2. add @Clustered annotation to each EJB, I think thiswill solve the> replication problem in cluster, probably lots of detailsin it.> 3. QuartzScheduler problem, only one node running ascheduler isenough at a> time instead of each node running one.> 4. use mod_cluster to handle load balancing.> 5. postgresql clustering.
For failover it sounds like a plan, just wondering if thiscouldsolve load balancing problems as well.Ovirt is generating a big load on the DB and I would be reallyinterested if SQL DB clustering could solve the issues.
It would be great if it could, big part of the scalablityissue isthe evil things we did against that poor database.
> 6. There should be more, but hope anyone can think aboutit :DThere are tons of data structures that are used in oVirtthat storestate. You will have to hunt all of these down and replacewith adata structure that is shared between the cluster memebers.
This maybe a big lot of work from many parts of the application.Indeed, and like Yair Zaslavsky said, we can put the datastructure ininfinispan cache, but clustered EJB can do the same thing forus, right?If all those state values are inside EJBs. (iirc)**
>> Any ideas?
>> Thanks!>> _________________________________________________> Engine-devel mailing list>_________________________________________________Engine-devel mailing listunless you need the load balancing, just for HA, hosted-engineshould cover your needs?
I think failover and more scalability is what i am interested here.Just thinking about the possibilities :)Imagine engine would never get restarted from outside view. Cool isn't it?
active/passive failover you should get from hosted-engine (yes, with some downtime)
scalability and active-active would be great. iirc, juan looked at implications of doing this a while back
Engine-devel mailing list