Jcrespo has submitted this change and it was merged. Change subject: Set temporarily m1 haproxy to failover to itself (db1016) ......................................................................
Set temporarily 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(-) Approvals: Jcrespo: Looks good to me, approved jenkins-bot: Verified 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: merged Gerrit-Change-Id: I48703e8bc6a4a7a389e3c81897fa194ef9ac66b1 Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Jcrespo <jcre...@wikimedia.org> Gerrit-Reviewer: Jcrespo <jcre...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits