By default mariadb does not report a hostname when it starts replicating from another server. This means the output of show slave status only contains very opaque information:
root@pc2007.codfw.wmnet[(none)]> show slave hosts; +-----------+------+------+-----------+ | Server_id | Host | Port | Master_id | +-----------+------+------+-----------+ | 171966644 | | 3306 | 180355176 | | 180367374 | | 3306 | 180355176 | +-----------+------+------+-----------+
If we use puppet to set report_host to the fqdn, then it will show up in the show slave hosts table, as well as be available for orchestrator to query.
https://mariadb.com/kb/en/replication-and-binary-log-system-variables/#report_host
Scripts used for rolling this out:
Restarting hosts progress
- s1
- eqiad T266483#6937184
- codfw
- s2
- eqiad T266483#7045249
- codfw
- s3
- eqiad T266483#7045733
- codfw
- s4
- eqiad T266483#6772425
- codfw
- s5
- eqiad T266483#7045311
- codfw
- s6
- eqiad T266483#7041786
- codfw
- s7
- eqiad T266483#6817602
- codfw
- s8
- eqiad T266483#7048132
- codfw
- x1
- eqiad T266483#6799986
- codfw
- x2
- eqiad testing host
- eqiad backup testing (db1133)
- db2102 - codfw backup testing host
- dbstore1003, dbstore1004, dbstore1005 (multi-instance)
- eqiad backup sources db1095 db1102 db1116 db1139 db1140 db1145 db1150
- codfw backup sources db2097 db2098 db2099 db2100 db2101 db2139 db2141
- folded into main section above
- Sanitarium hosts
- db2094/db2095
- db1124
- s1
- s3
- s5
- s8
- db1125
- s2
- s4
- s6
- s7
- db1124
- db2094/db2095
- es1
- eqiad: T266483#6605480
- codfw
- es2
- eqiad: T266483#6605481
- codfw
- es3
- eqiad: T266483#6605484
- codfw
- es4
- eqiad: T266483#6743037
- codfw
- es5
- eqiad: T266483#6648234
- codfw
- pc1
- eqiad T266483#6615370
- codfw
- pc2
- eqiad
- codfw
- pc3
- eqiad
- codfw
- m1
- eqiad T266483#6616110
- codfw
- m2
- eqiad T266483#6616110
- codfw
- m3
- eqiad T266483#6616110
- codfw
- m5
- eqiad T266483#6616110
- codfw
- tendril/zarcillo/orchestrator
- db1115
- db2093