Marostegui has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/405246 )
Change subject: mariadb: Move db2034 from s1 to x1 master ...................................................................... mariadb: Move db2034 from s1 to x1 master db2034 will become x1 master, preparing it to be reimaged and cloned. Not adding the role master to it just yet on its hieradata file Bug: T184888 Change-Id: I98ca4278858a1159acab6d42a552c4e698b61225 --- M hieradata/hosts/db2034.yaml M manifests/site.pp M modules/role/files/prometheus/mysql-core_codfw.yaml 3 files changed, 8 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/46/405246/1 diff --git a/hieradata/hosts/db2034.yaml b/hieradata/hosts/db2034.yaml index c26f32a..7a7fc72 100644 --- a/hieradata/hosts/db2034.yaml +++ b/hieradata/hosts/db2034.yaml @@ -1,3 +1,2 @@ -mariadb::shard: 's1' -mariadb::socket: '/tmp/mysql.sock' -profile::base::notifications_enabled: '0' +mariadb::shard: 'x1' +mariadb::binlog_format: 'ROW' diff --git a/manifests/site.pp b/manifests/site.pp index fd1da35..06f668f 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -296,7 +296,7 @@ } # codfw replicas -node /^db20(16|34|42|55|62|69|70|71|72)\.codfw\.wmnet/ { +node /^db20(16|42|55|62|69|70|71|72)\.codfw\.wmnet/ { role(mariadb::core) } @@ -511,6 +511,10 @@ role(mariadb::core) } +node 'db2034.codfw.wmnet' { + role(mariadb::core) +} + ## m1 shard node 'db1016.eqiad.wmnet' { diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml b/modules/role/files/prometheus/mysql-core_codfw.yaml index 119e9aa..bc2bd94 100644 --- a/modules/role/files/prometheus/mysql-core_codfw.yaml +++ b/modules/role/files/prometheus/mysql-core_codfw.yaml @@ -3,7 +3,6 @@ role: slave targets: - db2016:9104 - - db2034:9104 - db2042:9104 - db2055:9104 - db2062:9104 @@ -176,3 +175,4 @@ role: master targets: - db2033:9104 + - db2034:9104 -- To view, visit https://gerrit.wikimedia.org/r/405246 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I98ca4278858a1159acab6d42a552c4e698b61225 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Marostegui <maroste...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits