Ottomata has uploaded a new change for review. https://gerrit.wikimedia.org/r/83038
Change subject: Using JBOD Kafka mounts in production ...................................................................... Using JBOD Kafka mounts in production Change-Id: I974c38996d02a1a31300d91ead6d1b5af9cd4787 --- M manifests/role/analytics/kafka.pp 1 file changed, 19 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/38/83038/1 diff --git a/manifests/role/analytics/kafka.pp b/manifests/role/analytics/kafka.pp index b34d2a6..f66074c 100644 --- a/manifests/role/analytics/kafka.pp +++ b/manifests/role/analytics/kafka.pp @@ -35,6 +35,8 @@ 'kraken-kafka-external.pmtpa.wmflabs' => { 'id' => 10 }, }, } + + $log_dir = ['/var/spool/kafka'] } # else Kafka cluster is based on $::site. else { @@ -47,6 +49,20 @@ # 'pmtpa' => { }, # 'esams' => { }, } + + # production Kafka uses JBOD log dir mounts. + $log_dir = [ + '/var/spool/kafka/c', + '/var/spool/kafka/d', + '/var/spool/kafka/e', + '/var/spool/kafka/f', + '/var/spool/kafka/g', + '/var/spool/kafka/h', + '/var/spool/kafka/i', + '/var/spool/kafka/j', + '/var/spool/kafka/k', + '/var/spool/kafka/l', + ] } $hosts = $cluster[$kafka_cluster_name] @@ -68,5 +84,7 @@ # == Class role::analytics::kafka::server # class role::analytics::kafka::server inherits role::analytics::kafka::client { - class { '::kafka::server': } + class { '::kafka::server': + log_dir => $log_dir, + } } -- To view, visit https://gerrit.wikimedia.org/r/83038 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I974c38996d02a1a31300d91ead6d1b5af9cd4787 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ottomata <o...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits