Reedy has submitted this change and it was merged.

Change subject: Add deployment-db2 as slave
......................................................................


Add deployment-db2 as slave

Change-Id: I92f8279a9d2903c988dd4eb147af5acf5ca5b0a0
---
M wmf-config/db-labs.php
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Reedy: Verified; Looks good to me, approved



diff --git a/wmf-config/db-labs.php b/wmf-config/db-labs.php
index 8a75d04..f0c5214 100644
--- a/wmf-config/db-labs.php
+++ b/wmf-config/db-labs.php
@@ -16,10 +16,10 @@
                # Everyone to DEFAULT
                'sectionsByDB' => array(),
 
-               # eqiad has a single server
                'sectionLoads' => array(
                        'DEFAULT' => array(
                                'deployment-db1'     => 0,
+                               'deployment-db2'     => 400,
                        ),
                ),
 
@@ -33,7 +33,8 @@
                ),
 
                'hostsByName' => array(
-                       'deployment-db1'  => '10.68.16.193',   # 
deployment-db1.eqiad.wmflabs
+                       'deployment-db1'  => '10.68.16.193', # 
deployment-db1.eqiad.wmflabs
+                       'deployment-db2'  => '10.68.17.94', # 
deployment-db2.eqiad.wmflabs
                ),
        );
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I92f8279a9d2903c988dd4eb147af5acf5ca5b0a0
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>

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

Reply via email to