Post installation

  • -

Post installation

Category : latest version

Your cluster build with single Node should be up-and-running. To check it, execute following command:

curl http://localhost:10200

in response you should get JSON status, like:

When you run ElasticWarehouse in embedded mode, you can also check ElasticSearch status, by:

curl http://localhost:9200

in response you should get typical ElasticSearch status, like:

Running as daemon (nix OS)

ElasticWarehouse is distributed with scripts to setup ElasticWarehouse as a daemon. To setup daemon simply launch (daemon will be running as user provided as a parameter):

sudo ./elasticwarehousedaemon_install.sh username

Now, to manage daemon state:

sudo /etc/init.d/elasticwarehousedaemon start
sudo /etc/init.d/elasticwarehousedaemon stop

or

sudo service elasticwarehousedaemon start
sudo service elasticwarehousedaemon stop

Running as service (Windows)

ElasticWarehouse is distributed with set of Batch files and nssm.exe (Service Manager wrapper). To install ElasticWarehouse as a service on Windows, run:

cd c:\opt\elasticwarehouse\bin
adminrun.bat elasticwarehouse service - install.bat

Such command installs ElasticWarehouse service and starts it. Logs file are placed in c:\opt\elasticwarehouse\logs\ folder.

To manage service state you can use Windows Service Manager:

ewservice

or command line tools:

cd c:\opt\elasticwarehouse\bin
adminrun.bat "elasticwarehouse service - uninstall.bat"
adminrun.bat "elasticwarehouse service - start.bat"
adminrun.bat "elasticwarehouse service - stop.bat"
adminrun.bat "elasticwarehouse service - restart.bat"

Note that adminrun.bat is not needed when running batch script under console with Administrative rights.

Installation in 3 steps
Configuration