27.04.2026

This commit is contained in:
2026-04-27 20:50:38 +03:00
parent 984d8cf33b
commit 44a522877c
4 changed files with 27 additions and 31 deletions
@@ -0,0 +1,12 @@
cluster.name: kal-cluster
node.name: opensearch-2
node.roles: [ cluster_manager, data ]
cluster.initial_cluster_manager_nodes: ["opensearch-cluster_manager"]
discovery.seed_hosts: ["opensearch-1.sailor.com", "opensearch-2.sailor.com", "opensearch-3.sailor.com"]
network.host: 0.0.0.0
http.port: 9200
plugins.security.disabled: false
# Path to directory where to store the data (separate multiple locations by comma):
path.data: /var/lib/opensearch
# Path to log files:
path.logs: /var/log/opensearch
-17
View File
@@ -1,17 +0,0 @@
cluster.name: kal-cluster # Имя кластера
node.name: opensearch-1 # Имя ноды кластера
# Включение плагина безопасности для шифрования трафика между нодами
plugins.security.ssl.transport.keystore_filepath: /etc/opensearch/config/ssl/keystore.jks # Путь к файлу keystore.jks, который содержит ключи к сертификатам
plugins.security.ssl.transport.keystore_password: MyCertPassword # Пароль от кейстора
plugins.security.ssl.transport.keystore_keypassword: MyCertPassword # Пароль от приватного ключа внутри кейстора
plugins.security.ssl.transport.truststore_filepath: /etc/opensearch/config/ssl/truststore.jks # Путь к хранилищу сертификатов
plugins.security.ssl.transport.truststore_password: MyCertPassword # Пароль от хранилища сертификатов
#Включение плагина безопасности для шифрования трафика между дашбордом и опенсерчом
#plugins.security.ssl.http.enabled: # Включение шифрования при обращении к REST api. По умолчанию выключено. При включении http будет принудительно отключен и всегда будет использоваться https
plugins.security.ssl.http.keystore_filepath: /etc/opensearch/config/ssl/keystore.jks # Путь к файлу keystore.jks, который содержит ключи к сертификатам
plugins.security.ssl.http.keystore_password: MyCertPassword # Пароль от кейстора
plugins.security.ssl.http.keystore_keypassword: MyCertPassword # Пароль от приватного ключа внутри кейстора
plugins.security.ssl.http.truststore_filepath: /etc/opensearch/config/ssl/truststore.jks # Путь к хранилищу сертификатов
plugins.security.ssl.http.truststore_password: MyCertPassword # Пароль от хранилища сертификатов