검색엔진8 검색엔진 클러스터 구축 - 5. JVM Mem Config Opster 홈페이지에 현 클러스터 상태에 대해 질문을 남겨 보았더니 다음과 같은 답변을 받았다. Firstly, heap is too high on the data nodes, which is not recommended. Reducing it to less than 32G would yield better performance. Having more than 32G heap will lead to a performance decrease as the JVM moves to use 64 bits pointers. Beyond that, we also noticed that the cluster is missing certain configurations related to data recovery an.. 2022. 11. 3. 검색엔진 클러스터 구축 - 4. X-pack security X-Pack Security의 주 목적 사용자 인증 권한 부여 및 역할 기반 액세스 제어 노드/클라이언트 인증 및 채널 암호화 Auditing 클러스터 내에서 통신 채널 보호 - SSL/TLS 구성 지원 유선을 통해 전송되는 데이터 암호화 인증서 기반 노드 인증 - 권한이 없는 노드/클라이언트가 클러스터와 연결을 설정하는 것을 방지 SSL/TLS를 사용하여 Elasticsearch 클러스터에서 들어오고 나가는 트래픽을 암호화하고, 노드가 SSL 인증서를 사용하여 클러스터에 가입할 때 인증하도록 요구하고, 원격 공격자가 Elasticsearch에 명령을 실행하는 것을 더 어렵게 만든다. elasticsearch.yml 파일 내에서 IP 필터링 사용 가능 xapck.security.transport.filt.. 2022. 11. 3. 검색엔진 클러스터 구축 - 3. Configuration Install List Openjdk-18 Elasticsearch 8.4.1 kibana 8.4.1 Install manual Openjdk-18 설치 루트: /usr/local/java/ curl -O https://download.java.net/java/GA/jdk18/43f95e8614114aeaa8e8a5fcf20a682d/36/GPL/openjdk-18_linux-x64_bin.tar.gz tar xvf openjdk-18_linux-x64_bin.tar.gz 환경변수 설정 tee /etc/profile.d/jdk18.sh data node가 존재하지 않아 shard가 allocate되지 않은 상황 -> 초기 구성으로 마스터노드만 구성한다면 cluster status=red\textcolor.. 2022. 11. 3. 검색엔진 클러스터 구축 - 2. 클러스터 구상 클러스터 구조 논의 Cluster 명 : 노드 (Master / Data / Ingest / Coordinate / ML) 출처 역할 : https://www.elastic.co/guide/en/elasticsearch/reference/7.10/cat-nodes.html 역할별 일 : https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html 클러스터 형성 : https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-quorums.html Master : 3 Data : 14 Ingest : 1 Coordi : 2 Ingest는.. 2022. 11. 3. 이전 1 2 다음