Jcrespo has uploaded a new change for review. https://gerrit.wikimedia.org/r/295562
Change subject: Set temporarilly m1 haproxy to failover to itself (db1016) ...................................................................... Set temporarilly m1 haproxy to failover to itself (db1016) The current setup forces haproxy to always have a primary and a backup node. As db1001 is only temporarily down, and will return as the backup node, set both primary and backup nodes pointing to db1016. In the future, proxy configuration should allow between 0 and n arbitrary number of hosts. Bug: T106312 Change-Id: I48703e8bc6a4a7a389e3c81897fa194ef9ac66b1 --- M manifests/site.pp 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/62/295562/1 diff --git a/manifests/site.pp b/manifests/site.pp index e24f5dc..7cbf4ff 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -876,8 +876,8 @@ node 'dbproxy1001.eqiad.wmnet' { class { 'role::mariadb::proxy::master': shard => 'm1', - primary_name => 'db1001', - primary_addr => '10.64.0.5', + primary_name => 'db1016', + primary_addr => '10.64.0.20', secondary_name => 'db1016', secondary_addr => '10.64.0.20', } -- To view, visit https://gerrit.wikimedia.org/r/295562 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I48703e8bc6a4a7a389e3c81897fa194ef9ac66b1 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Jcrespo <jcre...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits