BBlack has uploaded a new change for review.
https://gerrit.wikimedia.org/r/234289
Change subject: add various text backend defs to mobile
......................................................................
add various text backend defs to mobile
This adds the backend defs for: backend_random in tier-two and the
rendering, sec audit, and restbase backends in tier-one. It
doesn't actually make use of them yet, which will be in a followup
patch.
Bug: T109286
Change-Id: I0304dc83296e0789f78b894b45d948afe7fd39c2
---
M modules/role/manifests/cache/mobile.pp
1 file changed, 32 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/89/234289/1
diff --git a/modules/role/manifests/cache/mobile.pp
b/modules/role/manifests/cache/mobile.pp
index fd088c8..f68067a 100644
--- a/modules/role/manifests/cache/mobile.pp
+++ b/modules/role/manifests/cache/mobile.pp
@@ -36,10 +36,25 @@
'type' => 'random',
'backends' =>
$role::cache::configuration::backends[$::realm]['api'][$::mw_primary],
},
+ 'rendering' => {
+ 'dynamic' => 'no',
+ 'type' => 'random',
+ 'backends' =>
$role::cache::configuration::backends[$::realm]['rendering'][$::mw_primary],
+ },
+ 'security_audit' => {
+ 'dynamic' => 'no',
+ 'type' => 'random',
+ 'backends' =>
$role::cache::configuration::backends[$::realm]['security_audit'][$::mw_primary],
+ },
'test_wikipedia' => {
'dynamic' => 'no',
'type' => 'random',
'backends' =>
$role::cache::configuration::backends[$::realm]['test_appservers'][$::mw_primary],
+ },
+ 'restbase_backend' => {
+ 'dynamic' => 'no',
+ 'type' => 'random',
+ 'backends' =>
$role::cache::configuration::backends[$::realm]['restbase'][$::mw_primary],
},
},
'two' => {
@@ -47,6 +62,12 @@
'dynamic' => 'yes',
'type' => 'chash',
'backends' => $mobile_nodes['eqiad'],
+ },
+ 'backend_random' => {
+ 'dynamic' => 'yes',
+ 'type' => 'random',
+ 'backends' => $mobile_nodes['eqiad'],
+ 'service' => 'varnish-be-rand',
},
}
}
@@ -90,6 +111,11 @@
'probe' => 'varnish',
},
{
+ 'backend_match' => '^restbase\.svc\.|^deployment-restbase',
+ 'port' => 7231,
+ 'max_connections' => 5000,
+ },
+ {
'port' => 80,
'connect_timeout' => '5s',
'first_byte_timeout' => '180s',
@@ -114,6 +140,12 @@
'type' => 'chash',
'backends' => $site_mobile_nodes,
},
+ 'backend_random' => {
+ 'dynamic' => 'yes',
+ 'type' => 'random',
+ 'backends' => $site_mobile_nodes,
+ 'service' => 'varnish-be-rand',
+ },
},
vcl_config => {
'retry503' => 1,
--
To view, visit https://gerrit.wikimedia.org/r/234289
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0304dc83296e0789f78b894b45d948afe7fd39c2
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits