est / terrastore

Automatically exported from code.google.com/p/terrastore
Other
0 stars 0 forks source link

Terrastore

Terrastore is a modern document store which provides advanced scalability and elasticity features without sacrificing consistency. Web: http://code.google.com/p/terrastore/

Basic Operations Guide

A Terrastore cluster is composed by two different kind of processes: Terrastore master(s), and Terrastore server(s). Both can be easily installed through the terrastore-install tool.

Java 6. Apache Ant.

$> ant -f terrastore-install.xml single-master -Dinstall.dir=/path_to_master $> ant -f terrastore-install.xml server -Dinstall.dir=/path_to_server

The last command can be repeated for every server to add.

$> ant -f terrastore-install.xml ha-master-1 -Dinstall.dir=/path_to_master-1 $> ant -f terrastore-install.xml ha-master-2 -Dinstall.dir=/path_to_master-2 $> ant -f terrastore-install.xml server -Dinstall.dir=/path_to_server

The last command can be repeated for every server to add. The active master will be the first to be started.

$path_to_master/bin> sh start.sh $path_to_server/bin> sh start.sh --httpPort 8080 --nodePort 6000 --master host:9510

The default master port is 9510 (which can be changed through the terrastore-install tool as well).