Don't install ES on logstash workers
Now that we are running logstash 2.0 the logstash daemon can talk to elasticsearch directly and load balance across the cluster. This means we don't need a local elasticsearch daemon to do that for us. The big savings here is in memory so stop installing and running elasticsearch completely on the workers. Note this will not uninstall an existing ES install you will need to clean that up if a preexisting install is present. Change-Id: I9b622674a74a26e7c3024e684e05291f43aec021
This commit is contained in:
parent
78298da6e3
commit
1260435c05
@ -42,19 +42,4 @@ class openstack_project::logstash_worker (
|
|||||||
log_processor::worker { 'D':
|
log_processor::worker { 'D':
|
||||||
config_file => 'puppet:///modules/openstack_project/logstash/jenkins-log-worker.yaml',
|
config_file => 'puppet:///modules/openstack_project/logstash/jenkins-log-worker.yaml',
|
||||||
}
|
}
|
||||||
|
|
||||||
class { '::elasticsearch':
|
|
||||||
es_template_config => {
|
|
||||||
'gateway.recover_after_nodes' => '5',
|
|
||||||
'gateway.recover_after_time' => '5m',
|
|
||||||
'gateway.expected_nodes' => '6',
|
|
||||||
'discovery.zen.minimum_master_nodes' => '5',
|
|
||||||
'discovery.zen.ping.multicast.enabled' => false,
|
|
||||||
'discovery.zen.ping.unicast.hosts' => $elasticsearch_nodes,
|
|
||||||
'node.master' => false,
|
|
||||||
'node.data' => false,
|
|
||||||
},
|
|
||||||
heap_size => '1g',
|
|
||||||
version => '1.7.3',
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user