[MediaWiki-commits] [Gerrit] install-server: fix logstash partman recipe - change (operations/puppet)

2015-07-16 Thread Filippo Giunchedi (Code Review)
Filippo Giunchedi has submitted this change and it was merged.

Change subject: install-server: fix logstash partman recipe
..


install-server: fix logstash partman recipe

Currently logstash hosts have a big / partition, shrink that and use the
remaining space for elasticsearch instead. Also provision unused disks as
spares for raid1 on /.

Bug: T104035
Change-Id: Iac879a56407c6f1193d28b05188aa45d1ff73e26
---
M modules/install_server/files/autoinstall/partman/logstash.cfg
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Filippo Giunchedi: Verified; Looks good to me, approved



diff --git a/modules/install_server/files/autoinstall/partman/logstash.cfg 
b/modules/install_server/files/autoinstall/partman/logstash.cfg
index 69d7e91..b0d66d0 100644
--- a/modules/install_server/files/autoinstall/partman/logstash.cfg
+++ b/modules/install_server/files/autoinstall/partman/logstash.cfg
@@ -21,7 +21,7 @@
1   1   1   grub\
$primary{ } method{ biosgrub }  \
.   \
-   256000  256000  256000  raid\
+   5   5   5   raid\
$primary{ } method{ raid }  \
device{ /dev/sda /dev/sdb } \
.   \
@@ -34,8 +34,8 @@
 # raidtype devcount sparecount fstype mountpoint \
 #  devices sparedevices
 d-ipartman-auto-raid/recipestring  \
-   1   4   0   ext3/   \
-   /dev/sda2#/dev/sdb2 \
+   1   4   2   ext3/   \
+   /dev/sda2#/dev/sdb2 /dev/sdc2#/dev/sdd2 \
.   \
0   4   0   xfs /var/lib/elasticsearch  \
/dev/sda3#/dev/sdb3#/dev/sdc3#/dev/sdd3 \

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iac879a56407c6f1193d28b05188aa45d1ff73e26
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi fgiunch...@wikimedia.org
Gerrit-Reviewer: BryanDavis bda...@wikimedia.org
Gerrit-Reviewer: Filippo Giunchedi fgiunch...@wikimedia.org
Gerrit-Reviewer: RobH r...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] install-server: fix logstash partman recipe - change (operations/puppet)

2015-07-15 Thread Filippo Giunchedi (Code Review)
Filippo Giunchedi has uploaded a new change for review.

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

Change subject: install-server: fix logstash partman recipe
..

install-server: fix logstash partman recipe

Currently logstash/es hosts have a big / partition, shrink that and use the
remaining space for elasticsearch instead. Also provision unused disks as
spares for raid1 on /.

Bug: T104035
Change-Id: Iac879a56407c6f1193d28b05188aa45d1ff73e26
---
M modules/install_server/files/autoinstall/partman/logstash.cfg
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/57/224757/1

diff --git a/modules/install_server/files/autoinstall/partman/logstash.cfg 
b/modules/install_server/files/autoinstall/partman/logstash.cfg
index 69d7e91..b0d66d0 100644
--- a/modules/install_server/files/autoinstall/partman/logstash.cfg
+++ b/modules/install_server/files/autoinstall/partman/logstash.cfg
@@ -21,7 +21,7 @@
1   1   1   grub\
$primary{ } method{ biosgrub }  \
.   \
-   256000  256000  256000  raid\
+   5   5   5   raid\
$primary{ } method{ raid }  \
device{ /dev/sda /dev/sdb } \
.   \
@@ -34,8 +34,8 @@
 # raidtype devcount sparecount fstype mountpoint \
 #  devices sparedevices
 d-ipartman-auto-raid/recipestring  \
-   1   4   0   ext3/   \
-   /dev/sda2#/dev/sdb2 \
+   1   4   2   ext3/   \
+   /dev/sda2#/dev/sdb2 /dev/sdc2#/dev/sdd2 \
.   \
0   4   0   xfs /var/lib/elasticsearch  \
/dev/sda3#/dev/sdb3#/dev/sdc3#/dev/sdd3 \

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac879a56407c6f1193d28b05188aa45d1ff73e26
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi fgiunch...@wikimedia.org

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits