paras200 commented on code in PR #1058:
URL: https://github.com/apache/ranger/pull/1058#discussion_r3804538005
##########
dev-support/ranger-docker/README.md:
##########
Review Comment:
Done
##########
dev-support/ranger-docker/README.md:
##########
@@ -202,23 +205,22 @@ docker compose -f docker-compose.ranger.yml -f
docker-compose.ranger-opensearch.
-f docker-compose.ranger-audit-dispatcher-opensearch.yml up -d
ranger-audit-ingestor ranger-audit-dispatcher-opensearch
~~~
-To use OpenSearch with **mysql or oracle** instead, enable the OpenSearch
block in the matching
-`scripts/admin/ranger-admin-install-${RANGER_DB_TYPE}.properties` (uncomment
the `audit_store=opensearch`
-and `audit_opensearch_*` lines and comment out the Solr block) before running
the setup commands.
+To use OpenSearch with **any DB type**, simply set `export
RANGER_AUDIT_STORE=opensearch` before
+bringing up the stack — no manual `install.properties` edits required.
-For **existing Solr-based installs**, switch stores by setting
`audit_store=opensearch` (and the
-`audit_opensearch_*` properties) in install.properties and restarting Ranger
Admin.
+For **existing Solr-based installs**, set `RANGER_AUDIT_STORE=opensearch`,
recreate the Ranger
Review Comment:
this paragraph is to describe migration to OpenSearch for existing
Solr-based installs (set RANGER_AUDIT_STORE=opensearch). Re wrote this sentence
to make it clearer.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]