@pablo Its a Manual Install on a virtual Maschine
Node 1
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
cluster.name: Prod
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
node.name: Node1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
node.attr.dc: 01
node.attr.temp: warm
#
# ----------------------------------- Paths ------------------------------------
#
# 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
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# OpenSearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
#network.host: 192.168.0.1
#
# Set a custom port for HTTP:
#
#http.port: 9200
network.host: "[xxx:xxx:x:a::11]"
http.port: 9200
transport.host: "[xxx:xxx:x:b::11]"
transport.tcp.compress: true
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
#cluster.initial_master_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# ---------------------------------- Gateway -----------------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
#
#gateway.recover_after_nodes: 3
#
# For more information, consult the gateway module documentation.
discovery.seed_hosts: ["[xxx:xxx:x:b::11]", "[xxx:xxx:x:b::10]", "[xxx:xxx:x:b::9]", "[xxx:xxx:x:b::8]", "[xxx:xxx:x:b::12]"]
#
# Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):
#
cluster.initial_master_nodes: ["[xxx:xxx:x:b::12]", "[xxx:xxx:x:b::11]", "[xxx:xxx:x:b::10]", "[xxx:xxx:x:b::9]", "[xxx:xxx:x:b::8]"]
#
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
######## Start OpenSearch Security Demo Configuration ########
# WARNING: revise all the lines below before you go into production
plugins.security.ssl.transport.pemcert_filepath: certs/wildcard.xxx.de_GeoTrust.crt
plugins.security.ssl.transport.pemkey_filepath: certs/wildcard.xxx.de_GeoTrust.key
plugins.security.ssl.transport.pemtrustedcas_filepath: certs/wildcard.xxx.de_GeoTrust.ca.crt
plugins.security.ssl.transport.enforce_hostname_verification: false
plugins.security.ssl.http.enabled: true
plugins.security.ssl.http.pemcert_filepath: certs/wildcard.xxx.de_GeoTrust.crt
plugins.security.ssl.http.pemkey_filepath: certs/wildcard.xxx.de_GeoTrust.key
plugins.security.ssl.http.pemtrustedcas_filepath: certs/wildcard.xxx.de_GeoTrust.ca.crt
plugins.security.allow_unsafe_democertificates: false
plugins.security.allow_default_init_securityindex: true
plugins.security.nodes_dn: 'C = DE,ST = Hamburg,L = Hamburg,O = xxx AG,CN = \*.xxx.de'
plugins.security.audit.type: internal_opensearch
plugins.security.enable_snapshot_restore_privilege: true
plugins.security.check_snapshot_restore_write_privileges: true
plugins.security.restapi.roles_enabled: ["all_access", "security_rest_api_access"]
plugins.security.system_indices.enabled: true
plugins.security.system_indices.indices: [".opendistro-alerting-config", ".opendistro-alerting-alert*", ".opendistro-anomaly-results*", ".opendistro-anomaly-detector*", ".opendistro-anomaly-checkpoints", ".opendistro-anomaly-detection-state", ".opendistro-reports-*", ".opendistro-notifications-*", ".opendistro-notebooks", ".opensearch-observability", ".opendistro-asynchronous-search-response*", ".replication-metadata-store"]
node.max_local_storage_nodes: 3
######## End OpenSearch Security Demo Configuration ########
Node 2
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
cluster.name: Prod
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
node.name: Node2
#
# Add custom attributes to the node:
#
node.attr.dc: 02
node.attr.temp: warm
#
# ----------------------------------- Paths ------------------------------------
#
# 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
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# OpenSearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# Set the bind address to a specific IP (IPv4 or IPv6):
#
# network.host: 192.168.0.1
#
network.host: "[xxx:xxx:x:a::12]"
http.port: 9200
transport.host: "[xxx:xxx:x:b::12]"
transport.tcp.compress: true
#
# Set a custom port for HTTP:
#
#http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
# For more information, consult the discovery and cluster formation module documentation.
discovery.seed_hosts: ["[xxx:xxx:x:b::11]", "[xxx:xxx:x:b::10]", "[xxx:xxx:x:b::9]", "[xxx:xxx:x:b::8]", "[xxx:xxx:x:b::12]"]
#
# Prevent the "split brain" by configuring the majority of nodes (total number of master-eligible nodes / 2 + 1):
#
cluster.initial_master_nodes: ["[xxx:xxx:x:b::12]", "[xxx:xxx:x:b::11]", "[xxx:xxx:x:b::10]", "[xxx:xxx:x:b::9]", "[xxx:xxx:x:b::8]"]
#
# ---------------------------------- Gateway -----------------------------------
#
# Block initial recovery after a full cluster restart until N nodes are started:
#
#gateway.recover_after_nodes: 3
#
# For more information, consult the gateway module documentation.
gateway.expected_nodes: 5
gateway.expected_master_nodes: 5
gateway.expected_data_nodes: 5
gateway.recover_after_master_nodes: 3
#
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
######## Start OpenSearch Security Demo Configuration ########
# WARNING: revise all the lines below before you go into production
plugins.security.ssl.transport.enabled: true
plugins.security.ssl.transport.pemcert_filepath: certs/wildcard.xxx.de_GeoTrust.crt
plugins.security.ssl.transport.pemkey_filepath: certs/wildcard.xxx.de_GeoTrust.key
plugins.security.ssl.transport.pemtrustedcas_filepath: certs/wildcard.xxx.de_GeoTrust.ca.crt
plugins.security.ssl.transport.enforce_hostname_verification: false
plugins.security.ssl.http.enabled: true
plugins.security.ssl.http.pemcert_filepath: certs/wildcard.xxx.de_GeoTrust.crt
plugins.security.ssl.http.pemkey_filepath: certs/wildcard.xxx.de_GeoTrust.key
plugins.security.ssl.http.pemtrustedcas_filepath: certs/wildcard.xxx.de_GeoTrust.ca.crt
plugins.security.allow_unsafe_democertificates: false
plugins.security.allow_default_init_securityindex: true
plugins.security.nodes_dn: 'C = DE,ST = Hamburg,L = Hamburg,O =xxx AG,CN = \*.xxx.de'
plugins.security.audit.type: internal_opensearch
plugins.security.enable_snapshot_restore_privilege: true
plugins.security.check_snapshot_restore_write_privileges: true
plugins.security.restapi.roles_enabled: ["all_access", "security_rest_api_access"]
plugins.security.system_indices.enabled: true
plugins.security.system_indices.indices: [".opendistro-alerting-config", ".opendistro-alerting-alert*", ".opendistro-anomaly-results*", ".opendistro-anomaly-detector*", ".opendistro-anomaly-checkpoints", ".opendistro-anomaly-detection-state", ".opendistro-reports-*", ".opendistro-notifications-*", ".opendistro-notebooks", ".opensearch-observability", ".opendistro-asynchronous-search-response*", ".replication-metadata-store"]
node.max_local_storage_nodes: 3
######## End OpenSearch Security Demo Configuration ########