Piro / YUKI Hiroshi
null+****@clear*****
Tue Sep 23 18:57:14 JST 2014
Piro / YUKI Hiroshi 2014-09-23 18:57:14 +0900 (Tue, 23 Sep 2014) New Revision: e97b5a54dc8a7db51db84363f6a06139d742d6c5 https://github.com/droonga/droonga.org/commit/e97b5a54dc8a7db51db84363f6a06139d742d6c5 Message: Update steps to set up a node manually with manually defined host name Modified files: tutorial/1.0.6/groonga/index.md tutorial/1.0.6/manual-install/index.md Modified: tutorial/1.0.6/groonga/index.md (+1 -1) =================================================================== --- tutorial/1.0.6/groonga/index.md 2014-09-23 18:10:54 +0900 (5c4fe51) +++ tutorial/1.0.6/groonga/index.md 2014-09-23 18:57:14 +0900 (9d5e5d2) @@ -117,7 +117,7 @@ OK, now two computers successfully prepared to work as Droonga nodes. If installation scripts didn't work as expected and you couldn't install them, see [the tutorial to install services without installation script](../manual-install/). -### When your computers don't have a host name accessible from other computers... +### When your computers don't have a host name accessible from other computers... {#accessible-host-name} Each Droonga node must know the *accessible host name* of the node itself, to communicate with other nodes. Modified: tutorial/1.0.6/manual-install/index.md (+12 -7) =================================================================== --- tutorial/1.0.6/manual-install/index.md 2014-09-23 18:10:54 +0900 (77299c6) +++ tutorial/1.0.6/manual-install/index.md 2014-09-23 18:57:14 +0900 (970b87d) @@ -64,24 +64,29 @@ This tutorial describes how to setup `droonga-engine` and `droonga-http-server` # mkdir ~droonga-engine/droonga # mkdir ~droonga-http-server/droonga - 6. Create a `droonga-engine.yaml` and `catalog.json` for `droonga-engine`. - Currently you have to specify correct host name or IP address of the computer itself which is accessible from other computers. + 6. Define an accessible host name or an IP address of the computer, for the node name. + [It must be resolvable from other computers.](../groonga/#accessible-host-name) + + # host=192.168.100.50 + + 7. Create a `droonga-engine.yaml` and `catalog.json` for `droonga-engine`. + Currently you have to specify the name of the node itself. # cd ~droonga-engine/droonga # droonga-engine-configure --quiet --reset-config --reset-catalog \ - --host=$(hostname) \ + --host=$host \ --daemon \ --pid-file=droogna-engine.pid # chown -R droogna-engine:droonga-engine ~droonga-engine/droonga - 7. Create a `droonga-http-server.yaml` for `droonga-http-server`. - Currently you have to specify the host name of the droonga-engine node and correct host name or IP address of the computer itself which is accessible from other computers. + 8. Create a `droonga-http-server.yaml` for `droonga-http-server`. + Currently you have to specify the host name of the droonga-engine node and the name of the node itself. For example, if both services work on the computer: # cd ~droonga-http-server/droonga # droonga-http-server-configure --quiet --reset-config \ - --droonga-engine-host-name=$(hostname) \ - --receiver-host-name=$(hostname) \ + --droonga-engine-host-name=$host \ + --receiver-host-name=$host \ --daemon \ --pid-file=droonga-http-server.pid # chown -R droogna-http-server:droonga-http-server ~droonga-http-server/droonga -------------- next part -------------- HTML����������������������������... Download