User Tools

Site Tools


opensearch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
opensearch [2025/03/23 14:30] ronopensearch [2025/04/13 16:21] (current) – removed ron
Line 1: Line 1:
-# Installing OpenSearch 
-## Prerequisites and Setup  
-  * uses Docker; which is why i installed Docker and wrote the [[Docker]] wiki yesterday 
-  * [source](https://opensearch.org/docs/latest/getting-started/quickstart/ 
-  * `sudo swapoff -a` 
-    * disables memory-paging and swapping 
-  * `sudo vi etc/sysctl.conf` (leading `/` removed because `mod_security` is stupid) 
-    * actually it's `etc/sysctl.d/10-map-count.conf` 
-    * `vm.max_map_count=262144` 
-      * Set max map count to 262144 
-  * `sudo sysctl -p` 
-    * reload kernel parameters  
  
-## Install Steps 
-  * `curl -O https://raw.githubusercontent.com/opensearch-project/documentation-website/2.19/assets/examples/docker-compose.yml` 
-    * download the example docker-compose (which is a functional OpenSearch cluster) 
-  * `export OPENSEARCH_INITIAL_ADMIN_PASSWORD=<admin-password>` 
-    * **NOTE** without this value the opensearch nodes will refuse to start! 
-  * `docker compose up -d` 
-    * start the docker-compose cluster as background process (`-d` = detached) 
-    * will download about 12 containers (two of which are 968MB and 350MB); takes a while first time 
- 
-## Testing Steps 
-  * `curl https://localhost:9200 -ku admin:<admin-password>` 
-    * response should confirm that the install worked 
-  * http://localhost:5601/ should respond with dashboards and such 
-    * change admin-password if you like at this point  
- 
-## Shooting Trouble 
-  * `[ConnectionError]: getaddrinfo ENOTFOUND opensearch-node1` 
-    *  
opensearch.1742740222.txt.gz · Last modified: 2025/03/23 14:30 by ron

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki