Commit a4c4800f authored by Grégory Wisniewski's avatar Grégory Wisniewski

Update README with command line options instead of a configuration file.


git-svn-id: https://svn.erp5.org/repos/neo/trunk@1354 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f341ec3b
...@@ -48,22 +48,17 @@ Installation ...@@ -48,22 +48,17 @@ Installation
a. Make neo directory available for python to import (for example, by a. Make neo directory available for python to import (for example, by
adding its container directory to the PYTHONPATH environment variable). adding its container directory to the PYTHONPATH environment variable).
b. Create a configuration file for your cluster. You should have received b. Choose a cluster name and setup a MySQL database
a self-describing configuration file along with the code, named
neo.conf .
c. Start all required nodes : c. Start all required nodes :
neomaster -c <your_neo.conf> -s <master_section_name> neomaster --cluster=<cluster name>
neostorage -c <your_neo.conf> -s <storage_section_name> neostorage --cluster=<cluster name> --database=user:passwd@host
neomaster -c <your_neo.conf> neoadmin --cluster=<cluster name>
d. Tell the cluster it can provide service. d. Tell the cluster it can provide service.
neoctl -a <ip:port of admin node> start cluster neoctl start cluster
This must be done each time the primary master changes. This will be
addressed in a future release.
How to use How to use
...@@ -79,7 +74,7 @@ How to use ...@@ -79,7 +74,7 @@ How to use
<zodb_db main> <zodb_db main>
# Main FileStorage database # Main FileStorage database
<NEOStorage> <NEOStorage>
master_nodes 127.0.0.1:10010 127.0.0.1:10011 master_nodes 127.0.0.1:10000
name main name main
connector SocketConnector connector SocketConnector
</NEOStorage> </NEOStorage>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment