Ottomata has submitted this change and it was merged.

Change subject: Adding ganglia aggregators for elasticsearch cluster
......................................................................


Adding ganglia aggregators for elasticsearch cluster

Change-Id: Ie967b3b97a35d5b9486cd89863894bda06466601
---
M manifests/ganglia.pp
M manifests/site.pp
2 files changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/ganglia.pp b/manifests/ganglia.pp
index 7444e49..01f5384 100644
--- a/manifests/ganglia.pp
+++ b/manifests/ganglia.pp
@@ -162,6 +162,9 @@
             'cache_misc'    => {
                 'name'      => 'Misc Web caching cluster',
                 'ip_oct'    => '41' },
+            'elasticsearch' => {
+                'name'      => 'Elasticsearch cluster',
+                'ip_oct'    => '42' },
         }
         # NOTE: Do *not* add new clusters *per site* anymore,
         # the site name will automatically be appended now,
@@ -344,6 +347,7 @@
                         "Upload caches ulsfo"            => 
'cp4005.ulsfo.wmnet cp4013.ulsfo.wmnet',
                         "Mobile caches ulsfo"            => 
'cp4011.ulsfo.wmnet cp4019.ulsfo.wmnet',
                         "Text caches ulsfo"              => 
'cp4008.ulsfo.wmnet cp4016.ulsfo.wmnet',
+                        "Elasticsearch eqiad"            => 
'elastic1001.eqiad.wmnet elastic1007.eqiad.wmnet',
 
                     }
                     $rra_sizes = '"RRA:AVERAGE:0.5:1:360" 
"RRA:AVERAGE:0.5:24:245" "RRA:AVERAGE:0.5:168:241" "RRA:AVERAGE:0.5:672:241" 
"RRA:AVERAGE:0.5:5760:371"'
diff --git a/manifests/site.pp b/manifests/site.pp
index 05ecc38..ee0ffd6 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2716,6 +2716,9 @@
 }
 
 node /^testsearch100[1-3]\.eqiad\.wmnet/ {
+    # ganglia cluster name.
+    $cluster = 'elasticsearch'
+
     include accounts::manybubbles,
         accounts::demon,
         groups::wikidev
@@ -2728,6 +2731,9 @@
 }
 
 node /^elastic10(0[1-9]|1[0-2])\.eqiad\.wmnet/ {
+    # ganglia cluster name.
+    $cluster = 'elasticsearch'
+
     include accounts::manybubbles,
         accounts::demon,
         groups::wikidev

-- 
To view, visit https://gerrit.wikimedia.org/r/96550
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie967b3b97a35d5b9486cd89863894bda06466601
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to