# 2.3 elasticsearch 환경 설정

&#x20; Elasticsearch 는 각 노드들 별로 실행될 설정들을 적용함으로써 [노드들의 역할을 나누](/02-install/2.3-elasticsearch/2.3.3-node-settings.md)거나 클러스터의 속성을 결정하게 됩니다. Elasticsearch 의 실행 환경을 설정하는 방법은 크게 2가지가 있습니다. 홈 디렉토리의 config 경로 아래 있는 파일들을 변경하거나 시작 명령으로 설정하는 방법입니다. config 경로 아래의 파일들에서는 다음과 같은 설정들이 가능합니다.

* [jvm.options](/02-install/2.3-elasticsearch/2.3.1-jvm.options.md) - Java 힙메모리 및 환경변수&#x20;
* [elasticsearch.yml](/02-install/2.3-elasticsearch/2.3.2-elasticsearch.yml.md) - Elasticsearch 옵션&#x20;
* log4j2.properties - 로그 관련 옵션&#x20;

&#x20; 그 외에도 Elasticsearch 를 처음 실행할 때 [-E 커맨드](/02-install/2.3-elasticsearch/2.3.4-cofig-on-start-command.md) 라인 명령을 통해서도 가능합니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://esbook.kimjmin.net/02-install/2.3-elasticsearch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
