https://bugzilla.wikimedia.org/show_bug.cgi?id=39082

       Web browser: ---
             Bug #: 39082
           Summary: Add support for deploying per-datacenter config
                    variances
           Product: Wikimedia
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Site configuration
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Once apaches are up in eqiad, we need the ability to deploy different versions
of certain mediawiki config files to hosts in each datacenter.

For example, files such as db.php or mc.php could be split in db.php-eqiad,
db.php-pmtpa, mc.php-eqiad, mc.php-pmtpa. 

When running a scap, the right version should be copied to hosts in the
intended datacenter.  The same support should be in scripts such as sync-file,
where "sync-file wmf-config/mc.php" would recognize mc.php has dc variants, and
deploy both versions of the file.

An alternate option would be to make mediawiki itself datacenter aware, and
have arrays like $wgMemCachedServers = { 0 => '10.xxx', ..  } become
$wgMemCachedServers = { 'pmtpa' => { 0 => '10.xxx', .. }, 'eqiad' => { 0 => ,
'10.xxx', .. } }.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to