Manybubbles has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/169550

Change subject: Add three more master node to elasticsearch
......................................................................

Add three more master node to elasticsearch

This is the first step in the master node dance we're going to do to replace
the hard drives in elastic10(0[1-9]|1[0-6]).  The steps are:
1.  Move all data off of the nodes we're going to make master nodes.
2.  Replace harddrives in these new master nodes.
3.  Rebuild them as master nodes.  Now we'll have 6 master nodes.
4.  Remove all the data from the old master nodes.
5.  Shut off elasticsearch in the old master nodes.
6.  Replace their hard drives and reimagine them as non-master nodes.

We're in danger of elasticsearch split brain during step 4 but we can
limit the length of that step.

Change-Id: I6312f78e376108fa733f885be3c11de36387dc91
---
M manifests/role/elasticsearch.pp
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/50/169550/1

diff --git a/manifests/role/elasticsearch.pp b/manifests/role/elasticsearch.pp
index 9a57c61..212d30d 100644
--- a/manifests/role/elasticsearch.pp
+++ b/manifests/role/elasticsearch.pp
@@ -67,9 +67,14 @@
             'eqiad' => '224.2.2.5',
         }
         $master_eligible = $::hostname ? {
+            # Current masters as of 2014-10-28
             'elastic1002' => true,
             'elastic1007' => true,
             'elastic1014' => true,
+            # New masters as of 2014-10-28
+            'elastic1001' => true,
+            'elastic1008' => true,
+            'elastic1013' => true,
             default       => false,
         }
         $minimum_master_nodes = 2

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6312f78e376108fa733f885be3c11de36387dc91
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Manybubbles <[email protected]>

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

Reply via email to