@설정파일 위치

/etc/sysconfig/elasticsearc

 

JAVA_HOME

설치시 기본 embead 됨으로 별도로 설정할 필요 없음

MAX_OPEN_FILES

열린 파일의 최대 수, 기본값은 65535.

MAX_LOCKED_MEMORY

기본은 unlimited, 메모리 limit을 줄경우 설정

MAX_MAP_COUNT

기본값은 262144.
프로세스가 가질 수 있는 최대한의 MAP 메모리 영역수

ES_PATH_CONF

기본 구성파일 경로
/etc/elasticsearch
포함하고 있는 파일
elasticsearch.yml, jvm.options, log4j2.properties

ES_JAVA_OPTS

JVM옵션 설정

RESTART_ON_UPGRADE

default =false
패키지를 업그레이드 하게 되면 재시작 해야함
클러스터의 업그레이드로 인해서 지속적인 샤드 발생 ->
네트워크 트래픽 증가 (원인)

 

rpm 설치시 directory layout(디렉토리 구조)

TypeDescriptionDefault LocationSetting

home

Elasticsearch home directory or $ES_HOME

/usr/share/elasticsearch

 

bin

Binary scripts including elasticsearch to start a node and elasticsearch-plugin to install plugins

/usr/share/elasticsearch/bin

 

conf

Configuration files including elasticsearch.yml

/etc/elasticsearch

ES_PATH_CONF

conf

Environment variables including heap size, file descriptors.

/etc/sysconfig/elasticsearch

 

data

The location of the data files of each index / shard allocated on the node. Can hold multiple locations.

/var/lib/elasticsearch

path.data

jdk

The bundled Java Development Kit used to run Elasticsearch. Can be overridden by setting the JAVA_HOME environment variable in /etc/sysconfig/elasticsearch.

/usr/share/elasticsearch/jdk

 

logs

Log files location.

/var/log/elasticsearch

path.logs

plugins

Plugin files location. Each plugin will be contained in a subdirectory.

/usr/share/elasticsearch/plugins

 

repo

Shared file system repository locations. Can hold multiple locations. A file system repository can be placed in to any subdirectory of any directory specified here.

Not configured

path.rep

 

반응형
블로그 이미지

visualp

c#, java

,