diff options
author | Olivier Lamy <olamy@apache.org> | 2014-03-31 10:51:54 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-03-31 10:51:54 +0000 |
commit | 0a691774f36c92c3bc9a54ec23a9602a5df7d5cd (patch) | |
tree | 82a639ca2814cdaf1aa4fbaa9de72cacd056d6c9 /archiva-docs/src/site | |
parent | 2a825b92d29c38c161edbfdb55c02c980f059103 (diff) | |
download | archiva-0a691774f36c92c3bc9a54ec23a9602a5df7d5cd.tar.gz archiva-0a691774f36c92c3bc9a54ec23a9602a5df7d5cd.zip |
add cassandra configuration documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src/site')
-rw-r--r-- | archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt b/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt index fee2bce51..78f898d5d 100644 --- a/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt +++ b/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt @@ -3,7 +3,7 @@ ------ Olivier Lamy ------ - 2011-10-06 + 2014-03-31 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one @@ -26,7 +26,25 @@ ~~ NOTE: For help with the syntax of this file, see: ~~ http://maven.apache.org/guides/mini/guide-apt-format.html -Repositories Content Storage +Repositories Metadata Content Storage + + With version 2.0.2, Metadata repository content can also be stored in an Apache Cassandra database. + + It's possible to switch implementation with configuring the system property (-Darchiva.repositorySessionFactory.id=) with one + of the id below. + + There are now 3 implementations of storage: + + * File (id: file) + + * Jackarabbit (default one) (id: jcr) + + * Cassandra (id: cassandra) + + [] + + +* Jackrabbit Prior to version 1.4-M1, repository content is now stored in a jcr repository (based on Apache Jackrabbit implementation). @@ -40,4 +58,23 @@ Repositories Content Storage If you want to change this default location, you must edit the file WEB-INF/applicationContext.xml, uncomment/edit lines and change with your values: -%{snippet|id=jcr-location|ignoreDownloadError=true|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml}
\ No newline at end of file +%{snippet|id=jcr-location|ignoreDownloadError=true|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml} + +* Cassandra + + With the distribution including the embeded Jetty, you can configure Cassandra runtime in the file conf/archiva-cassandra.properties. + + The default content: + ++--------------------------- +cassandra.host=localhost +cassandra.port=9160 +cassandra.maxActive=20 +cassandra.readConsistencyLevel=QUORUM +cassandra.writeConsistencyLevel=QUORUM +cassandra.replicationFactor=1 +cassandra.keyspace.name=ArchivaKeySpace +cassandra.cluster.name=archiva ++--------------------------- + + If you deploy in a Web Application container, you can configure a path to this configuration file using the system property: -Darchiva.cassandra.configuration.file= |