Hi,
I'm trying to deploy new elasticsearch environment on aws and the cluster
is always at red and i get the following message
{
"error": "ClusterBlockException[blocked by: [SERVICE_UNAVAILABLE/1/state
not recovered / initialized];]",
"status": 503
}
I'm trying to deploy 3 master nodes, 3 data nodes, and 2 client nodes.
when i check cluster health:
{
"cluster_name": "stress_new",
"status": "red",
"timed_out": false,
"number_of_nodes": 8,
"number_of_data_nodes": 3,
"active_primary_shards": 0,
"active_shards": 0,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 0
}
please adivce
this is the configuration i used with changes by node role ( node.master &
node.data ):
cluster.name: stress_new
plugin.mandatory: cloud-aws
cloud.aws.access_key: ********
cloud.aws.secret_key: *********
cloud.aws.region: us-west-2
discovery.type: ec2
discovery.ec2.groups: stress_new_elasticsearch
discovery.ec2.host_type: private_ip
discovery.ec2.ping_timeout: 30s
discovery.ec2.tag.elasticsearch: stress_new
node.name: 172.******
node.master: false
node.data: false
index.number_of_shards: 1
index.number_of_replicas: 0
path.data: /mnt/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.mlockall: true
http.enabled: true
gateway.recover_after_nodes: 8
gateway.expected_nodes: 8
discovery.zen.minimum_master_nodes: 3
discovery.zen.ping.timeout: 10s
discovery.zen.ping.multicast.enabled: false
index.search.slowlog.threshold.query.warn: 500ms
index.search.slowlog.threshold.query.info: 200ms
index.search.slowlog.threshold.query.debug: 100ms
index.search.slowlog.threshold.query.trace: 50ms
index.search.slowlog.threshold.fetch.warn: 500ms
index.search.slowlog.threshold.fetch.info: 200ms
index.search.slowlog.threshold.fetch.debug: 100ms
index.search.slowlog.threshold.fetch.trace: 50ms
index.indexing.slowlog.threshold.index.warn: 500ms
index.indexing.slowlog.threshold.index.info: 200ms
index.indexing.slowlog.threshold.index.debug: 1000ms
index.indexing.slowlog.threshold.index.trace: 50ms
script.disable_dynamic: false
script.native.socialScoreCalc.type: *****.SocialScriptFactory
script.default_lang: native
action.disable_delete_all_indices: true
action.auto_create_index: .marvel-*
indices.fielddata.cache.size: 30%
indices.fielddata.cache.expire: 15s
marvel.agent.enabled: false
allow_leading_wildcard: false
script.groovy.sandbox.enabled: false
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/843e39bd-842a-4301-899d-7a1bb1d119a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.