Hi Everyone, finally getting a chance to reply after testing this out in my spare time, but still missing something. I have been able to get it to run on the host network, but still unable to discover the rest of the cluster. Here is the error I get when I try to start it:
fox-elk02-2-cont | {"type": "server", "timestamp": "2020-09-18T18:44:37,300Z", "level": "WARN", "component": "o.e.c.c.ClusterFormationFailureHelper", "cluster.name": "clusterfox", "node.name": "fox-elk02-2", "message": "master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{fox-elk02-2}{NgQBUIwFTx65kUVCrYrxyg}{q-N1ja0CRC-2pJKGQG0qjA}{192.168.1.91}{192.168.1.91:9301}{dilmrt}{ml.machine_memory=6087008256, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}]; discovery will continue using [192.168.1.90:9300, 192.168.1.91:9300, 192.168.1.92:9300, 192.168.1.93:9300] from hosts providers and [{fox-elk02-2}{NgQBUIwFTx65kUVCrYrxyg}{q-N1ja0CRC-2pJKGQG0qjA}{192.168.1.91}{192.168.1.91:9301}{dilmrt}{ml.machine_memory=6087008256, xpack.installed=true, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0" }
Also, I can see its listening on 9201 even though I don't have 9201 specified as the http port in my yml. Is that weird or expected?
Here is my yml file:
version: '3'
services:
es01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.0
container_name: fox-elk02-2-cont
environment:
- node.name=fox-elk02-2
- cluster.name=clusterfox
- discovery.seed_hosts=192.168.1.90,192.168.1.91,192.168.1.92,192.168.1.93
- node.max_local_storage_nodes:4
- network.host:192.168.1.91
- network.publish_host:192.168.1.91
- network.publish_port:9301
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- node.master:true
- node.voting_only:false
- node.data:true
- node.ingest:false
- node.ml:false
- node.transform:false
- node.remote_cluster_client:false
- xpack.security.enabled:true
- xpack.security.transport.ssl.enabled:true
- xpack.security.transport.ssl.verification_mode:certificate
- xpack.security.transport.ssl.keystore.path:/elk/elastic-certificates.p12
- xpack.security.transport.ssl.truststore.path:/elk/elastic-certificates.p12
- xpack.security.http.ssl.enabled:true
- "xpack.security.http.ssl.keystore.path:/elk/http.p12"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/var/lib/elasticsearch
network_mode: host
volumes:
data01:
driver: local
Anything sticking out? I appreciate the help!