Navigation Menu

Skip to content

Commit

Permalink
Write host name directly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 28, 2014
1 parent 020761f commit 6fb85b3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tutorial/groonga/index.md
Expand Up @@ -110,12 +110,11 @@ On the other hand, you have to run two servers for each Droonga node to use your
To start them, run commands like following on each Droonga node:

# cd ~/droonga
# host=192.168.0.10
# droonga-engine --host=$host &
# droonga-engine --host=192.168.0.10 &
# cat $! > droonga-engine.pid
# droonga-http-server --port=3000 \
--receive-host-name=$host \
--droonga-engine-host-name=$host \
--receive-host-name=192.168.0.10 \
--droonga-engine-host-name=192.168.0.10 \
--default-dataset=Starbucks \
--daemon \
--pid-file droonga-http-server.pid
Expand All @@ -125,8 +124,7 @@ It will be used to communicate with other Droonga nodes in the cluster.
So you have to specify different host name on another Droonga node, like:

# cd ~/droonga
# host=192.168.0.11
# droonga-engine --host=$host &
# droonga-engine --host=192.168.0.11 &
...

To stop services, run commands like following on each Droonga node:
Expand Down

0 comments on commit 6fb85b3

Please sign in to comment.