<
From version < 1.19 >
edited by Sorin Burjan
on 2010/12/21
To version < 1.21 >
edited by Sorin Burjan
on 2010/12/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -199,44 +199,14 @@
199 199  == 7.Clustering ==
200 200  XWiki provides an easy way to setup clustered instances of XWiki based on network events distribution.
201 201  
202 -= Features =
202 +=== Features ===
203 203  
204 204  * events synchronization between XWiki instances
205 205  * multiple clustering channels
206 206  * possibility to start stop clustering channel at runtime
207 207  
208 -= Setup =
208 +Follow the [[Clustering Admin Guide >>platform:AdminGuide.Clustering]] and [[Clustering Tutorial >>platform:AdminGuide.DistributedEventClusterSetup]] for a complete tutorial on how to setup a simple cluster between two instances of XWiki on the same server.
209 209  
210 -== Enable event distribution ==
211 -
212 -To enable event distribution in an XWiki instance go to ##xwiki.properties## file and set the property ##observation.remote.enabled## to ##true##.
213 -
214 -== Setup communication channels ==
215 -
216 -Then you need to create a JGroups configuration file for each different cluster group you want to setup.
217 -
218 -For this go to the ##/WEB-INF/observation/remote/jgroups## folder and add one xml file by clustering group. Generally there is only one for a simple cluster.
219 -
220 -You can look at http://www.jboss.org/community/wiki/JGroups for a good documentation on how to setup JGroups configuration files.
221 -
222 -If you have IPv6 on your server, you are also advised to read http://community.jboss.org/wiki/IPv6. Defining -Djava.net.preferIPv4Stack=true when launching the JVM is probably your best bet in most cases. If your really want to use IPv6 for your channels, you should probably upgrade JGroup to version 2.10.0.GA and use a JVM 6 at least.
223 -
224 -== Start communication channels ==
225 -
226 -The name of the xml file matches the identifier of the channel.
227 -
228 -To indicate which channels to start when XWiki starts list the in the property ##observation.remote.channels## of the file ##xwiki.properties##.
229 -
230 -== Choose network adaptor implementation to use ==
231 -
232 -By default only jgroups implementation is provided, but it's possible to add more. See the [[Remote Observation Module>>extensions:Extension.Observation Module Remote#HAddcustomnetworkadaptor]] for more details.
233 -
234 -= More =
235 -
236 -See the [[Remote Observation Module>>extensions:Extension.Observation Module Remote]] for more details of the event distribution features and extension capabilities.
237 -
238 -Follow [[Test clustering tutorial>>AdminGuide.DistributedEventClusterSetup]] for a complete tutorial on how to setup a simple cluster between two instances of XWiki on the same server.
239 -
240 240  == 8.Easier development of configurable applications using [[XWiki.ConfigurableClass>>extensions:Extension.Administration Application#HMaking20your20application20easily20configurable20with203Ctt3EConfigurableClass3C2Ftt3E20Since2023M1]] ==
241 241  
242 242  If you are developing an application and you need to provide your users with a way to configure it from the [[Administration Application>>extensions:Extension.Administration Application]] you are in luck. All you need to do is create a custom class holding all of the configuration for your application, then add an object of your custom configuration class and an object of ##XWiki.Configurable## class. You will be able to configure your application from the administration interface.

Get Connected