-
1. Re: cvs, 2.4 clustering
theute Mar 2, 2006 4:59 AM (in response to noicangi)Did you try running the CMS service as a HA singleton ?
core/src/resources/portal-cms-sar/META-INF/jboss-service.xml
It's commented out at the beginning of the file.
But please bare with us, this is something (CMS clustering) that we are currently intensively working on. -
2. Re: cvs, 2.4 clustering
noicangi Mar 2, 2006 7:40 AM (in response to noicangi)hi thomas, thanks for your reply, i will try building the source with the solution you plan.
maybe its the tutorial, but some days ago someone post that the repositories.xml was obsolete and now we have to use the jboss-portal.sar/portal-cms.sar/META-INF/jboss-service.xml,
i was thinking if it is posible to make the cms repository use a zippped directory located in the farm folder?
actually i'm coping the all/data/portal folder from the server y create content to the other node. -
3. Re: cvs, 2.4 clustering
theute Mar 2, 2006 7:49 AM (in response to noicangi)you should not have your content in all/data/portal, unless you are using the storage on file instead of Hibernate storage (the default is Hibernate)
(The zipped directory is only used to put initial content) -
4. Re: cvs, 2.4 clustering
noicangi Mar 2, 2006 11:13 AM (in response to noicangi)i yes, i know i must use database storage, this is the default configuration isn't it?
i edit the tag's(with all inside) at jboss-portal.sar/portal-cms.sar/META-INF/jboss-service.xml with the RDBMS configuration examples from the wiki's but still stores some kind of information in files.
here's my cluster information for you notice i'm following all steps:
-jboss as 404rc1, unziped
-2 redhat9 computers, one mysql 4 with the connector and all configurated well
-i build portal 2.4 from CVS with cluster=true
-i configured like i said before to use only database storage :(
could you post the rdbms config? i used the one of the wiki'shttp://wiki.jboss.org/wiki/Wiki.jsp?page=PortalCMSConfigFiles
thanks in advance -
5. Re: cvs, 2.4 clustering
theute Mar 2, 2006 11:24 AM (in response to noicangi)The default install from CVS will use DB for everything and use PortalDS. If you defined PortalDS to use MySQL you don't need to copy data/portal from a node to the other.
-
6. Re: cvs, 2.4 clustering
noicangi Mar 2, 2006 1:39 PM (in response to noicangi)hi, i used the clustered configuration by default, i don't set anything and the cms content don't replicates, i'm using 2.4cvs version.
-
7. Re: cvs, 2.4 clustering
theute Mar 3, 2006 8:30 AM (in response to noicangi)By default the CMS service is not started by default.
I just tried with what's in the latest CVS with clustering enabled and by commenting out what's in jboss-service.xml files created/modified on one node are correctly seen by the other node. -
8. Re: cvs, 2.4 clustering
theute Mar 3, 2006 8:43 AM (in response to noicangi)Let me rephrase, the CMS serive is started but not as a HA singleton by default
-
9. Re: cvs, 2.4 clustering
noicangi Mar 3, 2006 10:11 AM (in response to noicangi)ok thomas, i understand you, when i build the portal with cluster ON i must cofigure the jboss-service at the portal-cms.sar/META-INF, Could you tell me what exactly or reference what i have to comment out?
thanks Thomas for your time and for guiding in next step of a simple user. :)