rabbah commented on a change in pull request #4724: Implement an 
ElasticSearchActivationStore
URL: https://github.com/apache/openwhisk/pull/4724#discussion_r381302780
 
 

 ##########
 File path: ansible/README.md
 ##########
 @@ -196,6 +196,44 @@ ansible-playbook -i environments/<environment> 
routemgmt.yml
 - To use the API Gateway, you'll need to run `apigateway.yml` and 
`routemgmt.yml`.
 - Use `ansible-playbook -i environments/<environment> openwhisk.yml` to avoid 
wiping the data store. This is useful to start OpenWhisk after restarting your 
Operating System.
 
+### Using ElasticSearch to Store Activations
+
+You can use ElasticSearch to store activations separately while other entities 
still stored in CouchDB, there is a playbook script to setup a simple ES 
cluster for test and develop purpose
+
+-   Provide your custom elasticsearch related ansible arguments:
+
+```
+elastic_protocol="http"
+elastic_index_pattern="openwhisk-%s" // this will be combined with namespace's 
name, so different namespace can use different index
+elastic_base_volume="esdata" // name of docker volume to store ES data
+elastic_cluster_name="openwhisk"
+elastic_java_opts="-Xms1g -Xmx1g"
+elastic_loglevel="INFO"
+elastic_username="admin"
+elastic_password="admin"
+elasticsearch_connect_string="x.x.x.x:9200,y.y.y.y:9200" // if you want to use 
an external ES cluster, add it
+```
+
+-   Then execute:
+
+```
+cd <openwhisk_home>
+./gradlew distDocker
+cd ansible
+ansible-playbook -i environments/<environment> couchdb.yml // couchdb is still 
needed to store subjects and actions
 
 Review comment:
   ```suggestion
   # couchdb is still needed to store subjects and actions
   ansible-playbook -i environments/<environment> couchdb.yml 
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to