Marostegui has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/385135 )
Change subject: mariadb: Add db2092 to s1 and s3 as rc ...................................................................... mariadb: Add db2092 to s1 and s3 as rc db2092 will be a multi-instance host for recentchanges service. It will serve s1 and s3 Bug: T178359 Bug: T170662 Change-Id: I1a4d35d84a8a2c9f026921005ef92cbf2b911d31 --- A hieradata/hosts/db2092.yaml M manifests/site.pp M modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200 M modules/role/files/prometheus/mysql-core_codfw.yaml 4 files changed, 14 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/35/385135/1 diff --git a/hieradata/hosts/db2092.yaml b/hieradata/hosts/db2092.yaml new file mode 100644 index 0000000..dc7d3f5 --- /dev/null +++ b/hieradata/hosts/db2092.yaml @@ -0,0 +1,5 @@ +# Buffer pool sizes/instance enabled +profile::mariadb::core_multiinstance::num_instances: 2 +profile::mariadb::core_multiinstance::s1: '185G' +profile::mariadb::core_multiinstance::s3: '185G' +profile::base::notifications_enabled: '0' diff --git a/manifests/site.pp b/manifests/site.pp index e9a3bd0..eb5d35a 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -343,6 +343,10 @@ role(mariadb::core) } +node 'db2092.codfw.wmnet' { + role(mariadb::core_multiinstance) +} + # s2 (large wikis) core production dbs on eqiad # eqiad master node 'db1054.eqiad.wmnet' { diff --git a/modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200 b/modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200 index c86e125..887167d 100644 --- a/modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200 +++ b/modules/install_server/files/dhcpd/linux-host-entries.ttyS1-115200 @@ -1685,7 +1685,9 @@ host db2092 { hardware ethernet 18:66:DA:F8:F5:74; - fixed-address db2092.codfw.wmnet; +} fixed-address db2092.codfw.wmnet; + option pxelinux.pathprefix "stretch-installer/"; + filename "stretch-installer/debian-installer/amd64/pxelinux.0"; } host dbproxy1001 { diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml b/modules/role/files/prometheus/mysql-core_codfw.yaml index 6a97a38..c3d2cb8 100644 --- a/modules/role/files/prometheus/mysql-core_codfw.yaml +++ b/modules/role/files/prometheus/mysql-core_codfw.yaml @@ -11,6 +11,7 @@ - db2070:9104 - db2071:9104 - db2072:9104 + - db2092:13311 - labels: shard: s1 role: master @@ -42,6 +43,7 @@ - db2050:9104 - db2057:9104 - db2074:9104 + - db2092:13313 - labels: shard: s3 role: master -- To view, visit https://gerrit.wikimedia.org/r/385135 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1a4d35d84a8a2c9f026921005ef92cbf2b911d31 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