Ensure conductor and datastore environment variables are set in /etc/environment
:
CONDUCTOR_XMS=-Xms16g
CONDUCTOR_XMX=-Xmx16g
DATASTORE_XMS=-Xms16g
DATASTORE_XMX=-Xmx16g
INDEXER_XMS=-Xms16g
INDEXER_XMX=-Xmx16g
These values will need to be adjusted depending on the instance type.
To run these scripts, be sure to be logged in / switched over to the openlattice
user.
- First, we boot the conductor service
- ssh into conductor box
- switch to openlattice user
- run the boot script
- wait for conductor to fully boot up by watching the logs for the banner
$ ssh conductor
conductor$ sudo su - openlattice
conductor$ ~/scripts/conductor/boot.sh
conductor$ tail -f /opt/openlattice/logging/conductor.log
- Next, we boot the datastore service
- ssh into datastore box
- switch to openlattice user
- run the boot script
- wait for datastore to fully boot up by watching the logs for the banner
$ ssh datastore
datastore$ sudo su - openlattice
datastore$ ~/scripts/datastore/boot.sh
datastore$ tail -f /opt/openlattice/logging/datastore.log
- Finally, we boot the indexer service
- ssh into indexer box
- switch to openlattice user
- run the boot script
- wait for indexer to fully boot up by watching the logs for the banner
$ ssh indexer
indexer$ sudo su - openlattice
indexer$ ~/scripts/indexer/boot.sh
indexer$ tail -f /opt/openlattice/logging/indexer.log
Once all the services are up and running, the app should be working as expected and talking to the stack via the api: