[Design of JBoss Collaboration Server] - Re: JBMS Alternate Datastore
by sappenin
It looks like Sequoia will not only do load balancing & failover (i.e, if one database cluster goes down, the others will pick up), but it also does database distribution/replication:
anonymous wrote : The database is distributed and replicated among several nodes and Sequoia balances the queries among these nodes
Assuming you don't need a HUGE amount of database storage (i.e., you can do with an amount of storage limited by a given server, say 3 500GB hard drives per box), then the storage here would seem to be pretty redundant. Imagine 3 database boxes, each with 1500GB of storage. The database would be replicated across the 3 database servers (using Sequoia), and if one database box goes down, Sequoia just doesn't redirect database requests to the dead box anymore.
Of course, if one were thinking of opening a webmail service where millions of users were granted 2GB of mail storage each, then such a solution would not scale. Instead, a SAN would probably be a better bet for storage redundancy/availability, and expansion.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961101#3961101
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961101
17 years, 11 months
[Design of Kosmos] - Re: serviceResultUpdaterJob not traversing repository
by sstuart4
Im afraid the problem still exists...
I replaced ehcache-1.2 with ehcache-1.2.1 as suggested. I gathered the information from my log and put it together below:
| [Initial server startup...]
|
| 2006-07-26 11:28:46,981 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 2m:20s:322ms
| 2006-07-26 11:28:47,741 DEBUG [org.quartz.simpl.SimpleJobFactory] Producing instance of Job 'DEFAULT.serviceResultUpdaterJob', class=hu.midori.kosmos.server.ServiceResultUpdaterJob
| 2006-07-26 11:28:47,742 DEBUG [org.quartz.core.JobRunShell] Calling execute on job DEFAULT.serviceResultUpdaterJob
| 2006-07-26 11:28:47,751 INFO [hu.midori.kosmos.server.ServiceResultUpdaterJob] Running scheduled update job...
| 2006-07-26 11:28:47,752 INFO [hu.midori.kosmos.server.ServiceResultUpdaterJob] Update job completed.
|
| [Accessing the SVN Monitoring Portlet... 1st time.]
|
| 2006-07-26 11:31:58,738 INFO [STDOUT] Jul 26, 2006 11:31:58 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
| INFO: Viewing...
| 2006-07-26 11:31:58,777 INFO [STDOUT] Jul 26, 2006 11:31:58 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
| 2006-07-26 11:31:58,996 DEBUG [hu.midori.kosmos.server.MethodResultCacheInterceptor] Accessing cache "hu.midori.kosmos.server.cache" [0 items]...
| 2006-07-26 11:31:58,996 INFO [hu.midori.kosmos.server.MethodResultCacheInterceptor] Cache-miss: reloading "hu.midori.kosmos.server.svn.SvnServiceImpl.getRepositories.http://myserve..."...
| 2006-07-26 11:31:58,997 DEBUG [hu.midori.kosmos.server.svn.SvnServiceImpl] Returning repositories...
| 2006-07-26 11:31:58,997 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Beginning store session....
|
| [Repo traveral takes place... on a small dummy repository I set up.]
|
| 2006-07-26 11:32:17,197 DEBUG [hu.midori.kosmos.server.svn.SvnServiceImpl] Adding repository "http://myserver.net/repos/project/tags/Kosmos-test rev.3778"...
| 2006-07-26 11:32:17,197 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Ending store session...
| 2006-07-26 11:32:17,205 DEBUG [hu.midori.kosmos.server.MethodResultCacheInterceptor] "hu.midori.kosmos.server.svn.SvnServiceImpl.getRepositories.http://myserve..." saved to cache
|
| [Accessing the SVN Monitoring Portlet... 2nd time.]
|
| 2006-07-26 11:32:17,324 INFO [STDOUT] Jul 26, 2006 11:32:17 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
| INFO: SVN repositories downloaded: 1
| 2006-07-26 11:32:17,327 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Service invoked: returning timestamp...
| 2006-07-26 11:32:17,332 INFO [STDOUT] Jul 26, 2006 11:32:17 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
| INFO: SVN timestamp: Wed Jul 26 11:31:58 CDT 2006
|
| [Server gets restarted...]
|
| 2006-07-26 11:36:03,359 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 2m:22s:176ms
| 2006-07-26 11:36:05,797 DEBUG [org.quartz.simpl.SimpleJobFactory] Producing instance of Job 'DEFAULT.serviceResultUpdaterJob', class=hu.midori.kosmos.server.ServiceResultUpdaterJob
| 2006-07-26 11:36:05,798 DEBUG [org.quartz.core.JobRunShell] Calling execute on job DEFAULT.serviceResultUpdaterJob
| 2006-07-26 11:36:05,806 INFO [hu.midori.kosmos.server.ServiceResultUpdaterJob] Running scheduled update job...
| 2006-07-26 11:36:05,808 INFO [hu.midori.kosmos.server.ServiceResultUpdaterJob] Update job completed.
|
| [Accessing the SVN Monitoring Portlet... 3rd time.]
|
| 2006-07-26 11:36:21,811 INFO [STDOUT] Jul 26, 2006 11:36:21 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
| INFO: Viewing...
| 2006-07-26 11:36:21,848 INFO [STDOUT] Jul 26, 2006 11:36:21 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
| INFO: repoUrl parameter received: null
| 2006-07-26 11:36:22,080 DEBUG [hu.midori.kosmos.server.MethodResultCacheInterceptor] Accessing cache "hu.midori.kosmos.server.cache" [0 items]...
| 2006-07-26 11:36:22,081 INFO [hu.midori.kosmos.server.MethodResultCacheInterceptor] Cache-miss: reloading "hu.midori.kosmos.server.svn.SvnServiceImpl.getRepositories.http://myserve..."...
| 2006-07-26 11:36:22,081 DEBUG [hu.midori.kosmos.server.svn.SvnServiceImpl] Returning repositories...
| 2006-07-26 11:36:22,081 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Beginning store session....
|
| [Repo traveral takes place again...]
|
| 2006-07-26 11:36:46,322 DEBUG [hu.midori.kosmos.server.svn.SvnServiceImpl] Adding repository "http://myserver.net/repos/project/tags/Kosmos-test rev.3778"...
| 2006-07-26 11:36:46,322 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Ending store session...
|
In short, these are the steps I took:
1) Replaced the ehcache w/ the new release in kosmos-server's WEB-INF/lib.
2) Started the server.
3) Accessed the SvnMonitoringPortlet which loaded the cache.
4) Accessed the SvnMonitoringPortlet again to verify the cached data.
5) Restarted the server.
6) Accessed the SvnMonitoringPortlet a third time which revealed the cache was empty again.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961100#3961100
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961100
17 years, 11 months