You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sirona.apache.org by rm...@apache.org on 2013/12/05 19:44:57 UTC

svn commit: r1548235 - /incubator/sirona/site-content/trunk/src/site/markdown/deployments.md

Author: rmannibucau
Date: Thu Dec  5 18:44:56 2013
New Revision: 1548235

URL: http://svn.apache.org/r1548235
Log:
adding pull/push doc for collector/agent mode

Modified:
    incubator/sirona/site-content/trunk/src/site/markdown/deployments.md

Modified: incubator/sirona/site-content/trunk/src/site/markdown/deployments.md
URL: http://svn.apache.org/viewvc/incubator/sirona/site-content/trunk/src/site/markdown/deployments.md?rev=1548235&r1=1548234&r2=1548235&view=diff
==============================================================================
--- incubator/sirona/site-content/trunk/src/site/markdown/deployments.md (original)
+++ incubator/sirona/site-content/trunk/src/site/markdown/deployments.md Thu Dec  5 18:44:56 2013
@@ -76,10 +76,34 @@ TBD
 
 
 ## Agent/Collector
+
+This part doesn't deal with collector/reporting part, see cassandra doc page for more details on
+how to split reporting webapp and collector webapp using cassandra persistence if you need it.
+
 ### Push mode
 
-TDB (cube datastore + collector)
+Simply use on agent/client side the cube datastore factory: `org.apache.sirona.cube.CubeDataStoreFactory`.
 
 ### Pull mode
 
-TDB (pull datastore + collector)
+First add the pull module and configure the pull datastore factory: `org.apache.sirona.agent.webapp.pull.store.PullDataStoreFactory`.
+
+Note: this mode needs the servlet `org.apache.sirona.agent.webapp.pull.servlet.PullServlet` to be deployed. On
+servlet 3.x servers it should be done automatically on `/sirona/pull`.
+
+#### Registration of agents on collectors
+##### Automatic registration
+
+In this mode the agent does a request on the collector to register itself. This needs the servlet to be deployed
+manually (through web.xml) with the init parameter `org.apache.sirona.pull.url` initialized to the collector url. It
+internally relies on `org.apache.sirona.cube.CubeBuilder` config (see cube config).
+
+
+##### Collector agent aware
+
+You can force the collector to know the agents statically setting either on the collector init parameter (if registered manually)
+or collector sirona configuration (properties) the following property:
+
+```
+org.apache.sirona.collector.collection.agent-urls = http://agent1,http://agent2....
+```