Mark Bergsma has uploaded a new change for review.

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


Change subject: Add a 2nd 200GB persistent storage backend per SSD
......................................................................

Add a 2nd 200GB persistent storage backend per SSD

The eqiad (and ulsfo) Varnish servers were mistakenly configured
with 100GB storage per SSD, instead of 300GB. Because we can't
afford to drop the caches now during the migration, we'll add
a second one and merge them one by one later.

Change-Id: I7fa968a34bed9a29570da80f2f4425d0ab20e2e5
---
M manifests/role/cache.pp
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/20/94720/1

diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 898d245..510d62f 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -591,6 +591,7 @@
                        },
                        storage => $::realm ? {
                                'production' => $::hostname ? {
+                                       /^cp10[5-9][0-9]$/ => '-s 
main1=persistent,/srv/sda3/varnish.main1,100G -s 
main1b=persistent,/srv/sda3/varnish.main1b,200G -s 
main2=persistent,/srv/sdb3/varnish.main2,100G -s 
main2b=persistent,/srv/sdb3/varnish.main2b,200G'
                                        /^amssq(4[7-9]|[56][0-9])$/ => "-s 
main2=persistent,/srv/sdb3/varnish.main2,${storage_size_main}G",
                                        default => "-s 
main1=persistent,/srv/sda3/varnish.main1,${storage_size_main}G -s 
main2=persistent,/srv/sdb3/varnish.main2,${storage_size_main}G",
                                },

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7fa968a34bed9a29570da80f2f4425d0ab20e2e5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <m...@wikimedia.org>

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

Reply via email to